|
LLVM
3.7.0
|
#include <AArch64InstPrinter.h>
Static Public Member Functions | |
| static const char * | getRegisterName (unsigned RegNo, unsigned AltIdx=AArch64::NoRegAltName) |
Additional Inherited Members | |
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 26 of file AArch64InstPrinter.h.
| AArch64InstPrinter::AArch64InstPrinter | ( | const MCAsmInfo & | MAI, |
| const MCInstrInfo & | MII, | ||
| const MCRegisterInfo & | MRI | ||
| ) |
Definition at line 35 of file AArch64InstPrinter.cpp.
Reimplemented in llvm::AArch64AppleInstPrinter.
Definition at line 44 of file AArch64InstPrinter.h.
References getRegisterName().
|
protected |
Definition at line 952 of file AArch64InstPrinter.cpp.
References llvm::MCInstPrinter::CommentStream, llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::AArch64_AM::getShiftValue(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCInstPrinter::MAI, llvm::MCExpr::print(), and printShifter().
|
protected |
Definition at line 1294 of file AArch64InstPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isImm(), llvm::MCInstPrinter::MAI, and llvm::MCExpr::print().
|
virtual |
Reimplemented in llvm::AArch64AppleInstPrinter.
Referenced by printInst().
|
protected |
Definition at line 1269 of file AArch64InstPrinter.cpp.
References llvm::dwarf::syntax::Address, llvm::dyn_cast(), llvm::MCExpr::evaluateAsAbsolute(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isImm(), llvm::MCInstPrinter::MAI, llvm::MCExpr::print(), and llvm::raw_ostream::write_hex().
|
protected |
Definition at line 1098 of file AArch64InstPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCInstPrinter::MAI, and llvm::MCExpr::print().
Referenced by printAMIndexedWB().
|
inlineprotected |
Definition at line 110 of file AArch64InstPrinter.h.
References printAMIndexedWB().
|
protected |
Definition at line 1074 of file AArch64InstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), and getRegisterName().
|
protected |
Definition at line 1016 of file AArch64InstPrinter.cpp.
References llvm::AArch64_AM::getArithExtendType(), llvm::AArch64_AM::getArithShiftValue(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::AArch64_AM::getShiftExtendName(), llvm::AArch64_AM::UXTW, and llvm::AArch64_AM::UXTX.
Referenced by printExtendedRegister().
|
protected |
Definition at line 1310 of file AArch64InstPrinter.cpp.
References llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCOperand::getImm(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), and llvm::AArch64NamedImmMapper::toString().
|
protected |
Definition at line 1060 of file AArch64InstPrinter.cpp.
References llvm::AArch64CC::getCondCodeName(), llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
|
virtual |
Reimplemented in llvm::AArch64AppleInstPrinter.
|
protected |
Definition at line 1009 of file AArch64InstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), and printArithExtend().
|
protected |
Definition at line 1125 of file AArch64InstPrinter.cpp.
References llvm::format(), llvm::MCOperand::getFPImm(), llvm::AArch64_AM::getFPImmFloat(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm::MCOperand::isFPImm().
|
protected |
Definition at line 1182 of file AArch64InstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), llvm::MCRegisterInfo::getSubReg(), llvm::MCInstPrinter::MRI, and size.
|
protected |
Definition at line 915 of file AArch64InstPrinter.cpp.
References llvm::format(), llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
|
protected |
Definition at line 1081 of file AArch64InstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
|
protected |
Print a list of vector registers where the type suffix is implicit (i.e.
attached to the instruction rather than the registers).
Definition at line 1243 of file AArch64InstPrinter.cpp.
References printVectorList().
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Reimplemented in llvm::AArch64AppleInstPrinter.
Definition at line 50 of file AArch64InstPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), llvm::getWRegFromXReg(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCInstPrinter::MAI, llvm::MCExpr::print(), printAliasInstr(), llvm::MCInstPrinter::printAnnotation(), printInstruction(), and printSysAlias().
Referenced by llvm::AArch64AppleInstPrinter::printInst().
|
virtual |
Reimplemented in llvm::AArch64AppleInstPrinter.
Referenced by printInst().
|
protected |
Definition at line 1067 of file AArch64InstPrinter.cpp.
References llvm::AArch64CC::getCondCodeName(), llvm::MCOperand::getImm(), llvm::AArch64CC::getInvertedCondCode(), and llvm::MCInst::getOperand().
|
protected |
Definition at line 974 of file AArch64InstPrinter.cpp.
References llvm::AArch64_AM::decodeLogicalImmediate(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm::raw_ostream::write_hex().
|
protected |
Definition at line 982 of file AArch64InstPrinter.cpp.
References llvm::AArch64_AM::decodeLogicalImmediate(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm::raw_ostream::write_hex().
|
protected |
Definition at line 1043 of file AArch64InstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm::Log2_32().
Referenced by printMemExtend().
|
inlineprotected |
Definition at line 87 of file AArch64InstPrinter.h.
References printMemExtend().
|
protected |
Definition at line 1330 of file AArch64InstPrinter.cpp.
References llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm::StringRef::upper().
|
protected |
Definition at line 1341 of file AArch64InstPrinter.cpp.
References llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm::StringRef::upper().
|
protected |
Definition at line 900 of file AArch64InstPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), llvm::MCInstPrinter::MAI, and llvm::MCExpr::print().
|
protected |
Definition at line 922 of file AArch64InstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), llvm::MCOperand::isReg(), and llvm_unreachable.
Referenced by printPostIncOperand().
|
inlineprotected |
Definition at line 60 of file AArch64InstPrinter.h.
References printPostIncOperand().
|
protected |
Definition at line 1112 of file AArch64InstPrinter.cpp.
References llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm::AArch64NamedImmMapper::toString().
|
overridevirtual |
Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 45 of file AArch64InstPrinter.cpp.
References getRegisterName().
|
protected |
Definition at line 1002 of file AArch64InstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), and printShifter().
|
protected |
Definition at line 990 of file AArch64InstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::AArch64_AM::getShiftExtendName(), llvm::AArch64_AM::getShiftType(), llvm::AArch64_AM::getShiftValue(), and llvm::AArch64_AM::LSL.
Referenced by printAddSubImm(), and printShiftedRegister().
|
protected |
Definition at line 1366 of file AArch64InstPrinter.cpp.
References llvm::AArch64_AM::decodeAdvSIMDModImmType10(), llvm::format(), llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
|
protected |
Definition at line 677 of file AArch64InstPrinter.cpp.
References llvm::HexStyle::Asm, llvm::MCOperand::getImm(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), and llvm::StringRef::npos.
Referenced by printInst().
|
protected |
Definition at line 944 of file AArch64InstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm::MCOperand::isImm().
|
protected |
Definition at line 1352 of file AArch64InstPrinter.cpp.
References llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::AArch64NamedImmMapper::toString(), and llvm::StringRef::upper().
|
protected |
Definition at line 1251 of file AArch64InstPrinter.cpp.
References llvm::itostr(), and printVectorList().
|
protected |
Definition at line 1087 of file AArch64InstPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCInstPrinter::MAI, and llvm::MCExpr::print().
Referenced by printUImm12Offset().
|
inlineprotected |
Definition at line 104 of file AArch64InstPrinter.h.
References printUImm12Offset().
|
protected |
Definition at line 1263 of file AArch64InstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
|
protected |
Definition at line 1198 of file AArch64InstPrinter.cpp.
References llvm::MCRegisterClass::contains(), llvm::MCRegisterInfo::getMatchingSuperReg(), getNextVectorRegister(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::MCRegisterInfo::getRegClass(), getRegisterName(), llvm::MCRegisterInfo::getSubReg(), and llvm::MCInstPrinter::MRI.
Referenced by printImplicitlyTypedVectorList(), llvm::AArch64AppleInstPrinter::printInst(), and printTypedVectorList().
|
protected |
Definition at line 935 of file AArch64InstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), and llvm::MCOperand::isReg().
1.8.6