|
LLVM
5.0.0
|
#include "Target/AMDGPU/InstPrinter/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 = nullptr |
| A stream that comments can be emitted to if desired. More... | |
| const MCAsmInfo & | MAI |
| const MCInstrInfo & | MII |
| const MCRegisterInfo & | MRI |
| bool | UseMarkup = false |
| True if we are printing marked up assembly. More... | |
| bool | PrintImmHex = false |
| True if we are printing immediates as hex. More... | |
| HexStyle::Style | PrintHexStyle = HexStyle::C |
| 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 252 of file AMDGPUInstPrinter.cpp.
References llvm::MCRegisterClass::contains(), llvm::MCRegisterInfo::getEncodingValue(), llvm::MCRegisterInfo::getRegClass(), getRegisterName(), and llvm_unreachable().
Referenced by llvm::AMDGPUAsmPrinter::PrintAsmOperand().
1.8.6