LLVM: lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "ppc-disassembler"
#define DecodeQSRCRegisterClass DecodeQFRCRegisterClass
#define DecodeQBRCRegisterClass DecodeQFRCRegisterClass
Functions
static MCDisassembler * createPPCDisassembler (const Target &T, const MCSubtargetInfo &STI, MCContext &Ctx)
static MCDisassembler * createPPCLEDisassembler (const Target &T, const MCSubtargetInfo &STI, MCContext &Ctx)
LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializePowerPCDisassembler ()
static DecodeStatus decodeCondBrTarget (MCInst &Inst, unsigned Imm, uint64_t, const MCDisassembler *)
static DecodeStatus decodeDirectBrTarget (MCInst &Inst, unsigned Imm, uint64_t, const MCDisassembler *)
template<std::size_t N>
static DecodeStatus decodeRegisterClass (MCInst &Inst, uint64_t RegNo, const MCPhysReg(&Regs)[N])
static DecodeStatus DecodeCRRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeCRBITRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeF4RCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeF8RCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeFpRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeVFRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeVRRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeVSRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeVSFRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeVSSRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeGPRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeGPRC_NOR0RegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeG8RCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeG8pRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeG8RC_NOX0RegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeSPERCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeACCRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus DecodeWACCRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const void *Decoder)
static DecodeStatus DecodeWACC_HIRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const void *Decoder)
DecodeStatus DecodeDMRROWRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const void *Decoder)
static DecodeStatus DecodeDMRROWpRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const void *Decoder)
static DecodeStatus DecodeDMRRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const void *Decoder)
DecodeStatus DecodeDMRpRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const void *Decoder)
static DecodeStatus DecodeVSRpRCRegisterClass (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
template<unsigned N>
static DecodeStatus decodeUImmOperand (MCInst &Inst, uint64_t Imm, int64_t Address, const MCDisassembler *Decoder)
template<unsigned N>
static DecodeStatus decodeSImmOperand (MCInst &Inst, uint64_t Imm, int64_t Address, const MCDisassembler *Decoder)
static DecodeStatus decodeImmZeroOperand (MCInst &Inst, uint64_t Imm, int64_t Address, const MCDisassembler *Decoder)
static DecodeStatus decodeVSRpEvenOperands (MCInst &Inst, uint64_t RegNo, uint64_t Address, const MCDisassembler *Decoder)
static DecodeStatus decodeDispRIXOperand (MCInst &Inst, uint64_t Imm, int64_t Address, const MCDisassembler *Decoder)
static DecodeStatus decodeDispRIHashOperand (MCInst &Inst, uint64_t Imm, int64_t Address, const MCDisassembler *Decoder)
static DecodeStatus decodeDispRIX16Operand (MCInst &Inst, uint64_t Imm, int64_t Address, const MCDisassembler *Decoder)
static DecodeStatus decodeDispSPE8Operand (MCInst &Inst, uint64_t Imm, int64_t Address, const MCDisassembler *Decoder)
static DecodeStatus decodeDispSPE4Operand (MCInst &Inst, uint64_t Imm, int64_t Address, const MCDisassembler *Decoder)
static DecodeStatus decodeDispSPE2Operand (MCInst &Inst, uint64_t Imm, int64_t Address, const MCDisassembler *Decoder)
static DecodeStatus decodeCRBitMOperand (MCInst &Inst, uint64_t Imm, int64_t Address, const MCDisassembler *Decoder)

DEBUG_TYPE

#define DEBUG_TYPE "ppc-disassembler"

DecodeQBRCRegisterClass

#define DecodeQBRCRegisterClass DecodeQFRCRegisterClass

DecodeQSRCRegisterClass

#define DecodeQSRCRegisterClass DecodeQFRCRegisterClass

createPPCDisassembler()

createPPCLEDisassembler()

DecodeACCRCRegisterClass()

decodeCondBrTarget()

decodeCRBitMOperand()

DecodeCRBITRCRegisterClass()

DecodeCRRCRegisterClass()

decodeDirectBrTarget()

decodeDispRIHashOperand()

decodeDispRIX16Operand()

decodeDispRIXOperand()

decodeDispSPE2Operand()

decodeDispSPE4Operand()

decodeDispSPE8Operand()

DecodeDMRpRCRegisterClass()

DecodeDMRRCRegisterClass()

DecodeDMRROWpRCRegisterClass()

DecodeDMRROWRCRegisterClass()

DecodeF4RCRegisterClass()

DecodeF8RCRegisterClass()

DecodeFpRCRegisterClass()

DecodeG8pRCRegisterClass()

DecodeG8RC_NOX0RegisterClass()

DecodeG8RCRegisterClass()

DecodeGPRC_NOR0RegisterClass()

DecodeGPRCRegisterClass()

decodeImmZeroOperand()

decodeRegisterClass()

Definition at line 88 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().

decodeSImmOperand()

DecodeSPERCRegisterClass()

decodeUImmOperand()

DecodeVFRCRegisterClass()

DecodeVRRCRegisterClass()

DecodeVSFRCRegisterClass()

DecodeVSRCRegisterClass()

decodeVSRpEvenOperands()

DecodeVSRpRCRegisterClass()

DecodeVSSRCRegisterClass()

DecodeWACC_HIRCRegisterClass()

DecodeWACCRCRegisterClass()

LLVMInitializePowerPCDisassembler()