LLVM 20.0.0git
|
#include "MCTargetDesc/MipsMCTargetDesc.h"
#include "Mips.h"
#include "TargetInfo/MipsTargetInfo.h"
#include "llvm/ADT/ArrayRef.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/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <cstdint>
#include "MipsGenDisassemblerTables.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "mips-disassembler" |
Typedefs | |
using | DecodeStatus = MCDisassembler::DecodeStatus |
#define DEBUG_TYPE "mips-disassembler" |
Definition at line 34 of file MipsDisassembler.cpp.
Definition at line 36 of file MipsDisassembler.cpp.
|
static |
Definition at line 493 of file MipsDisassembler.cpp.
Referenced by LLVMInitializeMipsDisassembler().
|
static |
Definition at line 500 of file MipsDisassembler.cpp.
Referenced by LLVMInitializeMipsDisassembler().
|
static |
Definition at line 1993 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 604 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2203 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1982 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2290 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createImm(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 915 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2430 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 871 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 964 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2479 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 828 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2103 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2162 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2111 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2127 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2136 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2145 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2178 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2154 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2170 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1565 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1518 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1533 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1431 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2081 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2092 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1338 of file MipsDisassembler.cpp.
References llvm::MCDisassembler::Fail.
|
static |
Definition at line 1092 of file MipsDisassembler.cpp.
References llvm::MCOperand::createReg(), getReg(), Insn, MI, and llvm::MCDisassembler::Success.
|
static |
Definition at line 677 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 590 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), MI, and llvm::MCDisassembler::Success.
|
static |
Definition at line 575 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), MI, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1008 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm_unreachable, MI, Size, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1050 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm_unreachable, MI, Size, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1403 of file MipsDisassembler.cpp.
References DecodeGPR32RegisterClass().
|
static |
Definition at line 1441 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1420 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1409 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1451 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2524 of file MipsDisassembler.cpp.
References llvm::MCDisassembler::Fail.
|
static |
Definition at line 1850 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1885 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1901 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1934 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1917 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1866 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1384 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
Referenced by DecodeDSPRRegisterClass(), and DecodePtrRegisterClass().
|
static |
Definition at line 1343 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
Referenced by DecodePtrRegisterClass().
|
static |
Definition at line 1375 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
Referenced by DecodeMovePOperands().
|
static |
Definition at line 1354 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
Referenced by DecodeMemMMImm4().
|
static |
Definition at line 1365 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
Referenced by DecodeMemMMImm4().
|
static |
Definition at line 2004 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1972 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2251 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), Insn, Size, and llvm::MCDisassembler::Success.
|
static |
INSVE_[BHWD] have an implicit operand that the generated decoder doesn't handle.
Definition at line 527 of file MipsDisassembler.cpp.
References assert(), llvm::MCOperand::createImm(), DecodeMSA128BRegisterClass(), DecodeMSA128DRegisterClass(), DecodeMSA128HRegisterClass(), DecodeMSA128WRegisterClass(), llvm::MCDisassembler::Fail, llvm_unreachable, MI, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2119 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2187 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2195 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2215 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2015 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1501 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1462 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCInst::getOpcode(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1482 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCInst::getOpcode(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1740 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1799 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeRegListOperand(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1833 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1668 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), DecodeGPRMM16RegisterClass(), DecodeGPRMM16ZeroRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1779 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCInst::getOpcode(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1755 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeRegListOperand16(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1725 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2353 of file MipsDisassembler.cpp.
References DecodeGPRMM16MovePRegisterClass(), DecodeMovePRegPair(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2379 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
Referenced by DecodeMovePOperands().
|
static |
Definition at line 2026 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
Referenced by DecodeINSVE_DF().
|
static |
Definition at line 2059 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
Referenced by DecodeINSVE_DF().
|
static |
Definition at line 2037 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
Referenced by DecodeINSVE_DF().
|
static |
Definition at line 1621 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, llvm::MCInst::getOpcode(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2048 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
Referenced by DecodeINSVE_DF().
|
static |
Definition at line 2070 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 2225 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 643 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 716 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 750 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 789 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1549 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1394 of file MipsDisassembler.cpp.
References DecodeGPR32RegisterClass(), and DecodeGPR64RegisterClass().
|
static |
Definition at line 2301 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, Insn, and llvm::MCDisassembler::Success.
Referenced by DecodeMemMMImm12().
|
static |
Definition at line 2329 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCInst::getOpcode(), Insn, and llvm::MCDisassembler::Success.
Referenced by DecodeMemMMReglistImm4Lsl2().
|
static |
Definition at line 2269 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2262 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2422 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2276 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 2244 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1951 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCInst::getOpcode(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1581 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1594 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1608 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), getReg(), Insn, and llvm::MCDisassembler::Success.
|
static |
Definition at line 352 of file MipsDisassembler.cpp.
|
static |
Definition at line 2234 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 521 of file MipsDisassembler.cpp.
References D.
Referenced by AddNodeIDCustom(), llvm::CombinerHelper::applyCombineInsertVecElts(), llvm::AMDGPUCombinerHelper::applyFoldableFneg(), llvm::CombinerHelper::applyFoldBinOpIntoSelect(), llvm::CombinerHelper::applyShiftOfShiftedLogic(), llvm::AArch64FrameLowering::assignCalleeSavedSpillSlots(), buildCopyToRegs(), llvm::CSEMIRBuilder::buildInstr(), llvm::PPCInstrInfo::canInsertSelect(), llvm::HexagonPacketizerList::canPromoteToNewValueStore(), llvm::GISelKnownBits::computeKnownBitsImpl(), conversionLibcall(), DecodeACC64DSPRegisterClass(), DecodeAddiGroupBranch(), DecodeAFGR64RegisterClass(), DecodeBgtzGroupBranch(), DecodeBgtzGroupBranchMMR6(), DecodeBgtzlGroupBranch(), DecodeBlezGroupBranch(), DecodeBlezGroupBranchMMR6(), DecodeBlezlGroupBranch(), DecodeCacheeOp_CacheOpR6(), DecodeCacheOp(), DecodeCacheOpMM(), DecodeCCRRegisterClass(), DecodeCOP0RegisterClass(), DecodeCOP2RegisterClass(), DecodeCRC(), DecodeDaddiGroupBranch(), DecodeDAHIDATI(), DecodeDAHIDATIMMR6(), DecodeDEXT(), DecodeDINS(), DecodeFCCRegisterClass(), DecodeFGR32RegisterClass(), DecodeFGR64RegisterClass(), DecodeFGRCCRegisterClass(), DecodeFMem(), DecodeFMem2(), DecodeFMem3(), DecodeFMemCop2MMR6(), DecodeFMemCop2R6(), DecodeFMemMMR2(), DecodeGPR32RegisterClass(), DecodeGPR64RegisterClass(), DecodeGPRMM16MovePRegisterClass(), DecodeGPRMM16RegisterClass(), DecodeGPRMM16ZeroRegisterClass(), DecodeHI32DSPRegisterClass(), DecodeLO32DSPRegisterClass(), DecodeLoadByte15(), DecodeMem(), DecodeMemEVA(), DecodeMemMMGPImm7Lsl2(), DecodeMemMMImm12(), DecodeMemMMImm16(), DecodeMemMMImm9(), DecodeMemMMSPImm5Lsl2(), DecodeMSA128BRegisterClass(), DecodeMSA128DRegisterClass(), DecodeMSA128HRegisterClass(), DecodeMSA128Mem(), DecodeMSA128WRegisterClass(), DecodeMSACtrlRegisterClass(), DecodePOP35GroupBranchMMR6(), DecodePOP37GroupBranchMMR6(), DecodePOP65GroupBranchMMR6(), DecodePOP75GroupBranchMMR6(), DecodePrefeOpMM(), DecodeSpecial3LlSc(), DecodeSyncI(), DecodeSyncI_MM(), DecodeSynciR6(), llvm::SIInstrInfo::expandMovDPP64(), llvm::LegalizerHelper::fewerElementsVectorReductions(), llvm::LegalizerHelper::fewerElementsVectorShuffle(), findRenameRegForSameLdStRegPair(), llvm::MachineInstr::getFirst2LLTs(), llvm::MachineInstr::getFirst2Regs(), llvm::MachineInstr::getFirst3LLTs(), llvm::MachineInstr::getFirst3Regs(), llvm::MachineInstr::getFirst4LLTs(), llvm::MachineInstr::getFirst4Regs(), llvm::MachineInstr::getFirst5LLTs(), llvm::MachineInstr::getFirst5Regs(), getMaskSetter(), getMaxCalleeSavedReg(), getUnderlyingArgRegs(), llvm::HexagonInstrInfo::insertBranch(), llvm::PPCInstrInfo::insertBranch(), llvm::XCoreInstrInfo::insertBranch(), llvm::AArch64InstrInfo::insertSelect(), llvm::PPCInstrInfo::insertSelect(), llvm::MachineInstr::isConstantValuePHI(), llvm::AMDGPULegalizerInfo::legalizeAddrSpaceCast(), llvm::AMDGPULegalizerInfo::legalizeAtomicCmpXChg(), llvm::AMDGPULegalizerInfo::legalizeCTLZ_ZERO_UNDEF(), llvm::ARMLegalizerInfo::legalizeCustom(), llvm::AArch64LegalizerInfo::legalizeIntrinsic(), llvm::LegalizerHelper::libcall(), llvm::LegalizerHelper::lowerDIVREM(), llvm::LegalizerHelper::lowerFunnelShiftWithInverse(), llvm::AArch64CallLowering::lowerReturn(), llvm::CombinerHelper::matchCombineFAddFpExtFMulToFMadOrFMAAggressive(), llvm::CombinerHelper::matchCombineFSubFMulToFMadOrFMA(), llvm::CombinerHelper::matchCombineFSubFNegFMulToFMadOrFMA(), llvm::CombinerHelper::matchCombineFSubFpExtFMulToFMadOrFMA(), mayCombineMisaligned(), llvm::LegalizerHelper::narrowScalar(), llvm::TargetInstrInfo::PredicateInstruction(), llvm::R600InstrInfo::PredicateInstruction(), llvm::ARMBaseInstrInfo::PredicateInstruction(), llvm::PPCInstrInfo::PredicateInstruction(), llvm::RegisterBankInfo::OperandsMapper::print(), llvm::X86FrameLowering::restoreCalleeSavedRegisters(), llvm::PPCInstrInfo::reverseBranchCondition(), llvm::RISCVDAGToDAGISel::selectVLOp(), simpleLibcall(), llvm::X86FrameLowering::spillCalleeSavedRegisters(), splatPartsI64WithVL(), llvm::PPCInstrInfo::SubsumesPredicate(), and llvm::LegalizationArtifactCombiner::tryCombineUnmergeValues().
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeMipsDisassembler | ( | ) |
Definition at line 507 of file MipsDisassembler.cpp.
References createMipsDisassembler(), createMipselDisassembler(), llvm::getTheMips64elTarget(), llvm::getTheMips64Target(), llvm::getTheMipselTarget(), llvm::getTheMipsTarget(), and llvm::TargetRegistry::RegisterMCDisassembler().
|
static |
Read two bytes from the ArrayRef and return 16 bit halfword sorted according to the given endianness.
Definition at line 1107 of file MipsDisassembler.cpp.
References llvm::MCDisassembler::Fail, Insn, llvm::ArrayRef< T >::size(), Size, and llvm::MCDisassembler::Success.
|
static |
Read four bytes from the ArrayRef and return 32 bit word sorted according to the given endianness.
Definition at line 1127 of file MipsDisassembler.cpp.
References llvm::MCDisassembler::Fail, Insn, llvm::ArrayRef< T >::size(), Size, and llvm::MCDisassembler::Success.