LLVM API Documentation
#include <XCoreTargetMachine.h>
Public Member Functions | |
| XCoreTargetMachine (const Target &T, const std::string &TT, const std::string &FS) | |
| virtual const XCoreInstrInfo * | getInstrInfo () const |
| virtual const XCoreFrameInfo * | getFrameInfo () const |
| virtual const XCoreSubtarget * | getSubtargetImpl () const |
| virtual XCoreTargetLowering * | getTargetLowering () const |
| virtual const TargetRegisterInfo * | getRegisterInfo () const |
| virtual const TargetData * | getTargetData () const |
| virtual bool | addInstSelector (PassManagerBase &PM, CodeGenOpt::Level OptLevel) |
| Target-Independent Code Generator Pass Configuration Options. | |
Definition at line 26 of file XCoreTargetMachine.h.
| XCoreTargetMachine::XCoreTargetMachine | ( | const Target & | T, | |
| const std::string & | TT, | |||
| const std::string & | FS | |||
| ) |
XCoreTargetMachine ctor - Create an ILP32 architecture model
Definition at line 23 of file XCoreTargetMachine.cpp.
| virtual const XCoreInstrInfo* llvm::XCoreTargetMachine::getInstrInfo | ( | ) | const [inline, virtual] |
| virtual const XCoreFrameInfo* llvm::XCoreTargetMachine::getFrameInfo | ( | ) | const [inline, virtual] |
| virtual const XCoreSubtarget* llvm::XCoreTargetMachine::getSubtargetImpl | ( | ) | const [inline, virtual] |
getSubtargetImpl - virtual method implemented by subclasses that returns a reference to that target's TargetSubtarget-derived member variable.
Reimplemented from llvm::TargetMachine.
Definition at line 38 of file XCoreTargetMachine.h.
| virtual XCoreTargetLowering* llvm::XCoreTargetMachine::getTargetLowering | ( | ) | const [inline, virtual] |
| virtual const TargetRegisterInfo* llvm::XCoreTargetMachine::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 43 of file XCoreTargetMachine.h.
References llvm::XCoreInstrInfo::getRegisterInfo().
| virtual const TargetData* llvm::XCoreTargetMachine::getTargetData | ( | ) | const [inline, virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 46 of file XCoreTargetMachine.h.
Referenced by llvm::XCoreTargetLowering::isLegalAddressingMode().
| bool XCoreTargetMachine::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 34 of file XCoreTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createXCoreISelDag().