LLVM API Documentation
#include <MipsTargetMachine.h>
Public Member Functions | |
| MipsTargetMachine (const Target &T, const std::string &TT, const std::string &FS, bool isLittle) | |
| virtual const MipsInstrInfo * | getInstrInfo () const |
| virtual const TargetFrameInfo * | getFrameInfo () const |
| virtual const MipsSubtarget * | getSubtargetImpl () const |
| virtual const TargetData * | getTargetData () const |
| virtual const MipsRegisterInfo * | getRegisterInfo () const |
| virtual MipsTargetLowering * | getTargetLowering () const |
| virtual bool | addInstSelector (PassManagerBase &PM, CodeGenOpt::Level OptLevel) |
| Target-Independent Code Generator Pass Configuration Options. | |
| virtual bool | addPreEmitPass (PassManagerBase &PM, CodeGenOpt::Level OptLevel) |
Definition at line 27 of file MipsTargetMachine.h.
| MipsTargetMachine::MipsTargetMachine | ( | const Target & | T, | |
| const std::string & | TT, | |||
| const std::string & | FS, | |||
| bool | isLittle = false | |||
| ) |
Definition at line 37 of file MipsTargetMachine.cpp.
References llvm::CodeModel::Default, llvm::Reloc::Default, llvm::TargetMachine::getCodeModel(), llvm::TargetMachine::getRelocationModel(), llvm::MipsSubtarget::isABI_O32(), llvm::Reloc::PIC_, llvm::TargetMachine::setCodeModel(), llvm::TargetMachine::setRelocationModel(), llvm::CodeModel::Small, and llvm::Reloc::Static.
| virtual const MipsInstrInfo* llvm::MipsTargetMachine::getInstrInfo | ( | ) | const [inline, virtual] |
| virtual const TargetFrameInfo* llvm::MipsTargetMachine::getFrameInfo | ( | ) | const [inline, virtual] |
| virtual const MipsSubtarget* llvm::MipsTargetMachine::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 41 of file MipsTargetMachine.h.
| virtual const TargetData* llvm::MipsTargetMachine::getTargetData | ( | ) | const [inline, virtual] |
| virtual const MipsRegisterInfo* llvm::MipsTargetMachine::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 46 of file MipsTargetMachine.h.
References llvm::MipsInstrInfo::getRegisterInfo().
| virtual MipsTargetLowering* llvm::MipsTargetMachine::getTargetLowering | ( | ) | const [inline, virtual] |
| bool MipsTargetMachine::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 68 of file MipsTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createMipsISelDag().
| bool MipsTargetMachine::addPreEmitPass | ( | PassManagerBase & | , | |
| CodeGenOpt::Level | ||||
| ) | [virtual] |
addPreEmitPass - This pass may be implemented by targets that want to run passes immediately before machine code is emitted. This should return true if -print-machineinstrs should print out the code after the passes.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 78 of file MipsTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createMipsDelaySlotFillerPass().