Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Minor changes. | Vikram S. Adve | 2002-03-24 | 1 | -7/+3 | |
| | | | | llvm-svn: 1971 | |||||
* | Rename Method to Function | Chris Lattner | 2002-03-23 | 2 | -6/+7 | |
| | | | | llvm-svn: 1957 | |||||
* | Change to make it build with GCC 2.95.3 | Anand Shukla | 2002-02-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 1802 | |||||
* | * 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 | 2 | -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.h | Chris Lattner | 2002-02-12 | 1 | -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 iterator | Chris Lattner | 2002-02-05 | 1 | -7/+7 | |
| | | | | llvm-svn: 1720 | |||||
* | Minor change: Methods that return ValueSet's that are guaranteed to be valid | Chris Lattner | 2002-02-05 | 1 | -7/+5 | |
| | | | | | | return references instead of pointers. llvm-svn: 1719 | |||||
* | * Eliminate the LiveVarSet class, making applyTranferFuncForMInst a static | Chris Lattner | 2002-02-05 | 2 | -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 more | Chris Lattner | 2002-02-05 | 1 | -0/+1 | |
| | | | | llvm-svn: 1707 | |||||
* | * 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 | |||||
* | Remove dependence on BBLiveVar from InstrScheduling | Chris Lattner | 2002-02-04 | 2 | -6/+4 | |
| | | | | | | Minor cleanups llvm-svn: 1688 | |||||
* | Move instrIsFeasible from InstrScheduling.h | Chris Lattner | 2002-02-04 | 1 | -0/+15 | |
| | | | | llvm-svn: 1674 | |||||
* | * Move command line parsing debug stuff to InstrScheduling internal header file | Chris Lattner | 2002-02-04 | 1 | -1/+10 | |
| | | | | | | SchedPriorities.h llvm-svn: 1669 | |||||
* | Remove extraneous #includes | Chris Lattner | 2002-02-03 | 1 | -2/+0 | |
| | | | | llvm-svn: 1645 | |||||
* | * Straighten out #includes | Chris Lattner | 2002-02-03 | 1 | -10/+7 | |
| | | | | | | * Switch from MachineCodeForVMInstr to MachineCodeForInstruction model llvm-svn: 1644 | |||||
* | * Get machine instrs from Instructin's by using MachineCodeForInstruction::get | Chris Lattner | 2002-02-03 | 1 | -10/+10 | |
| | | | | | | * Convert a few (*X). to X-> llvm-svn: 1643 | |||||
* | Make it build with 2.95.3 | Chris Lattner | 2002-01-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 1554 | |||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 5 | -187/+153 | |
| | | | | llvm-svn: 1503 | |||||
* | Renamed inst_const_iterator -> const_inst_iterator | Chris Lattner | 2001-12-04 | 1 | -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 things | Chris Lattner | 2001-11-27 | 4 | -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 compilers | Chris Lattner | 2001-11-26 | 1 | -3/+3 | |
| | | | | llvm-svn: 1375 | |||||
* | Eliminate most uses of the machine instruction vector for each LLVM instr, | Vikram S. Adve | 2001-11-12 | 2 | -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. Adve | 2001-11-12 | 4 | -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. Adve | 2001-11-11 | 2 | -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. Adve | 2001-11-09 | 1 | -36/+38 | |
| | | | | | | Much nicer. llvm-svn: 1223 | |||||
* | Major change to how defs are found when adding dependences (they | Vikram S. Adve | 2001-11-08 | 2 | -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 | |||||
* | MachineCodeForMethod is now an annotation on class Method. | Vikram S. Adve | 2001-11-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 1198 | |||||
* | Modified graph construction to use one pass to find all defs. | Vikram S. Adve | 2001-11-05 | 2 | -56/+144 | |
| | | | | | | | Avoids having to handle some special cases that cause complex interactions with instr. selection. llvm-svn: 1138 | |||||
* | Allow combinations of True/Anti/Output flags for each edge to | Vikram S. Adve | 2001-10-28 | 1 | -7/+16 | |
| | | | | | | support, e.g., dependences on Call instructions. llvm-svn: 1009 | |||||
* | Add edges between call instructions and (a) load/store instructions, and | Vikram S. Adve | 2001-10-28 | 1 | -34/+111 | |
| | | | | | | | (b) any instructions that use or set CC registers. Whether or not the latter are needed really should be machine-dependent. llvm-svn: 1008 | |||||
* | Modify code that processes delay slots so that it preserves any | Vikram S. Adve | 2001-10-22 | 1 | -11/+36 | |
| | | | | | | useful instructions already inserted into delay slots. llvm-svn: 945 | |||||
* | Separate VM instruction that generates the instructions that compute a value | Vikram S. Adve | 2001-10-17 | 1 | -1/+2 | |
| | | | | | | | from the value itself (the one causing an edge) because the latter may be a temporary used within the instruction sequence for the VM instruction. llvm-svn: 858 | |||||
* | *** empty log message *** | Vikram S. Adve | 2001-10-17 | 1 | -15/+24 | |
| | | | | llvm-svn: 857 | |||||
* | * Fix privacy issues on RegToRefVecMap | Chris Lattner | 2001-10-13 | 1 | -5/+5 | |
| | | | | | | * Fix initialization order problems... llvm-svn: 762 | |||||
* | Add graph edges due to implicit refs in each machine instruction. | Vikram S. Adve | 2001-10-11 | 1 | -27/+52 | |
| | | | | llvm-svn: 724 | |||||
* | Don't insert useful instructions in delay slot of a RETURN. | Vikram S. Adve | 2001-10-10 | 2 | -27/+32 | |
| | | | | llvm-svn: 721 | |||||
* | Commit more code over to new cast style | Chris Lattner | 2001-10-02 | 1 | -2/+3 | |
| | | | | llvm-svn: 697 | |||||
* | Convert more code to use new style casts | Chris Lattner | 2001-10-01 | 1 | -2/+1 | |
| | | | | | | Eliminate old style casts from value.h llvm-svn: 696 | |||||
* | Add support for new style casts | Chris Lattner | 2001-10-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 694 | |||||
* | Bug fixes: | Vikram S. Adve | 2001-09-30 | 1 | -378/+429 | |
| | | | | | | | | | | | (1) Ensure that delay slot instructions are not moved out of place (this was happening for some CALL instructions). Basically, we need to move all delay slot instructions out of the graph and handle them along with the delayed control transfer instruction. (2) Mark scheduled instructions correctly when instructions are scheduled in more than one cycle in a single step (due to delay slots). llvm-svn: 678 | |||||
* | Minor changes for bug fixes in SchedGraph.cpp. | Vikram S. Adve | 2001-09-30 | 1 | -9/+15 | |
| | | | | llvm-svn: 677 | |||||
* | Two bug fixes: | Vikram S. Adve | 2001-09-30 | 1 | -78/+177 | |
| | | | | | | | (1) Add edges for Values that are written by multiple m/c instructions (2) Add edges for LLVM operands that are not machine operands (e.g., Call args) llvm-svn: 676 | |||||
* | Pull iterators out of CFG.h and CFGdecls and put them in Support directory | Chris Lattner | 2001-09-28 | 3 | -9/+34 | |
| | | | | llvm-svn: 664 | |||||
* | Format file header. | Vikram S. Adve | 2001-09-18 | 1 | -19/+19 | |
| | | | | llvm-svn: 611 | |||||
* | Add new entry/exit edges when removing delay slot nodes from the graph. | Vikram S. Adve | 2001-09-18 | 1 | -20/+36 | |
| | | | | | | Renamed some header files. llvm-svn: 610 | |||||
* | Moved erase edge functions to class SchedGraph. | Vikram S. Adve | 2001-09-18 | 1 | -42/+93 | |
| | | | | | | Add new dummy edges when deleting existing edges. llvm-svn: 609 | |||||
* | Renamed some header files. | Vikram S. Adve | 2001-09-18 | 1 | -20/+20 | |
| | | | | llvm-svn: 608 | |||||
* | Moved erase-edge functions from SchedGraphNode to SchedGraph. | Vikram S. Adve | 2001-09-18 | 1 | -10/+16 | |
| | | | | | | Renamed some header files. llvm-svn: 607 | |||||
* | Add a forward decl, oops. | Chris Lattner | 2001-09-14 | 1 | -0/+1 | |
| | | | | llvm-svn: 573 |