LLVM 20.0.0git
|
#include "AVR.h"
#include "AVRRegisterInfo.h"
#include "AVRSubtarget.h"
#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/MCDecoderOps.h"
#include "llvm/MC/MCDisassembler/MCDisassembler.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/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 MCDisassembler *Decoder) |
Variables | |
static const uint16_t | GPRDecoderTable [] |
#define DEBUG_TYPE "avr-disassembler" |
Definition at line 31 of file AVRDisassembler.cpp.
typedef DecodeStatus(* DecodeFunc) (MCInst &MI, unsigned insn, uint64_t Address, const MCDisassembler *Decoder) |
Definition at line 530 of file AVRDisassembler.cpp.
Definition at line 33 of file AVRDisassembler.cpp.
|
static |
Definition at line 50 of file AVRDisassembler.cpp.
Referenced by LLVMInitializeAVRDisassembler().
|
static |
Definition at line 177 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 297 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), I, Insn, llvm::Offset, llvm::partition(), llvm::partition_point(), llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 278 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCDisassembler::Fail, Insn, llvm::Offset, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 203 of file AVRDisassembler.cpp.
References DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 142 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 168 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 155 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 195 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), decodeFRd(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 217 of file AVRDisassembler.cpp.
References DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 247 of file AVRDisassembler.cpp.
References DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 186 of file AVRDisassembler.cpp.
References DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
Referenced by decodeFLPMX().
|
static |
Definition at line 231 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 70 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 81 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 331 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, Insn, llvm::Offset, llvm::MCInst::setOpcode(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 261 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
Definition at line 464 of file AVRDisassembler.cpp.
References llvm_unreachable, and Size.
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAVRDisassembler | ( | ) |
Definition at line 56 of file AVRDisassembler.cpp.
References createAVRDisassembler(), llvm::getTheAVRTarget(), and llvm::TargetRegistry::RegisterMCDisassembler().
|
static |
Definition at line 436 of file AVRDisassembler.cpp.
References llvm::MCDisassembler::Fail, Insn, llvm::ArrayRef< T >::size(), Size, and llvm::MCDisassembler::Success.
|
static |
Definition at line 449 of file AVRDisassembler.cpp.
References llvm::MCDisassembler::Fail, Insn, llvm::ArrayRef< T >::size(), Size, and llvm::MCDisassembler::Success.
Definition at line 62 of file AVRDisassembler.cpp.
Referenced by DecodeGPR8RegisterClass(), DecodeLD8RegisterClass(), and decodeLoadStore().