summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InstrSched
Commit message (Collapse)AuthorAgeFilesLines
* Refix stuff for GCC 2.95, 3.0.4 & 3.1Chris Lattner2002-07-251-6/+6
| | | | llvm-svn: 3094
* now removes deleted nops from MachineCodeForInstructionMehwish Nagda2002-07-251-8/+20
| | | | llvm-svn: 3090
* *** empty log message ***Chris Lattner2002-07-253-5/+5
| | | | llvm-svn: 3075
* *** empty log message ***Chris Lattner2002-07-241-2/+2
| | | | llvm-svn: 3058
* *** empty log message ***Chris Lattner2002-07-245-10/+9
| | | | llvm-svn: 3056
* *** empty log message ***Chris Lattner2002-07-221-7/+10
| | | | llvm-svn: 2985
* A single MachineInstr operand may now be both a def and a use,Vikram S. Adve2002-07-085-102/+91
| | | | | | | | | so additional dep. edges have to be added. This was needed to correctly handle conditional move instructions! MachineCodeForBasicBlock is now an annotation on BasicBlock. Renamed "earliestForNode" to "earliestReadyTimeForNode". llvm-svn: 2826
* MEGAPATCH checkin.Chris Lattner2002-06-252-7/+6
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* Move debug options out of header files so that the header does not haveChris Lattner2002-05-222-4/+4
| | | | | | to #include CommandLine.h. llvm-svn: 2712
* Hide debugging optionsChris Lattner2002-05-201-1/+1
| | | | llvm-svn: 2676
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-294-9/+1
| | | | llvm-svn: 2397
* Add new optional getPassName() virtual function that a Pass can overrideChris Lattner2002-04-291-0/+2
| | | | | | to make debugging output a lot nicer. llvm-svn: 2395
* s/Method/FunctionChris Lattner2002-04-273-11/+11
| | | | llvm-svn: 2336
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-271-12/+7
| | | | | | | | | | | | | | | - 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
* 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
* s/Method/FunctionChris Lattner2002-04-082-3/+3
| | | | llvm-svn: 2180
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-071-8/+8
| | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
* 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
* Rename Method to FunctionChris Lattner2002-03-232-6/+7
| | | | llvm-svn: 1957
* Change to make it build with GCC 2.95.3Anand Shukla2002-02-261-1/+1
| | | | llvm-svn: 1802
* * 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-122-14/+12
| | | | | | | | | 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-121-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
* Convert operand iterator over to work like an STL iteratorChris Lattner2002-02-051-7/+7
| | | | llvm-svn: 1720
* Minor change: Methods that return ValueSet's that are guaranteed to be validChris Lattner2002-02-051-7/+5
| | | | | | return references instead of pointers. llvm-svn: 1719
* * Eliminate the LiveVarSet class, making applyTranferFuncForMInst a staticChris Lattner2002-02-052-10/+7
| | | | | | | | | 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
* * Add a #include not indirectly included any moreChris Lattner2002-02-051-0/+1
| | | | llvm-svn: 1707
* * 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
* Remove dependence on BBLiveVar from InstrSchedulingChris Lattner2002-02-042-6/+4
| | | | | | Minor cleanups llvm-svn: 1688
* Move instrIsFeasible from InstrScheduling.hChris Lattner2002-02-041-0/+15
| | | | llvm-svn: 1674
* * Move command line parsing debug stuff to InstrScheduling internal header fileChris Lattner2002-02-041-1/+10
| | | | | | SchedPriorities.h llvm-svn: 1669
* Remove extraneous #includesChris Lattner2002-02-031-2/+0
| | | | llvm-svn: 1645
* * Straighten out #includesChris Lattner2002-02-031-10/+7
| | | | | | * Switch from MachineCodeForVMInstr to MachineCodeForInstruction model llvm-svn: 1644
* * Get machine instrs from Instructin's by using MachineCodeForInstruction::getChris Lattner2002-02-031-10/+10
| | | | | | * Convert a few (*X). to X-> llvm-svn: 1643
* Make it build with 2.95.3Chris Lattner2002-01-231-1/+1
| | | | llvm-svn: 1554
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-205-187/+153
| | | | llvm-svn: 1503
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-041-1/+1
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-274-29/+17
| | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400
* Stuff after a #endif is not valid CPP input and breaks some compilersChris Lattner2001-11-261-3/+3
| | | | llvm-svn: 1375
* Eliminate most uses of the machine instruction vector for each LLVM instr,Vikram S. Adve2001-11-122-63/+75
| | | | | | | | since some m. instr. may be generated by LLVM instrs. in other blocks. Handle non-SSA (anti and output) edges and true edges uniformly by working with machine instructions alone. llvm-svn: 1269
* Major improvement to how nodes are built for a BB.Vikram S. Adve2001-11-124-37/+75
| | | | | | LLVM instruction is no longer recorded in each node, but BB is. llvm-svn: 1262
* Only add true dep. edges from an earlier to a later instruction.Vikram S. Adve2001-11-112-31/+40
| | | | | | | This wasn't a problem until we started putting copies for Phi values that produced cycles in the SchedGraph! llvm-svn: 1254
* Use node->getOpCode() instead of node->getMachineInstr()->getOpCode().Vikram S. Adve2001-11-091-36/+38
| | | | | | Much nicer. llvm-svn: 1223
* Major change to how defs are found when adding dependences (theyVikram S. Adve2001-11-082-171/+69
| | | | | | | | are now found as part of the initial walk of the machine code). Also memory load/store instructions can be generated for non-memory LLVM instructions, which wasn't handled before. It is now. llvm-svn: 1199
OpenPOWER on IntegriCloud