LLVM API Documentation

Classes | Public Member Functions | Protected Attributes
llvm::AMDGPUAsmPrinter Class Reference

#include <AMDGPUAsmPrinter.h>

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

List of all members.

Classes

struct  SIProgramInfo

Public Member Functions

 AMDGPUAsmPrinter (TargetMachine &TM, MCStreamer &Streamer)
bool runOnMachineFunction (MachineFunction &MF) override
 Emit the specified function out to the OutStreamer.
const char * getPassName () const override
void EmitInstruction (const MachineInstr *MI) override
 Implemented in AMDGPUMCInstLower.cpp.
void EmitEndOfAsmFile (Module &M) override

Protected Attributes

bool DisasmEnabled
std::vector< std::string > DisasmLines
std::vector< std::string > HexLines
size_t DisasmLineMaxLen

Detailed Description

Definition at line 23 of file AMDGPUAsmPrinter.h.


Constructor & Destructor Documentation

AMDGPUAsmPrinter::AMDGPUAsmPrinter ( TargetMachine TM,
MCStreamer Streamer 
) [explicit]

Definition at line 84 of file AMDGPUAsmPrinter.cpp.

References DisasmEnabled, and llvm::TargetMachine::getSubtarget().


Member Function Documentation

void AMDGPUAsmPrinter::EmitEndOfAsmFile ( Module ) [override, virtual]
void AMDGPUAsmPrinter::EmitInstruction ( const MachineInstr MI) [override, virtual]
const char* llvm::AMDGPUAsmPrinter::getPassName ( ) const [inline, override, virtual]

getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.

Reimplemented from llvm::Pass.

Definition at line 73 of file AMDGPUAsmPrinter.h.


Member Data Documentation

Definition at line 83 of file AMDGPUAsmPrinter.h.

Referenced by AMDGPUAsmPrinter(), EmitInstruction(), and runOnMachineFunction().

Definition at line 85 of file AMDGPUAsmPrinter.h.

Referenced by EmitInstruction(), and runOnMachineFunction().

std::vector<std::string> llvm::AMDGPUAsmPrinter::DisasmLines [protected]

Definition at line 84 of file AMDGPUAsmPrinter.h.

Referenced by EmitInstruction(), and runOnMachineFunction().

std::vector<std::string> llvm::AMDGPUAsmPrinter::HexLines [protected]

Definition at line 84 of file AMDGPUAsmPrinter.h.

Referenced by EmitInstruction(), and runOnMachineFunction().


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