LLVM API Documentation

Classes | Public Member Functions | Public Attributes | Protected Member Functions | Friends
llvm::NVPTXAsmPrinter Class Reference

#include <NVPTXAsmPrinter.h>

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

List of all members.

Classes

class  AggBuffer

Public Member Functions

 NVPTXAsmPrinter (TargetMachine &TM, MCStreamer &Streamer)
 ~NVPTXAsmPrinter ()
bool ignoreLoc (const MachineInstr &)
std::string getVirtualRegisterName (unsigned) const
void emitLineNumberAsDotLoc (const MachineInstr &)

Public Attributes

DebugLoc prevDebugLoc

Protected Member Functions

bool doInitialization (Module &M) override
bool doFinalization (Module &M) override

Friends

class AggBuffer

Detailed Description

Definition at line 69 of file NVPTXAsmPrinter.h.


Constructor & Destructor Documentation

Definition at line 308 of file NVPTXAsmPrinter.h.

References llvm::NVPTX::CUDA.

Definition at line 316 of file NVPTXAsmPrinter.h.


Member Function Documentation

bool NVPTXAsmPrinter::doFinalization ( Module M) [override, protected, virtual]
bool NVPTXAsmPrinter::doInitialization ( Module M) [override, protected, virtual]

Set up the AsmPrinter when we are working on a new module. If your pass overrides this, it must make sure to explicitly call this implementation.

Reimplemented from llvm::AsmPrinter.

Definition at line 943 of file NVPTXAsmPrinter.cpp.

References llvm::NVPTX::CUDA, llvm::TargetSubtargetInfo::getDataLayout(), llvm::Module::getModuleInlineAsm(), llvm::TargetMachine::getSubtargetImpl(), and llvm::raw_svector_ostream::str().

Definition at line 694 of file NVPTXAsmPrinter.cpp.

References llvm::raw_ostream::flush(), llvm::getNVPTXRegClassStr(), I, and Name.


Friends And Related Function Documentation

friend class AggBuffer [friend]

Definition at line 187 of file NVPTXAsmPrinter.h.


Member Data Documentation

Definition at line 325 of file NVPTXAsmPrinter.h.


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