LLVM API Documentation
#include <PPCTargetMachine.h>


Public Member Functions | |
| PPCTargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL, bool is64Bit) | |
| virtual const PPCInstrInfo * | getInstrInfo () const |
| virtual const PPCFrameLowering * | getFrameLowering () const |
| virtual PPCJITInfo * | getJITInfo () |
| virtual const PPCTargetLowering * | getTargetLowering () const |
| virtual const PPCSelectionDAGInfo * | getSelectionDAGInfo () const |
| virtual const PPCRegisterInfo * | getRegisterInfo () const |
| virtual const DataLayout * | getDataLayout () const |
| virtual const PPCSubtarget * | getSubtargetImpl () const |
| virtual const InstrItineraryData * | getInstrItineraryData () const |
| virtual TargetPassConfig * | createPassConfig (PassManagerBase &PM) |
| virtual bool | addCodeEmitter (PassManagerBase &PM, JITCodeEmitter &JCE) |
| virtual void | addAnalysisPasses (PassManagerBase &PM) |
| Register PPC analysis passes with a pass manager. | |
PPCTargetMachine - Common code between 32-bit and 64-bit PowerPC targets.
Definition at line 30 of file PPCTargetMachine.h.
| PPCTargetMachine::PPCTargetMachine | ( | const Target & | T, |
| StringRef | TT, | ||
| StringRef | CPU, | ||
| StringRef | FS, | ||
| const TargetOptions & | Options, | ||
| Reloc::Model | RM, | ||
| CodeModel::Model | CM, | ||
| CodeGenOpt::Level | OL, | ||
| bool | is64Bit | ||
| ) |
Definition at line 35 of file PPCTargetMachine.cpp.
References llvm::LLVMTargetMachine::initAsmInfo(), llvm::PPCSubtarget::isBGP(), and llvm::TargetMachine::setMCUseCFI().
| void PPCTargetMachine::addAnalysisPasses | ( | PassManagerBase & | PM | ) | [virtual] |
Register PPC analysis passes with a pass manager.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 161 of file PPCTargetMachine.cpp.
References llvm::PassManagerBase::add(), llvm::createBasicTargetTransformInfoPass(), llvm::createPPCTargetTransformInfoPass(), and getTargetLowering().
| bool PPCTargetMachine::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 149 of file PPCTargetMachine.cpp.
References llvm::PassManagerBase::add(), llvm::createPPCJITCodeEmitterPass(), and llvm::PPCSubtarget::SetJITMode().
| TargetPassConfig * PPCTargetMachine::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 102 of file PPCTargetMachine.cpp.
| virtual const DataLayout* llvm::PPCTargetMachine::getDataLayout | ( | ) | const [inline, virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 61 of file PPCTargetMachine.h.
| virtual const PPCFrameLowering* llvm::PPCTargetMachine::getFrameLowering | ( | ) | const [inline, virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 47 of file PPCTargetMachine.h.
| virtual const PPCInstrInfo* llvm::PPCTargetMachine::getInstrInfo | ( | ) | const [inline, virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 46 of file PPCTargetMachine.h.
Referenced by llvm::PPCInstrInfo::CreateTargetPostRAHazardRecognizer().
| virtual const InstrItineraryData* llvm::PPCTargetMachine::getInstrItineraryData | ( | ) | const [inline, virtual] |
getInstrItineraryData - Returns instruction itinerary data for the target or specific subtarget.
Reimplemented from llvm::TargetMachine.
Definition at line 63 of file PPCTargetMachine.h.
| virtual PPCJITInfo* llvm::PPCTargetMachine::getJITInfo | ( | ) | [inline, virtual] |
getJITInfo - If this target supports a JIT, return information for it, otherwise return null.
Reimplemented from llvm::TargetMachine.
Definition at line 50 of file PPCTargetMachine.h.
| virtual const PPCRegisterInfo* llvm::PPCTargetMachine::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 57 of file PPCTargetMachine.h.
References llvm::PPCInstrInfo::getRegisterInfo().
| virtual const PPCSelectionDAGInfo* llvm::PPCTargetMachine::getSelectionDAGInfo | ( | ) | const [inline, virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 54 of file PPCTargetMachine.h.
| virtual const PPCSubtarget* llvm::PPCTargetMachine::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 62 of file PPCTargetMachine.h.
Referenced by llvm::PPCInstrInfo::AnalyzeBranch(), llvm::PPCInstrInfo::canInsertSelect(), CreateTLOF(), llvm::PPCJITInfo::emitFunctionStub(), llvm::PPCInstrInfo::FoldImmediate(), llvm::PPCInstrInfo::InsertBranch(), llvm::PPCInstrInfo::insertSelect(), llvm::PPCInstrInfo::optimizeCompareInstr(), and llvm::PPCInstrInfo::PredicateInstruction().
| virtual const PPCTargetLowering* llvm::PPCTargetMachine::getTargetLowering | ( | ) | const [inline, virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 51 of file PPCTargetMachine.h.
Referenced by addAnalysisPasses().