Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix command-line option printing to print two spaces where needed, | Dan Gohman | 2008-10-14 | 1 | -1/+1 |
| | | | | | | | | | instead of requiring all "short description" strings to begin with two spaces. This makes these strings less mysterious, and it fixes some cases where short description strings mistakenly did not begin with two spaces. llvm-svn: 57521 | ||||
* | Switch the MachineOperand accessors back to the short names like | Dan Gohman | 2008-10-03 | 1 | -2/+2 |
| | | | | | | isReg, etc., from isRegister, etc. llvm-svn: 57006 | ||||
* | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -1/+1 |
| | | | | llvm-svn: 55779 | ||||
* | Reuse the MO variable instead of recomputing it in RegAllocLocal. | Dan Gohman | 2008-07-09 | 1 | -8/+8 |
| | | | | | | Keep RegAllocSimple in sync. llvm-svn: 53351 | ||||
* | Give RegAllocSimple a TargetInstrInfo member to keep it consistent | Dan Gohman | 2008-07-09 | 1 | -2/+2 |
| | | | | | | with RegAllocLocal. llvm-svn: 53347 | ||||
* | Use find with std::map, when that's what's needed, instead of lower_bound | Dan Gohman | 2008-07-09 | 1 | -3/+2 |
| | | | | | | with extra checks. llvm-svn: 53344 | ||||
* | Don't include <map> in Pass.h, which doesn't need it. This requires | Dan Gohman | 2008-03-21 | 1 | -0/+1 |
| | | | | | | adding <map> to many files that actually do need it. llvm-svn: 48667 | ||||
* | Rename MRegisterInfo to TargetRegisterInfo. | Dan Gohman | 2008-02-10 | 1 | -4/+4 |
| | | | | llvm-svn: 46930 | ||||
* | rename TargetInstrDescriptor -> TargetInstrDesc. | Chris Lattner | 2008-01-07 | 1 | -2/+2 |
| | | | | | | | Make MachineInstr::getDesc return a reference instead of a pointer, since it can never be null. llvm-svn: 45695 | ||||
* | Rename MachineInstr::getInstrDescriptor -> getDesc(), which reflects | Chris Lattner | 2008-01-07 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | that it is cheap and efficient to get. Move a variety of predicates from TargetInstrInfo into TargetInstrDescriptor, which makes it much easier to query a predicate when you don't have TII around. Now you can use MI->getDesc()->isBranch() instead of going through TII, and this is much more efficient anyway. Not all of the predicates have been moved over yet. Update old code that used MI->getInstrDescriptor()->Flags to use the new predicates in many places. llvm-svn: 45674 | ||||
* | Move some more instruction creation methods from RegisterInfo into InstrInfo. | Owen Anderson | 2008-01-01 | 1 | -2/+5 |
| | | | | llvm-svn: 45484 | ||||
* | Rename SSARegMap -> MachineRegisterInfo in keeping with the idea | Chris Lattner | 2007-12-31 | 1 | -11/+11 |
| | | | | | | | | | | | | | | that "machine" classes are used to represent the current state of the code being compiled. Given this expanded name, we can start moving other stuff into it. For now, move the UsedPhysRegs and LiveIn/LoveOuts vectors from MachineFunction into it. Update all the clients to match. This also reduces some needless #includes, such as MachineModuleInfo from MachineFunction. llvm-svn: 45467 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Add a argument to storeRegToStackSlot and storeRegToAddr to specify whether | Evan Cheng | 2007-12-05 | 1 | -1/+1 |
| | | | | | | the stored register is killed. llvm-svn: 44600 | ||||
* | Drop 'const' | Devang Patel | 2007-05-03 | 1 | -2/+2 |
| | | | | llvm-svn: 36662 | ||||
* | Use 'static const char' instead of 'static const int'. | Devang Patel | 2007-05-02 | 1 | -2/+2 |
| | | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652 | ||||
* | Do not use typeinfo to identify pass in pass manager. | Devang Patel | 2007-05-01 | 1 | -1/+5 |
| | | | | llvm-svn: 36632 | ||||
* | Match MachineFunction::UsedPhysRegs changes. | Evan Cheng | 2007-04-25 | 1 | -7/+2 |
| | | | | llvm-svn: 36452 | ||||
* | Eliminate static ctors from Statistics | Chris Lattner | 2006-12-19 | 1 | -3/+3 |
| | | | | llvm-svn: 32698 | ||||
* | Move findTiedToSrcOperand to TargetInstrDescriptor. | Evan Cheng | 2006-12-08 | 1 | -2/+1 |
| | | | | llvm-svn: 32366 | ||||
* | findTiedToSrcOperand() changed. | Evan Cheng | 2006-12-08 | 1 | -2/+2 |
| | | | | llvm-svn: 32353 | ||||
* | Removed more <iostream> includes | Bill Wendling | 2006-12-07 | 1 | -2/+1 |
| | | | | llvm-svn: 32321 | ||||
* | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 1 | -2/+2 |
| | | | | | | is 'unsigned'. llvm-svn: 32279 | ||||
* | Use llvm streams instead of <iostream> | Bill Wendling | 2006-11-28 | 1 | -6/+5 |
| | | | | llvm-svn: 31985 | ||||
* | Rename | Evan Cheng | 2006-11-01 | 1 | -1/+1 |
| | | | | llvm-svn: 31364 | ||||
* | Two-address instructions no longer have to be A := A op C. Now any pair of ↵ | Evan Cheng | 2006-11-01 | 1 | -7/+10 |
| | | | | | | dest / src operands can be tied together. llvm-svn: 31363 | ||||
* | Fix a long-standing wart in the code generator: two-address instruction lowering | Chris Lattner | 2006-09-05 | 1 | -5/+1 |
| | | | | | | | | | | | | | | | actually *removes* one of the operands, instead of just assigning both operands the same register. This make reasoning about instructions unnecessarily complex, because you need to know if you are before or after register allocation to match up operand #'s with the target description file. Changing this also gets rid of a bunch of hacky code in various places. This patch also includes changes to fold loads into cmp/test instructions in the X86 backend, along with a significant simplification to the X86 spill folding code. llvm-svn: 30108 | ||||
* | s|llvm/Support/Visibility.h|llvm/Support/Compiler.h| | Chris Lattner | 2006-08-27 | 1 | -1/+1 |
| | | | | llvm-svn: 29911 | ||||
* | Final polish on machine pass registries. | Jim Laskey | 2006-08-02 | 1 | -1/+1 |
| | | | | llvm-svn: 29471 | ||||
* | Introducing plugable register allocators and instruction schedulers. | Jim Laskey | 2006-08-01 | 1 | -0/+5 |
| | | | | llvm-svn: 29434 | ||||
* | Eliminate data relocations by using NULL instead of global empty list. | Jim Laskey | 2006-07-21 | 1 | -5/+9 |
| | | | | llvm-svn: 29250 | ||||
* | Reduce number of exported symbols | Andrew Lenharth | 2006-07-20 | 1 | -2/+2 |
| | | | | llvm-svn: 29220 | ||||
* | Shave another 27K off libllvmgcc.dylib with visibility hidden | Chris Lattner | 2006-06-28 | 1 | -1/+2 |
| | | | | llvm-svn: 28973 | ||||
* | Move some methods out of MachineInstr into MachineOperand | Chris Lattner | 2006-05-04 | 1 | -1/+1 |
| | | | | llvm-svn: 28102 | ||||
* | Add explicit #includes of <iostream> | Chris Lattner | 2006-01-22 | 1 | -0/+1 |
| | | | | llvm-svn: 25515 | ||||
* | Change this code ot pass register classes into the stack slot spiller/reloader | Chris Lattner | 2005-09-30 | 1 | -2/+2 |
| | | | | | | | code. PrologEpilogInserter hasn't been updated yet though, so targets cannot use this info. llvm-svn: 23536 | ||||
* | Convert tabs to spaces | Misha Brukman | 2005-04-22 | 1 | -1/+1 |
| | | | | llvm-svn: 21439 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -12/+12 |
| | | | | llvm-svn: 21420 | ||||
* | Update physregsused info. | Chris Lattner | 2005-01-23 | 1 | -10/+18 |
| | | | | llvm-svn: 19793 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -3/+3 |
| | | | | | | | | 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 | ||||
* | Stop using CreateStackObject(RegClass*) | Chris Lattner | 2004-08-15 | 1 | -1/+2 |
| | | | | llvm-svn: 15775 | ||||
* | These methods no longer take a TargetRegisterClass* operand. | Chris Lattner | 2004-08-15 | 1 | -2/+2 |
| | | | | llvm-svn: 15774 | ||||
* | These files don't need to include <iostream> since they include ↵ | Brian Gaeke | 2004-07-21 | 1 | -1/+0 |
| | | | | | | "Support/Debug.h". llvm-svn: 15089 | ||||
* | Made a fix so that you can print out MachineInstrs that belong to a ↵ | Tanya Lattner | 2004-06-25 | 1 | -1/+1 |
| | | | | | | MachineBasicBlock that is not yet attached to a MachineFunction. This change includes changing the third operand (TargetMachine) to a pointer for the MachineInstr::print function. llvm-svn: 14389 | ||||
* | Adjust to new TargetMachine interface | Chris Lattner | 2004-06-02 | 1 | -2/+2 |
| | | | | llvm-svn: 13956 | ||||
* | Fix PR294 | Chris Lattner | 2004-03-16 | 1 | -1/+2 |
| | | | | llvm-svn: 12425 | ||||
* | Simplify iterator usage now that we have next(). Also don't pass iterators ↵ | Alkis Evlogimenos | 2004-02-23 | 1 | -11/+7 |
| | | | | | | by reference now that MachineInstr* are in an ilist llvm-svn: 11732 | ||||
* | Rename reloads/spills to loads/stores. | Alkis Evlogimenos | 2004-02-19 | 1 | -4/+4 |
| | | | | llvm-svn: 11619 | ||||
* | Finegrainify namespacification | Chris Lattner | 2004-02-15 | 1 | -8/+12 |
| | | | | | | Remove one of the operands of a two operand instruction llvm-svn: 11478 | ||||
* | Make dense maps keyed on physical registers smallerusing | Alkis Evlogimenos | 2004-02-15 | 1 | -1/+1 |
| | | | | | | | | | | MRegisterInfo::getNumRegs() instead of MRegisterInfo::FirstVirtualRegister. Also use MRegisterInfo::is{Physical,Virtual}Register where appropriate. llvm-svn: 11477 |