LLVM API Documentation
#include <SPUTargetMachine.h>
Public Member Functions | |
| SPUTargetMachine (const Target &T, const std::string &TT, const std::string &FS) | |
| virtual const SPUSubtarget * | getSubtargetImpl () const |
| Return the subtarget implementation object. | |
| virtual const SPUInstrInfo * | getInstrInfo () const |
| virtual const SPUFrameInfo * | getFrameInfo () const |
| virtual TargetJITInfo * | getJITInfo () |
| virtual SPUTargetLowering * | getTargetLowering () const |
| virtual const SPURegisterInfo * | getRegisterInfo () const |
| virtual const TargetData * | getTargetData () const |
| virtual const InstrItineraryData | getInstrItineraryData () const |
| virtual bool | addInstSelector (PassManagerBase &PM, CodeGenOpt::Level OptLevel) |
| Target-Independent Code Generator Pass Configuration Options. | |
Definition at line 31 of file SPUTargetMachine.h.
| SPUTargetMachine::SPUTargetMachine | ( | const Target & | T, | |
| const std::string & | TT, | |||
| const std::string & | FS | |||
| ) |
Definition at line 37 of file SPUTargetMachine.cpp.
References llvm::TargetMachine::setRelocationModel(), and llvm::Reloc::Static.
| virtual const SPUSubtarget* llvm::SPUTargetMachine::getSubtargetImpl | ( | ) | const [inline, virtual] |
Return the subtarget implementation object.
Reimplemented from llvm::TargetMachine.
Definition at line 43 of file SPUTargetMachine.h.
Referenced by llvm::SPUTargetLowering::LowerCall(), llvm::SPU::LowerConstantPool(), llvm::SPUTargetLowering::LowerOperation(), and llvm::SPUTargetLowering::PerformDAGCombine().
| virtual const SPUInstrInfo* llvm::SPUTargetMachine::getInstrInfo | ( | ) | const [inline, virtual] |
| virtual const SPUFrameInfo* llvm::SPUTargetMachine::getFrameInfo | ( | ) | const [inline, virtual] |
| virtual TargetJITInfo* llvm::SPUTargetMachine::getJITInfo | ( | ) | [inline, virtual] |
| virtual SPUTargetLowering* llvm::SPUTargetMachine::getTargetLowering | ( | ) | const [inline, virtual] |
| virtual const SPURegisterInfo* llvm::SPUTargetMachine::getRegisterInfo | ( | ) | const [inline, virtual] |
getRegisterInfo - If register information is available, return it. If not, return null. This is kept separate from RegInfo until RegInfo has details of graph coloring register allocation removed from it.
Reimplemented from llvm::TargetMachine.
Definition at line 64 of file SPUTargetMachine.h.
References llvm::SPUInstrInfo::getRegisterInfo().
| virtual const TargetData* llvm::SPUTargetMachine::getTargetData | ( | ) | const [inline, virtual] |
| virtual const InstrItineraryData llvm::SPUTargetMachine::getInstrItineraryData | ( | ) | const [inline, virtual] |
getInstrItineraryData - Returns instruction itinerary data for the target or specific subtarget.
Reimplemented from llvm::TargetMachine.
Definition at line 72 of file SPUTargetMachine.h.
| bool SPUTargetMachine::addInstSelector | ( | PassManagerBase & | , | |
| CodeGenOpt::Level | ||||
| ) | [virtual] |
Target-Independent Code Generator Pass Configuration Options.
addInstSelector - This method should add any "last minute" LLVM->LLVM passes, then install an instruction selector pass, which converts from LLVM code to machine instructions.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 55 of file SPUTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createSPUISelDag().