Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change references to the Method class to be references to the Function | Chris Lattner | 2002-04-07 | 2 | -27/+24 |
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144 | ||||
* | Fix a bug in previous bug fix. | Vikram S. Adve | 2002-03-31 | 1 | -6/+14 |
| | | | | llvm-svn: 2069 | ||||
* | Change references from Method to Function | Chris Lattner | 2002-03-26 | 1 | -6/+6 |
| | | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991 | ||||
* | Major overhaul to FoldGetElemPtr to handle mixed array and struct refs. | Vikram S. Adve | 2002-03-24 | 1 | -10/+35 |
| | | | | llvm-svn: 1968 | ||||
* | Use deterministic iterator for treeRoots. | Vikram S. Adve | 2002-03-24 | 1 | -10/+10 |
| | | | | llvm-svn: 1967 | ||||
* | Change treeRoots data structure to make enumeration deterministic. | Vikram S. Adve | 2002-03-24 | 1 | -15/+24 |
| | | | | llvm-svn: 1962 | ||||
* | Constants are now added to the constant pool only when a load | Vikram S. Adve | 2002-03-18 | 1 | -25/+17 |
| | | | | | | | instruction is actually generated for them. Rename the different versions of SetMachineOperand. llvm-svn: 1903 | ||||
* | Use vector for machine instructions returned by GetInstructionsByRule. | Vikram S. Adve | 2002-03-18 | 1 | -70/+31 |
| | | | | | | Fix constants in instructions generated for Phi elimination. llvm-svn: 1902 | ||||
* | * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into | Chris Lattner | 2002-02-12 | 1 | -1/+1 |
| | | | | | | | | | llvm/Support/CFG.h * Make pred & succ iterators for intervals global functions * Add #includes that are now neccesary because BasicBlock.h doesn't include InstrTypes.h anymore llvm-svn: 1750 | ||||
* | Method.h no longer includes BasicBlock.h | Chris Lattner | 2002-02-12 | 1 | -3/+6 |
| | | | | | | | 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 | ||||
* | * Switch over to cleaner TmpInstruction model | Chris Lattner | 2002-02-03 | 1 | -5/+7 |
| | | | | llvm-svn: 1648 | ||||
* | * Straighten out #includes | Chris Lattner | 2002-02-03 | 1 | -38/+12 |
| | | | | | | * Switch to MAchineCodeForInstruction model instead of MachineCodeForVMInstr llvm-svn: 1647 | ||||
* | * Swich to annotation model for MachineCodeForInstruction | Chris Lattner | 2002-02-03 | 1 | -8/+10 |
| | | | | llvm-svn: 1646 | ||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 3 | -39/+32 |
| | | | | llvm-svn: 1503 | ||||
* | Eliminate all uses of memInst->getIndicesBROKEN(). | Vikram S. Adve | 2001-12-15 | 1 | -3/+3 |
| | | | | llvm-svn: 1485 | ||||
* | Renamed inst_const_iterator -> const_inst_iterator | Chris Lattner | 2001-12-04 | 1 | -2/+1 |
| | | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408 | ||||
* | Rename ConstPoolVal -> Constant | Chris Lattner | 2001-12-03 | 2 | -23/+19 |
| | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407 | ||||
* | Split the PHINode class out from the iOther.h file into the iPHINode.h file | Chris Lattner | 2001-12-03 | 2 | -2/+2 |
| | | | | llvm-svn: 1405 | ||||
* | Create a new #include "Support/..." directory structure to move things | Chris Lattner | 2001-11-27 | 2 | -2/+2 |
| | | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400 | ||||
* | The old getIndices has been deprecated, because it no longer works. It now | Chris Lattner | 2001-11-26 | 1 | -2/+2 |
| | | | | | | | is named getIndicesBROKEN() and shall be removed when the codebase is updated to not call it llvm-svn: 1338 | ||||
* | Added naming to inserted phi copy values - for easy debugging | Ruchira Sasanka | 2001-11-15 | 1 | -0/+6 |
| | | | | llvm-svn: 1325 | ||||
* | Changed phi elimination code | Ruchira Sasanka | 2001-11-15 | 1 | -1/+64 |
| | | | | llvm-svn: 1311 | ||||
* | Don't assume constant operand can only be in position 1! | Vikram S. Adve | 2001-11-14 | 1 | -2/+2 |
| | | | | llvm-svn: 1308 | ||||
* | Idiotic error in last fix. | Vikram S. Adve | 2001-11-14 | 1 | -1/+1 |
| | | | | llvm-svn: 1306 | ||||
* | Don't need to load a NULL pointer constant from memory! | Vikram S. Adve | 2001-11-14 | 1 | -2/+10 |
| | | | | llvm-svn: 1305 | ||||
* | Remove much cruft from the MemAccessInst instruction | Chris Lattner | 2001-11-14 | 2 | -3/+3 |
| | | | | llvm-svn: 1298 | ||||
* | For phi elimination, now we are generating only one instruction | Ruchira Sasanka | 2001-11-12 | 1 | -15/+5 |
| | | | | | | | using cpValue2Value instead of passing vector to createCopyInstructionByType. llvm-svn: 1272 | ||||
* | Added phi elimination code - not final | Ruchira Sasanka | 2001-11-12 | 1 | -0/+100 |
| | | | | llvm-svn: 1264 | ||||
* | Major overhaul of stack frame management. | Vikram S. Adve | 2001-11-08 | 3 | -3/+12 |
| | | | | llvm-svn: 1185 | ||||
* | Minor method rename | Chris Lattner | 2001-11-04 | 1 | -2/+2 |
| | | | | llvm-svn: 1119 | ||||
* | Record constants that need to be emitted in the assembly code. | Vikram S. Adve | 2001-10-28 | 1 | -40/+19 |
| | | | | llvm-svn: 1010 | ||||
* | Cosmetic changes only. | Vikram S. Adve | 2001-10-22 | 1 | -15/+49 |
| | | | | llvm-svn: 946 | ||||
* | 1. Add a bottom-up pass on BURG trees that is used to fix constant operands. | Vikram S. Adve | 2001-10-17 | 2 | -147/+232 |
| | | | | | | | | | Needs to be bottom up because constant values may be forward-substituted to their uses (i.e., into the parent in the BURG tree). 2. Move most of the constant-fixup code into machine-indepedent file InstrSelectionSupport.cpp. llvm-svn: 859 | ||||
* | Machine-independent code generation routines used in instruction | Vikram S. Adve | 2001-10-10 | 1 | -0/+357 |
| | | | | | | selection. These used to live in several different places before. llvm-svn: 719 | ||||
* | Moved code generation support routines to InstrSelectionSupport.cpp. | Vikram S. Adve | 2001-10-10 | 1 | -44/+1 |
| | | | | llvm-svn: 717 | ||||
* | Commit more code over to new cast style | Chris Lattner | 2001-10-02 | 1 | -3/+4 |
| | | | | llvm-svn: 697 | ||||
* | Convert more code to use new style casts | Chris Lattner | 2001-10-01 | 1 | -7/+7 |
| | | | | | | Eliminate old style casts from value.h llvm-svn: 696 | ||||
* | Change ! ( ...== ...) to !=. | Vikram S. Adve | 2001-09-30 | 1 | -1/+1 |
| | | | | llvm-svn: 680 | ||||
* | Don't check for null on delete | Chris Lattner | 2001-09-18 | 1 | -5/+1 |
| | | | | llvm-svn: 624 | ||||
* | Minor changes. | Vikram S. Adve | 2001-09-18 | 1 | -67/+89 |
| | | | | llvm-svn: 613 | ||||
* | Don't add instructions to subtree for Phi or Call. | Vikram S. Adve | 2001-09-18 | 1 | -132/+201 |
| | | | | | | | Free tree nodes when done. Avoid obscuring code with for_each and bind_obj :-) llvm-svn: 612 | ||||
* | This checkin represents some cleanup of the backend, implementing the ↵ | Chris Lattner | 2001-09-14 | 1 | -88/+68 |
| | | | | | | | | | | following things: 1. The TargetMachine structure is free to decide the process a particular target uses to generate code. 2. All of the gooee details of the sparc backend are now localized in the lib/CodeGen/TargetMAchine/Sparc directory. The Sparc.h file that is globally visible is just a stub. 3. The Sparc.h file that esxists now will dissapear entirely someday when we have multiple backends chosen by a factory of some sort. llvm-svn: 559 | ||||
* | More cleanups, preparing to revamp InstrForest to, among other things, | Chris Lattner | 2001-09-12 | 2 | -11/+9 |
| | | | | | | not leak all its allocated memory. llvm-svn: 553 | ||||
* | * Clean up InstrForest | Chris Lattner | 2001-09-12 | 1 | -245/+155 |
| | | | | | | | | | | | | * Fix ins sel problem, test case: void "foo" (int *%x, int *%y) begin seteq int *%x, %y ret void end llvm-svn: 552 | ||||
* | Eliminate 'BasicNode' from InstrForest. | Chris Lattner | 2001-09-11 | 2 | -60/+30 |
| | | | | llvm-svn: 551 | ||||
* | Eliminate MainTreeNode function | Chris Lattner | 2001-09-11 | 1 | -2/+2 |
| | | | | llvm-svn: 550 | ||||
* | Use predicate for Value type test | Chris Lattner | 2001-09-10 | 1 | -12/+8 |
| | | | | | | Use builtin casts llvm-svn: 541 | ||||
* | A file should always include it's private header file *FIRST* see the | Chris Lattner | 2001-09-07 | 1 | -1/+1 |
| | | | | | | coding guidelines llvm-svn: 474 | ||||
* | Remove source list. | Vikram S. Adve | 2001-08-28 | 1 | -6/+0 |
| | | | | llvm-svn: 402 | ||||
* | Moved debug options declaration to header file, and moved | Vikram S. Adve | 2001-08-28 | 1 | -65/+54 |
| | | | | | | a function to MachineInstr.cpp. llvm-svn: 393 |