LLVM
8.0.1
|
#include "AVR.h"
#include "AVRRegisterInfo.h"
#include "AVRSubtarget.h"
#include "MCTargetDesc/AVRMCTargetDesc.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDisassembler/MCDisassembler.h"
#include "llvm/MC/MCFixedLenDisassembler.h"
#include "llvm/MC/MCInst.h"
#include "llvm/Support/TargetRegistry.h"
#include "AVRGenDisassemblerTables.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "avr-disassembler" |
Typedefs | |
typedef MCDisassembler::DecodeStatus | DecodeStatus |
typedef DecodeStatus(* | DecodeFunc) (MCInst &MI, unsigned insn, uint64_t Address, const void *Decoder) |
Functions | |
static MCDisassembler * | createAVRDisassembler (const Target &T, const MCSubtargetInfo &STI, MCContext &Ctx) |
void | LLVMInitializeAVRDisassembler () |
static DecodeStatus | DecodeGPR8RegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodeLD8RegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | DecodePTRREGSRegisterClass (MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) |
static DecodeStatus | readInstruction16 (ArrayRef< uint8_t > Bytes, uint64_t Address, uint64_t &Size, uint32_t &Insn) |
static DecodeStatus | readInstruction32 (ArrayRef< uint8_t > Bytes, uint64_t Address, uint64_t &Size, uint32_t &Insn) |
static const uint8_t * | getDecoderTable (uint64_t Size) |
#define DEBUG_TYPE "avr-disassembler" |
Definition at line 28 of file AVRDisassembler.cpp.
typedef DecodeStatus(* DecodeFunc) (MCInst &MI, unsigned insn, uint64_t Address, const void *Decoder) |
Definition at line 154 of file AVRDisassembler.cpp.
Definition at line 30 of file AVRDisassembler.cpp.
|
static |
Definition at line 48 of file AVRDisassembler.cpp.
Referenced by LLVMInitializeAVRDisassembler().
|
static |
Definition at line 61 of file AVRDisassembler.cpp.
References llvm::MCDisassembler::Success.
|
static |
Definition at line 66 of file AVRDisassembler.cpp.
References llvm::MCDisassembler::Success.
|
static |
Definition at line 71 of file AVRDisassembler.cpp.
References llvm::MCDisassembler::Success.
|
static |
Definition at line 105 of file AVRDisassembler.cpp.
References llvm::Address, llvm::X86Disassembler::decodeInstruction(), llvm::MCDisassembler::Fail, llvm_unreachable, readInstruction16(), readInstruction32(), and Size.
void LLVMInitializeAVRDisassembler | ( | ) |
Definition at line 55 of file AVRDisassembler.cpp.
References createAVRDisassembler(), llvm::getTheAVRTarget(), and llvm::TargetRegistry::RegisterMCDisassembler().
|
static |
Definition at line 78 of file AVRDisassembler.cpp.
References llvm::MCDisassembler::Fail, llvm::ArrayRef< T >::size(), and llvm::MCDisassembler::Success.
Referenced by getDecoderTable().
|
static |
Definition at line 91 of file AVRDisassembler.cpp.
References llvm::MCDisassembler::Fail, llvm::ArrayRef< T >::size(), and llvm::MCDisassembler::Success.
Referenced by getDecoderTable().