summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Include appropriate fileChris Lattner2002-04-281-0/+2
| | | | llvm-svn: 2379
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-282-2/+2
| | | | llvm-svn: 2378
* Eliminate the cfg namespace, moving LoopInfo, Dominators, Interval* classesChris Lattner2002-04-281-6/+4
| | | | | | to the global namespace llvm-svn: 2370
* Remove all contents of the cfg namespace to the global namespaceChris Lattner2002-04-281-4/+4
| | | | llvm-svn: 2369
* s/Method/FunctionChris Lattner2002-04-275-20/+20
| | | | llvm-svn: 2336
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-272-22/+14
| | | | | | | | | | | | | | | - Rename runOnMethod to runOnFunction * Transform getAnalysisUsageInfo into getAnalysisUsage - Method is now const - It now takes one AnalysisUsage object to fill in instead of 3 vectors to fill in - Pass's now specify which other passes they _preserve_ not which ones they modify (be conservative!) - A pass can specify that it preserves all analyses (because it never modifies the underlying program) * s/Method/Function/g in other random places as well llvm-svn: 2333
* Don't record instructions for copying method arguments in theVikram S. Adve2002-04-251-0/+1
| | | | | | | | AddedInstrns sets for the first machine instruction. It is hard to ensure that the right order is preserved, and sure enough, the order was broken. Instead, use a separate set for the function entry. llvm-svn: 2318
* Don't record instructions for copying method arguments in theVikram S. Adve2002-04-251-66/+78
| | | | | | | | AddedInstrns sets for the first machine instruction. It is hard to ensure that the right order is preserved, and sure enough, the order was broken. Instead, use a separate set for the function entry. llvm-svn: 2312
* Improve printing during dumps.Vikram S. Adve2002-04-251-28/+16
| | | | llvm-svn: 2311
* Optional args are no longer allocated as they are discovered.Vikram S. Adve2002-04-251-51/+22
| | | | | | | | (This can be improved to avoid making the initial pass over the method.) Also, ensure automatic vars and reg. spills areas are not extended if their sizes are used for computing some other offset. llvm-svn: 2310
* Only emit message if DEBUG_RA is onChris Lattner2002-04-151-6/+6
| | | | llvm-svn: 2252
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-091-1/+1
| | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2216
* No need to reserve space, erasing does not change the size of the container.Chris Lattner2002-04-091-1/+0
| | | | llvm-svn: 2201
* * Add a file header with some informationChris Lattner2002-04-091-35/+25
| | | | | | | | | | * Delete the DelaySlotInfo objects created by the SchedulingManager class. These leaked objects were accounting for 3/4 of the memory leaked by the backend, so this is a relatively major win. * Reorganize SchedulingManager::getDelaySlotInfoForInstr so that it has better code locality (making it easier to read). llvm-svn: 2197
* Clean up the ownership model a bit so that nodes actually get deleted moreChris Lattner2002-04-091-12/+8
| | | | | | | frequently. This still leaks edges quite a bit, but it leaks no nodes (I think). llvm-svn: 2190
* Convert AddedInstrMapType to contain AddedInstrns by value instead of byChris Lattner2002-04-092-57/+31
| | | | | | pointer so that they do not all get leaked! llvm-svn: 2188
* GCC3.0 is reported to die without an alloca definition.Chris Lattner2002-04-091-0/+1
| | | | llvm-svn: 2186
* Don't leak memory like a seiveChris Lattner2002-04-081-18/+5
| | | | llvm-svn: 2185
* Value cannot be directly instantiated. I think that this code was TRYING toChris Lattner2002-04-081-5/+3
| | | | | | | make a PHI node, although it was badly broken. This keeps tests passing, so we'll go with it. llvm-svn: 2184
* s/Method/FunctionChris Lattner2002-04-084-14/+13
| | | | llvm-svn: 2180
* 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
OpenPOWER on IntegriCloud