LLVM 20.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/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 28 of file AVRDisassembler.cpp.
typedef DecodeStatus(* DecodeFunc) (MCInst &MI, unsigned insn, uint64_t Address, const MCDisassembler *Decoder) |
Definition at line 527 of file AVRDisassembler.cpp.
Definition at line 30 of file AVRDisassembler.cpp.
|
static |
Definition at line 47 of file AVRDisassembler.cpp.
Referenced by LLVMInitializeAVRDisassembler().
|
static |
Definition at line 174 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 294 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 275 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 200 of file AVRDisassembler.cpp.
References Address, DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 139 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createImm(), DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 165 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 152 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createImm(), DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 192 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createReg(), decodeFRd(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 214 of file AVRDisassembler.cpp.
References Address, DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 244 of file AVRDisassembler.cpp.
References Address, DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 183 of file AVRDisassembler.cpp.
References Address, DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
Referenced by decodeFLPMX().
|
static |
Definition at line 228 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createImm(), DecodeGPR8RegisterClass(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 67 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 78 of file AVRDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, GPRDecoderTable, and llvm::MCDisassembler::Success.
|
static |
Definition at line 328 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 258 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 461 of file AVRDisassembler.cpp.
References llvm_unreachable, and Size.
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAVRDisassembler | ( | ) |
Definition at line 53 of file AVRDisassembler.cpp.
References createAVRDisassembler(), llvm::getTheAVRTarget(), and llvm::TargetRegistry::RegisterMCDisassembler().
|
static |
Definition at line 433 of file AVRDisassembler.cpp.
References llvm::MCDisassembler::Fail, Insn, llvm::ArrayRef< T >::size(), Size, and llvm::MCDisassembler::Success.
|
static |
Definition at line 446 of file AVRDisassembler.cpp.
References llvm::MCDisassembler::Fail, Insn, llvm::ArrayRef< T >::size(), Size, and llvm::MCDisassembler::Success.
Definition at line 59 of file AVRDisassembler.cpp.
Referenced by DecodeGPR8RegisterClass(), DecodeLD8RegisterClass(), and decodeLoadStore().