LLVM API Documentation
#include <SPUTargetMachine.h>


Public Member Functions | |
| SPUTargetMachine (const Module &M, 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, bool) |
| Target-Independent Code Generator Pass Configuration Options. | |
| virtual bool | addAssemblyEmitter (PassManagerBase &PM, bool, raw_ostream &Out) |
Static Public Member Functions | |
| static unsigned | getModuleMatchQuality (const Module &M) |
| Module match function. | |
Protected Member Functions | |
| virtual const TargetAsmInfo * | createTargetAsmInfo () const |
Definition at line 31 of file SPUTargetMachine.h.
| SPUTargetMachine::SPUTargetMachine | ( | const Module & | M, | |
| const std::string & | FS | |||
| ) |
Definition at line 66 of file SPUTargetMachine.cpp.
References llvm::TargetMachine::setRelocationModel(), and llvm::Reloc::Static.
| const TargetAsmInfo * SPUTargetMachine::createTargetAsmInfo | ( | ) | const [protected, virtual] |
createTargetAsmInfo - Create a new instance of target specific asm information.
Reimplemented from llvm::TargetMachine.
Definition at line 47 of file SPUTargetMachine.cpp.
| virtual const SPUSubtarget* llvm::SPUTargetMachine::getSubtargetImpl | ( | ) | const [inline, virtual] |
Return the subtarget implementation object.
Reimplemented from llvm::TargetMachine.
Definition at line 46 of file SPUTargetMachine.h.
Referenced by 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] |
Module match function.
Module matching function called by TargetMachineRegistry().
Reimplemented from llvm::TargetMachine.
Definition at line 53 of file SPUTargetMachine.cpp.
References llvm::Module::getTargetTriple().
| 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 73 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 81 of file SPUTargetMachine.h.
| bool SPUTargetMachine::addInstSelector | ( | PassManagerBase & | , | |
| bool | ||||
| ) | [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 84 of file SPUTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createSPUISelDag().
| bool SPUTargetMachine::addAssemblyEmitter | ( | PassManagerBase & | , | |
| bool | , | |||
| raw_ostream & | ||||
| ) | [virtual] |
addAssemblyEmitter - This pass should be overridden by the target to add the asmprinter, if asm emission is supported. If this is not supported, 'true' should be returned.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 91 of file SPUTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createSPUAsmPrinterPass().
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.