LLVM 20.0.0git
|
#include "MCTargetDesc/SparcMCTargetDesc.h"
#include "TargetInfo/SparcTargetInfo.h"
#include "llvm/MC/MCAsmInfo.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/TargetRegistry.h"
#include "SparcGenDisassemblerTables.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "sparc-disassembler" |
Typedefs | |
typedef MCDisassembler::DecodeStatus | DecodeStatus |
Variables | |
static const unsigned | IntRegDecoderTable [] |
static const unsigned | FPRegDecoderTable [] |
static const unsigned | DFPRegDecoderTable [] |
static const unsigned | QFPRegDecoderTable [] |
static const unsigned | FCCRegDecoderTable [] |
static const unsigned | ASRRegDecoderTable [] |
static const unsigned | PRRegDecoderTable [] |
static const uint16_t | IntPairDecoderTable [] |
static const unsigned | CPRegDecoderTable [] |
static const uint16_t | CPPairDecoderTable [] |
#define DEBUG_TYPE "sparc-disassembler" |
Definition at line 24 of file SparcDisassembler.cpp.
Definition at line 26 of file SparcDisassembler.cpp.
|
static |
Definition at line 43 of file SparcDisassembler.cpp.
Referenced by LLVMInitializeSparcDisassembler().
|
static |
Definition at line 217 of file SparcDisassembler.cpp.
References llvm::MCInst::addOperand(), ASRRegDecoderTable, llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 333 of file SparcDisassembler.cpp.
References llvm::MCOperand::createImm(), MI, llvm::MCDisassembler::Success, and tryAddingSymbolicOperand().
|
static |
Definition at line 252 of file SparcDisassembler.cpp.
References llvm::MCInst::addOperand(), CPPairDecoderTable, llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 199 of file SparcDisassembler.cpp.
References llvm::MCInst::addOperand(), CPRegDecoderTable, llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 175 of file SparcDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), DFPRegDecoderTable, llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 208 of file SparcDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, FCCRegDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 165 of file SparcDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, FPRegDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 151 of file SparcDisassembler.cpp.
References DecodeIntRegsRegisterClass().
|
static |
Definition at line 235 of file SparcDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, IntPairDecoderTable, llvm::MCDisassembler::SoftFail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 141 of file SparcDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, IntRegDecoderTable, and llvm::MCDisassembler::Success.
Referenced by DecodeI64RegsRegisterClass(), and DecodePointerLikeRegClass0().
|
static |
Definition at line 159 of file SparcDisassembler.cpp.
References DecodeIntRegsRegisterClass().
|
static |
Definition at line 226 of file SparcDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, PRRegDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 185 of file SparcDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, QFPRegDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 343 of file SparcDisassembler.cpp.
References assert(), llvm::MCOperand::createImm(), MI, and llvm::MCDisassembler::Success.
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSparcDisassembler | ( | ) |
Definition at line 50 of file SparcDisassembler.cpp.
References createSparcDisassembler(), llvm::getTheSparcelTarget(), llvm::getTheSparcTarget(), llvm::getTheSparcV9Target(), and llvm::TargetRegistry::RegisterMCDisassembler().
|
static |
Read four bytes from the ArrayRef and return 32 bit word.
Definition at line 270 of file SparcDisassembler.cpp.
References llvm::MCDisassembler::Fail, Insn, llvm::ArrayRef< T >::size(), Size, and llvm::MCDisassembler::Success.
|
static |
Definition at line 325 of file SparcDisassembler.cpp.
References isBranch(), MI, llvm::Offset, and llvm::MCDisassembler::tryAddingSymbolicOperand().
Referenced by DecodeCall().
Definition at line 103 of file SparcDisassembler.cpp.
Referenced by DecodeASRRegsRegisterClass().
Definition at line 134 of file SparcDisassembler.cpp.
Referenced by DecodeCoprocPairRegisterClass().
Definition at line 122 of file SparcDisassembler.cpp.
Referenced by DecodeCoprocRegsRegisterClass().
Definition at line 80 of file SparcDisassembler.cpp.
Referenced by DecodeDFPRegsRegisterClass().
Definition at line 100 of file SparcDisassembler.cpp.
Referenced by DecodeFCCRegsRegisterClass().
Definition at line 70 of file SparcDisassembler.cpp.
Referenced by DecodeFPRegsRegisterClass().
Definition at line 115 of file SparcDisassembler.cpp.
Referenced by DecodeIntPairRegisterClass().
Definition at line 60 of file SparcDisassembler.cpp.
Referenced by DecodeIntRegsRegisterClass().
Definition at line 110 of file SparcDisassembler.cpp.
Referenced by DecodePRRegsRegisterClass().
Definition at line 90 of file SparcDisassembler.cpp.
Referenced by DecodeQFPRegsRegisterClass().