LLVM API Documentation
#include <NVPTXTargetMachine.h>
Public Member Functions | |
NVPTXTargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OP, bool is64bit) | |
const NVPTXSubtarget * | getSubtargetImpl () const override |
ManagedStringPool * | getManagedStrPool () const |
TargetPassConfig * | createPassConfig (PassManagerBase &PM) override |
bool | addPassesToEmitMC (PassManagerBase &, MCContext *&, raw_ostream &, bool=true) override |
Definition at line 27 of file NVPTXTargetMachine.h.
NVPTXTargetMachine::NVPTXTargetMachine | ( | const Target & | T, |
StringRef | TT, | ||
StringRef | CPU, | ||
StringRef | FS, | ||
const TargetOptions & | Options, | ||
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OP, | ||
bool | is64bit | ||
) |
Definition at line 69 of file NVPTXTargetMachine.cpp.
References llvm::LLVMTargetMachine::initAsmInfo().
bool llvm::NVPTXTargetMachine::addPassesToEmitMC | ( | PassManagerBase & | PM, |
MCContext *& | Ctx, | ||
raw_ostream & | Out, | ||
bool | DisableVerify = true |
||
) | [inline, override, virtual] |
addPassesToEmitMC - Add passes to the specified pass manager to get machine code emitted with the MCJIT. This method returns true if machine code is not supported. It fills the MCContext Ctx pointer which can be used to build custom MCStreamer.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 47 of file NVPTXTargetMachine.h.
TargetPassConfig * NVPTXTargetMachine::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 117 of file NVPTXTargetMachine.cpp.
ManagedStringPool* llvm::NVPTXTargetMachine::getManagedStrPool | ( | ) | const [inline] |
Definition at line 40 of file NVPTXTargetMachine.h.
Referenced by llvm::NVPTXTargetLowering::LowerCall().
const NVPTXSubtarget* llvm::NVPTXTargetMachine::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 38 of file NVPTXTargetMachine.h.
Referenced by llvm::NVPTXTargetLowering::LowerCall().