Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix newly-introduced 4.3 warnings | Anton Korobeynikov | 2008-02-20 | 1 | -1/+2 | |
| | | | | llvm-svn: 47375 | |||||
* | Determine whether a spill kills the register it's spilling before insertion ↵ | Evan Cheng | 2008-02-11 | 1 | -8/+3 | |
| | | | | | | rather than trying to undo the kill marker afterwards. llvm-svn: 46953 | |||||
* | Rename MRegisterInfo to TargetRegisterInfo. | Dan Gohman | 2008-02-10 | 1 | -35/+35 | |
| | | | | llvm-svn: 46930 | |||||
* | Remove remnant of load folding in local register allocator. Patch by Holger ↵ | Evan Cheng | 2008-02-07 | 1 | -7/+1 | |
| | | | | | | Schurig. llvm-svn: 46861 | |||||
* | Fix a number of local register allocator issues: PR1609. | Evan Cheng | 2008-02-06 | 1 | -14/+16 | |
| | | | | llvm-svn: 46821 | |||||
* | RegAllocaLocal still *requires* LiveVariables since it runs PHIElimination, ↵ | Evan Cheng | 2008-02-06 | 1 | -1/+3 | |
| | | | | | | followed by TwoAddress which requires LiveVariables. We cannot run LiveVariables on non-SSA code. llvm-svn: 46813 | |||||
* | Reg alloc doesn't really need LiveVariables. | Owen Anderson | 2008-01-27 | 1 | -9/+2 | |
| | | | | llvm-svn: 46420 | |||||
* | When a live virtual register is being clobbered by an implicit def, it is ↵ | Evan Cheng | 2008-01-17 | 1 | -2/+20 | |
| | | | | | | | | | | | spilled and the spill is its kill. However, if the local allocator has determined the register has not been modified (possible when its value was reloaded), it would not issue a restore. In that case, mark the last use of the virtual register as kill. llvm-svn: 46111 | |||||
* | Replace std::vector<bool> with BitVector. | Evan Cheng | 2008-01-17 | 1 | -4/+8 | |
| | | | | llvm-svn: 46104 | |||||
* | rename TargetInstrDescriptor -> TargetInstrDesc. | Chris Lattner | 2008-01-07 | 1 | -1/+1 | |
| | | | | | | | Make MachineInstr::getDesc return a reference instead of a pointer, since it can never be null. llvm-svn: 45695 | |||||
* | Update CodeGen for MRegisterInfo --> TargetInstrInfo changes. | Owen Anderson | 2008-01-07 | 1 | -1/+3 | |
| | | | | llvm-svn: 45673 | |||||
* | Move some more instruction creation methods from RegisterInfo into InstrInfo. | Owen Anderson | 2008-01-01 | 1 | -2/+6 | |
| | | | | llvm-svn: 45484 | |||||
* | Rename SSARegMap -> MachineRegisterInfo in keeping with the idea | Chris Lattner | 2007-12-31 | 1 | -41/+41 | |
| | | | | | | | | | | | | | | 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 | |||||
* | Remove redundant foldMemoryOperand variants and other code clean up. | Evan Cheng | 2007-12-02 | 1 | -1/+3 | |
| | | | | llvm-svn: 44517 | |||||
* | Add missing paratheses. | Evan Cheng | 2007-10-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 43227 | |||||
* | Correctly handle implcit def / use operands. | Evan Cheng | 2007-06-26 | 1 | -52/+64 | |
| | | | | llvm-svn: 37740 | |||||
* | Change names from RA to something unique to get rid of naming conflicts with | Bill Wendling | 2007-05-08 | 1 | -21/+23 | |
| | | | | | | certain linkers... llvm-svn: 36944 | |||||
* | 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 | -0/+5 | |
| | | | | llvm-svn: 36632 | |||||
* | Match MachineFunction::UsedPhysRegs changes. | Evan Cheng | 2007-04-25 | 1 | -13/+8 | |
| | | | | llvm-svn: 36452 | |||||
* | Use BitVector instead of vector<bool> which can be extremely slow. | Evan Cheng | 2007-02-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 34302 | |||||
* | rename DenseMap to IndexedMap. | Chris Lattner | 2007-02-01 | 1 | -2/+2 | |
| | | | | llvm-svn: 33749 | |||||
* | Eliminate static ctors from Statistics | Chris Lattner | 2006-12-19 | 1 | -5/+4 | |
| | | | | llvm-svn: 32698 | |||||
* | Removing even more <iostream> includes. | Bill Wendling | 2006-12-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 32320 | |||||
* | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 1 | -3/+3 | |
| | | | | | | is 'unsigned'. llvm-svn: 32279 | |||||
* | More removal of std::cerr and DEBUG, replacing with DOUT instead. | Bill Wendling | 2006-11-17 | 1 | -27/+26 | |
| | | | | llvm-svn: 31806 | |||||
* | Match live variable changes. | Evan Cheng | 2006-11-15 | 1 | -10/+56 | |
| | | | | llvm-svn: 31762 | |||||
* | Add implicit def / use operands to MachineInstr. | Evan Cheng | 2006-11-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 31633 | |||||
* | Fix UnitTests/2005-05-12-Int64ToFP.c with llc-beta. In particular, do not | Chris Lattner | 2006-09-19 | 1 | -7/+10 | |
| | | | | | | allow it to go into an infinite loop, filling up the disk! llvm-svn: 30494 | |||||
* | Non-allocatable physregs can be killed and dead, but don't treat them as | Chris Lattner | 2006-09-08 | 1 | -0/+6 | |
| | | | | | | safe for later allocation. This fixes McCat/18-imp with llc-beta. llvm-svn: 30204 | |||||
* | This fixes Benchmarks/Prolangs-C/unix-smail | Chris Lattner | 2006-09-08 | 1 | -0/+2 | |
| | | | | llvm-svn: 30198 | |||||
* | Fix a bunch of llc-beta failures on x86 yesterday. Don't allow selection | Chris Lattner | 2006-09-08 | 1 | -17/+42 | |
| | | | | | | | of unallocatable registers, just because an alias is allocatable. We were picking registers like SIL just because ESI was being used. llvm-svn: 30197 | |||||
* | Only call isUse/isDef on register operands | Evan Cheng | 2006-09-05 | 1 | -3/+3 | |
| | | | | llvm-svn: 30122 | |||||
* | Fix Regression/CodeGen/Generic/2006-09-02-LocalAllocCrash.ll on X86. | Chris Lattner | 2006-09-03 | 1 | -6/+11 | |
| | | | | | | | Just because an alias of a register is available, it doesn't mean that we can arbitrarily evict the register. llvm-svn: 30064 | |||||
* | When deleting a machine instruction, make sure to remove it from the | Chris Lattner | 2006-09-03 | 1 | -1/+4 | |
| | | | | | | livevariables information. This fixes several regalloc=local failures on x86 llvm-svn: 30062 | |||||
* | 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/+7 | |
| | | | | llvm-svn: 29434 | |||||
* | Eliminate data relocations by using NULL instead of global empty list. | Jim Laskey | 2006-07-21 | 1 | -15/+19 | |
| | | | | llvm-svn: 29250 | |||||
* | 80 cols | Andrew Lenharth | 2006-07-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 29221 | |||||
* | Reduce number of exported symbols | Andrew Lenharth | 2006-07-20 | 1 | -4/+4 | |
| | | | | llvm-svn: 29220 | |||||
* | Use hidden visibility to make symbols in an anonymous namespace get | Chris Lattner | 2006-06-28 | 1 | -1/+2 | |
| | | | | | | dropped. This shrinks libllvmgcc.dylib another 67K llvm-svn: 28975 | |||||
* | Teach the local allocator to know that live-in values (e.g. arguments) are | Chris Lattner | 2006-06-15 | 1 | -0/+20 | |
| | | | | | | | live at function entry. This prevents it from using arg registers for other purposes before the arguments are used. llvm-svn: 28809 | |||||
* | Move some methods out of MachineInstr into MachineOperand | Chris Lattner | 2006-05-04 | 1 | -3/+3 | |
| | | | | llvm-svn: 28102 | |||||
* | Add explicit #includes of <iostream> | Chris Lattner | 2006-01-22 | 1 | -0/+1 | |
| | | | | llvm-svn: 25515 | |||||
* | Nuke noop copies. | Chris Lattner | 2005-11-09 | 1 | -4/+11 | |
| | | | | llvm-svn: 24258 | |||||
* | Disable some overly-aggressive checking code. This speeds up the local | Chris Lattner | 2005-11-09 | 1 | -1/+2 | |
| | | | | | | allocator from 23s to 11s on kc++ in debug mode. llvm-svn: 24255 |