LLVM API Documentation
#include <MipsTargetMachine.h>


Public Member Functions | |
| MipsTargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL, bool isLittle) | |
| virtual | ~MipsTargetMachine () |
| virtual void | addAnalysisPasses (PassManagerBase &PM) |
| Register analysis passes for this target with a pass manager. | |
| virtual const MipsInstrInfo * | getInstrInfo () const |
| virtual const TargetFrameLowering * | getFrameLowering () const |
| virtual const MipsSubtarget * | getSubtargetImpl () const |
| virtual const DataLayout * | getDataLayout () const |
| virtual MipsJITInfo * | getJITInfo () |
| virtual const MipsRegisterInfo * | getRegisterInfo () const |
| virtual const MipsTargetLowering * | getTargetLowering () const |
| virtual const MipsSelectionDAGInfo * | getSelectionDAGInfo () const |
| virtual TargetPassConfig * | createPassConfig (PassManagerBase &PM) |
| virtual bool | addCodeEmitter (PassManagerBase &PM, JITCodeEmitter &JCE) |
| void | setHelperClassesMips16 () |
| void | setHelperClassesMipsSE () |
Definition at line 34 of file MipsTargetMachine.h.
| MipsTargetMachine::MipsTargetMachine | ( | const Target & | T, |
| StringRef | TT, | ||
| StringRef | CPU, | ||
| StringRef | FS, | ||
| const TargetOptions & | Options, | ||
| Reloc::Model | RM, | ||
| CodeModel::Model | CM, | ||
| CodeGenOpt::Level | OL, | ||
| bool | isLittle | ||
| ) |
Definition at line 55 of file MipsTargetMachine.cpp.
References llvm::LLVMTargetMachine::initAsmInfo().
| virtual llvm::MipsTargetMachine::~MipsTargetMachine | ( | ) | [inline, virtual] |
Definition at line 56 of file MipsTargetMachine.h.
| void MipsTargetMachine::addAnalysisPasses | ( | PassManagerBase & | PM | ) | [virtual] |
Register analysis passes for this target with a pass manager.
This registers target independent analysis passes.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 177 of file MipsTargetMachine.cpp.
References llvm::PassManagerBase::add(), llvm::MipsSubtarget::allowMixed16_32(), llvm::createNoTargetTransformInfoPass(), DEBUG, and llvm::errs().
| bool MipsTargetMachine::addCodeEmitter | ( | PassManagerBase & | , |
| JITCodeEmitter & | |||
| ) | [virtual] |
addCodeEmitter - This pass should be overridden by the target to add a code emitter, if supported. If this is not supported, 'true' should be returned.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 208 of file MipsTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createMipsJITCodeEmitterPass().
| TargetPassConfig * MipsTargetMachine::createPassConfig | ( | PassManagerBase & | PM | ) | [virtual] |
createPassConfig - Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of CodeGen passes.
createPassConfig - Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of CodeGen passes.
Targets may override this to extend TargetPassConfig.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 153 of file MipsTargetMachine.cpp.
| virtual const DataLayout* llvm::MipsTargetMachine::getDataLayout | ( | ) | const [inline, virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 66 of file MipsTargetMachine.h.
| virtual const TargetFrameLowering* llvm::MipsTargetMachine::getFrameLowering | ( | ) | const [inline, virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 62 of file MipsTargetMachine.h.
References llvm::OwningPtr< T >::get().
| virtual const MipsInstrInfo* llvm::MipsTargetMachine::getInstrInfo | ( | ) | const [inline, virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 60 of file MipsTargetMachine.h.
References llvm::OwningPtr< T >::get().
| virtual MipsJITInfo* llvm::MipsTargetMachine::getJITInfo | ( | ) | [inline, virtual] |
getJITInfo - If this target supports a JIT, return information for it, otherwise return null.
Reimplemented from llvm::TargetMachine.
Definition at line 68 of file MipsTargetMachine.h.
| 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 71 of file MipsTargetMachine.h.
| virtual const MipsSelectionDAGInfo* llvm::MipsTargetMachine::getSelectionDAGInfo | ( | ) | const [inline, virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 79 of file MipsTargetMachine.h.
| virtual const MipsSubtarget* llvm::MipsTargetMachine::getSubtargetImpl | ( | ) | const [inline, virtual] |
getSubtargetImpl - virtual method implemented by subclasses that returns a reference to that target's TargetSubtargetInfo-derived member variable.
Reimplemented from llvm::TargetMachine.
Definition at line 64 of file MipsTargetMachine.h.
Referenced by llvm::MipsFrameLowering::create(), llvm::MipsInstrInfo::create(), llvm::MipsTargetLowering::create(), and llvm::createMipsISelDag().
| virtual const MipsTargetLowering* llvm::MipsTargetMachine::getTargetLowering | ( | ) | const [inline, virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 75 of file MipsTargetMachine.h.
References llvm::OwningPtr< T >::get().
| void MipsTargetMachine::setHelperClassesMips16 | ( | ) |
Definition at line 79 of file MipsTargetMachine.cpp.
References llvm::MipsFrameLowering::create(), llvm::MipsInstrInfo::create(), llvm::MipsTargetLowering::create(), llvm::OwningPtr< T >::reset(), and llvm::OwningPtr< T >::swap().
Referenced by llvm::MipsSubtarget::resetSubtarget().
| void MipsTargetMachine::setHelperClassesMipsSE | ( | ) |
Definition at line 97 of file MipsTargetMachine.cpp.
References llvm::MipsFrameLowering::create(), llvm::MipsInstrInfo::create(), llvm::MipsTargetLowering::create(), llvm::OwningPtr< T >::reset(), and llvm::OwningPtr< T >::swap().
Referenced by llvm::MipsSubtarget::resetSubtarget().