Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't derive from ValueSet to implement class LiveRange; instead, use a | Brian Gaeke | 2004-07-29 | 1 | -8/+25 | |
| | | | | | | | SetVector<Value *> data member. Add << operator for LiveRanges (a dumb one, for now.) llvm-svn: 15320 | |||||
* | Fix a few typoes and grammaroes in comments. | Brian Gaeke | 2004-07-29 | 1 | -5/+5 | |
| | | | | llvm-svn: 15319 | |||||
* | Remove mustSaveAcrossCalls flag, which isn't ever read, and its mutator, | Brian Gaeke | 2004-07-29 | 2 | -10/+1 | |
| | | | | | | markForSaveAcrossCalls. llvm-svn: 15317 | |||||
* | This was the only user of TargetInstrInfo::ConstantTypeMustBeLoaded(). | Brian Gaeke | 2004-07-27 | 1 | -1/+5 | |
| | | | | llvm-svn: 15293 | |||||
* | Get rid of the (apparently non-working) filePrinterEmitter which is added in | Brian Gaeke | 2004-07-27 | 1 | -3/+1 | |
| | | | | | | debug mode. Its only effect seems to be the creation of an empty file... llvm-svn: 15289 | |||||
* | TargetInstrInfo::getNOPOpCode() has been replaced by a reference to V9::NOP. | Brian Gaeke | 2004-07-27 | 2 | -2/+3 | |
| | | | | llvm-svn: 15279 | |||||
* | Convert many of the virtual TargetInstrInfo methods used as helper | Brian Gaeke | 2004-07-27 | 4 | -58/+48 | |
| | | | | | | | | functions in SparcV9InstrSelection and SparcV9PreSelection into regular old global functions. As it happens, none of them really have anything to do with TargetInstrInfo. llvm-svn: 15278 | |||||
* | As it happens, none of these TargetInstrInfo methods which are only | Brian Gaeke | 2004-07-27 | 2 | -104/+90 | |
| | | | | | | | | | used in the SparcV9 backend really have anything to do with TargetInstrInfo, so we're converting them into regular old global functions and moving their declarations to SparcV9InstrSelectionSupport.h. (They're mostly used as helper functions for SparcV9InstrSelection.) llvm-svn: 15277 | |||||
* | bug 122: | Reid Spencer | 2004-07-19 | 1 | -2/+1 | |
| | | | | | | | Simplify a conditional operator for a constant result from GV->isNullValue() llvm-svn: 15001 | |||||
* | Inline 4 methods | Chris Lattner | 2004-07-19 | 3 | -18/+18 | |
| | | | | llvm-svn: 15000 | |||||
* | bug 122: | Reid Spencer | 2004-07-18 | 3 | -12/+7 | |
| | | | | | | - Replace ConstantPointerRef usage with GlobalValue usage llvm-svn: 14953 | |||||
* | bug 122: | Reid Spencer | 2004-07-18 | 4 | -31/+26 | |
| | | | | | | | | - Replace ConstantPointerRef usage with GlobalValue usage - Minimize redundant isa<GlobalValue> usage - Correct isa<Constant> for GlobalValue subclass llvm-svn: 14950 | |||||
* | bug 122: | Reid Spencer | 2004-07-18 | 1 | -1/+1 | |
| | | | | | | - Correct isa<Constant> for GlobalValue subclass llvm-svn: 14949 | |||||
* | IA64 compat | Chris Lattner | 2004-07-16 | 3 | -3/+3 | |
| | | | | llvm-svn: 14867 | |||||
* | Patches towards fixing PR341 | Chris Lattner | 2004-07-15 | 1 | -3/+3 | |
| | | | | llvm-svn: 14841 | |||||
* | Add Machine-CFG edges to SparcV9 MachineBasicBlocks. | Brian Gaeke | 2004-07-14 | 1 | -6/+20 | |
| | | | | llvm-svn: 14806 | |||||
* | Delete the allocate*TargetMachine function, which is now dead . | Chris Lattner | 2004-07-11 | 1 | -9/+1 | |
| | | | | | | The shared command line options are now in a header that makes sense. llvm-svn: 14756 | |||||
* | Make these format a bit nicer | Chris Lattner | 2004-07-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 14747 | |||||
* | Auto-registrate target | Chris Lattner | 2004-07-11 | 2 | -6/+33 | |
| | | | | llvm-svn: 14745 | |||||
* | Add #include <iostream> since Value.h does not #include it any more. | Reid Spencer | 2004-07-04 | 10 | -0/+10 | |
| | | | | llvm-svn: 14622 | |||||
* | Add M_TERMINATOR_FLAG to terminator instructions (branches and returns). | Brian Gaeke | 2004-07-02 | 1 | -46/+48 | |
| | | | | | | Also, the RETURN instructions are not used in the sparcv9 backend. llvm-svn: 14559 | |||||
* | RETURN instructions are not used in the sparc backend. | Brian Gaeke | 2004-07-02 | 3 | -9/+0 | |
| | | | | | | When in doubt, stamp it out!! llvm-svn: 14558 | |||||
* | There is no reason to print ValueType here | Chris Lattner | 2004-06-26 | 1 | -6/+2 | |
| | | | | llvm-svn: 14425 | |||||
* | Make the most commonly preselected instructions add to the names of the | Brian Gaeke | 2004-06-23 | 1 | -2/+2 | |
| | | | | | | | instructions they augment, instead of replacing them. It's good for debugging, and it's OK for the sparcv9 backend. llvm-svn: 14353 | |||||
* | Move the IntrinsicLowering header into the CodeGen directory, as per PR346 | Chris Lattner | 2004-06-20 | 2 | -2/+2 | |
| | | | | llvm-svn: 14266 | |||||
* | Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID() | Chris Lattner | 2004-06-17 | 5 | -11/+10 | |
| | | | | llvm-svn: 14201 | |||||
* | Make -print-machineinstrs even stronger. You get to see the final code after | Brian Gaeke | 2004-06-14 | 1 | -0/+11 | |
| | | | | | | peepholing, and make it work the same way in the JIT as in LLC. llvm-svn: 14170 | |||||
* | Turn loads of ConstantPointerNulls into loads of zero... don't spill | Brian Gaeke | 2004-06-11 | 1 | -0/+6 | |
| | | | | | | them into the constant pool. llvm-svn: 14128 | |||||
* | Encode %fsr correctly; don't fail an assertion. | Brian Gaeke | 2004-06-09 | 1 | -0/+9 | |
| | | | | llvm-svn: 14103 | |||||
* | Fix encoding of ST*FSR instructions. | Brian Gaeke | 2004-06-09 | 1 | -7/+7 | |
| | | | | llvm-svn: 14102 | |||||
* | Fix assertion failure message to have the right method name. | Brian Gaeke | 2004-06-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 14101 | |||||
* | Fix a minor bug in the map - since this pass adds a global symbol, it must be | Brian Gaeke | 2004-06-08 | 1 | -0/+4 | |
| | | | | | | accounted for in the map (at least, in its current format). llvm-svn: 14075 | |||||
* | Add a TmpInstruction ctor that doesn't take a MCFI. | Brian Gaeke | 2004-06-08 | 1 | -2/+13 | |
| | | | | llvm-svn: 14073 | |||||
* | Fix up some spacing & fix a typo in an assertion in cpValue2Value. | Brian Gaeke | 2004-06-04 | 1 | -3/+3 | |
| | | | | llvm-svn: 14027 | |||||
* | Add new internal-global-symbol mapping info pass... may its life be short | Brian Gaeke | 2004-06-03 | 1 | -0/+80 | |
| | | | | | | and sweet. llvm-svn: 13983 | |||||
* | Add new mapping info pass, when EmitMappingInfo is on. | Brian Gaeke | 2004-06-03 | 1 | -2/+4 | |
| | | | | llvm-svn: 13981 | |||||
* | Fix big mistake in my last checkin... the big question is, how did I ever | Brian Gaeke | 2004-06-03 | 1 | -7/+7 | |
| | | | | | | get this to link before? llvm-svn: 13980 | |||||
* | Add decl. for new mapping info pass factory method. | Brian Gaeke | 2004-06-03 | 1 | -0/+1 | |
| | | | | llvm-svn: 13979 | |||||
* | Collapse together the abstract superclass TargetRegInfo and SparcV9RegInfo, its | Brian Gaeke | 2004-06-03 | 12 | -157/+71 | |
| | | | | | | only concrete implementation. llvm-svn: 13977 | |||||
* | Convert to the new TargetMachine interface. | Chris Lattner | 2004-06-02 | 16 | -141/+150 | |
| | | | | llvm-svn: 13952 | |||||
* | There is no "mcff" here; delete the confusing comments that refer to it. | Brian Gaeke | 2004-05-30 | 1 | -6/+0 | |
| | | | | llvm-svn: 13911 | |||||
* | Transform an occurrence of if(...) { assert (0) }. | Brian Gaeke | 2004-05-30 | 1 | -4/+2 | |
| | | | | llvm-svn: 13908 | |||||
* | Reduce the amount of LLVM Values for which we save reg. allocator | Brian Gaeke | 2004-05-30 | 1 | -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 Gaeke | 2004-05-30 | 2 | -9/+11 | |
| | | | | | | Call it at a more appropriate point. llvm-svn: 13905 | |||||
* | Insert machine instructions generated for Phi nodes into their | Brian Gaeke | 2004-05-30 | 1 | -0/+3 | |
| | | | | | | | | | | | corresponding MachineCodeForInstruction vectors. I need to be able to get the register allocated for the thing which is called PhiCpRes in this code; this should make that task easier, plus, Phi nodes are no longer "special" in the sense that their MachineCodeForInstruction is empty. llvm-svn: 13904 | |||||
* | Remove unused #include. | Brian Gaeke | 2004-05-29 | 1 | -1/+0 | |
| | | | | llvm-svn: 13899 | |||||
* | Add comments. | Brian Gaeke | 2004-05-29 | 1 | -6/+6 | |
| | | | | llvm-svn: 13898 | |||||
* | Trim whitespace. | Brian Gaeke | 2004-05-29 | 1 | -11/+0 | |
| | | | | llvm-svn: 13897 | |||||
* | Give InsertCodeForPhis() a new documentation comment. | Brian Gaeke | 2004-05-29 | 1 | -9/+7 | |
| | | | | llvm-svn: 13896 | |||||
* | Give PhiCp nodes better names in many cases. | Brian Gaeke | 2004-05-28 | 1 | -19/+7 | |
| | | | | | | Simplify InsertPhiElimInstructions(), and give it a better doxygen comment. llvm-svn: 13880 |