LLVM API Documentation

Public Member Functions
llvm::SystemZAsmPrinter Class Reference

#include <SystemZAsmPrinter.h>

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

List of all members.

Public Member Functions

 SystemZAsmPrinter (TargetMachine &TM, MCStreamer &Streamer)
const char * getPassName () const override
void EmitInstruction (const MachineInstr *MI) override
 Targets should implement this to emit instructions.
void EmitMachineConstantPoolValue (MachineConstantPoolValue *MCPV) override
bool PrintAsmOperand (const MachineInstr *MI, unsigned OpNo, unsigned AsmVariant, const char *ExtraCode, raw_ostream &OS) override
bool PrintAsmMemoryOperand (const MachineInstr *MI, unsigned OpNo, unsigned AsmVariant, const char *ExtraCode, raw_ostream &OS) override
void EmitEndOfAsmFile (Module &M) override

Detailed Description

Definition at line 24 of file SystemZAsmPrinter.h.


Constructor & Destructor Documentation

Definition at line 29 of file SystemZAsmPrinter.h.

References llvm::TargetMachine::getSubtarget().


Member Function Documentation

void SystemZAsmPrinter::EmitEndOfAsmFile ( Module ) [override, virtual]
void SystemZAsmPrinter::EmitInstruction ( const MachineInstr ) [override, virtual]
const char* llvm::SystemZAsmPrinter::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 35 of file SystemZAsmPrinter.h.

bool SystemZAsmPrinter::PrintAsmMemoryOperand ( const MachineInstr MI,
unsigned  OpNo,
unsigned  AsmVariant,
const char *  ExtraCode,
raw_ostream OS 
) [override, virtual]

Print the specified operand of MI, an INLINEASM instruction, using the specified assembler variant as an address. Targets should override this to format as appropriate. This method can return true if the operand is erroneous.

Reimplemented from llvm::AsmPrinter.

Definition at line 211 of file SystemZAsmPrinter.cpp.

References llvm::MachineOperand::getImm(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), and llvm::SystemZInstPrinter::printAddress().

bool SystemZAsmPrinter::PrintAsmOperand ( const MachineInstr MI,
unsigned  OpNo,
unsigned  AsmVariant,
const char *  ExtraCode,
raw_ostream O 
) [override, virtual]

Print the specified operand of MI, an INLINEASM instruction, using the specified assembler variant. Targets should override this to format as appropriate. This method can return true if the operand is erroneous.

PrintAsmOperand - Print the specified operand of MI, an INLINEASM instruction, using the specified assembler variant. Targets should override this to format as appropriate.

Reimplemented from llvm::AsmPrinter.

Definition at line 194 of file SystemZAsmPrinter.cpp.

References llvm::MachineFunction::getContext(), llvm::MachineOperand::getImm(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::isImm(), llvm::AsmPrinter::MF, and printOperand().


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