Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s/method/function | Chris Lattner | 2002-04-08 | 2 | -4/+4 |
| | | | | llvm-svn: 2177 | ||||
* | Change references to the Method class to be references to the Function | Chris Lattner | 2002-04-07 | 6 | -124/+102 |
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144 | ||||
* | Add method clearCallInterference(). | Vikram S. Adve | 2002-03-31 | 1 | -0/+3 |
| | | | | llvm-svn: 2071 | ||||
* | Include temp. values when computing max. size of stack frame! | Vikram S. Adve | 2002-03-31 | 1 | -3/+3 |
| | | | | llvm-svn: 2070 | ||||
* | Fix a bug in previous bug fix. | Vikram S. Adve | 2002-03-31 | 1 | -6/+14 |
| | | | | llvm-svn: 2069 | ||||
* | Bug fix: address used by indirect call instruction should also | Vikram S. Adve | 2002-03-31 | 1 | -16/+21 |
| | | | | | | | be marked as having a Call Interference, even though it may not be live after the call. llvm-svn: 2068 | ||||
* | Change references from Method to Function | Chris Lattner | 2002-03-26 | 1 | -6/+6 |
| | | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991 | ||||
* | Destroy MethodLiveVarInfo after register allocation. | Vikram S. Adve | 2002-03-24 | 1 | -0/+1 |
| | | | | llvm-svn: 1976 | ||||
* | Use deterministic iterator for SchedGraphs. This is actually not | Vikram S. Adve | 2002-03-24 | 1 | -24/+10 |
| | | | | | | useful right now when we only do local scheduling. llvm-svn: 1975 | ||||
* | Bug fix: nextToTry was not being initialized in one case. | Vikram S. Adve | 2002-03-24 | 1 | -3/+5 |
| | | | | llvm-svn: 1974 | ||||
* | Add option to disable scheduling. | Vikram S. Adve | 2002-03-24 | 1 | -0/+1 |
| | | | | llvm-svn: 1973 | ||||
* | Add option to disable scheduling. | Vikram S. Adve | 2002-03-24 | 1 | -39/+53 |
| | | | | | | | | Destroy live-variable information after scheduling so it is recomputed before later phases (e.g., reg. allocation). Use deterministic iterator to enumerate sched graphs. llvm-svn: 1972 | ||||
* | Minor changes. | Vikram S. Adve | 2002-03-24 | 1 | -7/+3 |
| | | | | llvm-svn: 1971 | ||||
* | Re-fix bug: Put back MachineCodeForInstruction::dropAllReferences. | Vikram S. Adve | 2002-03-24 | 1 | -4/+24 |
| | | | | llvm-svn: 1970 | ||||
* | Fix padding for variables allocated on stack. | Vikram S. Adve | 2002-03-24 | 1 | -13/+18 |
| | | | | llvm-svn: 1969 | ||||
* | 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 | ||||
* | Rename Method to Function | Chris Lattner | 2002-03-23 | 3 | -11/+12 |
| | | | | llvm-svn: 1957 | ||||
* | Big bug fix: getUsableUniRegAtMI needed to return values in arguments | Vikram S. Adve | 2002-03-18 | 1 | -3/+3 |
| | | | | | | but did not pass the arguments by reference! llvm-svn: 1906 | ||||
* | Added function computeOffsetforLocalVar to check how big the | Vikram S. Adve | 2002-03-18 | 1 | -60/+75 |
| | | | | | | offset-from-FP will be before allocating space for a local variable. llvm-svn: 1905 | ||||
* | Bug fix in setting CC register. | Vikram S. Adve | 2002-03-18 | 1 | -8/+11 |
| | | | | | | | Also use distinct names for the three types of SetMachineOperand to avoid painful overloading problems and errors. llvm-svn: 1904 | ||||
* | 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 | ||||
* | Big bug fix: getUsableUniRegAtMI needed to return values in arguments | Vikram S. Adve | 2002-03-18 | 1 | -2/+13 |
| | | | | | | | but did not pass the arguments by reference! Also added a function to get a register class by ID. llvm-svn: 1901 | ||||
* | Change to make it build with GCC 2.95.3 | Anand Shukla | 2002-02-26 | 1 | -1/+1 |
| | | | | llvm-svn: 1802 | ||||
* | * Make it compile with GCC 3.0.4 | Chris Lattner | 2002-02-24 | 1 | -7/+6 |
| | | | | llvm-svn: 1788 | ||||
* | * Silence signed/unsigned warnings | Chris Lattner | 2002-02-24 | 2 | -3/+4 |
| | | | | | | * Make it compile with GCC 3.0.4 llvm-svn: 1787 | ||||
* | * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into | Chris Lattner | 2002-02-12 | 3 | -15/+13 |
| | | | | | | | | | 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 | 5 | -9/+16 |
| | | | | | | | 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 | ||||
* | Convert operand iterator over to work like an STL iterator | Chris Lattner | 2002-02-05 | 3 | -101/+53 |
| | | | | llvm-svn: 1720 | ||||
* | Minor change: Methods that return ValueSet's that are guaranteed to be valid | Chris Lattner | 2002-02-05 | 4 | -44/+29 |
| | | | | | | return references instead of pointers. llvm-svn: 1719 | ||||
* | * Code Cleanups | Chris Lattner | 2002-02-05 | 2 | -22/+18 |
| | | | | | | * Removal dependencies on Type.h & remove uses of getTypeID() llvm-svn: 1718 | ||||
* | * Code Cleanups of IGNode.h | Chris Lattner | 2002-02-05 | 2 | -53/+24 |
| | | | | | | * Removal of getTypeID() methods, and dependence on llvm/Type.h, from IGNode & LiveRange llvm-svn: 1717 | ||||
* | Must include SetOperations to do set_* | Chris Lattner | 2002-02-05 | 1 | -0/+1 |
| | | | | llvm-svn: 1716 | ||||
* | * Eliminate the LiveVarSet class, making applyTranferFuncForMInst a static | Chris Lattner | 2002-02-05 | 3 | -53/+41 |
| | | | | | | | | | | function in the one .cpp file that uses it. Use ValueSet's instead. * Prepare to delete LiveVarSet.h & LiveVarSet.cpp * Eliminate the ValueSet class, making all old member functions into global templates that will eventually be moved to Support. * Eliminate some irrelevant const's llvm-svn: 1712 | ||||
* | * Eliminate the LiveVarSet class, making applyTranferFuncForMInst a static | Chris Lattner | 2002-02-05 | 4 | -21/+16 |
| | | | | | | | | | function in the one .cpp file that uses it. Use ValueSet's instead. * Prepare to delete LiveVarSet.h & LiveVarSet.cpp * Eliminate the ValueSet class, making all old member functions into global templates that will eventually be moved to Support. llvm-svn: 1711 | ||||
* | * Code Cleanups | Chris Lattner | 2002-02-05 | 3 | -152/+102 |
| | | | | | | * Introduce RAV to allow stream I/O instead of using printValue llvm-svn: 1710 | ||||
* | * Add a #include not indirectly included any more | Chris Lattner | 2002-02-05 | 2 | -0/+2 |
| | | | | llvm-svn: 1707 | ||||
* | * RegisterAllocation _uses_ LiveVar analysis, instead of creating it's own copy | Chris Lattner | 2002-02-04 | 1 | -4/+2 |
| | | | | llvm-svn: 1701 | ||||
* | * The itf exposed by InstrScheduling is now a single function to create the ↵ | Chris Lattner | 2002-02-04 | 3 | -50/+62 |
| | | | | | | | | | | | | right pass * InstructionScheduling is now a real pass * InstrSched _uses_ LiveVar analysis, instead of creating it's own copy many times through a loop. In this was LiveVarAnalysis is actually even SHARED by Register allocation. * SchedPriorities is now passed the live var information in llvm-svn: 1700 | ||||
* | Switch register allocator over to using LoopInfo directly instead of ↵ | Chris Lattner | 2002-02-04 | 2 | -7/+7 |
| | | | | | | indirectly through LoopDepthCalculator llvm-svn: 1696 | ||||
* | Make LoopDeptCalculator be an internal artifact of how RegAlloc is implemented, | Chris Lattner | 2002-02-04 | 1 | -4/+13 |
| | | | | | | | do not expose it. Additionally, have it be auto generated by the pass framework for us. llvm-svn: 1695 | ||||
* | Make #include "llvm/Analysis/LoopDepth.h" be an internal artifact of how ↵ | Chris Lattner | 2002-02-04 | 1 | -14/+13 |
| | | | | | | register allocation is implemented. llvm-svn: 1693 | ||||
* | * Add #includes removed from headers | Chris Lattner | 2002-02-04 | 3 | -11/+11 |
| | | | | | | | * ValueSet interface converted from add/remove to insert/erase * Minor cleanups llvm-svn: 1689 | ||||
* | Remove dependence on BBLiveVar from InstrScheduling | Chris Lattner | 2002-02-04 | 2 | -6/+4 |
| | | | | | | Minor cleanups llvm-svn: 1688 | ||||
* | Convert RegisterAllocator interface to opaque pass type, so that users do not | Chris Lattner | 2002-02-04 | 1 | -12/+26 |
| | | | | | | need to know _anything_ about RegAlloc to use it. Well in the end maybe. llvm-svn: 1681 | ||||
* | Add #includes neccesary since they were removed from .h files | Chris Lattner | 2002-02-04 | 2 | -1/+6 |
| | | | | llvm-svn: 1675 | ||||
* | Move instrIsFeasible from InstrScheduling.h | Chris Lattner | 2002-02-04 | 1 | -0/+15 |
| | | | | llvm-svn: 1674 | ||||
* | * Minor cleanups | Chris Lattner | 2002-02-04 | 6 | -81/+51 |
| | | | | | | | | * Reduce number of #includes, sometimes drastically (LiveRangeInfo.h lost _7_) * Move instrIsFeasible() from InstrScheduling.h to SchedPriorities.h * Delete blank lines at end of files llvm-svn: 1672 |