Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
Macros |Typedefs |Functions |Variables
AArch64Disassembler.cpp File Reference
#include "AArch64Disassembler.h"
#include "AArch64ExternalSymbolizer.h"
#include "MCTargetDesc/AArch64AddressingModes.h"
#include "MCTargetDesc/AArch64MCTargetDesc.h"
#include "TargetInfo/AArch64TargetInfo.h"
#include "Utils/AArch64BaseInfo.h"
#include "llvm/MC/MCDecoderOps.h"
#include "llvm/MC/MCDisassembler/MCRelocationInfo.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include <memory>
#include "AArch64GenDisassemblerTables.inc"
#include "AArch64GenInstrInfo.inc"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "aarch64-disassembler"
 
#define Success   MCDisassembler::Success
 
#define Fail   MCDisassembler::Fail
 
#define SoftFail   MCDisassembler::SoftFail
 

Typedefs

using DecodeStatus =MCDisassembler::DecodeStatus
 

Functions

template<unsigned RegClassID,unsigned FirstReg,unsigned NumRegsInClass>
staticDecodeStatus DecodeSimpleRegisterClass (MCInst &Inst,unsigned RegNo,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeGPR64x8ClassRegisterClass (MCInst &Inst,unsigned RegNo,uint64_t Address,constMCDisassembler *Decoder)
 
template<unsigned Min,unsigned Max>
staticDecodeStatus DecodeZPRMul2_MinMax (MCInst &Inst,unsigned RegNo,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeZK (MCInst &Inst,unsigned RegNo,uint64_t Address,constMCDisassembler *Decoder)
 
template<unsigned Min,unsigned Max>
staticDecodeStatus DecodeZPR2Mul2RegisterClass (MCInst &Inst,unsigned RegNo,uint64_t Address,const void *Decoder)
 
staticDecodeStatus DecodeZPR4Mul4RegisterClass (MCInst &Inst,unsigned RegNo,uint64_t Address,const void *Decoder)
 
template<unsigned NumBitsForTile>
staticDecodeStatus DecodeMatrixTile (MCInst &Inst,unsigned RegNo,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeMatrixTileListRegisterClass (MCInst &Inst,unsigned RegMask,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodePPR2Mul2RegisterClass (MCInst &Inst,unsigned RegNo,uint64_t Address,const void *Decoder)
 
staticDecodeStatus DecodeFixedPointScaleImm32 (MCInst &Inst,unsigned Imm,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeFixedPointScaleImm64 (MCInst &Inst,unsigned Imm,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodePCRelLabel16 (MCInst &Inst,unsigned Imm,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodePCRelLabel19 (MCInst &Inst,unsigned Imm,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodePCRelLabel9 (MCInst &Inst,unsigned Imm,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeMemExtend (MCInst &Inst,unsigned Imm,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeMRSSystemRegister (MCInst &Inst,unsigned Imm,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeMSRSystemRegister (MCInst &Inst,unsigned Imm,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeThreeAddrSRegInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeMoveImmInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeUnsignedLdStInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeSignedLdStInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeExclusiveLdStInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodePairLdStInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeAuthLoadInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeAddSubERegInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeLogicalImmInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeModImmInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeModImmTiedInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeAdrInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeAddSubImmShift (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeUnconditionalBranch (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeSystemPStateImm0_15Instruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeSystemPStateImm0_1Instruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeTestAndBranch (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeFMOVLaneInstruction (MCInst &Inst,unsignedInsn,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeVecShiftR64Imm (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeVecShiftR64ImmNarrow (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeVecShiftR32Imm (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeVecShiftR32ImmNarrow (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeVecShiftR16Imm (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeVecShiftR16ImmNarrow (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeVecShiftR8Imm (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeVecShiftL64Imm (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeVecShiftL32Imm (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeVecShiftL16Imm (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeVecShiftL8Imm (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeWSeqPairsClassRegisterClass (MCInst &Inst,unsigned RegNo,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeXSeqPairsClassRegisterClass (MCInst &Inst,unsigned RegNo,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeSyspXzrInstruction (MCInst &Inst,uint32_t insn,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeSVELogicalImmInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
template<int Bits>
staticDecodeStatus DecodeSImm (MCInst &Inst,uint64_t Imm,uint64_t Address,constMCDisassembler *Decoder)
 
template<int ElementWidth>
staticDecodeStatus DecodeImm8OptLsl (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeSVEIncDecImm (MCInst &Inst,unsigned Imm,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeSVCROp (MCInst &Inst,unsigned Imm,uint64_t Address,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeCPYMemOpInstruction (MCInst &Inst,uint32_t insn,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodeSETMemOpInstruction (MCInst &Inst,uint32_t insn,uint64_tAddr,constMCDisassembler *Decoder)
 
staticDecodeStatus DecodePRFMRegInstruction (MCInst &Inst,uint32_t insn,uint64_t Address,constMCDisassembler *Decoder)
 
staticMCDisassemblercreateAArch64Disassembler (constTarget &T,constMCSubtargetInfo &STI,MCContext &Ctx)
 
staticMCSymbolizercreateAArch64ExternalSymbolizer (constTriple &TT,LLVMOpInfoCallback GetOpInfo,LLVMSymbolLookupCallback SymbolLookUp, void *DisInfo,MCContext *Ctx, std::unique_ptr<MCRelocationInfo > &&RelInfo)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAArch64Disassembler ()
 
staticDecodeStatus DecodeVecShiftRImm (MCInst &Inst,unsigned Imm,unsigned Add)
 
staticDecodeStatus DecodeVecShiftLImm (MCInst &Inst,unsigned Imm,unsigned Add)
 
staticbool isInvalidPState (uint64_t Op1,uint64_t Op2)
 
staticDecodeStatus DecodeGPRSeqPairsClassRegisterClass (MCInst &Inst,unsigned RegClassID,unsigned RegNo,uint64_tAddr,constMCDisassembler *Decoder)
 

Variables

staticconstMCPhysReg MatrixZATileDecoderTable [5][16]
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "aarch64-disassembler"

Definition at line31 of fileAArch64Disassembler.cpp.

◆ Fail

#define Fail   MCDisassembler::Fail

Definition at line221 of fileAArch64Disassembler.cpp.

◆ SoftFail

#define SoftFail   MCDisassembler::SoftFail

Definition at line222 of fileAArch64Disassembler.cpp.

◆ Success

#define Success   MCDisassembler::Success

Definition at line220 of fileAArch64Disassembler.cpp.

Typedef Documentation

◆ DecodeStatus

usingDecodeStatus =MCDisassembler::DecodeStatus

Definition at line34 of fileAArch64Disassembler.cpp.

Function Documentation

◆ createAArch64Disassembler()

staticMCDisassembler * createAArch64Disassembler(constTargetT,
constMCSubtargetInfoSTI,
MCContextCtx 
)
static

Definition at line224 of fileAArch64Disassembler.cpp.

Referenced byLLVMInitializeAArch64Disassembler().

◆ createAArch64ExternalSymbolizer()

staticMCSymbolizer * createAArch64ExternalSymbolizer(constTripleTT,
LLVMOpInfoCallback GetOpInfo,
LLVMSymbolLookupCallback SymbolLookUp,
void * DisInfo,
MCContextCtx,
std::unique_ptr<MCRelocationInfo > && RelInfo 
)
static

Definition at line305 of fileAArch64Disassembler.cpp.

Referenced byLLVMInitializeAArch64Disassembler().

◆ DecodeAddSubERegInstruction()

staticDecodeStatus DecodeAddSubERegInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1325 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Fail,llvm::MCInst::getOpcode(), andSuccess.

◆ DecodeAddSubImmShift()

staticDecodeStatus DecodeAddSubImmShift(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1517 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Fail,Success, andllvm::MCDisassembler::tryAddingSymbolicOperand().

◆ DecodeAdrInstruction()

staticDecodeStatus DecodeAdrInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1498 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Fail,Success, andllvm::MCDisassembler::tryAddingSymbolicOperand().

◆ DecodeAuthLoadInstruction()

staticDecodeStatus DecodeAuthLoadInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1290 of fileAArch64Disassembler.cpp.

ReferencesAddr,Fail,llvm::MCInst::getOpcode(),SoftFail, andSuccess.

◆ DecodeCPYMemOpInstruction()

staticDecodeStatus DecodeCPYMemOpInstruction(MCInstInst,
uint32_t insn,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line1757 of fileAArch64Disassembler.cpp.

ReferencesAddr,llvm::MCDisassembler::Fail, andllvm::MCDisassembler::Success.

◆ DecodeExclusiveLdStInstruction()

staticDecodeStatus DecodeExclusiveLdStInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1027 of fileAArch64Disassembler.cpp.

ReferencesAddr,Fail,llvm::MCInst::getOpcode(),SoftFail, andSuccess.

◆ DecodeFixedPointScaleImm32()

staticDecodeStatus DecodeFixedPointScaleImm32(MCInstInst,
unsigned Imm,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line458 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createImm(), andSuccess.

◆ DecodeFixedPointScaleImm64()

staticDecodeStatus DecodeFixedPointScaleImm64(MCInstInst,
unsigned Imm,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line467 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createImm(), andSuccess.

◆ DecodeFMOVLaneInstruction()

staticDecodeStatus DecodeFMOVLaneInstruction(MCInstInst,
unsigned Insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line544 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::Address,llvm::MCOperand::createImm(),Insn, andSuccess.

◆ DecodeGPR64x8ClassRegisterClass()

staticDecodeStatus DecodeGPR64x8ClassRegisterClass(MCInstInst,
unsigned RegNo,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line351 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createReg(),Fail, andSuccess.

◆ DecodeGPRSeqPairsClassRegisterClass()

staticDecodeStatus DecodeGPRSeqPairsClassRegisterClass(MCInstInst,
unsigned RegClassID,
unsigned RegNo,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line1648 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createReg(),Fail, andSuccess.

Referenced byDecodeWSeqPairsClassRegisterClass(), andDecodeXSeqPairsClassRegisterClass().

◆ DecodeImm8OptLsl()

template<int ElementWidth>
staticDecodeStatus DecodeImm8OptLsl(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line1729 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createImm(),Fail, andSuccess.

◆ DecodeLogicalImmInstruction()

staticDecodeStatus DecodeLogicalImmInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1400 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Fail,llvm::MCInst::getOpcode(),llvm::AArch64_AM::isValidDecodeLogicalImmediate(), andSuccess.

◆ DecodeMatrixTile()

template<unsigned NumBitsForTile>
staticDecodeStatus DecodeMatrixTile(MCInstInst,
unsigned RegNo,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line436 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createReg(),Fail,MatrixZATileDecoderTable, andSuccess.

◆ DecodeMatrixTileListRegisterClass()

staticDecodeStatus DecodeMatrixTileListRegisterClass(MCInstInst,
unsigned RegMask,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line415 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createImm(),Fail, andSuccess.

◆ DecodeMemExtend()

staticDecodeStatus DecodeMemExtend(MCInstInst,
unsigned Imm,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line518 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createImm(), andSuccess.

Referenced byDecodePRFMRegInstruction().

◆ DecodeModImmInstruction()

staticDecodeStatus DecodeModImmInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1437 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),llvm::MCInst::getOpcode(), andSuccess.

◆ DecodeModImmTiedInstruction()

staticDecodeStatus DecodeModImmTiedInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1478 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(), andSuccess.

◆ DecodeMoveImmInstruction()

staticDecodeStatus DecodeMoveImmInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line717 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Fail,llvm::MCInst::getOpcode(),llvm::MCInst::getOperand(), andSuccess.

◆ DecodeMRSSystemRegister()

staticDecodeStatus DecodeMRSSystemRegister(MCInstInst,
unsigned Imm,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line526 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createImm(), andSuccess.

◆ DecodeMSRSystemRegister()

staticDecodeStatus DecodeMSRSystemRegister(MCInstInst,
unsigned Imm,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line536 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createImm(), andSuccess.

◆ DecodePairLdStInstruction()

staticDecodeStatus DecodePairLdStInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1120 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Fail,llvm::MCInst::getOpcode(),SoftFail, andSuccess.

◆ DecodePCRelLabel16()

staticDecodeStatus DecodePCRelLabel16(MCInstInst,
unsigned Imm,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line474 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Fail,Success, andllvm::MCDisassembler::tryAddingSymbolicOperand().

◆ DecodePCRelLabel19()

staticDecodeStatus DecodePCRelLabel19(MCInstInst,
unsigned Imm,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line489 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),llvm::MCInst::getOpcode(),Success, andllvm::MCDisassembler::tryAddingSymbolicOperand().

◆ DecodePCRelLabel9()

staticDecodeStatus DecodePCRelLabel9(MCInstInst,
unsigned Imm,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line504 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Success, andllvm::MCDisassembler::tryAddingSymbolicOperand().

◆ DecodePPR2Mul2RegisterClass()

staticDecodeStatus DecodePPR2Mul2RegisterClass(MCInstInst,
unsigned RegNo,
uint64_t Address,
const void * Decoder 
)
static

Definition at line447 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createReg(),Fail, andSuccess.

◆ DecodePRFMRegInstruction()

staticDecodeStatus DecodePRFMRegInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1817 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),DecodeMemExtend(),Fail,llvm::MCInst::getOpcode(), andSuccess.

◆ DecodeSETMemOpInstruction()

staticDecodeStatus DecodeSETMemOpInstruction(MCInstInst,
uint32_t insn,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line1788 of fileAArch64Disassembler.cpp.

ReferencesAddr,llvm::MCDisassembler::Fail, andllvm::MCDisassembler::Success.

◆ DecodeSignedLdStInstruction()

staticDecodeStatus DecodeSignedLdStInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line819 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Fail,llvm::MCInst::getOpcode(),SoftFail, andSuccess.

◆ DecodeSImm()

template<int Bits>
staticDecodeStatus DecodeSImm(MCInstInst,
uint64_t Imm,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1714 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createImm(),Fail, andSuccess.

◆ DecodeSimpleRegisterClass()

template<unsigned RegClassID,unsigned FirstReg,unsigned NumRegsInClass>
staticDecodeStatus DecodeSimpleRegisterClass(MCInstInst,
unsigned RegNo,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line338 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createReg(),Fail, andSuccess.

◆ DecodeSVCROp()

staticDecodeStatus DecodeSVCROp(MCInstInst,
unsigned Imm,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1748 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createImm(),Fail, andSuccess.

◆ DecodeSVEIncDecImm()

staticDecodeStatus DecodeSVEIncDecImm(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line1741 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createImm(), andSuccess.

◆ DecodeSVELogicalImmInstruction()

staticDecodeStatus DecodeSVELogicalImmInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1696 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Fail,llvm::MCInst::getOpcode(),llvm::AArch64_AM::isValidDecodeLogicalImmediate(), andSuccess.

◆ DecodeSyspXzrInstruction()

staticDecodeStatus DecodeSyspXzrInstruction(MCInstInst,
uint32_t insn,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line1674 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Fail, andSuccess.

◆ DecodeSystemPStateImm0_15Instruction()

staticDecodeStatus DecodeSystemPStateImm0_15Instruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1580 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createImm(),Fail,llvm::MCSubtargetInfo::getFeatureBits(),llvm::MCDisassembler::getSubtargetInfo(),isInvalidPState(), andSuccess.

◆ DecodeSystemPStateImm0_1Instruction()

staticDecodeStatus DecodeSystemPStateImm0_1Instruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1601 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createImm(),Fail,llvm::MCSubtargetInfo::getFeatureBits(),llvm::MCDisassembler::getSubtargetInfo(),isInvalidPState(), andSuccess.

◆ DecodeTestAndBranch()

staticDecodeStatus DecodeTestAndBranch(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1622 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Success, andllvm::MCDisassembler::tryAddingSymbolicOperand().

◆ DecodeThreeAddrSRegInstruction()

staticDecodeStatus DecodeThreeAddrSRegInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line650 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Fail,llvm::MCInst::getOpcode(), andSuccess.

◆ DecodeUnconditionalBranch()

staticDecodeStatus DecodeUnconditionalBranch(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line1558 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Success, andllvm::MCDisassembler::tryAddingSymbolicOperand().

◆ DecodeUnsignedLdStInstruction()

staticDecodeStatus DecodeUnsignedLdStInstruction(MCInstInst,
uint32_t insn,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line753 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),Addr,llvm::MCOperand::createImm(),Fail,llvm::MCInst::getOpcode(),Success, andllvm::MCDisassembler::tryAddingSymbolicOperand().

◆ DecodeVecShiftL16Imm()

staticDecodeStatus DecodeVecShiftL16Imm(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line637 of fileAArch64Disassembler.cpp.

ReferencesDecodeVecShiftLImm().

◆ DecodeVecShiftL32Imm()

staticDecodeStatus DecodeVecShiftL32Imm(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line631 of fileAArch64Disassembler.cpp.

ReferencesDecodeVecShiftLImm().

◆ DecodeVecShiftL64Imm()

staticDecodeStatus DecodeVecShiftL64Imm(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line625 of fileAArch64Disassembler.cpp.

ReferencesDecodeVecShiftLImm().

◆ DecodeVecShiftL8Imm()

staticDecodeStatus DecodeVecShiftL8Imm(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line643 of fileAArch64Disassembler.cpp.

ReferencesDecodeVecShiftLImm().

◆ DecodeVecShiftLImm()

staticDecodeStatus DecodeVecShiftLImm(MCInstInst,
unsigned Imm,
unsigned Add 
)
static

Definition at line577 of fileAArch64Disassembler.cpp.

Referencesllvm::Add,llvm::MCInst::addOperand(),llvm::MCOperand::createImm(), andSuccess.

Referenced byDecodeVecShiftL16Imm(),DecodeVecShiftL32Imm(),DecodeVecShiftL64Imm(), andDecodeVecShiftL8Imm().

◆ DecodeVecShiftR16Imm()

staticDecodeStatus DecodeVecShiftR16Imm(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line607 of fileAArch64Disassembler.cpp.

ReferencesDecodeVecShiftRImm().

◆ DecodeVecShiftR16ImmNarrow()

staticDecodeStatus DecodeVecShiftR16ImmNarrow(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line613 of fileAArch64Disassembler.cpp.

ReferencesDecodeVecShiftRImm().

◆ DecodeVecShiftR32Imm()

staticDecodeStatus DecodeVecShiftR32Imm(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line595 of fileAArch64Disassembler.cpp.

ReferencesDecodeVecShiftRImm().

◆ DecodeVecShiftR32ImmNarrow()

staticDecodeStatus DecodeVecShiftR32ImmNarrow(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line601 of fileAArch64Disassembler.cpp.

ReferencesDecodeVecShiftRImm().

◆ DecodeVecShiftR64Imm()

staticDecodeStatus DecodeVecShiftR64Imm(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line583 of fileAArch64Disassembler.cpp.

ReferencesDecodeVecShiftRImm().

◆ DecodeVecShiftR64ImmNarrow()

staticDecodeStatus DecodeVecShiftR64ImmNarrow(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line589 of fileAArch64Disassembler.cpp.

ReferencesDecodeVecShiftRImm().

◆ DecodeVecShiftR8Imm()

staticDecodeStatus DecodeVecShiftR8Imm(MCInstInst,
unsigned Imm,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line619 of fileAArch64Disassembler.cpp.

ReferencesDecodeVecShiftRImm().

◆ DecodeVecShiftRImm()

staticDecodeStatus DecodeVecShiftRImm(MCInstInst,
unsigned Imm,
unsigned Add 
)
static

Definition at line571 of fileAArch64Disassembler.cpp.

Referencesllvm::Add,llvm::MCInst::addOperand(),llvm::MCOperand::createImm(), andSuccess.

Referenced byDecodeVecShiftR16Imm(),DecodeVecShiftR16ImmNarrow(),DecodeVecShiftR32Imm(),DecodeVecShiftR32ImmNarrow(),DecodeVecShiftR64Imm(),DecodeVecShiftR64ImmNarrow(), andDecodeVecShiftR8Imm().

◆ DecodeWSeqPairsClassRegisterClass()

staticDecodeStatus DecodeWSeqPairsClassRegisterClass(MCInstInst,
unsigned RegNo,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line1661 of fileAArch64Disassembler.cpp.

ReferencesAddr, andDecodeGPRSeqPairsClassRegisterClass().

◆ DecodeXSeqPairsClassRegisterClass()

staticDecodeStatus DecodeXSeqPairsClassRegisterClass(MCInstInst,
unsigned RegNo,
uint64_t Addr,
constMCDisassemblerDecoder 
)
static

Definition at line1668 of fileAArch64Disassembler.cpp.

ReferencesAddr, andDecodeGPRSeqPairsClassRegisterClass().

◆ DecodeZK()

staticDecodeStatus DecodeZK(MCInstInst,
unsigned RegNo,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line392 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createReg(),Fail, andSuccess.

◆ DecodeZPR2Mul2RegisterClass()

template<unsigned Min,unsigned Max>
staticDecodeStatus DecodeZPR2Mul2RegisterClass(MCInstInst,
unsigned RegNo,
uint64_t Address,
const void * Decoder 
)
static

Definition at line379 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createReg(),Fail, andSuccess.

◆ DecodeZPR4Mul4RegisterClass()

staticDecodeStatus DecodeZPR4Mul4RegisterClass(MCInstInst,
unsigned RegNo,
uint64_t Address,
const void * Decoder 
)
static

Definition at line403 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createReg(),Fail, andSuccess.

◆ DecodeZPRMul2_MinMax()

template<unsigned Min,unsigned Max>
staticDecodeStatus DecodeZPRMul2_MinMax(MCInstInst,
unsigned RegNo,
uint64_t Address,
constMCDisassemblerDecoder 
)
static

Definition at line366 of fileAArch64Disassembler.cpp.

Referencesllvm::MCInst::addOperand(),llvm::MCOperand::createReg(),Fail, andSuccess.

◆ isInvalidPState()

staticbool isInvalidPState(uint64_t Op1,
uint64_t Op2 
)
static

Definition at line1573 of fileAArch64Disassembler.cpp.

Referenced byDecodeSystemPStateImm0_15Instruction(), andDecodeSystemPStateImm0_1Instruction().

◆ LLVMInitializeAArch64Disassembler()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAArch64Disassembler()

Definition at line313 of fileAArch64Disassembler.cpp.

ReferencescreateAArch64Disassembler(),createAArch64ExternalSymbolizer(),llvm::getTheAArch64_32Target(),llvm::getTheAArch64beTarget(),llvm::getTheAArch64leTarget(),llvm::getTheARM64_32Target(),llvm::getTheARM64Target(),llvm::TargetRegistry::RegisterMCDisassembler(), andllvm::TargetRegistry::RegisterMCSymbolizer().

Variable Documentation

◆ MatrixZATileDecoderTable

constMCPhysReg MatrixZATileDecoderTable[5][16]
static
Initial value:
= {
{AArch64::ZAB0},
{AArch64::ZAH0, AArch64::ZAH1},
{AArch64::ZAS0, AArch64::ZAS1, AArch64::ZAS2, AArch64::ZAS3},
{AArch64::ZAD0, AArch64::ZAD1, AArch64::ZAD2, AArch64::ZAD3, AArch64::ZAD4,
AArch64::ZAD5, AArch64::ZAD6, AArch64::ZAD7},
{AArch64::ZAQ0, AArch64::ZAQ1, AArch64::ZAQ2, AArch64::ZAQ3, AArch64::ZAQ4,
AArch64::ZAQ5, AArch64::ZAQ6, AArch64::ZAQ7, AArch64::ZAQ8, AArch64::ZAQ9,
AArch64::ZAQ10, AArch64::ZAQ11, AArch64::ZAQ12, AArch64::ZAQ13,
AArch64::ZAQ14, AArch64::ZAQ15}}

Definition at line424 of fileAArch64Disassembler.cpp.

Referenced byDecodeMatrixTile().


Generated on Sun Jul 20 2025 15:03:15 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp