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) | |
const PPCSubtarget * | getSubtargetImpl () const override |
TargetPassConfig * | createPassConfig (PassManagerBase &PM) override |
void | addAnalysisPasses (PassManagerBase &PM) override |
Register PPC analysis passes with a pass manager. |
PPCTargetMachine - Common code between 32-bit and 64-bit PowerPC targets.
Definition at line 26 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 | ||
) |
Definition at line 40 of file PPCTargetMachine.cpp.
References llvm::LLVMTargetMachine::initAsmInfo().
void PPCTargetMachine::addAnalysisPasses | ( | PassManagerBase & | PM | ) | [override, virtual] |
Register PPC analysis passes with a pass manager.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 151 of file PPCTargetMachine.cpp.
References llvm::createBasicTargetTransformInfoPass(), and llvm::createPPCTargetTransformInfoPass().
TargetPassConfig * PPCTargetMachine::createPassConfig | ( | PassManagerBase & | PM | ) | [override, 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 98 of file PPCTargetMachine.cpp.
const PPCSubtarget* llvm::PPCTargetMachine::getSubtargetImpl | ( | ) | const [inline, override, 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 35 of file PPCTargetMachine.h.