Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | InstrSched is SparcV9-specific and so has been moved to lib/Target/SparcV9/ | Misha Brukman | 2004-10-08 | 1 | -737/+0 |
| | | | | llvm-svn: 16849 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -1/+1 |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | ||||
* | Instead of using isDummyPhiInstr, we just compare the opcode with V9::PHI. | Brian Gaeke | 2004-08-18 | 1 | -1/+2 |
| | | | | llvm-svn: 15906 | ||||
* | Move MachineCodeForInstruction.h and MachineFunctionInfo.h into ↵ | Chris Lattner | 2004-08-16 | 1 | -1/+1 |
| | | | | | | lib/Target/SparcV9 llvm-svn: 15830 | ||||
* | Fix #includes of i*.h => Instructions.h as per PR403: | Chris Lattner | 2004-07-29 | 1 | -1/+1 |
| | | | | | | http://llvm.cs.uiuc.edu/PR403 . llvm-svn: 15331 | ||||
* | Fix for PR341 | Chris Lattner | 2004-07-15 | 1 | -2/+2 |
| | | | | llvm-svn: 14845 | ||||
* | Add #include <iostream> since Value.h does not #include it any more. | Reid Spencer | 2004-07-04 | 1 | -0/+1 |
| | | | | llvm-svn: 14622 | ||||
* | Adjust to the new TargetMachine interface | Chris Lattner | 2004-06-02 | 1 | -12/+12 |
| | | | | llvm-svn: 13957 | ||||
* | Include SparcV9RegInfo.h instead of TargetRegInfo.h. This serves as a bit of | Brian Gaeke | 2004-04-23 | 1 | -1/+1 |
| | | | | | | | documentation that this module needs to be made independent of the register file description of the current target. llvm-svn: 13125 | ||||
* | Eliminate operator[] is deprecated warnings | Chris Lattner | 2004-02-18 | 1 | -16/+21 |
| | | | | llvm-svn: 11578 | ||||
* | Remove getAllocatedRegNum(). Use getReg() instead. | Alkis Evlogimenos | 2004-02-13 | 1 | -4/+4 |
| | | | | llvm-svn: 11393 | ||||
* | Change MachineBasicBlock's vector of MachineInstr pointers into an | Alkis Evlogimenos | 2004-02-12 | 1 | -8/+9 |
| | | | | | | | | | ilist of MachineInstr objects. This allows constant time removal and insertion of MachineInstr instances from anywhere in each MachineBasicBlock. It also allows for constant time splicing of MachineInstrs into or out of MachineBasicBlocks. llvm-svn: 11340 | ||||
* | getOpCode() --> getOpcode(). | Brian Gaeke | 2004-02-12 | 1 | -14/+14 |
| | | | | llvm-svn: 11339 | ||||
* | Make SchedGraph::dump() use SchedGraphNodeCommon's const_iterator | Brian Gaeke | 2004-02-09 | 1 | -25/+14 |
| | | | | | | | | | instead of randomly groping about inside its outEdges array. Make SchedGraph::addDummyEdges() use getNumOutEdges() instead of outEdges.size(). Get rid of ifdefed-out code in SchedGraph::buildGraph(). llvm-svn: 11238 | ||||
* | Change interface of MachineOperand as follows: | Alkis Evlogimenos | 2003-12-14 | 1 | -19/+16 |
| | | | | | | | | | | | | | | | a) remove opIsUse(), opIsDefOnly(), opIsDefAndUse() b) add isUse(), isDef() c) rename opHiBits32() to isHiBits32(), opLoBits32() to isLoBits32(), opHiBits64() to isHiBits64(), opLoBits64() to isLoBits64(). This results to much more readable code, for example compare "op.opIsDef() || op.opIsDefAndUse()" to "op.isDef()" a pattern used very often in the code. llvm-svn: 10461 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+4 |
| | | | | llvm-svn: 9903 | ||||
* | Let's not forget about our friends -- Constant Pool indices. | Misha Brukman | 2003-11-06 | 1 | -0/+1 |
| | | | | llvm-svn: 9750 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
* | Fixed two double free bugs that caused llc to segfault or run forever. | John Criswell | 2003-08-28 | 1 | -5/+21 |
| | | | | llvm-svn: 8191 | ||||
* | Moved index into BB to common graph class because its needed by ↵ | Tanya Lattner | 2003-08-28 | 1 | -2/+1 |
| | | | | | | ModuloSchedGraph. llvm-svn: 8174 | ||||
* | *** empty log message *** | Tanya Lattner | 2003-08-27 | 1 | -215/+147 |
| | | | | llvm-svn: 8153 | ||||
* | First version of SchedGraph common class and refactoring of SchedGraph. | Tanya Lattner | 2003-08-25 | 1 | -212/+29 |
| | | | | llvm-svn: 8148 | ||||
* | A def. operand of a machine instruction may be an ordinary Value*, | Vikram S. Adve | 2003-07-02 | 1 | -13/+12 |
| | | | | | | | | not just an Instruction*, at least in one unfortunate case: the first operand to the va_arg instruction. Modify ValueToDefVecMap to map from Value*, not Instruction*. llvm-svn: 7052 | ||||
* | Changes to allow explicit physical register arguments that have been | Vikram S. Adve | 2003-05-31 | 1 | -37/+90 |
| | | | | | | | | | | preallocated. While reg-to-reg dependences were already handled, this change required new code for adding edges to/from call instructions. This was part of the extensive changes to the way code generation occurs for function call arguments and return values. See log for CodeGen/PhyRegAlloc.cpp. llvm-svn: 6467 | ||||
* | (1) Added special register class containing (for now) %fsr. | Vikram S. Adve | 2003-05-27 | 1 | -13/+14 |
| | | | | | | | | | | | | | Fixed spilling of %fcc[0-3] which are part of %fsr. (2) Moved some machine-independent reg-class code to class TargetRegInfo from SparcReg{Class,}Info. (3) Renamed MachienOperand::opIsDef to MachineOperand::opIsDefOnly() and related functions and flags. Fixed several bugs where only "isDef" was being checked, not "isDefAndUse". llvm-svn: 6341 | ||||
* | Cleaned up code layout. No functional changes. | Misha Brukman | 2003-05-22 | 1 | -232/+226 |
| | | | | llvm-svn: 6304 | ||||
* | Kill `using' directives. | Misha Brukman | 2003-05-22 | 1 | -28/+25 |
| | | | | llvm-svn: 6301 | ||||
* | Rename MachineInstrInfo -> TargetInstrInfo | Chris Lattner | 2003-01-14 | 1 | -6/+6 |
| | | | | llvm-svn: 5272 | ||||
* | More renamings of Target/Machine*Info to Target/Target*Info | Chris Lattner | 2002-12-29 | 1 | -1/+1 |
| | | | | llvm-svn: 5204 | ||||
* | Remove usage of MachineBasicBlock::get | Chris Lattner | 2002-10-28 | 1 | -125/+44 |
| | | | | llvm-svn: 4341 | ||||
* | Rename the redundant MachineOperand::getOperandType() to ↵ | Chris Lattner | 2002-10-28 | 1 | -21/+20 |
| | | | | | | MachineOperand::getType() llvm-svn: 4331 | ||||
* | Add #includes now that MachineInstr.h doesn't include ↵ | Chris Lattner | 2002-10-28 | 1 | -0/+1 |
| | | | | | | llvm/Target/MachineInstrInfo.h llvm-svn: 4327 | ||||
* | Rename MachineCodeForBasicBlock to MachineBasicBlock | Chris Lattner | 2002-10-28 | 1 | -6/+6 |
| | | | | llvm-svn: 4318 | ||||
* | Major bug fix: was not adding CD edges for RETURNs! | Vikram S. Adve | 2002-10-13 | 1 | -8/+10 |
| | | | | llvm-svn: 4137 | ||||
* | Very minor cleanups | Chris Lattner | 2002-08-09 | 1 | -23/+15 |
| | | | | llvm-svn: 3271 | ||||
* | *** empty log message *** | Chris Lattner | 2002-07-25 | 1 | -2/+2 |
| | | | | llvm-svn: 3075 | ||||
* | *** empty log message *** | Chris Lattner | 2002-07-24 | 1 | -1/+0 |
| | | | | llvm-svn: 3056 | ||||
* | A single MachineInstr operand may now be both a def and a use, | Vikram S. Adve | 2002-07-08 | 1 | -83/+61 |
| | | | | | | | | | 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 Lattner | 2002-06-25 | 1 | -1/+1 |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779 | ||||
* | Eliminate duplicate or unneccesary #include's | Chris Lattner | 2002-04-29 | 1 | -2/+0 |
| | | | | llvm-svn: 2397 | ||||
* | Clean up the ownership model a bit so that nodes actually get deleted more | Chris Lattner | 2002-04-09 | 1 | -12/+8 |
| | | | | | | | frequently. This still leaks edges quite a bit, but it leaks no nodes (I think). llvm-svn: 2190 | ||||
* | Change references to the Method class to be references to the Function | Chris Lattner | 2002-04-07 | 1 | -8/+8 |
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144 | ||||
* | Minor changes. | Vikram S. Adve | 2002-03-24 | 1 | -7/+3 |
| | | | | llvm-svn: 1971 | ||||
* | * Straighten out #includes | Chris Lattner | 2002-02-03 | 1 | -10/+7 |
| | | | | | | * Switch from MachineCodeForVMInstr to MachineCodeForInstruction model llvm-svn: 1644 | ||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -47/+45 |
| | | | | llvm-svn: 1503 | ||||
* | Create a new #include "Support/..." directory structure to move things | Chris Lattner | 2001-11-27 | 1 | -19/+11 |
| | | | | | | | | 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 | 1 | -53/+67 |
| | | | | | | | | 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 | 1 | -18/+62 |
| | | | | | | 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 | 1 | -29/+35 |
| | | | | | | | This wasn't a problem until we started putting copies for Phi values that produced cycles in the SchedGraph! llvm-svn: 1254 |