LLVM API Documentation
#include <XCoreTargetMachine.h>
Public Member Functions | |
XCoreTargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL) | |
const XCoreSubtarget * | getSubtargetImpl () const override |
TargetPassConfig * | createPassConfig (PassManagerBase &PM) override |
void | addAnalysisPasses (PassManagerBase &PM) override |
Register analysis passes for this target with a pass manager. |
Definition at line 22 of file XCoreTargetMachine.h.
XCoreTargetMachine::XCoreTargetMachine | ( | const Target & | T, |
StringRef | TT, | ||
StringRef | CPU, | ||
StringRef | FS, | ||
const TargetOptions & | Options, | ||
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OL | ||
) |
XCoreTargetMachine ctor - Create an ILP32 architecture model
Definition at line 23 of file XCoreTargetMachine.cpp.
References llvm::LLVMTargetMachine::initAsmInfo().
void XCoreTargetMachine::addAnalysisPasses | ( | PassManagerBase & | PM | ) | [override, virtual] |
Register analysis passes for this target with a pass manager.
This registers target independent analysis passes.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 74 of file XCoreTargetMachine.cpp.
References llvm::createBasicTargetTransformInfoPass(), and llvm::createXCoreTargetTransformInfoPass().
TargetPassConfig * XCoreTargetMachine::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 50 of file XCoreTargetMachine.cpp.
const XCoreSubtarget* llvm::XCoreTargetMachine::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 30 of file XCoreTargetMachine.h.