summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* s/method/functionChris Lattner2002-04-082-4/+4
| | | | llvm-svn: 2177
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-076-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. Adve2002-03-311-0/+3
| | | | llvm-svn: 2071
* Include temp. values when computing max. size of stack frame!Vikram S. Adve2002-03-311-3/+3
| | | | llvm-svn: 2070
* Fix a bug in previous bug fix.Vikram S. Adve2002-03-311-6/+14
| | | | llvm-svn: 2069
* Bug fix: address used by indirect call instruction should alsoVikram S. Adve2002-03-311-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 FunctionChris Lattner2002-03-261-6/+6
| | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991
* Destroy MethodLiveVarInfo after register allocation.Vikram S. Adve2002-03-241-0/+1
| | | | llvm-svn: 1976
* Use deterministic iterator for SchedGraphs. This is actually notVikram S. Adve2002-03-241-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. Adve2002-03-241-3/+5
| | | | llvm-svn: 1974
* Add option to disable scheduling.Vikram S. Adve2002-03-241-0/+1
| | | | llvm-svn: 1973
* Add option to disable scheduling.Vikram S. Adve2002-03-241-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. Adve2002-03-241-7/+3
| | | | llvm-svn: 1971
* Re-fix bug: Put back MachineCodeForInstruction::dropAllReferences.Vikram S. Adve2002-03-241-4/+24
| | | | llvm-svn: 1970
* Fix padding for variables allocated on stack.Vikram S. Adve2002-03-241-13/+18
| | | | llvm-svn: 1969
* Major overhaul to FoldGetElemPtr to handle mixed array and struct refs.Vikram S. Adve2002-03-241-10/+35
| | | | llvm-svn: 1968
* Use deterministic iterator for treeRoots.Vikram S. Adve2002-03-241-10/+10
| | | | llvm-svn: 1967
* Change treeRoots data structure to make enumeration deterministic.Vikram S. Adve2002-03-241-15/+24
| | | | llvm-svn: 1962
* Rename Method to FunctionChris Lattner2002-03-233-11/+12
| | | | llvm-svn: 1957
* Big bug fix: getUsableUniRegAtMI needed to return values in argumentsVikram S. Adve2002-03-181-3/+3
| | | | | | but did not pass the arguments by reference! llvm-svn: 1906
* Added function computeOffsetforLocalVar to check how big theVikram S. Adve2002-03-181-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. Adve2002-03-181-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 loadVikram S. Adve2002-03-181-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. Adve2002-03-181-70/+31
| | | | | | Fix constants in instructions generated for Phi elimination. llvm-svn: 1902
* Big bug fix: getUsableUniRegAtMI needed to return values in argumentsVikram S. Adve2002-03-181-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.3Anand Shukla2002-02-261-1/+1
| | | | llvm-svn: 1802
* * Make it compile with GCC 3.0.4Chris Lattner2002-02-241-7/+6
| | | | llvm-svn: 1788
* * Silence signed/unsigned warningsChris Lattner2002-02-242-3/+4
| | | | | | * Make it compile with GCC 3.0.4 llvm-svn: 1787
* * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and intoChris Lattner2002-02-123-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.hChris Lattner2002-02-125-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 iteratorChris Lattner2002-02-053-101/+53
| | | | llvm-svn: 1720
* Minor change: Methods that return ValueSet's that are guaranteed to be validChris Lattner2002-02-054-44/+29
| | | | | | return references instead of pointers. llvm-svn: 1719
* * Code CleanupsChris Lattner2002-02-052-22/+18
| | | | | | * Removal dependencies on Type.h & remove uses of getTypeID() llvm-svn: 1718
* * Code Cleanups of IGNode.hChris Lattner2002-02-052-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 Lattner2002-02-051-0/+1
| | | | llvm-svn: 1716
* * Eliminate the LiveVarSet class, making applyTranferFuncForMInst a staticChris Lattner2002-02-053-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 staticChris Lattner2002-02-054-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 CleanupsChris Lattner2002-02-053-152/+102
| | | | | | * Introduce RAV to allow stream I/O instead of using printValue llvm-svn: 1710
* * Add a #include not indirectly included any moreChris Lattner2002-02-052-0/+2
| | | | llvm-svn: 1707
* * RegisterAllocation _uses_ LiveVar analysis, instead of creating it's own copyChris Lattner2002-02-041-4/+2
| | | | llvm-svn: 1701
* * The itf exposed by InstrScheduling is now a single function to create the ↵Chris Lattner2002-02-043-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 Lattner2002-02-042-7/+7
| | | | | | indirectly through LoopDepthCalculator llvm-svn: 1696
* Make LoopDeptCalculator be an internal artifact of how RegAlloc is implemented,Chris Lattner2002-02-041-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 Lattner2002-02-041-14/+13
| | | | | | register allocation is implemented. llvm-svn: 1693
* * Add #includes removed from headersChris Lattner2002-02-043-11/+11
| | | | | | | * ValueSet interface converted from add/remove to insert/erase * Minor cleanups llvm-svn: 1689
* Remove dependence on BBLiveVar from InstrSchedulingChris Lattner2002-02-042-6/+4
| | | | | | Minor cleanups llvm-svn: 1688
* Convert RegisterAllocator interface to opaque pass type, so that users do notChris Lattner2002-02-041-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 filesChris Lattner2002-02-042-1/+6
| | | | llvm-svn: 1675
* Move instrIsFeasible from InstrScheduling.hChris Lattner2002-02-041-0/+15
| | | | llvm-svn: 1674
* * Minor cleanupsChris Lattner2002-02-046-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
OpenPOWER on IntegriCloud