LLVM 20.0.0git
|
#include "MCTargetDesc/PPCMCTargetDesc.h"
#include "TargetInfo/PowerPCTargetInfo.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 "llvm/Support/Endian.h"
#include "PPCGenDisassemblerTables.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "ppc-disassembler" |
#define | DecodePointerLikeRegClass0 DecodeGPRCRegisterClass |
#define | DecodePointerLikeRegClass1 DecodeGPRC_NOR0RegisterClass |
#define | DecodeQSRCRegisterClass DecodeQFRCRegisterClass |
#define | DecodeQBRCRegisterClass DecodeQFRCRegisterClass |
Typedefs | |
typedef MCDisassembler::DecodeStatus | DecodeStatus |
#define DEBUG_TYPE "ppc-disassembler" |
Definition at line 22 of file PPCDisassembler.cpp.
#define DecodePointerLikeRegClass0 DecodeGPRCRegisterClass |
Definition at line 184 of file PPCDisassembler.cpp.
#define DecodePointerLikeRegClass1 DecodeGPRC_NOR0RegisterClass |
Definition at line 185 of file PPCDisassembler.cpp.
#define DecodeQBRCRegisterClass DecodeQFRCRegisterClass |
Definition at line 245 of file PPCDisassembler.cpp.
#define DecodeQSRCRegisterClass DecodeQFRCRegisterClass |
Definition at line 244 of file PPCDisassembler.cpp.
Definition at line 24 of file PPCDisassembler.cpp.
|
static |
Definition at line 41 of file PPCDisassembler.cpp.
Referenced by LLVMInitializePowerPCDisassembler().
|
static |
Definition at line 47 of file PPCDisassembler.cpp.
Referenced by LLVMInitializePowerPCDisassembler().
|
static |
Definition at line 193 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 65 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 346 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::countr_zero(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 98 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 92 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 72 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 293 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 306 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 285 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 336 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 325 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 314 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
DecodeStatus DecodeDMRpRCRegisterClass | ( | MCInst & | Inst, |
uint64_t | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) |
Definition at line 233 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 225 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 219 of file PPCDisassembler.cpp.
References decodeRegisterClass().
DecodeStatus DecodeDMRROWRCRegisterClass | ( | MCInst & | Inst, |
uint64_t | RegNo, | ||
uint64_t | Address, | ||
const void * | Decoder | ||
) |
Definition at line 213 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 104 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 110 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 116 of file PPCDisassembler.cpp.
References decodeRegisterClass(), and llvm::MCDisassembler::Fail.
|
static |
Definition at line 172 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 179 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 166 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 161 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 154 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 267 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 84 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, N, and llvm::MCDisassembler::Success.
Referenced by DecodeACCRCRegisterClass(), DecodeCRBITRCRegisterClass(), DecodeCRRCRegisterClass(), DecodeDMRpRCRegisterClass(), DecodeDMRRCRegisterClass(), DecodeDMRROWpRCRegisterClass(), DecodeDMRROWRCRegisterClass(), DecodeF4RCRegisterClass(), DecodeF8RCRegisterClass(), DecodeFpRCRegisterClass(), DecodeG8pRCRegisterClass(), DecodeG8RC_NOX0RegisterClass(), DecodeG8RCRegisterClass(), DecodeGPRC_NOR0RegisterClass(), DecodeGPRCRegisterClass(), DecodeSPERCRegisterClass(), DecodeVFRCRegisterClass(), DecodeVRRCRegisterClass(), DecodeVSFRCRegisterClass(), DecodeVSRCRegisterClass(), DecodeVSRpRCRegisterClass(), DecodeVSSRCRegisterClass(), DecodeWACC_HIRCRegisterClass(), and DecodeWACCRCRegisterClass().
|
static |
Definition at line 258 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 187 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 248 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 124 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 130 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 142 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 136 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 276 of file PPCDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 238 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 148 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 205 of file PPCDisassembler.cpp.
References decodeRegisterClass().
|
static |
Definition at line 199 of file PPCDisassembler.cpp.
References decodeRegisterClass().
LLVM_EXTERNAL_VISIBILITY void LLVMInitializePowerPCDisassembler | ( | ) |
Definition at line 53 of file PPCDisassembler.cpp.
References createPPCDisassembler(), createPPCLEDisassembler(), llvm::getThePPC32LETarget(), llvm::getThePPC32Target(), llvm::getThePPC64LETarget(), llvm::getThePPC64Target(), and llvm::TargetRegistry::RegisterMCDisassembler().