LLVM 22.0.0git
|
#include "MCTargetDesc/AVRMCTargetDesc.h"
#include "TargetInfo/AVRTargetInfo.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDecoder.h"
#include "llvm/MC/MCDecoderOps.h"
#include "llvm/MC/MCDisassembler/MCDisassembler.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/Compiler.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 MCDisassembler *Decoder) |
Variables | |
static const uint16_t | GPRDecoderTable [] |
#define DEBUG_TYPE "avr-disassembler" |
Definition at line 32 of file AVRDisassembler.cpp.
typedef DecodeStatus(* DecodeFunc) (MCInst &MI, unsigned insn, uint64_t Address, const MCDisassembler *Decoder) |
Definition at line 484 of file AVRDisassembler.cpp.
Definition at line 34 of file AVRDisassembler.cpp.
|
static |
Definition at line 51 of file AVRDisassembler.cpp.
Referenced by LLVMInitializeAVRDisassembler().
|
static |
Definition at line 129 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 249 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), I, llvm::Offset, llvm::partition(), llvm::partition_point(), llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 230 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, llvm::Offset, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 155 of file AVRDisassembler.cpp.
References Address, DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 94 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createImm(), DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 120 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 107 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createImm(), DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 147 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createReg(), decodeFRd(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 169 of file AVRDisassembler.cpp.
References Address, DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 199 of file AVRDisassembler.cpp.
References Address, DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 138 of file AVRDisassembler.cpp.
References Address, DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
Referenced by decodeFLPMX().
|
static |
Definition at line 183 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createImm(), DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 72 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
Referenced by decodeFFMULRdRr(), decodeFIOARr(), decodeFIORdA(), decodeFMOVWRdRr(), decodeFMUL2RdRr(), decodeFRd(), and decodeFWRdK().
|
static |
Definition at line 83 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 283 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, llvm::Offset, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 213 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Definition at line 418 of file AVRDisassembler.cpp.
References llvm_unreachable, and Size.
LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAVRDisassembler | ( | ) |
Definition at line 58 of file AVRDisassembler.cpp.
References createAVRDisassembler(), llvm::getTheAVRTarget(), and llvm::TargetRegistry::RegisterMCDisassembler().
|
static |
Definition at line 390 of file AVRDisassembler.cpp.
References llvm::MCDisassembler::Fail, llvm::ArrayRef< T >::size(), Size, and llvm::MCDisassembler::Success.
|
static |
Definition at line 403 of file AVRDisassembler.cpp.
References llvm::MCDisassembler::Fail, llvm::ArrayRef< T >::size(), Size, and llvm::MCDisassembler::Success.
Definition at line 64 of file AVRDisassembler.cpp.
Referenced by DecodeGPR8RegisterClass(), DecodeLD8RegisterClass(), and decodeLoadStore().