LLVM API Documentation
#include "llvm/MC/MCDisassembler.h"
#include "MCTargetDesc/ARMAddressingModes.h"
#include "MCTargetDesc/ARMBaseInfo.h"
#include "MCTargetDesc/ARMMCExpr.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCFixedLenDisassembler.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/LEB128.h"
#include "llvm/Support/MemoryObject.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/raw_ostream.h"
#include <vector>
#include "ARMGenDisassemblerTables.inc"
Go to the source code of this file.
Namespaces | |
namespace | llvm |
List of target independent CodeGen pass IDs. | |
Defines | |
#define | DEBUG_TYPE "arm-disassembler" |
Typedefs | |
typedef MCDisassembler::DecodeStatus | DecodeStatus |
Functions | |
static bool | Check (DecodeStatus &Out, DecodeStatus In) |
static DecodeStatus | DecodeGPRRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeGPRnopcRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeGPRwithAPSRRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodetGPRRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodetcGPRRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecoderGPRRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeGPRPairRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeSPRRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeDPRRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeDPR_8RegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeDPR_VFP2RegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeQPRRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeDPairRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeDPairSpacedRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodePredicateOperand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeCCOutOperand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeSOImmOperand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeRegListOperand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeSPRRegListOperand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeDPRRegListOperand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeBitfieldMaskOperand (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeCopMemInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeAddrMode2IdxInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeSORegMemOperand (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeAddrMode3Instruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeSORegImmOperand (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeSORegRegOperand (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeMemMultipleWritebackInstruction (MCInst &Inst, unsigned Insn, uint64_t Adddress, const void *Decoder) |
static DecodeStatus | DecodeT2MOVTWInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeArmMOVTWInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeSMLAInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeCPSInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2CPSInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeAddrModeImm12Operand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeAddrMode5Operand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeAddrMode7Operand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2BInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeBranchImmInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeAddrMode6Operand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLDST1Instruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLDST2Instruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLDST3Instruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLDST4Instruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLDInstruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVSTInstruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLD1DupInstruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLD2DupInstruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLD3DupInstruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLD4DupInstruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeNEONModImmInstruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVSHLMaxInstruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeShiftRight8Imm (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeShiftRight16Imm (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeShiftRight32Imm (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeShiftRight64Imm (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeTBLInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodePostIdxReg (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeCoprocessor (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeMemBarrierOption (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeInstSyncBarrierOption (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeMSRMask (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeBankedReg (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeDoubleRegLoad (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeDoubleRegStore (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeLDRPreImm (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeLDRPreReg (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeSTRPreImm (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeSTRPreReg (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLD1LN (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLD2LN (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLD3LN (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVLD4LN (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVST1LN (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVST2LN (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVST3LN (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVST4LN (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVMOVSRR (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVMOVRRS (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeSwap (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVCVTD (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeVCVTQ (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbAddSpecialReg (MCInst &Inst, uint16_t Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbBROperand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2BROperand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbCmpBROperand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbAddrModeRR (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbAddrModeIS (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbAddrModePC (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbAddrModeSP (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2AddrModeSOReg (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2LoadShift (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2LoadImm8 (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2LoadImm12 (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2LoadT (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2LoadLabel (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2Imm8S4 (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2AddrModeImm8s4 (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2AddrModeImm0_1020s4 (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2Imm8 (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2AddrModeImm8 (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbAddSPImm (MCInst &Inst, uint16_t Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbAddSPReg (MCInst &Inst, uint16_t Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbCPS (MCInst &Inst, uint16_t Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeQADDInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbBLXOffset (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2AddrModeImm12 (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbTableBranch (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumb2BCCInstruction (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2SOImm (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbBCCTargetOperand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeThumbBLTargetOperand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeIT (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2LDRDPreInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2STRDPreInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2Adr (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2LdStPre (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2ShifterImmOperand (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeLDR (MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeMRRC2 (llvm::MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) |
static MCDisassembler * | createARMDisassembler (const Target &T, const MCSubtargetInfo &STI, MCContext &Ctx) |
static MCDisassembler * | createThumbDisassembler (const Target &T, const MCSubtargetInfo &STI, MCContext &Ctx) |
static bool | tryAddingSymbolicOperand (uint64_t Address, int32_t Value, bool isBranch, uint64_t InstSize, MCInst &MI, const void *Decoder) |
static void | tryAddingPcLoadReferenceComment (uint64_t Address, int Value, const void *Decoder) |
static void | AddThumb1SBit (MCInst &MI, bool InITBlock) |
void | LLVMInitializeARMDisassembler () |
static DecodeStatus | DecodeRFEInstruction (MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2Adr (MCInst &Inst, uint32_t Insn, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeT2ShifterImmOperand (MCInst &Inst, uint32_t Val, uint64_t Address, const void *Decoder) |
Variables | |
const MCInstrDesc | llvm::ARMInsts [] |
static const uint16_t | GPRDecoderTable [] |
static const uint16_t | GPRPairDecoderTable [] |
static const uint16_t | SPRDecoderTable [] |
static const uint16_t | DPRDecoderTable [] |
static const uint16_t | QPRDecoderTable [] |
static const uint16_t | DPairDecoderTable [] |
static const uint16_t | DPairSpacedDecoderTable [] |
#define DEBUG_TYPE "arm-disassembler" |
Definition at line 30 of file ARMDisassembler.cpp.
Definition at line 32 of file ARMDisassembler.cpp.
static void AddThumb1SBit | ( | MCInst & | MI, |
bool | InITBlock | ||
) | [static] |
Definition at line 566 of file ARMDisassembler.cpp.
References llvm::ARMInsts, llvm::MCInst::begin(), llvm::MCOperand::CreateReg(), llvm::MCInst::end(), llvm::MCInst::getOpcode(), I, llvm::MCInst::insert(), llvm::MCInstrDesc::NumOperands, llvm::MCInstrDesc::OpInfo, and llvm::MCOperandInfo::RegClass.
static bool Check | ( | DecodeStatus & | Out, |
DecodeStatus | In | ||
) | [static] |
Definition at line 132 of file ARMDisassembler.cpp.
References llvm::MCDisassembler::Fail, llvm::tgtok::In, llvm_unreachable, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeAddrMode2IdxInstruction(), DecodeAddrMode3Instruction(), DecodeAddrMode5Operand(), DecodeAddrMode6Operand(), DecodeAddrModeImm12Operand(), DecodeArmMOVTWInstruction(), DecodeBitfieldMaskOperand(), DecodeBranchImmInstruction(), DecodeCopMemInstruction(), DecodeDoubleRegLoad(), DecodeDoubleRegStore(), DecodeDPRRegListOperand(), DecodeGPRnopcRegisterClass(), DecodeGPRwithAPSRRegisterClass(), DecodeLDR(), DecodeLDRPreImm(), DecodeLDRPreReg(), DecodeMemMultipleWritebackInstruction(), DecodeMRRC2(), DecodeNEONModImmInstruction(), DecodePostIdxReg(), DecodeQADDInstruction(), DecodeRegListOperand(), DecodeRFEInstruction(), DecoderGPRRegisterClass(), DecodeSMLAInstruction(), DecodeSORegImmOperand(), DecodeSORegMemOperand(), DecodeSORegRegOperand(), DecodeSPRRegListOperand(), DecodeSTRPreImm(), DecodeSTRPreReg(), DecodeSwap(), DecodeT2AddrModeImm0_1020s4(), DecodeT2AddrModeImm12(), DecodeT2AddrModeImm8(), DecodeT2AddrModeImm8s4(), DecodeT2AddrModeSOReg(), DecodeT2LDRDPreInstruction(), DecodeT2LdStPre(), DecodeT2LoadImm12(), DecodeT2LoadImm8(), DecodeT2LoadLabel(), DecodeT2LoadShift(), DecodeT2LoadT(), DecodeT2MOVTWInstruction(), DecodeT2STRDPreInstruction(), DecodeTBLInstruction(), DecodeThumb2BCCInstruction(), DecodeThumbAddrModeIS(), DecodeThumbAddrModeRR(), DecodeThumbAddSpecialReg(), DecodeThumbAddSPReg(), DecodeThumbTableBranch(), DecodeVCVTD(), DecodeVCVTQ(), DecodeVLD1DupInstruction(), DecodeVLD1LN(), DecodeVLD2DupInstruction(), DecodeVLD2LN(), DecodeVLD3DupInstruction(), DecodeVLD3LN(), DecodeVLD4DupInstruction(), DecodeVLD4LN(), DecodeVLDInstruction(), DecodeVMOVRRS(), DecodeVMOVSRR(), DecodeVSHLMaxInstruction(), DecodeVST1LN(), DecodeVST2LN(), DecodeVST3LN(), DecodeVST4LN(), and DecodeVSTInstruction().
static MCDisassembler* createARMDisassembler | ( | const Target & | T, |
const MCSubtargetInfo & | STI, | ||
MCContext & | Ctx | ||
) | [static] |
Definition at line 405 of file ARMDisassembler.cpp.
Referenced by LLVMInitializeARMDisassembler().
static MCDisassembler* createThumbDisassembler | ( | const Target & | T, |
const MCSubtargetInfo & | STI, | ||
MCContext & | Ctx | ||
) | [static] |
Definition at line 411 of file ARMDisassembler.cpp.
Referenced by LLVMInitializeARMDisassembler().
static DecodeStatus DecodeAddrMode2IdxInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1471 of file ARMDisassembler.cpp.
References llvm::ARM_AM::add, llvm::MCInst::addOperand(), llvm::ARM_AM::asr, Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeGPRnopcRegisterClass(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::ARM_AM::getAM2Opc(), llvm::MCInst::getOpcode(), llvm::ARMII::IndexModePost, llvm::ARMII::IndexModePre, llvm::ARM_AM::lsl, llvm::ARM_AM::lsr, P, llvm::ARM_AM::ror, llvm::ARM_AM::rrx, llvm::MCDisassembler::SoftFail, llvm::ARM_AM::sub, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeAddrMode3Instruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1620 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::ARMII::IndexModePost, llvm::ARMII::IndexModePre, P, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeAddrMode5Operand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2142 of file ARMDisassembler.cpp.
References llvm::ARM_AM::add, llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::ARM_AM::getAM5Opc(), llvm::ARM_AM::sub, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeAddrMode6Operand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2220 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeVLDInstruction(), and DecodeVSTInstruction().
static DecodeStatus DecodeAddrMode7Operand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2161 of file ARMDisassembler.cpp.
References DecodeGPRRegisterClass().
Referenced by DecodeLDR().
static DecodeStatus DecodeAddrModeImm12Operand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2122 of file ARMDisassembler.cpp.
References add(), llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::Success, and tryAddingPcLoadReferenceComment().
Referenced by DecodeLDRPreImm(), and DecodeSTRPreImm().
static DecodeStatus DecodeArmMOVTWInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2067 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeGPRnopcRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
static DecodeStatus DecodeBankedReg | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4039 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeBitfieldMaskOperand | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1294 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeBranchImmInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2194 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCInst::setOpcode(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
static DecodeStatus DecodeCCOutOperand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1118 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateReg(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeCopMemInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1321 of file ARMDisassembler.cpp.
References llvm::ARM_AM::add, llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::ARM_AM::getAM5Opc(), llvm::MCInst::getOpcode(), llvm::ARM_AM::sub, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeCoprocessor | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3823 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeCPSInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1954 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Fail, llvm::MCInst::setOpcode(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeQADDInstruction(), DecodeSMLAInstruction(), and DecodeSwap().
static DecodeStatus DecodeDoubleRegLoad | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4062 of file ARMDisassembler.cpp.
References Check(), DecodeGPRPairRegisterClass(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeDoubleRegStore | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4083 of file ARMDisassembler.cpp.
References Check(), DecodeGPRnopcRegisterClass(), DecodeGPRPairRegisterClass(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeDPairRegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1071 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateReg(), DPairDecoderTable, llvm::MCDisassembler::Fail, Register, and llvm::MCDisassembler::Success.
Referenced by DecodeTBLInstruction(), DecodeVLD1DupInstruction(), DecodeVLD2DupInstruction(), DecodeVLDInstruction(), and DecodeVSTInstruction().
static DecodeStatus DecodeDPairSpacedRegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1092 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateReg(), DPairSpacedDecoderTable, llvm::MCDisassembler::Fail, Register, and llvm::MCDisassembler::Success.
Referenced by DecodeVLD2DupInstruction(), DecodeVLDInstruction(), and DecodeVSTInstruction().
static DecodeStatus DecodeDPR_8RegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1028 of file ARMDisassembler.cpp.
References DecodeDPRRegisterClass(), and llvm::MCDisassembler::Fail.
static DecodeStatus DecodeDPR_VFP2RegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1036 of file ARMDisassembler.cpp.
References DecodeDPRRegisterClass(), and llvm::MCDisassembler::Fail.
static DecodeStatus DecodeDPRRegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1018 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateReg(), DPRDecoderTable, llvm::MCDisassembler::Fail, Register, and llvm::MCDisassembler::Success.
Referenced by DecodeDPR_8RegisterClass(), DecodeDPR_VFP2RegisterClass(), DecodeDPRRegListOperand(), DecodeNEONModImmInstruction(), DecodeTBLInstruction(), DecodeVCVTD(), DecodeVLD1DupInstruction(), DecodeVLD1LN(), DecodeVLD2DupInstruction(), DecodeVLD2LN(), DecodeVLD3DupInstruction(), DecodeVLD3LN(), DecodeVLD4DupInstruction(), DecodeVLD4LN(), DecodeVLDInstruction(), DecodeVSHLMaxInstruction(), DecodeVST1LN(), DecodeVST2LN(), DecodeVST3LN(), DecodeVST4LN(), and DecodeVSTInstruction().
static DecodeStatus DecodeDPRRegListOperand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1269 of file ARMDisassembler.cpp.
References Check(), DecodeDPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeGPRnopcRegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 893 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeAddrMode2IdxInstruction(), DecodeArmMOVTWInstruction(), DecodeDoubleRegStore(), DecodeLDR(), DecodeMRRC2(), DecodePostIdxReg(), DecodeQADDInstruction(), DecodeSMLAInstruction(), DecodeSORegRegOperand(), DecodeSwap(), and DecodeT2AddrModeImm0_1020s4().
static DecodeStatus DecodeGPRPairRegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 932 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateReg(), llvm::MCDisassembler::Fail, GPRPairDecoderTable, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeDoubleRegLoad(), and DecodeDoubleRegStore().
static DecodeStatus DecodeGPRRegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 882 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, Register, and llvm::MCDisassembler::Success.
Referenced by DecodeAddrMode2IdxInstruction(), DecodeAddrMode3Instruction(), DecodeAddrMode5Operand(), DecodeAddrMode6Operand(), DecodeAddrMode7Operand(), DecodeAddrModeImm12Operand(), DecodeCopMemInstruction(), DecodeDoubleRegLoad(), DecodeDoubleRegStore(), DecodeGPRnopcRegisterClass(), DecodeGPRwithAPSRRegisterClass(), DecodeLDRPreImm(), DecodeLDRPreReg(), DecodeMemMultipleWritebackInstruction(), DecodeRegListOperand(), DecodeRFEInstruction(), DecoderGPRRegisterClass(), DecodeSORegImmOperand(), DecodeSORegMemOperand(), DecodeSTRPreImm(), DecodeSTRPreReg(), DecodeT2AddrModeImm12(), DecodeT2AddrModeImm8(), DecodeT2AddrModeImm8s4(), DecodeT2AddrModeSOReg(), DecodeT2LdStPre(), DecodeT2LoadImm12(), DecodeT2LoadImm8(), DecodeT2LoadLabel(), DecodeT2LoadShift(), DecodetGPRRegisterClass(), DecodeThumbAddSPReg(), DecodeThumbTableBranch(), DecodeVLD1DupInstruction(), DecodeVLD1LN(), DecodeVLD2DupInstruction(), DecodeVLD2LN(), DecodeVLD3DupInstruction(), DecodeVLD3LN(), DecodeVLD4DupInstruction(), DecodeVLD4LN(), DecodeVLDInstruction(), DecodeVMOVRRS(), DecodeVMOVSRR(), DecodeVST1LN(), DecodeVST2LN(), DecodeVST3LN(), DecodeVST4LN(), and DecodeVSTInstruction().
static DecodeStatus DecodeGPRwithAPSRRegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 906 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateReg(), DecodeGPRRegisterClass(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeInstSyncBarrierOption | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3968 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeIT | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4814 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeLDR | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 5018 of file ARMDisassembler.cpp.
References Check(), DecodeAddrMode7Operand(), DecodeGPRnopcRegisterClass(), DecodePostIdxReg(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeLDRPreImm | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4108 of file ARMDisassembler.cpp.
References Check(), DecodeAddrModeImm12Operand(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeLDRPreReg | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4133 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), DecodePredicateOperand(), DecodeSORegMemOperand(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeMemBarrierOption | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3959 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeThumb2BCCInstruction().
static DecodeStatus DecodeMemMultipleWritebackInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Adddress, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1863 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeGPRRegisterClass(), DecodePredicateOperand(), DecodeRegListOperand(), DecodeRFEInstruction(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeMRRC2 | ( | llvm::MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 5045 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeGPRnopcRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeMSRMask | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3977 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeNEONModImmInstruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3018 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeDPRRegisterClass(), DecodeQPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
Referenced by DecodeVCVTD(), and DecodeVCVTQ().
static DecodeStatus DecodePostIdxReg | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3786 of file ARMDisassembler.cpp.
References add(), llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeGPRnopcRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeLDR().
static DecodeStatus DecodePredicateOperand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1104 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::ARMCC::AL, llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
Referenced by DecodeAddrMode2IdxInstruction(), DecodeAddrMode3Instruction(), DecodeArmMOVTWInstruction(), DecodeBranchImmInstruction(), DecodeCopMemInstruction(), DecodeDoubleRegLoad(), DecodeDoubleRegStore(), DecodeLDR(), DecodeLDRPreImm(), DecodeLDRPreReg(), DecodeMemMultipleWritebackInstruction(), DecodeQADDInstruction(), DecodeSMLAInstruction(), DecodeSTRPreImm(), DecodeSTRPreReg(), DecodeSwap(), DecodeThumb2BCCInstruction(), DecodeVMOVRRS(), and DecodeVMOVSRR().
static DecodeStatus DecodeQADDInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1840 of file ARMDisassembler.cpp.
References Check(), DecodeCPSInstruction(), DecodeGPRnopcRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeQPRRegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1051 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateReg(), llvm::MCDisassembler::Fail, QPRDecoderTable, Register, and llvm::MCDisassembler::Success.
Referenced by DecodeNEONModImmInstruction(), DecodeVCVTQ(), and DecodeVSHLMaxInstruction().
static DecodeStatus DecodeRegListOperand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1208 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), llvm::MCInst::end(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeMemMultipleWritebackInstruction().
static DecodeStatus DecodeRFEInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1811 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::ARM_AM::da, llvm::ARM_AM::db, DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::ARM_AM::ia, llvm::ARM_AM::ib, and llvm::MCDisassembler::Success.
Referenced by DecodeMemMultipleWritebackInstruction().
static DecodeStatus DecoderGPRRegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 977 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeT2AddrModeSOReg(), DecodeT2LDRDPreInstruction(), DecodeT2LoadT(), DecodeT2MOVTWInstruction(), DecodeT2STRDPreInstruction(), and DecodeThumbTableBranch().
static DecodeStatus DecodeShiftRight16Imm | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3088 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeShiftRight32Imm | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3094 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeShiftRight64Imm | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3100 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeShiftRight8Imm | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3082 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeSMLAInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2094 of file ARMDisassembler.cpp.
References Check(), DecodeCPSInstruction(), DecodeGPRnopcRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeSOImmOperand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1127 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeSORegImmOperand | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1136 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::ARM_AM::asr, Check(), llvm::MCOperand::CreateImm(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::ARM_AM::lsl, llvm::ARM_AM::lsr, llvm::ARM_AM::ror, llvm::ARM_AM::rrx, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeSORegMemOperand | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1576 of file ARMDisassembler.cpp.
References llvm::ARM_AM::add, llvm::MCInst::addOperand(), llvm::ARM_AM::asr, Check(), llvm::MCOperand::CreateImm(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::ARM_AM::getAM2Opc(), llvm::ARM_AM::lsl, llvm::ARM_AM::lsr, llvm::ARM_AM::ror, llvm::ARM_AM::rrx, llvm::ARM_AM::sub, and llvm::MCDisassembler::Success.
Referenced by DecodeLDRPreReg(), and DecodeSTRPreReg().
static DecodeStatus DecodeSORegRegOperand | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1173 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::ARM_AM::asr, Check(), llvm::MCOperand::CreateImm(), DecodeGPRnopcRegisterClass(), llvm::MCDisassembler::Fail, llvm::ARM_AM::lsl, llvm::ARM_AM::lsr, llvm::ARM_AM::ror, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeSPRRegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 997 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateReg(), llvm::MCDisassembler::Fail, Register, SPRDecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeSPRRegListOperand(), DecodeVMOVRRS(), and DecodeVMOVSRR().
static DecodeStatus DecodeSPRRegListOperand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 1245 of file ARMDisassembler.cpp.
References Check(), DecodeSPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeSTRPreImm | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4161 of file ARMDisassembler.cpp.
References Check(), DecodeAddrModeImm12Operand(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeSTRPreReg | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4186 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), DecodePredicateOperand(), DecodeSORegMemOperand(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeSwap | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4931 of file ARMDisassembler.cpp.
References Check(), DecodeCPSInstruction(), DecodeGPRnopcRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeT2AddrModeImm0_1020s4 | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3578 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeGPRnopcRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeT2AddrModeImm12 | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3713 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
Referenced by DecodeT2LoadImm12().
static DecodeStatus DecodeT2AddrModeImm8 | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3606 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), DecodeT2Imm8(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
Referenced by DecodeT2LdStPre(), DecodeT2LoadImm8(), and DecodeT2LoadT().
static DecodeStatus DecodeT2AddrModeImm8s4 | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3563 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), DecodeT2Imm8S4(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeT2LDRDPreInstruction(), and DecodeT2STRDPreInstruction().
static DecodeStatus DecodeT2AddrModeSOReg | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3237 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeGPRRegisterClass(), DecoderGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
Referenced by DecodeT2LoadShift().
static DecodeStatus DecodeT2Adr | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
static DecodeStatus DecodeT2Adr | ( | MCInst & | Inst, |
uint32_t | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4905 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeT2BInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2167 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
static DecodeStatus DecodeT2BROperand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3174 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
Referenced by DecodeThumb2BCCInstruction().
static DecodeStatus DecodeT2CPSInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2001 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Fail, llvm::MCInst::setOpcode(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeT2Imm8 | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3593 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), and llvm::MCDisassembler::Success.
Referenced by DecodeT2AddrModeImm8().
static DecodeStatus DecodeT2Imm8S4 | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3549 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), and llvm::MCDisassembler::Success.
Referenced by DecodeT2AddrModeImm8s4().
static DecodeStatus DecodeT2LDRDPreInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4834 of file ARMDisassembler.cpp.
References Check(), DecoderGPRRegisterClass(), DecodeT2AddrModeImm8s4(), llvm::MCDisassembler::Fail, P, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeT2LdStPre | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3652 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), DecodeT2AddrModeImm8(), DecodeT2LoadLabel(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeT2LoadImm12 | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3400 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), DecodeT2AddrModeImm12(), DecodeT2LoadLabel(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeT2LoadImm8 | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3336 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), DecodeT2AddrModeImm8(), DecodeT2LoadLabel(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeT2LoadLabel | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3504 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
Referenced by DecodeT2LdStPre(), DecodeT2LoadImm12(), DecodeT2LoadImm8(), DecodeT2LoadShift(), and DecodeT2LoadT().
static DecodeStatus DecodeT2LoadShift | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3265 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), DecodeT2AddrModeSOReg(), DecodeT2LoadLabel(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeT2LoadT | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3465 of file ARMDisassembler.cpp.
References Check(), DecoderGPRRegisterClass(), DecodeT2AddrModeImm8(), DecodeT2LoadLabel(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeT2MOVTWInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2043 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecoderGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
static DecodeStatus DecodeT2ShifterImmOperand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
static DecodeStatus DecodeT2ShifterImmOperand | ( | MCInst & | Inst, |
uint32_t | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4920 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeT2SOImm | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3896 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeT2STRDPreInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4871 of file ARMDisassembler.cpp.
References Check(), DecoderGPRRegisterClass(), DecodeT2AddrModeImm8s4(), llvm::MCDisassembler::Fail, P, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeTBLInstruction | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3106 of file ARMDisassembler.cpp.
References Check(), DecodeDPairRegisterClass(), DecodeDPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCDisassembler::Success, and llvm::ARMISD::VTBL2.
static DecodeStatus DecodetcGPRRegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 947 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateReg(), llvm::MCDisassembler::Fail, Register, and llvm::MCDisassembler::Success.
static DecodeStatus DecodetGPRRegisterClass | ( | MCInst & | Inst, |
unsigned | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 920 of file ARMDisassembler.cpp.
References DecodeGPRRegisterClass(), and llvm::MCDisassembler::Fail.
Referenced by DecodeThumbAddrModeIS(), DecodeThumbAddrModeRR(), and DecodeThumbAddSpecialReg().
static DecodeStatus DecodeThumb2BCCInstruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3854 of file ARMDisassembler.cpp.
References Check(), DecodeMemBarrierOption(), DecodePredicateOperand(), DecodeT2BROperand(), llvm::MCDisassembler::Fail, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeThumbAddrModeIS | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3205 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodetGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeThumbAddrModePC | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3219 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Success, and tryAddingPcLoadReferenceComment().
static DecodeStatus DecodeThumbAddrModeRR | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3190 of file ARMDisassembler.cpp.
References Check(), DecodetGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeThumbAddrModeSP | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3229 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeThumbAddSpecialReg | ( | MCInst & | Inst, |
uint16_t | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3142 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodetGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeThumbAddSPImm | ( | MCInst & | Inst, |
uint16_t | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3739 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeThumbAddSPReg | ( | MCInst & | Inst, |
uint16_t | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3750 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateReg(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeThumbBCCTargetOperand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3928 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
static DecodeStatus DecodeThumbBLTargetOperand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3936 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
static DecodeStatus DecodeThumbBLXOffset | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3799 of file ARMDisassembler.cpp.
References llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
static DecodeStatus DecodeThumbBROperand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3166 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
static DecodeStatus DecodeThumbCmpBROperand | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3182 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
static DecodeStatus DecodeThumbCPS | ( | MCInst & | Inst, |
uint16_t | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3775 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::CreateImm(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeThumbTableBranch | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3838 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), DecoderGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVCVTD | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4958 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeDPRRegisterClass(), DecodeNEONModImmInstruction(), llvm::MCDisassembler::Fail, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVCVTQ | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4988 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeNEONModImmInstruction(), DecodeQPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVLD1DupInstruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2833 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeDPairRegisterClass(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVLD1LN | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4211 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVLD2DupInstruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2880 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeDPairRegisterClass(), DecodeDPairSpacedRegisterClass(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVLD2LN | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4344 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVLD3DupInstruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2928 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVLD3LN | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4475 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVLD4DupInstruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2963 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVLD4LN | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4609 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVLDInstruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2237 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeAddrMode6Operand(), DecodeDPairRegisterClass(), DecodeDPairSpacedRegisterClass(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
Referenced by DecodeVLDST1Instruction(), DecodeVLDST2Instruction(), DecodeVLDST3Instruction(), and DecodeVLDST4Instruction().
static DecodeStatus DecodeVLDST1Instruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2511 of file ARMDisassembler.cpp.
References DecodeVLDInstruction(), DecodeVSTInstruction(), and llvm::MCDisassembler::Fail.
static DecodeStatus DecodeVLDST2Instruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2524 of file ARMDisassembler.cpp.
References DecodeVLDInstruction(), DecodeVSTInstruction(), and llvm::MCDisassembler::Fail.
static DecodeStatus DecodeVLDST3Instruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2539 of file ARMDisassembler.cpp.
References DecodeVLDInstruction(), DecodeVSTInstruction(), and llvm::MCDisassembler::Fail.
static DecodeStatus DecodeVLDST4Instruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2552 of file ARMDisassembler.cpp.
References DecodeVLDInstruction(), DecodeVSTInstruction(), and llvm::MCDisassembler::Fail.
static DecodeStatus DecodeVMOVRRS | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4788 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), DecodePredicateOperand(), DecodeSPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVMOVSRR | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4762 of file ARMDisassembler.cpp.
References Check(), DecodeGPRRegisterClass(), DecodePredicateOperand(), DecodeSPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVSHLMaxInstruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 3063 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), DecodeDPRRegisterClass(), DecodeQPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVST1LN | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4278 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVST2LN | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4411 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVST3LN | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4545 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVST4LN | ( | MCInst & | Inst, |
unsigned | Insn, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 4690 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
static DecodeStatus DecodeVSTInstruction | ( | MCInst & | Inst, |
unsigned | Val, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) | [static] |
Definition at line 2562 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), DecodeAddrMode6Operand(), DecodeDPairRegisterClass(), DecodeDPairSpacedRegisterClass(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
Referenced by DecodeVLDST1Instruction(), DecodeVLDST2Instruction(), DecodeVLDST3Instruction(), and DecodeVLDST4Instruction().
void LLVMInitializeARMDisassembler | ( | ) |
Definition at line 864 of file ARMDisassembler.cpp.
References createARMDisassembler(), createThumbDisassembler(), llvm::TargetRegistry::RegisterMCDisassembler(), llvm::TheARMBETarget, llvm::TheARMLETarget, llvm::TheThumbBETarget, and llvm::TheThumbLETarget.
static void tryAddingPcLoadReferenceComment | ( | uint64_t | Address, |
int | Value, | ||
const void * | Decoder | ||
) | [static] |
tryAddingPcLoadReferenceComment - trys to add a comment as to what is being referenced by a load instruction with the base register that is the Pc. These can often be values in a literal pool near the Address of the instruction. The Address of the instruction and its immediate Value are used as a possible literal pool entry. The SymbolLookUp call back will return the name of a symbol referenced by the literal pool's entry if the referenced address is that of a symbol. Or it will return a pointer to a literal 'C' string if the referenced address of the literal pool's entry is an address into a section with 'C' string literals.
Definition at line 556 of file ARMDisassembler.cpp.
References llvm::MCDisassembler::tryAddingPcLoadReferenceComment().
Referenced by DecodeAddrModeImm12Operand(), and DecodeThumbAddrModePC().
static bool tryAddingSymbolicOperand | ( | uint64_t | Address, |
int32_t | Value, | ||
bool | isBranch, | ||
uint64_t | InstSize, | ||
MCInst & | MI, | ||
const void * | Decoder | ||
) | [static] |
tryAddingSymbolicOperand - trys to add a symbolic operand in place of the immediate Value in the MCInst. The immediate Value has had any PC adjustment made by the caller. If the instruction is a branch instruction then isBranch is true, else false. If the getOpInfo() function was set as part of the setupForSymbolicDisassembly() call then that function is called to get any symbolic information at the Address for this instruction. If that returns non-zero then the symbolic information it returns is used to create an MCExpr and that is added as an operand to the MCInst. If getOpInfo() returns zero and isBranch is true then a symbol look up for Value is done and if a symbol is found an MCExpr is created with that, else an MCExpr with Value is created. This function returns true if it adds an operand to the MCInst and false otherwise.
Definition at line 538 of file ARMDisassembler.cpp.
References llvm::MCDisassembler::tryAddingSymbolicOperand().
Referenced by DecodeArmMOVTWInstruction(), DecodeBranchImmInstruction(), DecodeT2BInstruction(), DecodeT2BROperand(), DecodeT2MOVTWInstruction(), DecodeThumbBCCTargetOperand(), DecodeThumbBLTargetOperand(), DecodeThumbBLXOffset(), DecodeThumbBROperand(), and DecodeThumbCmpBROperand().
const uint16_t DPairDecoderTable[] [static] |
{ ARM::Q0, ARM::D1_D2, ARM::Q1, ARM::D3_D4, ARM::Q2, ARM::D5_D6, ARM::Q3, ARM::D7_D8, ARM::Q4, ARM::D9_D10, ARM::Q5, ARM::D11_D12, ARM::Q6, ARM::D13_D14, ARM::Q7, ARM::D15_D16, ARM::Q8, ARM::D17_D18, ARM::Q9, ARM::D19_D20, ARM::Q10, ARM::D21_D22, ARM::Q11, ARM::D23_D24, ARM::Q12, ARM::D25_D26, ARM::Q13, ARM::D27_D28, ARM::Q14, ARM::D29_D30, ARM::Q15 }
Definition at line 1062 of file ARMDisassembler.cpp.
Referenced by DecodeDPairRegisterClass().
const uint16_t DPairSpacedDecoderTable[] [static] |
{ ARM::D0_D2, ARM::D1_D3, ARM::D2_D4, ARM::D3_D5, ARM::D4_D6, ARM::D5_D7, ARM::D6_D8, ARM::D7_D9, ARM::D8_D10, ARM::D9_D11, ARM::D10_D12, ARM::D11_D13, ARM::D12_D14, ARM::D13_D15, ARM::D14_D16, ARM::D15_D17, ARM::D16_D18, ARM::D17_D19, ARM::D18_D20, ARM::D19_D21, ARM::D20_D22, ARM::D21_D23, ARM::D22_D24, ARM::D23_D25, ARM::D24_D26, ARM::D25_D27, ARM::D26_D28, ARM::D27_D29, ARM::D28_D30, ARM::D29_D31 }
Definition at line 1081 of file ARMDisassembler.cpp.
Referenced by DecodeDPairSpacedRegisterClass().
const uint16_t DPRDecoderTable[] [static] |
{ ARM::D0, ARM::D1, ARM::D2, ARM::D3, ARM::D4, ARM::D5, ARM::D6, ARM::D7, ARM::D8, ARM::D9, ARM::D10, ARM::D11, ARM::D12, ARM::D13, ARM::D14, ARM::D15, ARM::D16, ARM::D17, ARM::D18, ARM::D19, ARM::D20, ARM::D21, ARM::D22, ARM::D23, ARM::D24, ARM::D25, ARM::D26, ARM::D27, ARM::D28, ARM::D29, ARM::D30, ARM::D31 }
Definition at line 1007 of file ARMDisassembler.cpp.
Referenced by DecodeDPRRegisterClass().
const uint16_t GPRDecoderTable[] [static] |
{ ARM::R0, ARM::R1, ARM::R2, ARM::R3, ARM::R4, ARM::R5, ARM::R6, ARM::R7, ARM::R8, ARM::R9, ARM::R10, ARM::R11, ARM::R12, ARM::SP, ARM::LR, ARM::PC }
Definition at line 875 of file ARMDisassembler.cpp.
Referenced by DecodeGPRRegisterClass().
const uint16_t GPRPairDecoderTable[] [static] |
{ ARM::R0_R1, ARM::R2_R3, ARM::R4_R5, ARM::R6_R7, ARM::R8_R9, ARM::R10_R11, ARM::R12_SP }
Definition at line 927 of file ARMDisassembler.cpp.
Referenced by DecodeGPRPairRegisterClass().
const uint16_t QPRDecoderTable[] [static] |
{ ARM::Q0, ARM::Q1, ARM::Q2, ARM::Q3, ARM::Q4, ARM::Q5, ARM::Q6, ARM::Q7, ARM::Q8, ARM::Q9, ARM::Q10, ARM::Q11, ARM::Q12, ARM::Q13, ARM::Q14, ARM::Q15 }
Definition at line 1043 of file ARMDisassembler.cpp.
Referenced by DecodeQPRRegisterClass().
const uint16_t SPRDecoderTable[] [static] |
{ ARM::S0, ARM::S1, ARM::S2, ARM::S3, ARM::S4, ARM::S5, ARM::S6, ARM::S7, ARM::S8, ARM::S9, ARM::S10, ARM::S11, ARM::S12, ARM::S13, ARM::S14, ARM::S15, ARM::S16, ARM::S17, ARM::S18, ARM::S19, ARM::S20, ARM::S21, ARM::S22, ARM::S23, ARM::S24, ARM::S25, ARM::S26, ARM::S27, ARM::S28, ARM::S29, ARM::S30, ARM::S31 }
Definition at line 986 of file ARMDisassembler.cpp.
Referenced by DecodeSPRRegisterClass().