|
| AArch64AppleInstPrinter (const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI) |
void | printInst (const MCInst *MI, uint64_t Address, StringRef Annot, const MCSubtargetInfo &STI, raw_ostream &O) override |
| Print the specified MCInst to the specified raw_ostream.
|
std::pair< const char *, uint64_t > | getMnemonic (const MCInst &MI) const override |
| Returns a pair containing the mnemonic for MI and the number of bits left for further processing by printInstruction (generated by tablegen).
|
void | printInstruction (const MCInst *MI, uint64_t Address, const MCSubtargetInfo &STI, raw_ostream &O) override |
bool | printAliasInstr (const MCInst *MI, uint64_t Address, const MCSubtargetInfo &STI, raw_ostream &O) override |
void | printCustomAliasOperand (const MCInst *MI, uint64_t Address, unsigned OpIdx, unsigned PrintMethodIdx, const MCSubtargetInfo &STI, raw_ostream &O) override |
StringRef | getRegName (MCRegister Reg) const override |
| AArch64InstPrinter (const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI) |
bool | applyTargetSpecificCLOption (StringRef Opt) override |
| Customize the printer according to a command line option.
|
void | printInst (const MCInst *MI, uint64_t Address, StringRef Annot, const MCSubtargetInfo &STI, raw_ostream &O) override |
| Print the specified MCInst to the specified raw_ostream.
|
void | printRegName (raw_ostream &OS, MCRegister Reg) override |
| Print the assembler register name.
|
void | printRegName (raw_ostream &OS, MCRegister Reg, unsigned AltIdx) |
std::pair< const char *, uint64_t > | getMnemonic (const MCInst &MI) const override |
| Returns a pair containing the mnemonic for MI and the number of bits left for further processing by printInstruction (generated by tablegen).
|
| MCInstPrinter (const MCAsmInfo &mai, const MCInstrInfo &mii, const MCRegisterInfo &mri) |
virtual | ~MCInstPrinter () |
void | setCommentStream (raw_ostream &OS) |
| Specify a stream to emit comments to.
|
StringRef | getOpcodeName (unsigned Opcode) const |
| Return the name of the specified opcode enum (e.g.
|
bool | getUseMarkup () const |
void | setUseMarkup (bool Value) |
bool | getUseColor () const |
void | setUseColor (bool Value) |
WithMarkup | markup (raw_ostream &OS, Markup M) |
bool | getPrintImmHex () const |
void | setPrintImmHex (bool Value) |
void | setPrintHexStyle (HexStyle::Style Value) |
void | setPrintBranchImmAsAddress (bool Value) |
void | setSymbolizeOperands (bool Value) |
void | setMCInstrAnalysis (const MCInstrAnalysis *Value) |
format_object< int64_t > | formatImm (int64_t Value) const |
| Utility function to print immediates in decimal or hex.
|
format_object< int64_t > | formatDec (int64_t Value) const |
| Utility functions to print decimal/hexadecimal values.
|
format_object< int64_t > | formatHex (int64_t Value) const |
format_object< uint64_t > | formatHex (uint64_t Value) const |
|
enum class | Markup { Immediate
, Register
, Target
, Memory
} |
bool | printSysAlias (const MCInst *MI, const MCSubtargetInfo &STI, raw_ostream &O) |
bool | printSyspAlias (const MCInst *MI, const MCSubtargetInfo &STI, raw_ostream &O) |
bool | printRangePrefetchAlias (const MCInst *MI, const MCSubtargetInfo &STI, raw_ostream &O, StringRef Annot) |
void | printOperand (const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printImm (const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printImmHex (const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O) |
template<int Size> |
void | printSImm (const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O) |
template<typename T> |
void | printImmSVE (T Value, raw_ostream &O) |
void | printPostIncOperand (const MCInst *MI, unsigned OpNo, unsigned Imm, raw_ostream &O) |
template<int Amount> |
void | printPostIncOperand (const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printVRegOperand (const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printSysCROperand (const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printAddSubImm (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<typename T> |
void | printLogicalImm (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printShifter (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printShiftedRegister (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printExtendedRegister (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printArithExtend (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printMemExtendImpl (bool SignExtend, bool DoShift, unsigned Width, char SrcRegKind, raw_ostream &O) |
void | printMemExtend (const MCInst *MI, unsigned OpNum, raw_ostream &O, char SrcRegKind, unsigned Width) |
template<char SrcRegKind, unsigned Width> |
void | printMemExtend (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<bool SignedExtend, int ExtWidth, char SrcRegKind, char Suffix> |
void | printRegWithShiftExtend (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printCondCode (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printInverseCondCode (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printAlignedLabel (const MCInst *MI, uint64_t Address, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printUImm12Offset (const MCInst *MI, unsigned OpNum, unsigned Scale, raw_ostream &O) |
void | printAMIndexedWB (const MCInst *MI, unsigned OpNum, unsigned Scale, raw_ostream &O) |
template<int Scale> |
void | printUImm12Offset (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<int BitWidth> |
void | printAMIndexedWB (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printAMNoIndex (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<int Scale> |
void | printImmScale (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<int Scale, int Offset> |
void | printImmRangeScale (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<bool IsSVEPrefetch = false> |
void | printPrefetchOp (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printRPRFMOperand (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printPSBHintOp (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printBTIHintOp (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printFPImmOperand (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printVectorList (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O, StringRef LayoutSuffix) |
void | printMatrixTileList (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printImplicitlyTypedVectorList (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
| Print a list of vector registers where the type suffix is implicit (i.e.
|
template<unsigned NumLanes, char LaneKind> |
void | printTypedVectorList (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<unsigned Scale = 1> |
void | printVectorIndex (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<unsigned Scale = 1> |
void | printMatrixIndex (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printAdrAdrpLabel (const MCInst *MI, uint64_t Address, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printBarrierOption (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printBarriernXSOption (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printMSRSystemRegister (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printMRSSystemRegister (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printSystemPStateField (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printSIMDType10Operand (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<int EltSize> |
void | printPredicateAsCounter (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<int64_t Angle, int64_t Remainder> |
void | printComplexRotationOp (const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O) |
template<unsigned size> |
void | printGPRSeqPairsClassOperand (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<typename T> |
void | printImm8OptLsl (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<typename T> |
void | printSVELogicalImm (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printSVEPattern (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printSVEVecLenSpecifier (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<bool IsVertical> |
void | printMatrixTileVector (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printMatrixTile (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<int EltSize> |
void | printMatrix (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printSVCROp (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<char = 0> |
void | printSVERegOp (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printGPR64as32 (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printGPR64x8 (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printSyspXzrPair (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<int Width> |
void | printZPRasFPR (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
template<unsigned ImmIs0, unsigned ImmIs1> |
void | printExactFPImm (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printPHintOp (const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) |
void | printAnnotation (raw_ostream &OS, StringRef Annot) |
| Utility function for printing annotations.
|
const char * | matchAliasPatterns (const MCInst *MI, const MCSubtargetInfo *STI, const AliasMatchingData &M) |
| Helper for matching MCInsts to alias patterns when printing instructions.
|
raw_ostream * | CommentStream = nullptr |
| A stream that comments can be emitted to if desired.
|
const MCAsmInfo & | MAI |
const MCInstrInfo & | MII |
const MCRegisterInfo & | MRI |
const MCInstrAnalysis * | MIA = nullptr |
bool | UseMarkup = false |
| True if we are printing marked up assembly.
|
bool | UseColor = false |
| True if we are printing colored assembly.
|
bool | PrintAliases = true |
| True if we prefer aliases (e.g. nop) to raw mnemonics.
|
bool | PrintImmHex = false |
| True if we are printing immediates as hex.
|
HexStyle::Style | PrintHexStyle = HexStyle::C |
| Which style to use for printing hexadecimal values.
|
bool | PrintBranchImmAsAddress = false |
| If true, a branch immediate (e.g.
|
bool | SymbolizeOperands = false |
| If true, symbolize branch target and memory reference operands.
|
SmallVector< raw_ostream::Colors, 4 > | ColorStack {raw_ostream::Colors::RESET} |