summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SparcV9
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't derive from ValueSet to implement class LiveRange; instead, use aBrian Gaeke2004-07-291-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 Gaeke2004-07-291-5/+5
| | | | llvm-svn: 15319
* Remove mustSaveAcrossCalls flag, which isn't ever read, and its mutator,Brian Gaeke2004-07-292-10/+1
| | | | | | markForSaveAcrossCalls. llvm-svn: 15317
* This was the only user of TargetInstrInfo::ConstantTypeMustBeLoaded().Brian Gaeke2004-07-271-1/+5
| | | | llvm-svn: 15293
* Get rid of the (apparently non-working) filePrinterEmitter which is added inBrian Gaeke2004-07-271-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 Gaeke2004-07-272-2/+3
| | | | llvm-svn: 15279
* Convert many of the virtual TargetInstrInfo methods used as helperBrian Gaeke2004-07-274-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 onlyBrian Gaeke2004-07-272-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 Spencer2004-07-191-2/+1
| | | | | | | Simplify a conditional operator for a constant result from GV->isNullValue() llvm-svn: 15001
* Inline 4 methodsChris Lattner2004-07-193-18/+18
| | | | llvm-svn: 15000
* bug 122:Reid Spencer2004-07-183-12/+7
| | | | | | - Replace ConstantPointerRef usage with GlobalValue usage llvm-svn: 14953
* bug 122:Reid Spencer2004-07-184-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 Spencer2004-07-181-1/+1
| | | | | | - Correct isa<Constant> for GlobalValue subclass llvm-svn: 14949
* IA64 compatChris Lattner2004-07-163-3/+3
| | | | llvm-svn: 14867
* Patches towards fixing PR341Chris Lattner2004-07-151-3/+3
| | | | llvm-svn: 14841
* Add Machine-CFG edges to SparcV9 MachineBasicBlocks.Brian Gaeke2004-07-141-6/+20
| | | | llvm-svn: 14806
* Delete the allocate*TargetMachine function, which is now dead .Chris Lattner2004-07-111-9/+1
| | | | | | The shared command line options are now in a header that makes sense. llvm-svn: 14756
* Make these format a bit nicerChris Lattner2004-07-111-1/+1
| | | | llvm-svn: 14747
* Auto-registrate targetChris Lattner2004-07-112-6/+33
| | | | llvm-svn: 14745
* Add #include <iostream> since Value.h does not #include it any more.Reid Spencer2004-07-0410-0/+10
| | | | llvm-svn: 14622
* Add M_TERMINATOR_FLAG to terminator instructions (branches and returns).Brian Gaeke2004-07-021-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 Gaeke2004-07-023-9/+0
| | | | | | When in doubt, stamp it out!! llvm-svn: 14558
* There is no reason to print ValueType hereChris Lattner2004-06-261-6/+2
| | | | llvm-svn: 14425
* Make the most commonly preselected instructions add to the names of theBrian Gaeke2004-06-231-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 PR346Chris Lattner2004-06-202-2/+2
| | | | llvm-svn: 14266
* Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()Chris Lattner2004-06-175-11/+10
| | | | llvm-svn: 14201
* Make -print-machineinstrs even stronger. You get to see the final code afterBrian Gaeke2004-06-141-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 spillBrian Gaeke2004-06-111-0/+6
| | | | | | them into the constant pool. llvm-svn: 14128
* Encode %fsr correctly; don't fail an assertion.Brian Gaeke2004-06-091-0/+9
| | | | llvm-svn: 14103
* Fix encoding of ST*FSR instructions.Brian Gaeke2004-06-091-7/+7
| | | | llvm-svn: 14102
* Fix assertion failure message to have the right method name.Brian Gaeke2004-06-091-1/+1
| | | | llvm-svn: 14101
* Fix a minor bug in the map - since this pass adds a global symbol, it must beBrian Gaeke2004-06-081-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 Gaeke2004-06-081-2/+13
| | | | llvm-svn: 14073
* Fix up some spacing & fix a typo in an assertion in cpValue2Value.Brian Gaeke2004-06-041-3/+3
| | | | llvm-svn: 14027
* Add new internal-global-symbol mapping info pass... may its life be shortBrian Gaeke2004-06-031-0/+80
| | | | | | and sweet. llvm-svn: 13983
* Add new mapping info pass, when EmitMappingInfo is on.Brian Gaeke2004-06-031-2/+4
| | | | llvm-svn: 13981
* Fix big mistake in my last checkin... the big question is, how did I everBrian Gaeke2004-06-031-7/+7
| | | | | | get this to link before? llvm-svn: 13980
* Add decl. for new mapping info pass factory method.Brian Gaeke2004-06-031-0/+1
| | | | llvm-svn: 13979
* Collapse together the abstract superclass TargetRegInfo and SparcV9RegInfo, itsBrian Gaeke2004-06-0312-157/+71
| | | | | | only concrete implementation. llvm-svn: 13977
* Convert to the new TargetMachine interface.Chris Lattner2004-06-0216-141/+150
| | | | llvm-svn: 13952
* There is no "mcff" here; delete the confusing comments that refer to it.Brian Gaeke2004-05-301-6/+0
| | | | llvm-svn: 13911
* Transform an occurrence of if(...) { assert (0) }.Brian Gaeke2004-05-301-4/+2
| | | | llvm-svn: 13908
* 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-302-9/+11
| | | | | | Call it at a more appropriate point. llvm-svn: 13905
* Insert machine instructions generated for Phi nodes into theirBrian Gaeke2004-05-301-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 Gaeke2004-05-291-1/+0
| | | | llvm-svn: 13899
* Add comments.Brian Gaeke2004-05-291-6/+6
| | | | llvm-svn: 13898
* Trim whitespace.Brian Gaeke2004-05-291-11/+0
| | | | llvm-svn: 13897
* Give InsertCodeForPhis() a new documentation comment.Brian Gaeke2004-05-291-9/+7
| | | | llvm-svn: 13896
* Give PhiCp nodes better names in many cases.Brian Gaeke2004-05-281-19/+7
| | | | | | Simplify InsertPhiElimInstructions(), and give it a better doxygen comment. llvm-svn: 13880
OpenPOWER on IntegriCloud