LLVM
8.0.1
|
#include "Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h"
Static Public Member Functions | |
static const char * | getRegisterName (unsigned RegNo) |
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 219 of file AMDGPUInstPrinter.h.
|
inline |
Definition at line 221 of file AMDGPUInstPrinter.h.
References llvm::AMDGPUInstPrinter::getRegisterName(), MI, llvm::RISCVFenceField::O, llvm::AMDGPUInstPrinter::printAbs(), llvm::AMDGPUInstPrinter::printBankSwizzle(), llvm::AMDGPUInstPrinter::printClamp(), llvm::AMDGPUInstPrinter::printCT(), llvm::AMDGPUInstPrinter::printInst(), llvm::AMDGPUInstPrinter::printInstruction(), llvm::AMDGPUInstPrinter::printKCache(), llvm::AMDGPUInstPrinter::printLast(), llvm::AMDGPUInstPrinter::printLiteral(), llvm::AMDGPUInstPrinter::printNeg(), llvm::AMDGPUInstPrinter::printOMOD(), llvm::AMDGPUInstPrinter::printRel(), llvm::AMDGPUInstPrinter::printRSel(), llvm::AMDGPUInstPrinter::printUpdateExecMask(), llvm::AMDGPUInstPrinter::printUpdatePred(), and llvm::AMDGPUInstPrinter::printWrite().
void R600InstPrinter::printAbs | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1218 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
void R600InstPrinter::printBankSwizzle | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1223 of file AMDGPUInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
void R600InstPrinter::printClamp | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1247 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
void R600InstPrinter::printCT | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1252 of file AMDGPUInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 1211 of file AMDGPUInstPrinter.cpp.
References llvm::raw_ostream::flush().
void llvm::R600InstPrinter::printInstruction | ( | const MCInst * | MI, |
raw_ostream & | O | ||
) |
void R600InstPrinter::printKCache | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1267 of file AMDGPUInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
void R600InstPrinter::printLast | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1279 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
void R600InstPrinter::printLiteral | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1284 of file AMDGPUInstPrinter.cpp.
References assert(), llvm::BitsToFloat(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), and llvm::MCExpr::print().
void R600InstPrinter::printMemOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1318 of file AMDGPUInstPrinter.cpp.
References printOperand().
void R600InstPrinter::printNeg | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1297 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
void R600InstPrinter::printOMOD | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1302 of file AMDGPUInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
void R600InstPrinter::printOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1325 of file AMDGPUInstPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getFPImm(), llvm::MCOperand::getImm(), llvm::MCInst::getNumOperands(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), llvm::MCOperand::isExpr(), llvm::MCOperand::isFPImm(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), and llvm::MCExpr::print().
void R600InstPrinter::printRel | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1360 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
void R600InstPrinter::printRSel | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1365 of file AMDGPUInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
void R600InstPrinter::printUpdateExecMask | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1395 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
void R600InstPrinter::printUpdatePred | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1400 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
void R600InstPrinter::printWrite | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 1405 of file AMDGPUInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().