LLVM 20.0.0git
|
This file is part of the XCore Disassembler. More...
#include "TargetInfo/XCoreTargetInfo.h"
#include "XCore.h"
#include "XCoreRegisterInfo.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/MCSubtargetInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "XCoreGenDisassemblerTables.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "xcore-disassembler" |
Typedefs | |
typedef MCDisassembler::DecodeStatus | DecodeStatus |
This file is part of the XCore Disassembler.
Definition in file XCoreDisassembler.cpp.
#define DEBUG_TYPE "xcore-disassembler" |
Definition at line 26 of file XCoreDisassembler.cpp.
Definition at line 28 of file XCoreDisassembler.cpp.
|
static |
Definition at line 747 of file XCoreDisassembler.cpp.
Referenced by LLVMInitializeXCoreDisassembler().
|
static |
Definition at line 216 of file XCoreDisassembler.cpp.
References llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
Referenced by Decode2RImmInstruction(), Decode2RInstruction(), Decode2RSrcDstInstruction(), DecodeL2RInstruction(), DecodeL5RInstruction(), DecodeLR2RInstruction(), DecodeR2RInstruction(), DecodeRUSBitpInstruction(), DecodeRUSInstruction(), and DecodeRUSSrcDstBitpInstruction().
|
static |
Definition at line 249 of file XCoreDisassembler.cpp.
References Address, Decode2RUSBitpInstruction(), Decode2RUSInstruction(), Decode3RImmInstruction(), Decode3RInstruction(), llvm::MCDisassembler::Fail, Insn, and llvm::MCInst::setOpcode().
Referenced by Decode2RImmInstruction(), Decode2RInstruction(), Decode2RSrcDstInstruction(), DecodeR2RInstruction(), DecodeRUSBitpInstruction(), DecodeRUSInstruction(), and DecodeRUSSrcDstBitpInstruction().
|
static |
Definition at line 332 of file XCoreDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createImm(), Decode2OpInstruction(), Decode2OpInstructionFail(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 319 of file XCoreDisassembler.cpp.
References Address, Decode2OpInstruction(), Decode2OpInstructionFail(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 358 of file XCoreDisassembler.cpp.
References Address, Decode2OpInstruction(), Decode2OpInstructionFail(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 550 of file XCoreDisassembler.cpp.
References Address, Decode3OpInstruction(), DecodeBitpOperand(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
Referenced by Decode2OpInstructionFail().
|
static |
Definition at line 537 of file XCoreDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createImm(), Decode3OpInstruction(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
Referenced by Decode2OpInstructionFail().
|
static |
Definition at line 234 of file XCoreDisassembler.cpp.
References llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
Referenced by Decode2RUSBitpInstruction(), Decode2RUSInstruction(), Decode3RImmInstruction(), Decode3RInstruction(), DecodeL2RUSBitpInstruction(), DecodeL2RUSInstruction(), DecodeL3RInstruction(), DecodeL3RSrcDstInstruction(), DecodeL4RSrcDstInstruction(), DecodeL4RSrcDstSrcDstInstruction(), DecodeL5RInstruction(), and DecodeL6RInstruction().
|
static |
Definition at line 524 of file XCoreDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createImm(), Decode3OpInstruction(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
Referenced by Decode2OpInstructionFail().
|
static |
Definition at line 511 of file XCoreDisassembler.cpp.
References Address, Decode3OpInstruction(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
Referenced by Decode2OpInstructionFail().
|
static |
Definition at line 196 of file XCoreDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by Decode2RUSBitpInstruction(), DecodeL2RUSBitpInstruction(), DecodeRUSBitpInstruction(), and DecodeRUSSrcDstBitpInstruction().
|
static |
Definition at line 176 of file XCoreDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
Referenced by Decode2RImmInstruction(), Decode2RInstruction(), Decode2RSrcDstInstruction(), Decode2RUSBitpInstruction(), Decode2RUSInstruction(), Decode3RImmInstruction(), Decode3RInstruction(), DecodeL2RInstruction(), DecodeL2RUSBitpInstruction(), DecodeL2RUSInstruction(), DecodeL3RInstruction(), DecodeL3RSrcDstInstruction(), DecodeL4RSrcDstInstruction(), DecodeL4RSrcDstSrcDstInstruction(), DecodeL5RInstruction(), DecodeL6RInstruction(), DecodeLR2RInstruction(), DecodeR2RInstruction(), DecodeRUSBitpInstruction(), DecodeRUSInstruction(), and DecodeRUSSrcDstBitpInstruction().
|
static |
Definition at line 412 of file XCoreDisassembler.cpp.
References Address, DecodeL2RUSBitpInstruction(), DecodeL2RUSInstruction(), DecodeL3RInstruction(), DecodeL3RSrcDstInstruction(), llvm::MCDisassembler::Fail, Insn, and llvm::MCInst::setOpcode().
Referenced by DecodeL2RInstruction(), and DecodeLR2RInstruction().
|
static |
Definition at line 483 of file XCoreDisassembler.cpp.
References Address, Decode2OpInstruction(), DecodeGRRegsRegisterClass(), DecodeL2OpInstructionFail(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 606 of file XCoreDisassembler.cpp.
References Address, Decode3OpInstruction(), DecodeBitpOperand(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
Referenced by DecodeL2OpInstructionFail().
|
static |
Definition at line 592 of file XCoreDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createImm(), Decode3OpInstruction(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
Referenced by DecodeL2OpInstructionFail().
|
static |
Definition at line 563 of file XCoreDisassembler.cpp.
References Address, Decode3OpInstruction(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
Referenced by DecodeL2OpInstructionFail().
|
static |
Definition at line 577 of file XCoreDisassembler.cpp.
References Address, Decode3OpInstruction(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
Referenced by DecodeL2OpInstructionFail().
|
static |
Definition at line 674 of file XCoreDisassembler.cpp.
References Address, Decode3OpInstruction(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 694 of file XCoreDisassembler.cpp.
References Address, Decode3OpInstruction(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 654 of file XCoreDisassembler.cpp.
References Address, Decode2OpInstruction(), Decode3OpInstruction(), DecodeGRRegsRegisterClass(), DecodeL5RInstructionFail(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 640 of file XCoreDisassembler.cpp.
References Address, llvm::MCInst::clear(), DecodeL6RInstruction(), llvm::MCDisassembler::Fail, Insn, and llvm::MCInst::setOpcode().
Referenced by DecodeL5RInstruction().
|
static |
Definition at line 620 of file XCoreDisassembler.cpp.
References Address, Decode3OpInstruction(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
Referenced by DecodeL5RInstructionFail().
|
static |
Definition at line 497 of file XCoreDisassembler.cpp.
References Address, Decode2OpInstruction(), DecodeGRRegsRegisterClass(), DecodeL2OpInstructionFail(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 208 of file XCoreDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 345 of file XCoreDisassembler.cpp.
References Address, Decode2OpInstruction(), Decode2OpInstructionFail(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 186 of file XCoreDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 385 of file XCoreDisassembler.cpp.
References Address, Decode2OpInstruction(), Decode2OpInstructionFail(), DecodeBitpOperand(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 372 of file XCoreDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createImm(), Decode2OpInstruction(), Decode2OpInstructionFail(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 399 of file XCoreDisassembler.cpp.
References Address, Decode2OpInstruction(), Decode2OpInstructionFail(), DecodeBitpOperand(), DecodeGRRegsRegisterClass(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 69 of file XCoreDisassembler.cpp.
References D.
Referenced by DecodeGRRegsRegisterClass(), and DecodeRRegsRegisterClass().
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeXCoreDisassembler | ( | ) |
Definition at line 753 of file XCoreDisassembler.cpp.
References createXCoreDisassembler(), llvm::getTheXCoreTarget(), and llvm::TargetRegistry::RegisterMCDisassembler().
|
static |
Definition at line 44 of file XCoreDisassembler.cpp.
References Insn, llvm::ArrayRef< T >::size(), and Size.