LLVM 22.0.0git
|
#include "MCTargetDesc/MipsMCTargetDesc.h"
#include "TargetInfo/MipsTargetInfo.h"
#include "llvm/ADT/ArrayRef.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/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 35 of file MipsDisassembler.cpp.
Definition at line 37 of file MipsDisassembler.cpp.
|
static |
Definition at line 81 of file MipsDisassembler.cpp.
Referenced by LLVMInitializeMipsDisassembler().
|
static |
Definition at line 87 of file MipsDisassembler.cpp.
Referenced by LLVMInitializeMipsDisassembler().
|
static |
Definition at line 131 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 371 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1607 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 120 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1702 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 682 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1790 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 638 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 731 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1839 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 595 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1507 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1566 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1515 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1531 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1540 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1549 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1582 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1558 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1574 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1100 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1053 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1068 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 966 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 219 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 230 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 873 of file MipsDisassembler.cpp.
References llvm::MCDisassembler::Fail.
|
static |
Definition at line 859 of file MipsDisassembler.cpp.
References llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), MI, and llvm::MCDisassembler::Success.
|
static |
Definition at line 444 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 357 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), MI, and llvm::MCDisassembler::Success.
|
static |
Definition at line 342 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), MI, and llvm::MCDisassembler::Success.
|
static |
Definition at line 775 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm_unreachable, MI, Size, and llvm::MCDisassembler::Success.
|
static |
Definition at line 817 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm_unreachable, MI, Size, and llvm::MCDisassembler::Success.
|
static |
Definition at line 938 of file MipsDisassembler.cpp.
References Address, and DecodeGPR32RegisterClass().
|
static |
Definition at line 976 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 955 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 944 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 986 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1884 of file MipsDisassembler.cpp.
References llvm::MCDisassembler::Fail.
|
static |
Definition at line 1385 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1420 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1436 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1469 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1452 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1401 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 919 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 878 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 910 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 889 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 900 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 142 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 110 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1663 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), Size, and llvm::MCDisassembler::Success.
|
static |
Definition at line 294 of file MipsDisassembler.cpp.
References Address, assert(), llvm::MCOperand::createImm(), DecodeMSA128BRegisterClass(), DecodeMSA128DRegisterClass(), DecodeMSA128HRegisterClass(), DecodeMSA128WRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), llvm_unreachable, MI, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1523 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1591 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1599 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1619 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 153 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1036 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 997 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), llvm::MCInst::getOpcode(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1017 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), llvm::MCInst::getOpcode(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1275 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1334 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeRegListOperand(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), llvm::MCInst::getOpcode(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1368 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1203 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::sampleprof::Base, llvm::MCOperand::createImm(), DecodeGPRMM16RegisterClass(), DecodeGPRMM16ZeroRegisterClass(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), llvm::MCInst::getOpcode(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1314 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), llvm::MCInst::getOpcode(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1290 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), Address, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), DecodeRegListOperand16(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), llvm::MCInst::getOpcode(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1260 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1756 of file MipsDisassembler.cpp.
References Address, DecodeGPRMM16MovePRegisterClass(), DecodeMovePRegPair(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1713 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 164 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 197 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 175 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 1156 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), llvm::MCInst::getOpcode(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 186 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 208 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1629 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 410 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 483 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 517 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 556 of file MipsDisassembler.cpp.
References llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), getReg(), MI, llvm::SignExtend64(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1084 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 929 of file MipsDisassembler.cpp.
References Address, DecodeGPR32RegisterClass(), and DecodeGPR64RegisterClass().
|
static |
Definition at line 241 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCDisassembler::Fail, llvm::MCD::fieldFromInstruction(), and llvm::MCDisassembler::Success.
Referenced by DecodeMemMMImm12().
|
static |
Definition at line 269 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), llvm::MCInst::getOpcode(), and llvm::MCDisassembler::Success.
Referenced by DecodeMemMMReglistImm4Lsl2().
|
static |
Definition at line 1681 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1674 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1782 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1688 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1648 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1486 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), llvm::MCInst::getOpcode(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1116 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1129 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 1143 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::sampleprof::Base, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCD::fieldFromInstruction(), getReg(), and llvm::MCDisassembler::Success.
|
static |
Definition at line 1656 of file MipsDisassembler.cpp.
References Address.
|
static |
Definition at line 1638 of file MipsDisassembler.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::Offset, and llvm::MCDisassembler::Success.
|
static |
Definition at line 106 of file MipsDisassembler.cpp.
References D.
Referenced by AddNodeIDCustom(), llvm::CombinerHelper::applyCombineInsertVecElts(), llvm::AMDGPUCombinerHelper::applyFoldableFneg(), llvm::CombinerHelper::applyFoldBinOpIntoSelect(), llvm::CombinerHelper::applyShiftOfShiftedLogic(), buildCopyToRegs(), llvm::CSEMIRBuilder::buildInstr(), buildReadLane(), llvm::PPCInstrInfo::canInsertSelect(), llvm::HexagonPacketizerList::canPromoteToNewValueStore(), llvm::GISelValueTracking::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(), getMaxCalleeSavedReg(), getUnderlyingArgRegs(), llvm::HexagonInstrInfo::insertBranch(), llvm::PPCInstrInfo::insertBranch(), llvm::XCoreInstrInfo::insertBranch(), llvm::XtensaInstrInfo::insertBranchAtInst(), llvm::XtensaInstrInfo::insertConstBranchAtInst(), 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::AMDGPULegalizerInfo::legalizeIsAddrSpace(), llvm::AMDGPULegalizerInfo::legalizeLaneOp(), 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(), and llvm::PPCInstrInfo::SubsumesPredicate().
LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeMipsDisassembler | ( | ) |
Definition at line 94 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 1894 of file MipsDisassembler.cpp.
References llvm::MCDisassembler::Fail, 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 1914 of file MipsDisassembler.cpp.
References llvm::MCDisassembler::Fail, llvm::ArrayRef< T >::size(), Size, and llvm::MCDisassembler::Success.