|
LLVM
10.0.0
|
#include "Target/AMDGPU/MCTargetDesc/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... | |
| const char * | matchAliasPatterns (const MCInst *MI, const MCSubtargetInfo *STI, const AliasMatchingData &M) |
| Helper for matching MCInsts to alias patterns when printing instructions. 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 237 of file AMDGPUInstPrinter.h.
|
inline |
Definition at line 239 of file AMDGPUInstPrinter.h.
References llvm::Address, 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 1354 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
| void R600InstPrinter::printBankSwizzle | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 1359 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 1383 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
| void R600InstPrinter::printCT | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 1388 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 1346 of file AMDGPUInstPrinter.cpp.
References llvm::raw_ostream::flush().
| void llvm::R600InstPrinter::printInstruction | ( | const MCInst * | MI, |
| uint64_t | Address, | ||
| raw_ostream & | O | ||
| ) |
| void R600InstPrinter::printKCache | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 1403 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 1415 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
| void R600InstPrinter::printLiteral | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 1420 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 1454 of file AMDGPUInstPrinter.cpp.
References printOperand().
| void R600InstPrinter::printNeg | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 1433 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
| void R600InstPrinter::printOMOD | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 1438 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 1461 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 1496 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
| void R600InstPrinter::printRSel | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 1501 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 1531 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
| void R600InstPrinter::printUpdatePred | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 1536 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPUInstPrinter::printIfSet().
| void R600InstPrinter::printWrite | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 1541 of file AMDGPUInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
1.8.13