LLVM 20.0.0git
|
#include "MCTargetDesc/CSKYBaseInfo.h"
#include "MCTargetDesc/CSKYMCTargetDesc.h"
#include "TargetInfo/CSKYTargetInfo.h"
#include "llvm/ADT/DenseMap.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/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/Endian.h"
#include "CSKYGenDisassemblerTables.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "csky-disassembler" |
Typedefs | |
typedef MCDisassembler::DecodeStatus | DecodeStatus |
Variables | |
static const uint16_t | GPRDecoderTable [] |
static const uint16_t | GPRPairDecoderTable [] |
static const uint16_t | FPR32DecoderTable [] |
static const uint16_t | FPR64DecoderTable [] |
static const uint16_t | FPR128DecoderTable [] |
#define DEBUG_TYPE "csky-disassembler" |
Definition at line 29 of file CSKYDisassembler.cpp.
Definition at line 31 of file CSKYDisassembler.cpp.
|
static |
Definition at line 54 of file CSKYDisassembler.cpp.
Referenced by LLVMInitializeCSKYDisassembler().
|
static |
Definition at line 118 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, FPR32DecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeRegSeqOperandF2().
|
static |
Definition at line 158 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, FPR64DecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeRegSeqOperandD2().
|
static |
Definition at line 495 of file CSKYDisassembler.cpp.
References llvm::dbgs(), llvm::MCDisassembler::Fail, llvm::MCSubtargetInfo::hasFeature(), LLVM_DEBUG, and MI.
|
static |
Definition at line 212 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCDisassembler::getSubtargetInfo(), GPRPairDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 108 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeRegSeqOperand().
|
static |
Definition at line 202 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 361 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Log2_64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 257 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 244 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 190 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 236 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 276 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createReg(), DecodeGPRRegisterClass(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 310 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createReg(), DecodesFPR64RegisterClass(), llvm::MCDisassembler::Fail, FPR64DecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 344 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createReg(), DecodeFPR64RegisterClass(), llvm::MCDisassembler::Fail, FPR64DecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 293 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createReg(), DecodesFPR32RegisterClass(), llvm::MCDisassembler::Fail, FPR32DecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 327 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createReg(), DecodeFPR32RegisterClass(), llvm::MCDisassembler::Fail, FPR32DecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 170 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, FPR128DecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 128 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, FPR32DecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeRegSeqOperandF1().
|
static |
Definition at line 148 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, FPR64DecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 138 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, FPR64DecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeRegSeqOperandD1().
|
static |
Definition at line 180 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 369 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 227 of file CSKYDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeCSKYDisassembler | ( | ) |
Definition at line 60 of file CSKYDisassembler.cpp.
References createCSKYDisassembler(), llvm::getTheCSKYTarget(), and llvm::TargetRegistry::RegisterMCDisassembler().
Definition at line 99 of file CSKYDisassembler.cpp.
Referenced by DecodesFPR128RegisterClass().
Definition at line 81 of file CSKYDisassembler.cpp.
Referenced by DecodeFPR32RegisterClass(), DecodeRegSeqOperandF1(), DecodeRegSeqOperandF2(), and DecodesFPR32RegisterClass().
Definition at line 90 of file CSKYDisassembler.cpp.
Referenced by DecodeFPR64RegisterClass(), DecodeRegSeqOperandD1(), DecodeRegSeqOperandD2(), DecodesFPR64_VRegisterClass(), and DecodesFPR64RegisterClass().
Definition at line 65 of file CSKYDisassembler.cpp.
Referenced by DecodeGPRRegisterClass(), DecodeGPRSPRegisterClass(), DecodemGPRRegisterClass(), DecodeRegSeqOperand(), and DecodesGPRRegisterClass().
Definition at line 72 of file CSKYDisassembler.cpp.
Referenced by DecodeGPRPairRegisterClass().