Home
last modified time | relevance | path

Searched refs:MCInst (Results 1 – 25 of 383) sorted by relevance

12345678910>>...16

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.h50 MCInst::const_iterator BundleEnd;
52 MCInst::const_iterator DuplexEnd;
59 MCInst const &operator*() const;
93 iterator_range<MCInst::const_iterator> bundleInstructions(MCInst const &MCI);
107 MCInst *deriveDuplex(MCContext &Context, unsigned iClass, MCInst const &inst0,
109 MCInst deriveExtender(MCInstrInfo const &MCII, MCInst const &Inst,
113 MCInst deriveSubInst(MCInst const &Inst);
116 MCInst const *extenderForIndex(MCInst const &MCB, size_t Index);
216 MCInst const &instruction(MCInst const &MCB, size_t Index);
240 bool isDuplexPair(MCInst const &MIa, MCInst const &MIb);
[all …]
H A DHexagonMCInstrInfo.cpp95 MCInst *XMCI = in addConstExtender()
132 MCInst OrigMCB = MCB; in canonicalizePacketImpl()
197 MCInst XMI; in deriveExtender()
212 MCInst *duplexInst = new (Context) MCInst; in deriveDuplex()
215 MCInst *SubInst0 = new (Context) MCInst(deriveSubInst(inst0)); in deriveDuplex()
216 MCInst *SubInst1 = new (Context) MCInst(deriveSubInst(inst1)); in deriveDuplex()
222 MCInst const *HexagonMCInstrInfo::extenderForIndex(MCInst const &MCB, in extenderForIndex()
227 MCInst const *Inst = in extenderForIndex()
242 MCInst const &MCI) { in getMemAccessSize()
930 MCInst Nop; in padEndloop()
[all …]
H A DHexagonMCShuffler.h24 class MCInst; variable
33 MCInst &MCB) in HexagonMCShuffler()
40 MCInst &MCB, MCInst const &AddMI, bool InsertAtFront) in HexagonMCShuffler()
46 void copyTo(MCInst &MCB);
49 bool reshuffleTo(MCInst &MCB);
52 void init(MCInst &MCB);
53 void init(MCInst &MCB, MCInst const &AddMI, bool InsertAtFront);
60 MCInst &MCB);
62 MCSubtargetInfo const &STI, MCInst &MCB,
63 MCInst const &AddMI, int fixupCount);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMInstPrinter.h34 void printInstruction(const MCInst *MI, uint64_t Address,
55 void printAddrModeTBB(const MCInst *MI, unsigned OpNum,
57 void printAddrModeTBH(const MCInst *MI, unsigned OpNum,
99 void printMemBOption(const MCInst *MI, unsigned OpNum,
123 void printThumbSRImm(const MCInst *MI, unsigned OpNum,
169 void printCPSIMod(const MCInst *MI, unsigned OpNum,
171 void printCPSIFlag(const MCInst *MI, unsigned OpNum,
214 void printPCLabel(const MCInst *MI, unsigned OpNum,
223 void printFBits16(const MCInst *MI, unsigned OpNum,
225 void printFBits32(const MCInst *MI, unsigned OpNum,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUInstPrinter.h67 void printCPol(const MCInst *MI, unsigned OpNo,
77 void printFORMAT(const MCInst *MI, unsigned OpNo,
79 void printSymbolicFormat(const MCInst *MI,
134 void printOpSel(const MCInst *MI, unsigned OpNo,
136 void printOpSelHi(const MCInst *MI, unsigned OpNo,
138 void printNegLo(const MCInst *MI, unsigned OpNo,
140 void printNegHi(const MCInst *MI, unsigned OpNo,
177 void printExpSrc0(const MCInst *MI, unsigned OpNo,
179 void printExpSrc1(const MCInst *MI, unsigned OpNo,
181 void printExpSrc2(const MCInst *MI, unsigned OpNo,
[all …]
H A DR600InstPrinter.h22 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
28 void printAbs(const MCInst *MI, unsigned OpNo, raw_ostream &O);
30 void printClamp(const MCInst *MI, unsigned OpNo, raw_ostream &O);
31 void printCT(const MCInst *MI, unsigned OpNo, raw_ostream &O);
32 void printKCache(const MCInst *MI, unsigned OpNo, raw_ostream &O);
33 void printLast(const MCInst *MI, unsigned OpNo, raw_ostream &O);
36 void printNeg(const MCInst *MI, unsigned OpNo, raw_ostream &O);
37 void printOMOD(const MCInst *MI, unsigned OpNo, raw_ostream &O);
39 void printRel(const MCInst *MI, unsigned OpNo, raw_ostream &O);
40 void printRSel(const MCInst *MI, unsigned OpNo, raw_ostream &O);
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/
H A DEmulateInstructionMIPS.h20 class MCInst; variable
106 bool Emulate_LUI(llvm::MCInst &insn);
108 bool Emulate_SW(llvm::MCInst &insn);
110 bool Emulate_LW(llvm::MCInst &insn);
146 bool Emulate_BAL(llvm::MCInst &insn);
150 bool Emulate_BC(llvm::MCInst &insn);
152 bool Emulate_J(llvm::MCInst &insn);
154 bool Emulate_JAL(llvm::MCInst &insn);
160 bool Emulate_JIC(llvm::MCInst &insn);
162 bool Emulate_JR(llvm::MCInst &insn);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64InstPrinter.h77 void printVRegOperand(const MCInst *MI, unsigned OpNo,
81 void printAddSubImm(const MCInst *MI, unsigned OpNum,
84 void printLogicalImm(const MCInst *MI, unsigned OpNum,
86 void printShifter(const MCInst *MI, unsigned OpNum,
99 void printMemExtend(const MCInst *MI, unsigned OpNum, in printMemExtend()
106 void printCondCode(const MCInst *MI, unsigned OpNum,
129 void printAMNoIndex(const MCInst *MI, unsigned OpNum,
133 void printImmScale(const MCInst *MI, unsigned OpNum,
147 void printPSBHintOp(const MCInst *MI, unsigned OpNum,
225 void printSVERegOp(const MCInst *MI, unsigned OpNum,
[all …]
H A DAArch64MCCodeEmitter.cpp55 uint64_t getBinaryCodeForInstr(const MCInst &MI,
69 uint32_t getLdStUImm12OpValue(const MCInst &MI, unsigned OpIdx,
75 uint32_t getAdrLabelOpValue(const MCInst &MI, unsigned OpIdx,
81 uint32_t getAddSubImmOpValue(const MCInst &MI, unsigned OpIdx,
106 uint32_t getMemExtendOpValue(const MCInst &MI, unsigned OpIdx,
170 uint32_t getImm8OptLsl(const MCInst &MI, unsigned OpIdx,
173 uint32_t getSVEIncDecImm(const MCInst &MI, unsigned OpIdx,
177 unsigned fixMOVZ(const MCInst &MI, unsigned EncodedValue,
184 unsigned fixMulHigh(const MCInst &MI, unsigned EncodedValue,
198 uint32_t EncodePNR_p8to15(const MCInst &MI, unsigned OpIdx,
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/
H A DEmulateInstructionMIPS64.h24 class MCInst; variable
95 bool Emulate_LUI(llvm::MCInst &insn);
97 bool Emulate_SD(llvm::MCInst &insn);
99 bool Emulate_LD(llvm::MCInst &insn);
121 bool Emulate_BAL(llvm::MCInst &insn);
125 bool Emulate_BC(llvm::MCInst &insn);
127 bool Emulate_J(llvm::MCInst &insn);
129 bool Emulate_JAL(llvm::MCInst &insn);
135 bool Emulate_JIC(llvm::MCInst &insn);
137 bool Emulate_JR(llvm::MCInst &insn);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCCodeEmitter.h24 class MCInst; variable
53 uint64_t getBinaryCodeForInstr(const MCInst &MI,
60 unsigned getJumpTargetOpValue(const MCInst &MI, unsigned OpNo,
73 unsigned getUImm5Lsl2Encoding(const MCInst &MI, unsigned OpNo,
77 unsigned getSImm3Lsa2Value(const MCInst &MI, unsigned OpNo,
81 unsigned getUImm6Lsl2Encoding(const MCInst &MI, unsigned OpNo,
87 unsigned getSImm9AddiuspValue(const MCInst &MI, unsigned OpNo,
181 unsigned getMSAMemEncoding(const MCInst &MI, unsigned OpNo,
186 unsigned getMemEncoding(const MCInst &MI, unsigned OpNo,
240 unsigned getUImm4AndValue(const MCInst &MI, unsigned OpNo,
[all …]
H A DMipsInstPrinter.h83 void printInstruction(const MCInst *MI, uint64_t Address,
88 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
91 bool printAliasInstr(const MCInst *MI, uint64_t Address,
93 void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
100 void printJumpOperand(const MCInst *MI, unsigned OpNo,
109 void printMemOperandEA(const MCInst *MI, int opNum,
113 void printSHFMask(const MCInst *MI, int opNum, raw_ostream &O);
115 bool printAlias(const char *Str, const MCInst &MI, uint64_t Address,
121 bool printAlias(const MCInst &MI, uint64_t Address,
123 void printSaveRestore(const MCInst *MI, const MCSubtargetInfo &STI,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kInstPrinter.h38 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
42 void printCustomAliasOperand(const MCInst *MI, unsigned OpIdx,
48 void printOperand(const MCInst *MI, unsigned opNum, raw_ostream &O);
49 void printImmediate(const MCInst *MI, unsigned opNum, raw_ostream &O);
51 void printMoveMask(const MCInst *MI, unsigned opNum, raw_ostream &O);
53 void printMoveMaskR(const MCInst *MI, unsigned opNum, raw_ostream &O);
54 void printDisp(const MCInst *MI, unsigned opNum, raw_ostream &O);
55 void printAbsMem(const MCInst *MI, unsigned opNum, raw_ostream &O);
66 void printARI8Mem(const MCInst *MI, unsigned opNum, raw_ostream &O) { in printARI8Mem()
116 void printAS8Mem(const MCInst *MI, unsigned opNum, raw_ostream &O) { in printAS8Mem()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCInstPrinter.h40 void printInstruction(const MCInst *MI, uint64_t Address,
44 bool printAliasInstr(const MCInst *MI, uint64_t Address,
55 void printATBitsAsHint(const MCInst *MI, unsigned OpNo,
58 void printU1ImmOperand(const MCInst *MI, unsigned OpNo,
60 void printU2ImmOperand(const MCInst *MI, unsigned OpNo,
62 void printU3ImmOperand(const MCInst *MI, unsigned OpNo,
64 void printU4ImmOperand(const MCInst *MI, unsigned OpNo,
66 void printS5ImmOperand(const MCInst *MI, unsigned OpNo,
68 void printU5ImmOperand(const MCInst *MI, unsigned OpNo,
98 void printMemRegImm(const MCInst *MI, unsigned OpNo,
[all …]
H A DPPCMCCodeEmitter.h38 unsigned getDirectBrEncoding(const MCInst &MI, unsigned OpNo,
41 unsigned getCondBrEncoding(const MCInst &MI, unsigned OpNo,
50 unsigned getImm16Encoding(const MCInst &MI, unsigned OpNo,
53 uint64_t getImm34Encoding(const MCInst &MI, unsigned OpNo,
63 unsigned getDispRIEncoding(const MCInst &MI, unsigned OpNo,
66 unsigned getDispRIXEncoding(const MCInst &MI, unsigned OpNo,
90 unsigned getTLSRegEncoding(const MCInst &MI, unsigned OpNo,
111 uint64_t getBinaryCodeForInstr(const MCInst &MI,
120 unsigned getInstSizeInBytes(const MCInst &MI) const;
123 bool isPrefixedInstruction(const MCInst &MI) const;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86ATTInstPrinter.h27 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
29 bool printVecCompareInstr(const MCInst *MI, raw_ostream &OS);
34 void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
46 void printSrcIdx(const MCInst *MI, unsigned Op, raw_ostream &O);
47 void printDstIdx(const MCInst *MI, unsigned Op, raw_ostream &O);
48 void printU8Imm(const MCInst *MI, unsigned Op, raw_ostream &OS);
51 void printbytemem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printbytemem()
54 void printwordmem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printwordmem()
57 void printdwordmem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printdwordmem()
76 void printSrcIdx8(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printSrcIdx8()
[all …]
H A DX86IntelInstPrinter.h28 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
30 bool printVecCompareInstr(const MCInst *MI, raw_ostream &OS);
35 void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
46 void printMemOffset(const MCInst *MI, unsigned OpNo, raw_ostream &O);
47 void printSrcIdx(const MCInst *MI, unsigned OpNo, raw_ostream &O);
48 void printDstIdx(const MCInst *MI, unsigned OpNo, raw_ostream &O);
49 void printU8Imm(const MCInst *MI, unsigned Op, raw_ostream &O);
52 void printbytemem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printbytemem()
56 void printwordmem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printwordmem()
60 void printdwordmem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printdwordmem()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZInstPrinter.h48 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
53 void printUImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
55 void printSImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
58 void printOperand(const MCInst *MI, int OpNum, raw_ostream &O);
63 void printBDAddrOperand(const MCInst *MI, int OpNum, raw_ostream &O);
68 void printU1ImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
69 void printU2ImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
70 void printU3ImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
71 void printU4ImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
72 void printS8ImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaInstPrinter.h31 std::pair<const char *, uint64_t> getMnemonic(const MCInst *MI) override;
32 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
40 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
45 void printOperand(const MCInst *MI, int OpNum, raw_ostream &O);
46 void printMemOperand(const MCInst *MI, int OpNUm, raw_ostream &O);
47 void printBranchTarget(const MCInst *MI, int OpNum, raw_ostream &O);
48 void printJumpTarget(const MCInst *MI, int OpNum, raw_ostream &O);
49 void printCallOperand(const MCInst *MI, int OpNum, raw_ostream &O);
50 void printL32RTarget(const MCInst *MI, int OpNum, raw_ostream &O);
52 void printImm8_AsmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiInstPrinter.h27 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
29 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O,
32 void printMemRiOperand(const MCInst *MI, int OpNo, raw_ostream &O,
34 void printMemRrOperand(const MCInst *MI, int OpNo, raw_ostream &O,
36 void printMemSplsOperand(const MCInst *MI, int OpNo, raw_ostream &O,
38 void printCCOperand(const MCInst *MI, int OpNo, raw_ostream &O);
48 void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
55 bool printAlias(const MCInst *MI, raw_ostream &Ostream);
56 bool printInst(const MCInst *MI, raw_ostream &Ostream, StringRef Alias,
58 bool printMemoryLoadIncrement(const MCInst *MI, raw_ostream &Ostream,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/Disassembler/
H A DSystemZDisassembler.cpp35 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
76 uint64_t Width, MCInst &MI, in tryAddingSymbolicOperand()
182 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) { in decodeUImmOperand()
197 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU1ImmOperand()
203 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU2ImmOperand()
209 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU3ImmOperand()
215 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU4ImmOperand()
221 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU8ImmOperand()
245 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS8ImmOperand()
270 static DecodeStatus decodeLenOperand(MCInst &Inst, uint64_t Imm, in decodeLenOperand()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVInstPrinter.h29 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
35 void printBranchOperand(const MCInst *MI, uint64_t Address, unsigned OpNo,
37 void printCSRSystemRegister(const MCInst *MI, unsigned OpNo,
39 void printFenceArg(const MCInst *MI, unsigned OpNo,
43 void printFRMArgLegacy(const MCInst *MI, unsigned OpNo,
45 void printFPImmOperand(const MCInst *MI, unsigned OpNo,
47 void printZeroOffsetMemOp(const MCInst *MI, unsigned OpNo,
51 void printVMaskReg(const MCInst *MI, unsigned OpNo,
61 void printInstruction(const MCInst *MI, uint64_t Address,
63 bool printAliasInstr(const MCInst *MI, uint64_t Address,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.cpp75 DecodeMatrixIndexGPR32_8_11RegisterClass(MCInst &Inst, unsigned RegNo,
136 static DecodeStatus DecodeMatrixTile(MCInst &Inst, unsigned RegNo,
140 DecodeMatrixTileListRegisterClass(MCInst &Inst, unsigned RegMask,
168 static DecodeStatus DecodePCRelLabel16(MCInst &Inst, unsigned Imm,
171 static DecodeStatus DecodePCRelLabel19(MCInst &Inst, unsigned Imm,
174 static DecodeStatus DecodeMemExtend(MCInst &Inst, unsigned Imm,
226 DecodeSystemPStateImm0_15Instruction(MCInst &Inst, uint32_t insn,
230 DecodeSystemPStateImm0_1Instruction(MCInst &Inst, uint32_t insn,
291 static DecodeStatus DecodeSVEIncDecImm(MCInst &Inst, unsigned Imm,
712 DecodeMatrixTileListRegisterClass(MCInst &Inst, unsigned RegMask, in DecodeMatrixTileListRegisterClass()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/Disassembler/
H A DPPCDisassembler.cpp35 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
65 static DecodeStatus decodeCondBrTarget(MCInst &Inst, unsigned Imm, in decodeCondBrTarget()
72 static DecodeStatus decodeDirectBrTarget(MCInst &Inst, unsigned Imm, in decodeDirectBrTarget()
84 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo, in decodeRegisterClass()
233 DecodeStatus DecodeDMRpRCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeDMRpRCRegisterClass()
248 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm, in decodeUImmOperand()
258 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm, in decodeSImmOperand()
267 static DecodeStatus decodeImmZeroOperand(MCInst &Inst, uint64_t Imm, in decodeImmZeroOperand()
285 static DecodeStatus decodeDispRIXOperand(MCInst &Inst, uint64_t Imm, in decodeDispRIXOperand()
314 static DecodeStatus decodeDispSPE8Operand(MCInst &Inst, uint64_t Imm, in decodeDispSPE8Operand()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrAnalysis.h53 virtual void updateState(const MCInst &Inst, uint64_t Addr) {} in updateState()
55 virtual bool isBranch(const MCInst &Inst) const { in isBranch()
59 virtual bool isConditionalBranch(const MCInst &Inst) const { in isConditionalBranch()
67 virtual bool isIndirectBranch(const MCInst &Inst) const { in isIndirectBranch()
71 virtual bool isCall(const MCInst &Inst) const { in isCall()
75 virtual bool isReturn(const MCInst &Inst) const { in isReturn()
79 virtual bool isTerminator(const MCInst &Inst) const { in isTerminator()
83 virtual bool mayAffectControlFlow(const MCInst &Inst, in mayAffectControlFlow()
116 const MCInst &Inst,
137 virtual bool isZeroIdiom(const MCInst &MI, APInt &Mask, in isZeroIdiom()
[all …]

12345678910>>...16