Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | On the quest of eliminating unnecessary includes. | Misha Brukman | 2002-09-14 | 1 | -2/+0 |
| | | | | llvm-svn: 3715 | ||||
* | Change the MallocInst & AllocaInst ctors to take the allocated type, not the | Chris Lattner | 2002-09-13 | 1 | -2/+8 |
| | | | | | | pointer type returned. llvm-svn: 3711 | ||||
* | Eliminated the MemAccessInst class, folding contents into GEP class. | Chris Lattner | 2002-08-22 | 1 | -4/+4 |
| | | | | llvm-svn: 3487 | ||||
* | Load & StoreInst no longer derive from MemAccessInst, so we don't have | Chris Lattner | 2002-08-22 | 1 | -1/+1 |
| | | | | | | to handle indexing anymore llvm-svn: 3485 | ||||
* | Emit an obnoxious warning message for bytecode that includes load/store | Chris Lattner | 2002-08-21 | 3 | -10/+34 |
| | | | | | | | instructions that use indexing. Convert them transparently into a pair of instructions. llvm-svn: 3431 | ||||
* | Fix bug: test/Regression/Assembler/2002-08-19-BytecodeReader.llx | Chris Lattner | 2002-08-19 | 1 | -1/+2 |
| | | | | llvm-svn: 3384 | ||||
* | Turn off a debugging optimization that just slows bytecode reading down | Chris Lattner | 2002-08-18 | 1 | -1/+1 |
| | | | | llvm-svn: 3377 | ||||
* | Fix stupid oversight of missing #include. | Chris Lattner | 2002-08-17 | 1 | -0/+1 |
| | | | | llvm-svn: 3367 | ||||
* | - Finally nailed: test/Regression/Assembler/2002-08-16-ConstExprInlined.llx | Chris Lattner | 2002-08-17 | 4 | -378/+292 |
| | | | | | | | | | | | | | | - ParseConstantPool was resolving reference to value using the function slot # instead of the global slot #. - Bytecode reader changes: - Remove the failure<> template from Bytecode Reader - Remove extraneous #includes - s/method/function/ a bit - Eliminate the fwdRefs class that just added abstraction where it was not needed, making things more complex. - Use a vector instead of a list for function signatures. llvm-svn: 3366 | ||||
* | Remove support for Not ConstantExpr. This simplifies the unary case to only | Chris Lattner | 2002-08-14 | 2 | -8/+4 |
| | | | | | | have to support the cast instruction, so the function is renamed to getCast. llvm-svn: 3328 | ||||
* | Cleanup ConstantExpr handling: | Chris Lattner | 2002-07-30 | 1 | -3/+4 |
| | | | | | | | | | | | | | | * Correctly delete TypeHandles in AsmParser. In addition to not leaking memory, this prevents a bug that could have occurred when a type got resolved that the constexpr was using * Check for errors in the AsmParser instead of hitting assertion failures deep in the code * Simplify the interface to the ConstantExpr class, removing unneccesary parameters to the ::get* methods. * Rename the 'getelementptr' version of ConstantExpr::get to ConstantExpr::getGetElementPtr llvm-svn: 3161 | ||||
* | Cleanup ConstantExpr handling: | Chris Lattner | 2002-07-30 | 1 | -22/+22 |
| | | | | | | | | | | | | | | * Correctly delete TypeHandles in AsmParser. In addition to not leaking memory, this prevents a bug that could have occurred when a type got resolved that the constexpr was using * Check for errors in the AsmParser instead of hitting assertion failures deep in the code * Simplify the interface to the ConstantExpr class, removing unneccesary parameters to the ::get* methods. * Rename the 'getelementptr' version of ConstantExpr::get to ConstantExpr::getGetElementPtr llvm-svn: 3160 | ||||
* | *** empty log message *** | Chris Lattner | 2002-07-26 | 2 | -0/+17 |
| | | | | llvm-svn: 3105 | ||||
* | Break line to fit 80 columns | Chris Lattner | 2002-07-25 | 1 | -1/+2 |
| | | | | llvm-svn: 3083 | ||||
* | Register the WriteBytecodePass | Chris Lattner | 2002-07-23 | 1 | -0/+5 |
| | | | | llvm-svn: 3033 | ||||
* | *** empty log message *** | Chris Lattner | 2002-07-23 | 2 | -5/+0 |
| | | | | llvm-svn: 3002 | ||||
* | ConstExpr::getelementptr now takes a vector of Constants not Values | Chris Lattner | 2002-07-18 | 1 | -2/+2 |
| | | | | llvm-svn: 2948 | ||||
* | added std:: to pair | Anand Shukla | 2002-07-16 | 1 | -0/+1 |
| | | | | llvm-svn: 2917 | ||||
* | added std:: to vector | Anand Shukla | 2002-07-16 | 1 | -2/+2 |
| | | | | llvm-svn: 2916 | ||||
* | Add support for writing ConstantExpr nodes. | Vikram S. Adve | 2002-07-14 | 1 | -1/+23 |
| | | | | llvm-svn: 2899 | ||||
* | Write out the plane for types first, since values of primitive types | Vikram S. Adve | 2002-07-14 | 1 | -35/+57 |
| | | | | | | | | | may be constructed by expressions of other types (and so the contents of the primitive type planes must come after all types). Use a helper function outputConstantsInPlane in outputConstants to do this. llvm-svn: 2898 | ||||
* | Use a helper function outputConstantsInPlane in outputConstants. | Vikram S. Adve | 2002-07-14 | 1 | -0/+2 |
| | | | | llvm-svn: 2897 | ||||
* | Add support for reading ConstantExpr nodes. | Vikram S. Adve | 2002-07-14 | 2 | -38/+112 |
| | | | | | | | Add class ConstantFwdRefs to resolve forward references to constants and to globals. (Hmm... this class could be renamed I guess.) llvm-svn: 2896 | ||||
* | Add support for reading ConstantExpr nodes. | Vikram S. Adve | 2002-07-14 | 1 | -32/+111 |
| | | | | | | | Add class ConstantFwdRefs to resolve forward references to constants and to globals (unified old code for globals into this). llvm-svn: 2895 | ||||
* | Convert tabs to spaces | Chris Lattner | 2002-06-30 | 1 | -4/+4 |
| | | | | llvm-svn: 2805 | ||||
* | changes to make it compatible with 64bit gcc | Anand Shukla | 2002-06-25 | 3 | -10/+12 |
| | | | | llvm-svn: 2790 | ||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 4 | -45/+40 |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778 | ||||
* | Fix constness problem | Chris Lattner | 2002-06-05 | 1 | -2/+2 |
| | | | | llvm-svn: 2759 | ||||
* | Fix constness problems now that the cast operators preserve the constness | Chris Lattner | 2002-06-05 | 2 | -5/+5 |
| | | | | | | of their argument llvm-svn: 2758 | ||||
* | Replace all usages of Type::isPointerType with isa<PointerType> | Chris Lattner | 2002-05-06 | 3 | -3/+3 |
| | | | | llvm-svn: 2486 | ||||
* | Eliminate duplicate or unneccesary #include's | Chris Lattner | 2002-04-29 | 4 | -4/+0 |
| | | | | llvm-svn: 2397 | ||||
* | Split ConstantVals.h into Constant.h and Constants.h | Chris Lattner | 2002-04-28 | 4 | -7/+6 |
| | | | | llvm-svn: 2378 | ||||
* | Remove unneccesary #include | Chris Lattner | 2002-04-28 | 1 | -1/+0 |
| | | | | llvm-svn: 2352 | ||||
* | Make debugging code not use getStrValue | Chris Lattner | 2002-04-18 | 1 | -2/+1 |
| | | | | llvm-svn: 2295 | ||||
* | Move FunctionArgument out of iOther.h into Argument.h and rename class to | Chris Lattner | 2002-04-09 | 2 | -2/+3 |
| | | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2216 | ||||
* | s/method/function | Chris Lattner | 2002-04-08 | 1 | -1/+1 |
| | | | | llvm-svn: 2177 | ||||
* | llvm/Assembly/Writer.h is unneccesary except for extreme output | Chris Lattner | 2002-04-08 | 1 | -2/+1 |
| | | | | | | isLabelType is obsolete llvm-svn: 2176 | ||||
* | * Move include/llvm/Analysis/SlotCalculator.h to include/llvm/SlotCalculator.h | Chris Lattner | 2002-04-07 | 2 | -14/+11 |
| | | | | | | | because the slot calculator is already part of the VMCore library. * Rename incorporateMethod and purgeMethod to *Function llvm-svn: 2154 | ||||
* | Change references to the Method class to be references to the Function | Chris Lattner | 2002-04-07 | 1 | -4/+4 |
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144 | ||||
* | Enable better debug output. When debugging the type system, print out the | Chris Lattner | 2002-04-07 | 1 | -1/+3 |
| | | | | | | type tables after reading a bytecode file to make sure they are ok llvm-svn: 2126 | ||||
* | s/MethodType/FunctionType | Chris Lattner | 2002-04-04 | 2 | -8/+8 |
| | | | | llvm-svn: 2115 | ||||
* | Add debug support | Chris Lattner | 2002-04-04 | 1 | -0/+4 |
| | | | | llvm-svn: 2105 | ||||
* | s/Method/Function | Chris Lattner | 2002-03-29 | 5 | -28/+28 |
| | | | | llvm-svn: 2035 | ||||
* | Change references from Method to Function | Chris Lattner | 2002-03-26 | 2 | -12/+12 |
| | | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991 | ||||
* | Rename Method to Function | Chris Lattner | 2002-03-23 | 1 | -6/+0 |
| | | | | llvm-svn: 1957 | ||||
* | Method.h no longer includes BasicBlock.h | Chris Lattner | 2002-02-12 | 1 | -0/+1 |
| | | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h llvm-svn: 1746 | ||||
* | Chuck fixed the GCC problems so this hack is now unneccesary | Chris Lattner | 2002-01-21 | 1 | -1/+0 |
| | | | | llvm-svn: 1519 | ||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 8 | -54/+64 |
| | | | | llvm-svn: 1503 | ||||
* | Remove unsized array support | Chris Lattner | 2001-12-14 | 2 | -9/+4 |
| | | | | llvm-svn: 1461 | ||||
* | Add pointer indexing support | Chris Lattner | 2001-12-14 | 1 | -9/+12 |
| | | | | llvm-svn: 1460 |