LLVM API Documentation
#include <SparcTargetMachine.h>
Public Member Functions | |
| SparcTargetMachine (const Target &T, const std::string &TT, const std::string &FS) | |
| virtual const SparcInstrInfo * | getInstrInfo () const |
| virtual const TargetFrameInfo * | getFrameInfo () const |
| virtual const SparcSubtarget * | getSubtargetImpl () const |
| virtual const SparcRegisterInfo * | getRegisterInfo () const |
| virtual SparcTargetLowering * | getTargetLowering () const |
| virtual const TargetData * | getTargetData () 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 26 of file SparcTargetMachine.h.
| SparcTargetMachine::SparcTargetMachine | ( | const Target & | T, | |
| const std::string & | TT, | |||
| const std::string & | FS | |||
| ) |
SparcTargetMachine ctor - Create an ILP32 architecture model
Definition at line 29 of file SparcTargetMachine.cpp.
| virtual const SparcInstrInfo* llvm::SparcTargetMachine::getInstrInfo | ( | ) | const [inline, virtual] |
| virtual const TargetFrameInfo* llvm::SparcTargetMachine::getFrameInfo | ( | ) | const [inline, virtual] |
| virtual const SparcSubtarget* llvm::SparcTargetMachine::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 SparcTargetMachine.h.
| virtual const SparcRegisterInfo* llvm::SparcTargetMachine::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 39 of file SparcTargetMachine.h.
References llvm::SparcInstrInfo::getRegisterInfo().
| virtual SparcTargetLowering* llvm::SparcTargetMachine::getTargetLowering | ( | ) | const [inline, virtual] |
| virtual const TargetData* llvm::SparcTargetMachine::getTargetData | ( | ) | const [inline, virtual] |
| bool SparcTargetMachine::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 37 of file SparcTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createSparcISelDag().
| bool SparcTargetMachine::addPreEmitPass | ( | PassManagerBase & | PM, | |
| CodeGenOpt::Level | OptLevel | |||
| ) | [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 46 of file SparcTargetMachine.cpp.
References llvm::PassManagerBase::add(), llvm::createSparcDelaySlotFillerPass(), and llvm::createSparcFPMoverPass().