summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* This target is no longer built. The ,v files now live in the reoptimizer.Chris Lattner2006-04-201-1366/+0
| | | | llvm-svn: 27885
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-271-3/+3
| | | | llvm-svn: 22523
* Eliminate tabs and trailing spaces.Jeff Cohen2005-07-271-60/+60
| | | | llvm-svn: 22520
* Added statistic to count number of spills.Tanya Lattner2005-06-171-0/+3
| | | | llvm-svn: 22240
* When compiled with GCC 4.0, a latent bug was exposed where both SparcV9Nate Begeman2005-06-121-19/+19
| | | | | | | | | and the target independant register allocator were both using a class named 'LiveRange'. This lead to the target independant code calling code in the SparcV9 backend, which crashed. Fixed by renaming SparcV9's LiveRange to V9LiveRange. llvm-svn: 22208
* Remove trailing whitespaceMisha Brukman2005-04-211-164/+164
| | | | llvm-svn: 21425
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-151-2/+2
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* Changes For Bug 352Reid Spencer2004-09-011-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
* Fix bug in PhyRegAlloc::setCallInterferences() handling call through aBrian Gaeke2004-08-241-2/+3
| | | | | | null pointer. llvm-svn: 16013
* Instead of using isDummyPhiInstr, we just compare the opcode with V9::PHI.Brian Gaeke2004-08-181-2/+2
| | | | llvm-svn: 15906
* Convert to the new MachineFunctionInfo interfaceChris Lattner2004-08-181-6/+6
| | | | llvm-svn: 15904
* The SparcV9 target no longer uses any pseudoinstructions (SETSW, SETUW,Brian Gaeke2004-08-181-9/+0
| | | | | | SETX) or M_PSEUDO_FLAG. llvm-svn: 15901
* Move MachineCodeForInstruction.h and MachineFunctionInfo.h into ↵Chris Lattner2004-08-161-2/+2
| | | | | | lib/Target/SparcV9 llvm-svn: 15830
* dumpSavedState has outlived its usefulness.Brian Gaeke2004-08-061-46/+3
| | | | llvm-svn: 15555
* Include SparcV9TmpInstr.h instead of llvm/CodeGen/InstrSelection.h, to pickBrian Gaeke2004-08-041-1/+1
| | | | | | up the definition of class TmpInstruction. llvm-svn: 15473
* Fix #includes of i*.h => Instructions.h as per PR403:Chris Lattner2004-07-291-2/+1
| | | | | | http://llvm.cs.uiuc.edu/PR403 . llvm-svn: 15331
* Get rid of calls to void llvm::printSet(const ValueSet &).Brian Gaeke2004-07-291-11/+6
| | | | llvm-svn: 15322
* TargetInstrInfo::getNOPOpCode() has been replaced by a reference to V9::NOP.Brian Gaeke2004-07-271-1/+2
| | | | llvm-svn: 15279
* bug 122:Reid Spencer2004-07-181-1/+1
| | | | | | - Replace ConstantPointerRef usage with GlobalValue usage llvm-svn: 14953
* IA64 compatChris Lattner2004-07-161-1/+1
| | | | llvm-svn: 14867
* Add #include <iostream> since Value.h does not #include it any more.Reid Spencer2004-07-041-0/+1
| | | | llvm-svn: 14622
* Collapse together the abstract superclass TargetRegInfo and SparcV9RegInfo, itsBrian Gaeke2004-06-031-1/+1
| | | | | | only concrete implementation. llvm-svn: 13977
* Convert to the new TargetMachine interface.Chris Lattner2004-06-021-18/+18
| | | | llvm-svn: 13952
* Reduce the amount of LLVM Values for which we save reg. allocatorBrian Gaeke2004-05-301-9/+14
| | | | | | | state. Also, save the state for the incoming register of each phi node. llvm-svn: 13906
* Rename verifySavedState to dumpSavedState. Give it a new comment.Brian Gaeke2004-05-301-8/+10
| | | | | | Call it at a more appropriate point. llvm-svn: 13905
* Changes to fix up the inst_iterator to pass to boost iterator checks. ThisChris Lattner2004-04-271-4/+4
| | | | | | patch was graciously contributed by Vladimir Prus. llvm-svn: 13185
* MBB::remove should not modify the iterator passed inChris Lattner2004-03-311-1/+1
| | | | llvm-svn: 12572
* Don't warn about a null live range if the Value is a ConstantIntegral.Brian Gaeke2004-03-291-1/+1
| | | | | | | Otherwise, if you're in debugging mode, you get warnings for (apparently) every immediate constant in the function during reg. allocation. llvm-svn: 12538
* Get rid of the abort in PhyRegAlloc::finishSavingState().Brian Gaeke2004-03-111-5/+6
| | | | | | | | Make an explicit call to it from runOnFunction() if we know we're supposed to write into the global. This is lame (esp. the const_cast), but it solves the problem. llvm-svn: 12291
* In PhyRegAlloc::saveState(), dump Arguments' saved-state, and try toBrian Gaeke2004-03-111-10/+30
| | | | | | | | | | | | | make the output more compact. Divorce state-saving from the doFinalization method; for some reason it's not getting called when I want it to, at Reoptimizer time. Put the guts in PhyRegAlloc::finishSavingState(). Put an abort() in it so that I can be really really sure that it's getting called. Update comments. llvm-svn: 12286
* Move all the SaveState options and stuff inton one spot at the top of the file.Brian Gaeke2004-03-101-8/+10
| | | | | | | | De-constify SaveStateToModule; we have to set both it and SaveRegAllocState explicitly in the reoptimizer. Make SaveRegAllocState an 'external location' option. llvm-svn: 12278
* Only call verifySavedState if SaveRegAllocState is set AND debugging flag is on.Brian Gaeke2004-03-101-3/+4
| | | | llvm-svn: 12277
* Save argument list alloc state by recording it as the operands of InstructionBrian Gaeke2004-03-081-2/+10
| | | | | | #-1. Other minor changes to deal with AllocInfo.Instruction becoming an int. llvm-svn: 12246
* Move the private MachineInstrAnnot.h into a private directory.Chris Lattner2004-02-291-1/+1
| | | | llvm-svn: 12003
* Great renaming: Sparc --> SparcV9Brian Gaeke2004-02-251-0/+1379
llvm-svn: 11826
OpenPOWER on IntegriCloud