|
LLVM
4.0.0
|
#include <AMDGPUInstPrinter.h>
Static Public Member Functions | |
| static const char * | getRegisterName (unsigned RegNo) |
| static void | printRegOperand (unsigned RegNo, raw_ostream &O, const MCRegisterInfo &MRI) |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::MCInstPrinter | |
| void | printAnnotation (raw_ostream &OS, StringRef Annot) |
| Utility function for printing annotations. More... | |
Protected Attributes inherited from llvm::MCInstPrinter | |
| raw_ostream * | CommentStream |
| A stream that comments can be emitted to if desired. More... | |
| const MCAsmInfo & | MAI |
| const MCInstrInfo & | MII |
| const MCRegisterInfo & | MRI |
| bool | UseMarkup |
| True if we are printing marked up assembly. More... | |
| bool | PrintImmHex |
| True if we are printing immediates as hex. More... | |
| HexStyle::Style | PrintHexStyle |
| Which style to use for printing hexadecimal values. More... | |
Definition at line 20 of file AMDGPUInstPrinter.h.
|
inline |
Definition at line 22 of file AMDGPUInstPrinter.h.
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 30 of file AMDGPUInstPrinter.cpp.
References llvm::raw_ostream::flush().
Referenced by llvm::AMDGPUAsmPrinter::EmitInstruction().
| void llvm::AMDGPUInstPrinter::printInstruction | ( | const MCInst * | MI, |
| const MCSubtargetInfo & | STI, | ||
| raw_ostream & | O | ||
| ) |
|
static |
Definition at line 219 of file AMDGPUInstPrinter.cpp.
References llvm::MCRegisterClass::contains(), llvm::MCRegisterInfo::getEncodingValue(), llvm::MCRegisterInfo::getRegClass(), and getRegisterName().
Referenced by llvm::AMDGPUAsmPrinter::PrintAsmOperand().
1.8.6