Searched refs:MCInst (Results 51 - 75 of 296) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCMCInstLower.h1 //===- ARCMCInstLower.h - Lower MachineInstr to MCInst ----------*- C++ -*-===//
18 class MCInst;
25 /// This class is used to lower an MachineInstr into an MCInst.
33 void Lower(const MachineInstr *MI, MCInst &OutMI) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZMCInstLower.h1 //===-- SystemZMCInstLower.h - Lower MachineInstr to MCInst ----*- C++ -*--===//
17 class MCInst;
31 // Lower MachineInstr MI to MCInst OutMI.
32 void lower(const MachineInstr *MI, MCInst &OutMI) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreMCInstLower.h1 //===-- XCoreMCInstLower.h - Lower MachineInstr to MCInst ------*- C++ -*--===//
17 class MCInst;
22 /// This class is used to lower an MachineInstr into an MCInst.
30 void Lower(const MachineInstr *MI, MCInst &OutMI) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCCodeEmitter.cpp20 #include "llvm/MC/MCInst.h"
47 void encodeInstruction(const MCInst &MI, raw_ostream &OS,
53 uint64_t getBinaryCodeForInstr(const MCInst &MI,
59 uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO,
67 uint64_t getBDAddr12Encoding(const MCInst &MI, unsigned OpNum,
70 uint64_t getBDAddr20Encoding(const MCInst &MI, unsigned OpNum,
73 uint64_t getBDXAddr12Encoding(const MCInst &MI, unsigned OpNum,
76 uint64_t getBDXAddr20Encoding(const MCInst &MI, unsigned OpNum,
79 uint64_t getBDLAddr12Len4Encoding(const MCInst &MI, unsigned OpNum,
82 uint64_t getBDLAddr12Len8Encoding(const MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/Disassembler/
H A DLanaiDisassembler.cpp20 #include "llvm/MC/MCInst.h"
50 static DecodeStatus DecodeGPRRegisterClass(MCInst &Inst, unsigned RegNo,
54 static DecodeStatus decodeRiMemoryValue(MCInst &Inst, unsigned Insn,
57 static DecodeStatus decodeRrMemoryValue(MCInst &Inst, unsigned Insn,
60 static DecodeStatus decodeSplsValue(MCInst &Inst, unsigned Insn,
63 static DecodeStatus decodeBranch(MCInst &Inst, unsigned Insn, uint64_t Address,
66 static DecodeStatus decodePredicateOperand(MCInst &Inst, unsigned Val,
70 static DecodeStatus decodeShiftImm(MCInst &Inst, unsigned Insn,
90 static void PostOperandDecodeAdjust(MCInst &Instr, uint32_t Insn) {
132 LanaiDisassembler::getInstruction(MCInst
[all...]
H A DLanaiDisassembler.h30 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/Disassembler/
H A DRISCVDisassembler.cpp20 #include "llvm/MC/MCInst.h"
42 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
62 static DecodeStatus DecodeGPRRegisterClass(MCInst &Inst, uint64_t RegNo,
79 static DecodeStatus DecodeFPR32RegisterClass(MCInst &Inst, uint64_t RegNo,
90 static DecodeStatus DecodeFPR32CRegisterClass(MCInst &Inst, uint64_t RegNo,
101 static DecodeStatus DecodeFPR64RegisterClass(MCInst &Inst, uint64_t RegNo,
112 static DecodeStatus DecodeFPR64CRegisterClass(MCInst &Inst, uint64_t RegNo,
123 static DecodeStatus DecodeGPRNoX0RegisterClass(MCInst &Inst, uint64_t RegNo,
133 static DecodeStatus DecodeGPRNoX0X2RegisterClass(MCInst &Inst, uint64_t RegNo,
143 static DecodeStatus DecodeGPRCRegisterClass(MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCInstrInfo.cpp10 #include "llvm/MC/MCInst.h"
15 bool MCInstrInfo::getDeprecatedInfo(MCInst &MI, const MCSubtargetInfo &STI,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430InstPrinter.cpp1 //===-- MSP430InstPrinter.cpp - Convert MSP430 MCInst to assembly syntax --===//
9 // This class prints an MSP430 MCInst to a .s file.
17 #include "llvm/MC/MCInst.h"
29 void MSP430InstPrinter::printInst(const MCInst *MI, uint64_t Address,
37 void MSP430InstPrinter::printPCRelImmOperand(const MCInst *MI, unsigned OpNo,
52 void MSP430InstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
67 void MSP430InstPrinter::printSrcMemOperand(const MCInst *MI, unsigned OpNo,
97 void MSP430InstPrinter::printIndRegOperand(const MCInst *MI, unsigned OpNo,
103 void MSP430InstPrinter::printPostIndRegOperand(const MCInst *MI, unsigned OpNo,
109 void MSP430InstPrinter::printCCOperand(const MCInst *M
[all...]
H A DMSP430MCCodeEmitter.cpp23 #include "llvm/MC/MCInst.h"
45 uint64_t getBinaryCodeForInstr(const MCInst &MI,
53 unsigned getMachineOpValue(const MCInst &MI, const MCOperand &MO,
57 unsigned getMemOpValue(const MCInst &MI, unsigned Op,
61 unsigned getPCRelImmOpValue(const MCInst &MI, unsigned Op,
65 unsigned getCGImmOpValue(const MCInst &MI, unsigned Op,
69 unsigned getCCOpValue(const MCInst &MI, unsigned Op,
77 void encodeInstruction(const MCInst &MI, raw_ostream &OS,
82 void MSP430MCCodeEmitter::encodeInstruction(const MCInst &MI, raw_ostream &OS,
101 unsigned MSP430MCCodeEmitter::getMachineOpValue(const MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/Disassembler/
H A DHexagonDisassembler.cpp22 #include "llvm/MC/MCInst.h"
46 std::unique_ptr<MCInst *> CurrentBundle;
47 mutable MCInst const *CurrentExtender;
51 : MCDisassembler(STI, Ctx), MCII(MCII), CurrentBundle(new MCInst *),
54 DecodeStatus getSingleInstruction(MCInst &Instr, MCInst &MCB,
57 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
60 void remapInstruction(MCInst &Instr) const;
63 static uint64_t fullValue(HexagonDisassembler const &Disassembler, MCInst &MI,
85 static void signedDecoder(MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/Disassembler/
H A DAVRDisassembler.cpp23 #include "llvm/MC/MCInst.h"
41 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
71 static DecodeStatus DecodeGPR8RegisterClass(MCInst &Inst, unsigned RegNo,
81 static DecodeStatus DecodeLD8RegisterClass(MCInst &Inst, unsigned RegNo,
91 static DecodeStatus DecodePTRREGSRegisterClass(MCInst &Inst, unsigned RegNo,
98 static DecodeStatus decodeFIOARr(MCInst &Inst, unsigned Insn,
101 static DecodeStatus decodeFIORdA(MCInst &Inst, unsigned Insn,
104 static DecodeStatus decodeFIOBIT(MCInst &Inst, unsigned Insn,
107 static DecodeStatus decodeCallTarget(MCInst &Inst, unsigned Insn,
110 static DecodeStatus decodeFRd(MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCCompound.cpp17 #include "llvm/MC/MCInst.h"
79 static unsigned getCompoundCandidateGroup(MCInst const &MI, bool IsExtended) {
174 static unsigned getCompoundOp(MCInst const &HMCI) {
196 static MCInst *getCompoundInsn(MCContext &Context, MCInst const &L,
197 MCInst const &R) {
198 MCInst *CompoundInsn = nullptr;
212 CompoundInsn = new (Context) MCInst;
225 CompoundInsn = new (Context) MCInst;
239 CompoundInsn = new (Context) MCInst;
[all...]
H A DHexagonMCChecker.h28 class MCInst;
36 MCInst &MCB;
80 void init(MCInst const &);
81 void initReg(MCInst const &, unsigned, unsigned &PredReg, bool &isTrue);
84 std::tuple<MCInst const *, unsigned, HexagonMCInstrInfo::PredicateInfo>
117 MCSubtargetInfo const &STI, MCInst &mcb,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiInstPrinter.cpp1 //===-- LanaiInstPrinter.cpp - Convert Lanai MCInst to asm syntax ---------===//
9 // This class prints an Lanai MCInst to a .s file.
20 #include "llvm/MC/MCInst.h"
38 bool LanaiInstPrinter::printInst(const MCInst *MI, raw_ostream &OS,
48 static bool usesGivenOffset(const MCInst *MI, int AddOffset) {
55 static bool isPreIncrementForm(const MCInst *MI, int AddOffset) {
60 static bool isPostIncrementForm(const MCInst *MI, int AddOffset) {
65 static StringRef decIncOperator(const MCInst *MI) {
71 bool LanaiInstPrinter::printMemoryLoadIncrement(const MCInst *MI,
90 bool LanaiInstPrinter::printMemoryStoreIncrement(const MCInst *M
[all...]
H A DLanaiMCCodeEmitter.cpp22 #include "llvm/MC/MCInst.h"
51 uint64_t getBinaryCodeForInstr(const MCInst &Inst,
57 unsigned getMachineOpValue(const MCInst &Inst, const MCOperand &MCOp,
61 unsigned getRiMemoryOpValue(const MCInst &Inst, unsigned OpNo,
65 unsigned getRrMemoryOpValue(const MCInst &Inst, unsigned OpNo,
69 unsigned getSplsOpValue(const MCInst &Inst, unsigned OpNo,
73 unsigned getBranchTargetOpValue(const MCInst &Inst, unsigned OpNo,
77 void encodeInstruction(const MCInst &Inst, raw_ostream &Ostream,
81 unsigned adjustPqBitsRmAndRrm(const MCInst &Inst, unsigned Value,
84 unsigned adjustPqBitsSpls(const MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/Disassembler/
H A DSparcDisassembler.cpp19 #include "llvm/MC/MCInst.h"
37 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
145 static DecodeStatus DecodeIntRegsRegisterClass(MCInst &Inst,
156 static DecodeStatus DecodeI64RegsRegisterClass(MCInst &Inst,
168 static DecodeStatus DecodeFPRegsRegisterClass(MCInst &Inst,
180 static DecodeStatus DecodeDFPRegsRegisterClass(MCInst &Inst,
192 static DecodeStatus DecodeQFPRegsRegisterClass(MCInst &Inst,
206 static DecodeStatus DecodeCPRegsRegisterClass(MCInst &Inst,
217 static DecodeStatus DecodeFCCRegsRegisterClass(MCInst &Inst, unsigned RegNo,
226 static DecodeStatus DecodeASRRegsRegisterClass(MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCCodeEmitter.cpp23 #include "llvm/MC/MCInst.h"
56 void encodeInstruction(const MCInst &MI, raw_ostream &OS,
62 uint64_t getBinaryCodeForInstr(const MCInst &MI,
68 unsigned getMachineOpValue(const MCInst &MI, const MCOperand &MO,
72 unsigned getCallTargetOpValue(const MCInst &MI, unsigned OpNo,
75 unsigned getBranchTargetOpValue(const MCInst &MI, unsigned OpNo,
78 unsigned getBranchPredTargetOpValue(const MCInst &MI, unsigned OpNo,
81 unsigned getBranchOnRegTargetOpValue(const MCInst &MI, unsigned OpNo,
88 verifyInstructionPredicates(const MCInst &MI,
94 void SparcMCCodeEmitter::encodeInstruction(const MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUInstPrinter.cpp16 #include "llvm/MC/MCInst.h"
52 void AMDGPUInstPrinter::printInst(const MCInst *MI, uint64_t Address,
60 void AMDGPUInstPrinter::printU4ImmOperand(const MCInst *MI, unsigned OpNo,
66 void AMDGPUInstPrinter::printU8ImmOperand(const MCInst *MI, unsigned OpNo,
71 void AMDGPUInstPrinter::printU16ImmOperand(const MCInst *MI, unsigned OpNo,
83 void AMDGPUInstPrinter::printU4ImmDecOperand(const MCInst *MI, unsigned OpNo,
88 void AMDGPUInstPrinter::printU8ImmDecOperand(const MCInst *MI, unsigned OpNo,
93 void AMDGPUInstPrinter::printU16ImmDecOperand(const MCInst *MI, unsigned OpNo,
98 void AMDGPUInstPrinter::printU32ImmOperand(const MCInst *MI, unsigned OpNo,
104 void AMDGPUInstPrinter::printNamedBit(const MCInst *M
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/XCore/Disassembler/
H A DXCoreDisassembler.cpp20 #include "llvm/MC/MCInst.h"
38 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
75 static DecodeStatus DecodeGRRegsRegisterClass(MCInst &Inst,
80 static DecodeStatus DecodeRRegsRegisterClass(MCInst &Inst,
85 static DecodeStatus DecodeBitpOperand(MCInst &Inst, unsigned Val,
88 static DecodeStatus DecodeNegImmOperand(MCInst &Inst, unsigned Val,
91 static DecodeStatus Decode2RInstruction(MCInst &Inst,
96 static DecodeStatus Decode2RImmInstruction(MCInst &Inst,
101 static DecodeStatus DecodeR2RInstruction(MCInst &Inst,
106 static DecodeStatus Decode2RSrcDstInstruction(MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCCodeEmitter.cpp26 #include "llvm/MC/MCInst.h"
80 uint64_t getBinaryCodeForInstr(const MCInst &MI,
86 unsigned getMachineOpValue(const MCInst &MI,const MCOperand &MO,
93 uint32_t getHiLo16ImmOpValue(const MCInst &MI, unsigned OpIdx,
97 bool EncodeAddrModeOpValues(const MCInst &MI, unsigned OpIdx,
104 uint32_t getThumbBLTargetOpValue(const MCInst &MI, unsigned OpIdx,
110 uint32_t getThumbBLXTargetOpValue(const MCInst &MI, unsigned OpIdx,
115 uint32_t getThumbBRTargetOpValue(const MCInst &MI, unsigned OpIdx,
120 uint32_t getThumbBCCTargetOpValue(const MCInst &MI, unsigned OpIdx,
125 uint32_t getThumbCBTargetOpValue(const MCInst
[all...]
H A DARMInstPrinter.cpp1 //===-- ARMInstPrinter.cpp - Convert ARM MCInst to assembly syntax --------===//
9 // This class prints an ARM MCInst to a .s file.
19 #include "llvm/MC/MCInst.h"
91 void ARMInstPrinter::printInst(const MCInst *MI, uint64_t Address,
266 MCInst NewMI;
311 void ARMInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
351 void ARMInstPrinter::printThumbLdrLabelOperand(const MCInst *MI, unsigned OpNum,
381 void ARMInstPrinter::printSORegRegOperand(const MCInst *MI, unsigned OpNum,
401 void ARMInstPrinter::printSORegImmOperand(const MCInst *MI, unsigned OpNum,
418 void ARMInstPrinter::printAM2PreOrOffsetIndexOp(const MCInst *M
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/Disassembler/
H A DVEDisassembler.cpp20 #include "llvm/MC/MCInst.h"
38 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
108 static DecodeStatus DecodeI32RegisterClass(MCInst &Inst, unsigned RegNo,
118 static DecodeStatus DecodeI64RegisterClass(MCInst &Inst, unsigned RegNo,
128 static DecodeStatus DecodeF32RegisterClass(MCInst &Inst, unsigned RegNo,
138 static DecodeStatus DecodeF128RegisterClass(MCInst &Inst, unsigned RegNo,
148 static DecodeStatus DecodeMISCRegisterClass(MCInst &Inst, unsigned RegNo,
160 static DecodeStatus DecodeASX(MCInst &Inst, uint64_t insn, uint64_t Address,
162 static DecodeStatus DecodeLoadI32(MCInst &Inst, uint64_t insn, uint64_t Address,
164 static DecodeStatus DecodeStoreI32(MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.cpp21 #include "llvm/MC/MCInst.h"
40 static DecodeStatus DecodeFPR128RegisterClass(MCInst &Inst,
43 static DecodeStatus DecodeFPR128_loRegisterClass(MCInst &Inst,
47 static DecodeStatus DecodeFPR64RegisterClass(MCInst &Inst, unsigned RegNo,
50 static DecodeStatus DecodeFPR32RegisterClass(MCInst &Inst, unsigned RegNo,
53 static DecodeStatus DecodeFPR16RegisterClass(MCInst &Inst, unsigned RegNo,
56 static DecodeStatus DecodeFPR8RegisterClass(MCInst &Inst, unsigned RegNo,
59 static DecodeStatus DecodeGPR64commonRegisterClass(MCInst &Inst, unsigned RegNo,
62 static DecodeStatus DecodeGPR64RegisterClass(MCInst &Inst, unsigned RegNo,
65 static DecodeStatus DecodeGPR64spRegisterClass(MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsInstPrinter.cpp1 //===-- MipsInstPrinter.cpp - Convert Mips MCInst to assembly syntax ------===//
9 // This class prints an Mips MCInst to a .s file.
18 #include "llvm/MC/MCInst.h"
31 static bool isReg(const MCInst &MI, unsigned OpNo) {
78 void MipsInstPrinter::printInst(const MCInst *MI, uint64_t Address,
125 void MipsInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
143 void MipsInstPrinter::printUImm(const MCInst *MI, int opNum, raw_ostream &O) {
158 printMemOperand(const MCInst *MI, int opNum, raw_ostream &O) {
185 printMemOperandEA(const MCInst *MI, int opNum, raw_ostream &O) {
194 printFCCOperand(const MCInst *M
[all...]

Completed in 143 milliseconds

1234567891011>>