LLVM 20.0.0git
|
#include "ARMBaseInstrInfo.h"
#include "MCTargetDesc/ARMAddressingModes.h"
#include "MCTargetDesc/ARMBaseInfo.h"
#include "MCTargetDesc/ARMMCTargetDesc.h"
#include "TargetInfo/ARMTargetInfo.h"
#include "Utils/ARMBaseInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDecoderOps.h"
#include "llvm/MC/MCDisassembler/MCDisassembler.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/SubtargetFeature.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <vector>
#include "ARMGenDisassemblerTables.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "arm-disassembler" |
Typedefs | |
using | DecodeStatus = MCDisassembler::DecodeStatus |
typedef DecodeStatus | OperandDecoder(MCInst &Inst, unsigned Val, uint64_t Address, const MCDisassembler *Decoder) |
Variables | |
static const uint16_t | GPRDecoderTable [] |
static const uint16_t | CLRMGPRDecoderTable [] |
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 [] |
static const uint16_t | QQPRDecoderTable [] |
static const uint16_t | QQQQPRDecoderTable [] |
#define DEBUG_TYPE "arm-disassembler" |
Definition at line 35 of file ARMDisassembler.cpp.
Definition at line 37 of file ARMDisassembler.cpp.
typedef DecodeStatus OperandDecoder(MCInst &Inst, unsigned Val, uint64_t Address, const MCDisassembler *Decoder) |
Definition at line 686 of file ARMDisassembler.cpp.
|
static |
Definition at line 716 of file ARMDisassembler.cpp.
References Cond, llvm::MCDisassembler::Fail, Insn, MI, and llvm::MCDisassembler::SoftFail.
|
static |
Definition at line 709 of file ARMDisassembler.cpp.
Referenced by LLVMInitializeARMDisassembler().
|
static |
Definition at line 2043 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, Insn, llvm::ARM_AM::lsl, llvm::ARM_AM::lsr, P, pred, llvm::ARM_AM::ror, llvm::ARM_AM::rrx, llvm::MCDisassembler::SoftFail, llvm::ARM_AM::sub, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2205 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, Insn, P, pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2858 of file ARMDisassembler.cpp.
References llvm::ARM_AM::add, llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::ARM_AM::getAM5FP16Opc(), llvm::ARM_AM::sub, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2837 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 |
Definition at line 2942 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 |
Definition at line 2879 of file ARMDisassembler.cpp.
References DecodeGPRRegisterClass().
Referenced by DecodeLDR().
|
static |
Definition at line 2816 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::Success, and tryAddingPcLoadReferenceComment().
Referenced by DecodeLDRPreImm(), and DecodeSTRPreImm().
|
static |
Definition at line 2708 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeGPRnopcRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, pred, llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
|
static |
Definition at line 5077 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6307 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
|
static |
Definition at line 6288 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, isNeg(), isSigned(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
|
static |
Definition at line 1835 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2912 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, pred, llvm::MCInst::setOpcode(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
|
static |
Definition at line 1652 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), and llvm::MCDisassembler::Success.
Referenced by DecodeT2AddSubSPImm().
|
static |
Definition at line 1307 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), CLRMGPRDecoderTable, llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeRegListOperand().
|
static |
Definition at line 1863 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(), Insn, pred, llvm::ARM_AM::sub, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4815 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, llvm::isValidCoprocessorNumber(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2567 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, Insn, mode, llvm::MCInst::setOpcode(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeQADDInstruction(), DecodeSMLAInstruction(), and DecodeSwap().
|
static |
Definition at line 5093 of file ARMDisassembler.cpp.
References Check, DecodeGPRPairRegisterClass(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, Insn, pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 5115 of file ARMDisassembler.cpp.
References Check, DecodeGPRnopcRegisterClass(), DecodeGPRPairRegisterClass(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, Insn, pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1599 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), DPairDecoderTable, llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeTBLInstruction(), DecodeVLD1DupInstruction(), DecodeVLD2DupInstruction(), DecodeVLDInstruction(), and DecodeVSTInstruction().
|
static |
Definition at line 1622 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), DPairSpacedDecoderTable, llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeVLD2DupInstruction(), DecodeVLDInstruction(), and DecodeVSTInstruction().
|
static |
Definition at line 1547 of file ARMDisassembler.cpp.
References DecodeDPRRegisterClass(), and llvm::MCDisassembler::Fail.
|
static |
Definition at line 1563 of file ARMDisassembler.cpp.
References DecodeDPRRegisterClass(), and llvm::MCDisassembler::Fail.
|
static |
Definition at line 1531 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), DPRDecoderTable, llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeDPR_8RegisterClass(), DecodeDPR_VFP2RegisterClass(), DecodeDPRRegListOperand(), DecodeNEONComplexLane64Instruction(), DecodeTBLInstruction(), DecodeVCVTD(), DecodeVLD1DupInstruction(), DecodeVLD1LN(), DecodeVLD2DupInstruction(), DecodeVLD2LN(), DecodeVLD3DupInstruction(), DecodeVLD3LN(), DecodeVLD4DupInstruction(), DecodeVLD4LN(), DecodeVLDInstruction(), DecodeVMOVModImmInstruction(), DecodeVSHLMaxInstruction(), DecodeVST1LN(), DecodeVST2LN(), DecodeVST3LN(), DecodeVST4LN(), and DecodeVSTInstruction().
|
static |
Definition at line 1809 of file ARMDisassembler.cpp.
References Check, DecodeDPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeVSCCLRM().
|
static |
Definition at line 6236 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::ARMCC::AL, Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeGPRnopcRegisterClass(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1321 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeAddrMode2IdxInstruction(), DecodeArmMOVTWInstruction(), DecodeDoubleRegStore(), DecodeForVMRSandVMSR(), DecodeLDR(), DecodeMveAddrModeRQ(), DecodePostIdxReg(), DecodeQADDInstruction(), DecoderForMRRC2AndMCRR2(), DecodeSMLAInstruction(), DecodeSORegRegOperand(), DecodeSwap(), DecodeT2AddrModeImm0_1020s4(), DecodeT2AddrModeImm7(), DecodeT2AddrModeImm7s4(), and DecodeVSTRVLDR_SYSREG().
|
static |
Definition at line 1334 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1422 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRPairDecoderTable, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1403 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 |
Definition at line 1296 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeAddrMode2IdxInstruction(), DecodeAddrMode3Instruction(), DecodeAddrMode5FP16Operand(), DecodeAddrMode5Operand(), DecodeAddrMode6Operand(), DecodeAddrMode7Operand(), DecodeAddrModeImm12Operand(), DecodeCopMemInstruction(), DecodeDoubleRegLoad(), DecodeDoubleRegStore(), DecodeForVMRSandVMSR(), DecodeGPRnopcRegisterClass(), DecodeGPRnospRegisterClass(), DecodeGPRwithAPSRRegisterClass(), DecodeGPRwithZRRegisterClass(), DecodeLazyLoadStoreMul(), DecodeLDRPreImm(), DecodeLDRPreReg(), DecodeMemMultipleWritebackInstruction(), DecodeMVEVMOVDRegtoQ(), DecodeMVEVMOVQtoDReg(), DecodeRegListOperand(), DecodeRFEInstruction(), DecoderGPRRegisterClass(), DecodeSORegMemOperand(), DecodeSTRPreImm(), DecodeSTRPreReg(), DecodeT2AddrModeImm12(), DecodeT2AddrModeImm8(), DecodeT2AddrModeImm8s4(), DecodeT2AddrModeSOReg(), DecodeT2LdStPre(), DecodeT2LoadImm12(), DecodeT2LoadImm8(), DecodeT2LoadLabel(), DecodeT2LoadShift(), DecodetGPRRegisterClass(), DecodeThumbAddSPReg(), DecodeThumbTableBranch(), DecodeTSTInstruction(), DecodeVLD1DupInstruction(), DecodeVLD1LN(), DecodeVLD2DupInstruction(), DecodeVLD2LN(), DecodeVLD3DupInstruction(), DecodeVLD3LN(), DecodeVLD4DupInstruction(), DecodeVLD4LN(), DecodeVLDInstruction(), DecodeVMOVRRS(), DecodeVMOVSRR(), DecodeVST1LN(), DecodeVST2LN(), DecodeVST3LN(), DecodeVST4LN(), and DecodeVSTInstruction().
|
static |
Definition at line 1435 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeT2AddSubSPImm().
|
static |
Definition at line 6426 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), GPRDecoderTable, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1348 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createReg(), DecodeGPRRegisterClass(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1381 of file ARMDisassembler.cpp.
References Check, DecodeGPRwithZRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1363 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createReg(), DecodeGPRRegisterClass(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeGPRwithZRnospRegisterClass(), and DecodeMVEVCMP().
|
static |
Definition at line 2544 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCDisassembler::getSubtargetInfo(), Insn, pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1514 of file ARMDisassembler.cpp.
References DecodeSPRRegisterClass().
|
static |
Definition at line 4966 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 5847 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, Insn, pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 7037 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::ARMCC::AL, Check, llvm::MCOperand::createImm(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6163 of file ARMDisassembler.cpp.
References Check, Cond, DecodeAddrMode7Operand(), DecodeGPRnopcRegisterClass(), DecodePostIdxReg(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 5141 of file ARMDisassembler.cpp.
References Check, DecodeAddrModeImm12Operand(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, Insn, pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 5167 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecodePredicateOperand(), DecodeSORegMemOperand(), llvm::MCDisassembler::Fail, Insn, pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6328 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createReg(), DecoderGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm::MCInst::setOpcode(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6390 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 4956 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeThumb2BCCInstruction().
|
static |
Definition at line 2452 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeGPRRegisterClass(), DecodePredicateOperand(), DecodeRegListOperand(), DecodeRFEInstruction(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, pred, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 6469 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, QPRDecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeMVE_MEM_3_pre(), DecodeMVE_MEM_pre(), DecodeMveAddrModeQ(), DecodeMveAddrModeRQ(), DecodeMVEModImmInstruction(), DecodeMVEVADCInstruction(), DecodeMVEVCMP(), DecodeMVEVCVTt1fp(), DecodeMVEVMOVDRegtoQ(), and DecodeMVEVMOVQtoDReg().
|
static |
Definition at line 6485 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, QQPRDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6501 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, QQQQPRDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4976 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 |
Definition at line 6742 of file ARMDisassembler.cpp.
References DecodeMVE_MEM_pre(), and DecodetGPRRegisterClass().
|
static |
Definition at line 6752 of file ARMDisassembler.cpp.
References DecodeMVE_MEM_pre(), and DecoderGPRRegisterClass().
|
static |
Definition at line 6762 of file ARMDisassembler.cpp.
References DecodeMQPRRegisterClass(), and DecodeMVE_MEM_pre().
|
inlinestatic |
Definition at line 6722 of file ARMDisassembler.cpp.
References Check, DecodeMQPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeMVE_MEM_1_pre(), DecodeMVE_MEM_2_pre(), and DecodeMVE_MEM_3_pre().
|
static |
Definition at line 4767 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeMQPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4751 of file ARMDisassembler.cpp.
References Check, DecodeGPRnopcRegisterClass(), DecodeMQPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 3795 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeMQPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm::ARMVCC::None, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6846 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecoderGPRRegisterClass(), DecodetGPREvenRegisterClass(), DecodetGPROddRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm_unreachable, llvm::MCInst::setOpcode(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6786 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 3824 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeMQPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6946 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeGPRwithZRRegisterClass(), DecodeMQPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, llvm::ARMVCC::None, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6983 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createReg(), DecoderGPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6925 of file ARMDisassembler.cpp.
References Check, DecodeMQPRRegisterClass(), DecodeVCVTImmOperand(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6819 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecodeMQPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6795 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecodeMQPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6993 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 6131 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeDPRRegisterClass(), DecodeQPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4737 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeGPRnopcRegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
Referenced by DecodeLDR().
|
static |
Definition at line 6772 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1632 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::ARMCC::AL, Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, llvm::MCInstrInfo::get(), llvm::MCInst::getOpcode(), llvm::MCInstrDesc::isPredicable(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeAddrMode2IdxInstruction(), DecodeAddrMode3Instruction(), DecodeArmMOVTWInstruction(), DecodeBranchImmInstruction(), DecodeCopMemInstruction(), DecodeDoubleRegLoad(), DecodeDoubleRegStore(), DecodeForVMRSandVMSR(), DecodeHINTInstruction(), DecodeLazyLoadStoreMul(), DecodeLDR(), DecodeLDRPreImm(), DecodeLDRPreReg(), DecodeMemMultipleWritebackInstruction(), DecodeQADDInstruction(), DecodeSMLAInstruction(), DecodeSTRPreImm(), DecodeSTRPreReg(), DecodeSwap(), DecodeThumb2BCCInstruction(), DecodeTSTInstruction(), DecodeVMOVRRS(), and DecodeVMOVSRR().
|
static |
Definition at line 6319 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::ARMCC::AL, llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2427 of file ARMDisassembler.cpp.
References Check, DecodeCPSInstruction(), DecodeGPRnopcRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, Insn, pred, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1578 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, QPRDecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeNEONComplexLane64Instruction(), DecodeVCVTQ(), DecodeVMOVModImmInstruction(), and DecodeVSHLMaxInstruction().
|
static |
Definition at line 1736 of file ARMDisassembler.cpp.
References Check, DecodeCLRMGPRRegisterClass(), 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 |
Definition at line 6604 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::ARMCC::EQ, llvm::MCDisassembler::Fail, llvm::ARMCC::GE, llvm::ARMCC::GT, llvm::ARMCC::LE, llvm::ARMCC::LT, llvm::ARMCC::NE, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6568 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::ARMCC::EQ, llvm::ARMCC::NE, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6575 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::ARMCC::GE, llvm::ARMCC::GT, llvm::ARMCC::LE, llvm::ARMCC::LT, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6597 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::ARMCC::HI, llvm::ARMCC::HS, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2397 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, Insn, mode, and llvm::MCDisassembler::Success.
Referenced by DecodeMemMultipleWritebackInstruction().
|
static |
Definition at line 6190 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeGPRnopcRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1477 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeLOLoop(), DecodeMVE_MEM_2_pre(), DecodeMVEOverlappingLongShift(), DecodeMveVCTP(), DecodeSORegImmOperand(), DecodeT2AddrModeImm7(), DecodeT2AddrModeSOReg(), DecodeT2Adr(), DecodeT2LDRDPreInstruction(), DecodeT2LoadT(), DecodeT2MOVTWInstruction(), DecodeT2STRDPreInstruction(), and DecodeThumbTableBranch().
|
static |
Definition at line 2787 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCDisassembler::getSubtargetInfo(), Insn, llvm::MCInst::setOpcode(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeTSTInstruction().
|
static |
Definition at line 3877 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 3884 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 3891 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 3870 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2736 of file ARMDisassembler.cpp.
References Check, DecodeCPSInstruction(), DecodeGPRnopcRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, Insn, pred, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1662 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::ARM_AM::asr, Check, llvm::MCOperand::createImm(), DecoderGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::ARM_AM::lsl, llvm::ARM_AM::lsr, llvm::ARM_AM::ror, llvm::ARM_AM::rrx, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2148 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 |
Definition at line 1700 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 |
Definition at line 1555 of file ARMDisassembler.cpp.
References DecodeSPRRegisterClass(), and llvm::MCDisassembler::Fail.
|
static |
Definition at line 1503 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, SPRDecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeHPRRegisterClass(), DecodeSPR_8RegisterClass(), DecodeSPRRegListOperand(), DecodeVMOVRRS(), and DecodeVMOVSRR().
|
static |
Definition at line 1784 of file ARMDisassembler.cpp.
References Check, DecodeSPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
Referenced by DecodeVSCCLRM().
|
static |
Definition at line 5195 of file ARMDisassembler.cpp.
References Check, DecodeAddrModeImm12Operand(), DecodeGPRRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, Insn, pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 5221 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecodePredicateOperand(), DecodeSORegMemOperand(), llvm::MCDisassembler::Fail, Insn, pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 5985 of file ARMDisassembler.cpp.
References Check, DecodeCPSInstruction(), DecodeGPRnopcRegisterClass(), DecodePredicateOperand(), llvm::MCDisassembler::Fail, Insn, pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4472 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeGPRnopcRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4660 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 |
Definition at line 4580 of file ARMDisassembler.cpp.
References Check, DecodeGPRnopcRegisterClass(), DecoderGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4456 of file ARMDisassembler.cpp.
References Check, DecodeGPRnopcRegisterClass(), DecodeT2Imm7S4(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeVSTRVLDR_SYSREG().
|
static |
Definition at line 4515 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 |
Definition at line 4440 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecodeT2Imm8S4(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeT2LDRDPreInstruction(), and DecodeT2STRDPreInstruction().
|
static |
Definition at line 4038 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 |
Definition at line 7002 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeCCOutOperand(), DecodeGPRspRegisterClass(), DecodeT2SOImm(), llvm::MCDisassembler::Fail, Insn, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 5948 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecoderGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getNumOperands(), Insn, and llvm::MCInst::setOpcode().
|
static |
|
static |
Definition at line 2885 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), Insn, llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
|
static |
Definition at line 3969 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
Referenced by DecodeThumb2BCCInstruction().
|
static |
Definition at line 2615 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, Insn, mode, llvm::MCInst::setOpcode(), llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2659 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), Insn, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 4501 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 4425 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
Referenced by DecodeT2AddrModeImm7s4().
|
static |
Definition at line 4488 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
Referenced by DecodeT2AddrModeImm8().
|
static |
Definition at line 4411 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
Referenced by DecodeT2AddrModeImm8s4().
|
static |
Definition at line 5876 of file ARMDisassembler.cpp.
References Check, DecoderGPRRegisterClass(), DecodeT2AddrModeImm8s4(), llvm::MCDisassembler::Fail, Insn, P, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4598 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecodeT2AddrModeImm8(), DecodeT2LoadLabel(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, load, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 4237 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecodeT2AddrModeImm12(), DecodeT2LoadLabel(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 4152 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecodeT2AddrModeImm8(), DecodeT2LoadLabel(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 4357 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
Referenced by DecodeT2LdStPre(), DecodeT2LoadImm12(), DecodeT2LoadImm8(), DecodeT2LoadShift(), and DecodeT2LoadT().
|
static |
Definition at line 4068 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecodeT2AddrModeSOReg(), DecodeT2LoadLabel(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 4318 of file ARMDisassembler.cpp.
References Check, DecoderGPRRegisterClass(), DecodeT2AddrModeImm8(), DecodeT2LoadLabel(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2683 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecoderGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
|
static |
Definition at line 5974 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
|
static |
Definition at line 4892 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
Referenced by DecodeT2AddSubSPImm().
|
static |
Definition at line 5913 of file ARMDisassembler.cpp.
References Check, DecoderGPRRegisterClass(), DecodeT2AddrModeImm8s4(), llvm::MCDisassembler::Fail, Insn, P, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4563 of file ARMDisassembler.cpp.
References Check, DecodetGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 3898 of file ARMDisassembler.cpp.
References Check, DecodeDPairRegisterClass(), DecodeDPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, op, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1446 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6414 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeMVEOverlappingLongShift().
|
static |
Definition at line 6403 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeMVEOverlappingLongShift().
|
static |
Definition at line 1390 of file ARMDisassembler.cpp.
References DecodeGPRRegisterClass(), and llvm::MCDisassembler::Fail.
Referenced by DecodeMVE_MEM_1_pre(), DecodeTAddrModeImm7(), DecodeThumbAddrModeIS(), DecodeThumbAddrModeRR(), and DecodeThumbAddSpecialReg().
|
static |
Definition at line 4849 of file ARMDisassembler.cpp.
References Check, DecodeMemBarrierOption(), DecodePredicateOperand(), DecodeT2BROperand(), llvm::MCDisassembler::Fail, Insn, pred, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 4003 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodetGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4018 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Success, and tryAddingPcLoadReferenceComment().
|
static |
Definition at line 3987 of file ARMDisassembler.cpp.
References Check, DecodetGPRRegisterClass(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4029 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 3935 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodetGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4687 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4699 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createReg(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4923 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
|
static |
Definition at line 4932 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
|
static |
Definition at line 4790 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
|
static |
Definition at line 3960 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
|
static |
Definition at line 3978 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
|
static |
Definition at line 4725 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 4831 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecoderGPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2192 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::ARM_TSB::CSYNC, llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2765 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecodePredicateOperand(), DecodeSETPANInstruction(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6012 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeDPRRegisterClass(), DecodeVMOVModImmInstruction(), llvm::MCDisassembler::Fail, Insn, op, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 6634 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
Referenced by DecodeMVEVCVTt1fp().
|
static |
Definition at line 6071 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeQPRRegisterClass(), DecodeVMOVModImmInstruction(), llvm::MCDisassembler::Fail, Insn, op, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 3563 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeDPairRegisterClass(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm::size(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 5247 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, llvm::size(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 3611 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeDPairRegisterClass(), DecodeDPairSpacedRegisterClass(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm::size(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 5379 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, llvm::size(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 3660 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 5509 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, llvm::size(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 3696 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, llvm::size(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 5642 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, llvm::size(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2960 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(), Insn, and llvm::MCDisassembler::Success.
Referenced by DecodeVLDST1Instruction(), DecodeVLDST2Instruction(), DecodeVLDST3Instruction(), and DecodeVLDST4Instruction().
|
static |
Definition at line 3237 of file ARMDisassembler.cpp.
References DecodeVLDInstruction(), DecodeVSTInstruction(), llvm::MCDisassembler::Fail, Insn, and load.
|
static |
Definition at line 3251 of file ARMDisassembler.cpp.
References DecodeVLDInstruction(), DecodeVSTInstruction(), llvm::MCDisassembler::Fail, Insn, load, and llvm::size().
|
static |
Definition at line 3267 of file ARMDisassembler.cpp.
References DecodeVLDInstruction(), DecodeVSTInstruction(), llvm::MCDisassembler::Fail, Insn, load, and llvm::size().
|
static |
Definition at line 3281 of file ARMDisassembler.cpp.
References DecodeVLDInstruction(), DecodeVSTInstruction(), llvm::MCDisassembler::Fail, Insn, load, and llvm::size().
|
static |
Definition at line 3749 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeDPRRegisterClass(), DecodeQPRRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, and llvm::MCDisassembler::Success.
Referenced by DecodeVCVTD(), and DecodeVCVTQ().
|
static |
Definition at line 5821 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecodePredicateOperand(), DecodeSPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 5795 of file ARMDisassembler.cpp.
References Check, DecodeGPRRegisterClass(), DecodePredicateOperand(), DecodeSPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, pred, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 6557 of file ARMDisassembler.cpp.
References llvm::MCDisassembler::Success.
|
static |
Definition at line 6543 of file ARMDisassembler.cpp.
References llvm::MCDisassembler::Success.
|
static |
Definition at line 6512 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 6443 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::ARMCC::AL, Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeDPRRegListOperand(), DecodeSPRRegListOperand(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 3850 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), DecodeDPRRegisterClass(), DecodeQPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, llvm::size(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 5314 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, llvm::size(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 5446 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, llvm::size(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 5579 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, llvm::size(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 5723 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeDPRRegisterClass(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, Insn, llvm::size(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 3292 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(), Insn, and llvm::MCDisassembler::Success.
Referenced by DecodeVLDST1Instruction(), DecodeVLDST2Instruction(), DecodeVLDST3Instruction(), and DecodeVLDST4Instruction().
|
static |
Definition at line 6678 of file ARMDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::ARMCC::AL, Check, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeGPRnopcRegisterClass(), DecodeT2AddrModeImm7s4(), llvm::MCDisassembler::Fail, FixedRegForVSTRVLDR_SYSREG(), llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
Definition at line 6663 of file ARMDisassembler.cpp.
Referenced by DecodeVSTRVLDR_SYSREG().
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeARMDisassembler | ( | ) |
Definition at line 1271 of file ARMDisassembler.cpp.
References createARMDisassembler(), llvm::getTheARMBETarget(), llvm::getTheARMLETarget(), llvm::getTheThumbBETarget(), llvm::getTheThumbLETarget(), and llvm::TargetRegistry::RegisterMCDisassembler().
|
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 878 of file ARMDisassembler.cpp.
References llvm::MCDisassembler::tryAddingPcLoadReferenceComment().
Referenced by DecodeAddrModeImm12Operand(), and DecodeThumbAddrModePC().
|
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 859 of file ARMDisassembler.cpp.
References isBranch(), MI, and llvm::MCDisassembler::tryAddingSymbolicOperand().
Referenced by DecodeArmMOVTWInstruction(), DecodeBFAfterTargetOperand(), DecodeBFLabelOperand(), decodeBranch(), DecodeBranchImmInstruction(), DecodeT2BInstruction(), DecodeT2BROperand(), DecodeT2MOVTWInstruction(), DecodeThumbBCCTargetOperand(), DecodeThumbBLTargetOperand(), DecodeThumbBLXOffset(), DecodeThumbBROperand(), and DecodeThumbCmpBROperand().
Definition at line 1289 of file ARMDisassembler.cpp.
Referenced by DecodeCLRMGPRRegisterClass().
Definition at line 1590 of file ARMDisassembler.cpp.
Referenced by DecodeDPairRegisterClass().
Definition at line 1610 of file ARMDisassembler.cpp.
Referenced by DecodeDPairSpacedRegisterClass().
Definition at line 1520 of file ARMDisassembler.cpp.
Referenced by DecodeDPRRegisterClass().
Definition at line 1282 of file ARMDisassembler.cpp.
Referenced by DecodeGPRRegisterClass(), DecodeGPRspRegisterClass(), DecodeGPRwithAPSR_NZCVnospRegisterClass(), decodeRiMemoryValue(), decodeRrMemoryValue(), decodeSplsValue(), DecodetGPREvenRegisterClass(), and DecodetGPROddRegisterClass().
Definition at line 1398 of file ARMDisassembler.cpp.
Referenced by DecodeGPRPairnospRegisterClass(), and DecodeGPRPairRegisterClass().
Definition at line 1571 of file ARMDisassembler.cpp.
Referenced by DecodeMQPRRegisterClass(), and DecodeQPRRegisterClass().
Definition at line 6480 of file ARMDisassembler.cpp.
Referenced by DecodeMQQPRRegisterClass().
Definition at line 6496 of file ARMDisassembler.cpp.
Referenced by DecodeMQQQQPRRegisterClass().
Definition at line 1492 of file ARMDisassembler.cpp.
Referenced by DecodeSPRRegisterClass().