LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::ARMInstPrinter Class Reference

#include <ARMInstPrinter.h>

Inheritance diagram for llvm::ARMInstPrinter:
Inheritance graph
[legend]
Collaboration diagram for llvm::ARMInstPrinter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ARMInstPrinter (const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI, const MCSubtargetInfo &STI)
void printInst (const MCInst *MI, raw_ostream &O, StringRef Annot) override
void printRegName (raw_ostream &OS, unsigned RegNo) const override
 printRegName - Print the assembler register name.
void printInstruction (const MCInst *MI, raw_ostream &O)
void printOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printSORegRegOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printSORegImmOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printAddrModeTBB (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printAddrModeTBH (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printAddrMode2Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printAM2PostIndexOp (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printAM2PreOrOffsetIndexOp (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printAddrMode2OffsetOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
template<bool AlwaysPrintImm0>
void printAddrMode3Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printAddrMode3OffsetOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printAM3PostIndexOp (const MCInst *MI, unsigned Op, raw_ostream &O)
void printAM3PreOrOffsetIndexOp (const MCInst *MI, unsigned Op, raw_ostream &O, bool AlwaysPrintImm0)
void printPostIdxImm8Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printPostIdxRegOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printPostIdxImm8s4Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printLdStmModeOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
template<bool AlwaysPrintImm0>
void printAddrMode5Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printAddrMode6Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printAddrMode7Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printAddrMode6OffsetOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printBitfieldInvMaskImmOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printMemBOption (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printInstSyncBOption (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printShiftImmOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printPKHLSLShiftImm (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printPKHASRShiftImm (const MCInst *MI, unsigned OpNum, raw_ostream &O)
template<unsigned scale>
void printAdrLabelOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printThumbS4ImmOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printThumbSRImm (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printThumbITMask (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printThumbAddrModeRROperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printThumbAddrModeImm5SOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O, unsigned Scale)
void printThumbAddrModeImm5S1Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printThumbAddrModeImm5S2Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printThumbAddrModeImm5S4Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printThumbAddrModeSPOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printT2SOOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
template<bool AlwaysPrintImm0>
void printAddrModeImm12Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
template<bool AlwaysPrintImm0>
void printT2AddrModeImm8Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
template<bool AlwaysPrintImm0>
void printT2AddrModeImm8s4Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printT2AddrModeImm0_1020s4Operand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printT2AddrModeImm8OffsetOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printT2AddrModeImm8s4OffsetOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printT2AddrModeSoRegOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printSetendOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printCPSIMod (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printCPSIFlag (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printMSRMaskOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printBankedRegOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printPredicateOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printMandatoryPredicateOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printSBitModifierOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printRegisterList (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printNoHashImmediate (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printPImmediate (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printCImmediate (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printCoprocOptionImm (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printFPImmOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printNEONModImmOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printImmPlusOneOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printRotImmOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printGPRPairOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printPCLabel (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printThumbLdrLabelOperand (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printFBits16 (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printFBits32 (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorIndex (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListOne (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListTwo (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListTwoSpaced (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListThree (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListFour (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListOneAllLanes (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListTwoAllLanes (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListThreeAllLanes (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListFourAllLanes (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListTwoSpacedAllLanes (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListThreeSpacedAllLanes (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListFourSpacedAllLanes (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListThreeSpaced (const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printVectorListFourSpaced (const MCInst *MI, unsigned OpNum, raw_ostream &O)

Static Public Member Functions

static const char * getRegisterName (unsigned RegNo)

Detailed Description

Definition at line 24 of file ARMInstPrinter.h.


Constructor & Destructor Documentation


Member Function Documentation

static const char* llvm::ARMInstPrinter::getRegisterName ( unsigned  RegNo) [static]
template<bool AlwaysPrintImm0>
void ARMInstPrinter::printAddrMode3Operand ( const MCInst MI,
unsigned  OpNum,
raw_ostream O 
)
template<bool AlwaysPrintImm0>
void ARMInstPrinter::printAddrMode5Operand ( const MCInst MI,
unsigned  OpNum,
raw_ostream O 
)
template<bool AlwaysPrintImm0>
void ARMInstPrinter::printAddrModeImm12Operand ( const MCInst MI,
unsigned  OpNum,
raw_ostream O 
)
template<unsigned scale>
void ARMInstPrinter::printAdrLabelOperand ( const MCInst MI,
unsigned  OpNum,
raw_ostream O 
)
void ARMInstPrinter::printAM3PreOrOffsetIndexOp ( const MCInst MI,
unsigned  Op,
raw_ostream O,
bool  AlwaysPrintImm0 
)

Definition at line 961 of file ARMInstPrinter.cpp.

References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().

Definition at line 966 of file ARMInstPrinter.cpp.

References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().

void ARMInstPrinter::printCPSIFlag ( const MCInst MI,
unsigned  OpNum,
raw_ostream O 
)
void ARMInstPrinter::printCPSIMod ( const MCInst MI,
unsigned  OpNum,
raw_ostream O 
)
void ARMInstPrinter::printFBits16 ( const MCInst MI,
unsigned  OpNum,
raw_ostream O 
)
void ARMInstPrinter::printFBits32 ( const MCInst MI,
unsigned  OpNum,
raw_ostream O 
)
void ARMInstPrinter::printInst ( const MCInst MI,
raw_ostream OS,
StringRef  Annot 
) [override, virtual]

Referenced by printInst().

Definition at line 951 of file ARMInstPrinter.cpp.

References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().

void ARMInstPrinter::printOperand ( const MCInst MI,
unsigned  OpNo,
raw_ostream O 
)
void ARMInstPrinter::printPCLabel ( const MCInst MI,
unsigned  OpNum,
raw_ostream O 
)

Definition at line 971 of file ARMInstPrinter.cpp.

References llvm_unreachable.

Definition at line 956 of file ARMInstPrinter.cpp.

References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().

void ARMInstPrinter::printRegName ( raw_ostream OS,
unsigned  RegNo 
) const [override, virtual]

Definition at line 942 of file ARMInstPrinter.cpp.

References llvm::MCInst::getOperand(), and llvm::MCOperand::getReg().

Referenced by printInst().

Definition at line 778 of file ARMInstPrinter.cpp.

References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().

template<bool AlwaysPrintImm0>
void ARMInstPrinter::printT2AddrModeImm8Operand ( const MCInst MI,
unsigned  OpNum,
raw_ostream O 
)
template<bool AlwaysPrintImm0>
void ARMInstPrinter::printT2AddrModeImm8s4Operand ( const MCInst MI,
unsigned  OpNum,
raw_ostream O 
)

Definition at line 1072 of file ARMInstPrinter.cpp.

References printThumbAddrModeImm5SOperand().

Definition at line 1078 of file ARMInstPrinter.cpp.

References printThumbAddrModeImm5SOperand().

Definition at line 1084 of file ARMInstPrinter.cpp.

References printThumbAddrModeImm5SOperand().

Definition at line 1090 of file ARMInstPrinter.cpp.

References printThumbAddrModeImm5SOperand().

Definition at line 1346 of file ARMInstPrinter.cpp.

References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().


The documentation for this class was generated from the following files: