LLVM API Documentation
#include <AMDGPUTargetMachine.h>
Public Member Functions | |
AMDGPUTargetMachine (const Target &T, StringRef TT, StringRef FS, StringRef CPU, TargetOptions Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL) | |
~AMDGPUTargetMachine () | |
const AMDGPUSubtarget * | getSubtargetImpl () const override |
const AMDGPUIntrinsicInfo * | getIntrinsicInfo () const override |
TargetPassConfig * | createPassConfig (PassManagerBase &PM) override |
void | addAnalysisPasses (PassManagerBase &PM) override |
Register R600 analysis passes with a pass manager. |
Definition at line 27 of file AMDGPUTargetMachine.h.
AMDGPUTargetMachine::AMDGPUTargetMachine | ( | const Target & | T, |
StringRef | TT, | ||
StringRef | FS, | ||
StringRef | CPU, | ||
TargetOptions | Options, | ||
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OL | ||
) |
Definition at line 51 of file AMDGPUTargetMachine.cpp.
References llvm::LLVMTargetMachine::initAsmInfo(), and llvm::TargetMachine::setRequiresStructuredCFG().
Definition at line 62 of file AMDGPUTargetMachine.cpp.
void AMDGPUTargetMachine::addAnalysisPasses | ( | PassManagerBase & | PM | ) | [override, virtual] |
Register R600 analysis passes with a pass manager.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 101 of file AMDGPUTargetMachine.cpp.
References llvm::createAMDGPUTargetTransformInfoPass(), and llvm::createBasicTargetTransformInfoPass().
TargetPassConfig * AMDGPUTargetMachine::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 93 of file AMDGPUTargetMachine.cpp.
const AMDGPUIntrinsicInfo* llvm::AMDGPUTargetMachine::getIntrinsicInfo | ( | ) | const [inline, override, virtual] |
getIntrinsicInfo - If intrinsic information is available, return it. If not, return null.
Reimplemented from llvm::TargetMachine.
Definition at line 39 of file AMDGPUTargetMachine.h.
const AMDGPUSubtarget* llvm::AMDGPUTargetMachine::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 36 of file AMDGPUTargetMachine.h.