LLVM API Documentation

Public Member Functions
llvm::NVPTXTargetMachine Class Reference

#include <NVPTXTargetMachine.h>

Inheritance diagram for llvm::NVPTXTargetMachine:
Inheritance graph
[legend]
Collaboration diagram for llvm::NVPTXTargetMachine:
Collaboration graph
[legend]

List of all members.

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 NVPTXSubtargetgetSubtargetImpl () const override
ManagedStringPoolgetManagedStrPool () const
TargetPassConfigcreatePassConfig (PassManagerBase &PM) override
bool addPassesToEmitMC (PassManagerBase &, MCContext *&, raw_ostream &, bool=true) override

Detailed Description

NVPTXTargetMachine

Definition at line 27 of file NVPTXTargetMachine.h.


Constructor & Destructor Documentation

Definition at line 69 of file NVPTXTargetMachine.cpp.

References llvm::LLVMTargetMachine::initAsmInfo().


Member Function Documentation

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.

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().


The documentation for this class was generated from the following files: