Home
last modified time | relevance | path

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

12345678910>>...16

/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.h47 PacketIterator, std::forward_iterator_tag, const MCInst> {
49 MCInst::const_iterator BundleCurrent;
50 MCInst::const_iterator BundleEnd;
51 MCInst::const_iterator DuplexCurrent;
52 MCInst::const_iterator DuplexEnd;
55 PacketIterator(MCInstrInfo const &MCII, MCInst const &Inst);
56 PacketIterator(MCInstrInfo const &MCII, MCInst const &Inst, std::nullptr_t);
59 MCInst const &operator*() const;
86 void addConstant(MCInst &MI, uint64_t Value, MCContext &Context);
87 void addConstExtender(MCContext &Context, MCInstrInfo const &MCII, MCInst &MCB,
[all …]
H A DHexagonMCInstrInfo.cpp40 MCInst const &Inst) in PacketIterator()
46 MCInst const &Inst, std::nullptr_t) in PacketIterator()
62 MCInst const &Inst = *BundleCurrent->getInst(); in operator ++()
71 MCInst const &Hexagon::PacketIterator::operator*() const { in operator *()
82 void HexagonMCInstrInfo::addConstant(MCInst &MI, uint64_t Value, in addConstant()
88 MCInstrInfo const &MCII, MCInst &MCB, in addConstExtender()
89 MCInst const &MCI) { in addConstExtender()
95 MCInst *XMCI = in addConstExtender()
96 new (Context) MCInst(HexagonMCInstrInfo::deriveExtender(MCII, MCI, exOp)); in addConstExtender()
104 MCInst const &MCI) { in bundleInstructions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMInstPrinter.h28 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
34 getMnemonic(const MCInst &MI) const override;
35 void printInstruction(const MCInst *MI, uint64_t Address,
37 virtual bool printAliasInstr(const MCInst *MI, uint64_t Address,
39 virtual void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
46 void printOperand(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI,
48 void printOperand(const MCInst *MI, uint64_t Address, unsigned OpNum,
51 void printSORegRegOperand(const MCInst *MI, unsigned OpNum,
53 void printSORegImmOperand(const MCInst *MI, unsigned OpNum,
56 void printAddrModeTBB(const MCInst *MI, unsigned OpNum,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/
H A DEmulateInstructionMIPS.h20 class MCInst; variable
93 bool (EmulateInstructionMIPS::*callback)(llvm::MCInst &insn);
102 bool Emulate_ADDiu(llvm::MCInst &insn);
104 bool Emulate_SUBU_ADDU(llvm::MCInst &insn);
106 bool Emulate_LUI(llvm::MCInst &insn);
108 bool Emulate_SW(llvm::MCInst &insn);
110 bool Emulate_LW(llvm::MCInst &insn);
112 bool Emulate_ADDIUSP(llvm::MCInst &insn);
114 bool Emulate_ADDIUS5(llvm::MCInst &insn);
116 bool Emulate_SWSP(llvm::MCInst &insn);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUInstPrinter.h28 getMnemonic(const MCInst &MI) const override;
29 void printInstruction(const MCInst *MI, uint64_t Address,
34 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
40 void printU16ImmOperand(const MCInst *MI, unsigned OpNo,
42 void printU16ImmDecOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
43 void printU32ImmOperand(const MCInst *MI, unsigned OpNo,
45 void printFP64ImmOperand(const MCInst *MI, unsigned OpNo,
47 void printNamedBit(const MCInst *MI, unsigned OpNo, raw_ostream &O,
49 void printOffset(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI,
51 void printFlatOffset(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI,
[all …]
H A DR600InstPrinter.h22 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
25 getMnemonic(const MCInst &MI) const override;
26 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
29 void printAbs(const MCInst *MI, unsigned OpNo, raw_ostream &O);
30 void printBankSwizzle(const MCInst *MI, unsigned OpNo, raw_ostream &O);
31 void printClamp(const MCInst *MI, unsigned OpNo, raw_ostream &O);
32 void printCT(const MCInst *MI, unsigned OpNo, raw_ostream &O);
33 void printKCache(const MCInst *MI, unsigned OpNo, raw_ostream &O);
34 void printLast(const MCInst *MI, unsigned OpNo, raw_ostream &O);
35 void printLiteral(const MCInst *MI, unsigned OpNo, raw_ostream &O);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64InstPrinter.h30 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
37 getMnemonic(const MCInst &MI) const override;
38 virtual void printInstruction(const MCInst *MI, uint64_t Address,
40 virtual bool printAliasInstr(const MCInst *MI, uint64_t Address,
42 virtual void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
53 bool printSysAlias(const MCInst *MI, const MCSubtargetInfo &STI,
55 bool printSyspAlias(const MCInst *MI, const MCSubtargetInfo &STI,
57 bool printRangePrefetchAlias(const MCInst *MI, const MCSubtargetInfo &STI,
60 void printOperand(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI,
62 void printImm(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI,
[all …]
H A DAArch64MCCodeEmitter.cpp52 uint64_t getBinaryCodeForInstr(const MCInst &MI,
58 unsigned getMachineOpValue(const MCInst &MI, const MCOperand &MO,
66 uint32_t getLdStUImm12OpValue(const MCInst &MI, unsigned OpIdx,
72 uint32_t getAdrLabelOpValue(const MCInst &MI, unsigned OpIdx,
78 uint32_t getAddSubImmOpValue(const MCInst &MI, unsigned OpIdx,
84 uint32_t getCondBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
90 uint32_t getCondCompBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
96 uint32_t getPAuthPCRelOpValue(const MCInst &MI, unsigned OpIdx,
102 uint32_t getLoadLiteralOpValue(const MCInst &MI, unsigned OpIdx,
109 uint32_t getMemExtendOpValue(const MCInst &MI, unsigned OpIdx,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/
H A DEmulateInstructionMIPS64.h24 class MCInst; variable
85 bool (EmulateInstructionMIPS64::*callback)(llvm::MCInst &insn);
91 bool Emulate_DADDiu(llvm::MCInst &insn);
93 bool Emulate_DSUBU_DADDU(llvm::MCInst &insn);
95 bool Emulate_LUI(llvm::MCInst &insn);
97 bool Emulate_SD(llvm::MCInst &insn);
99 bool Emulate_LD(llvm::MCInst &insn);
101 bool Emulate_LDST_Imm(llvm::MCInst &insn);
103 bool Emulate_LDST_Reg(llvm::MCInst &insn);
105 bool Emulate_BXX_3ops(llvm::MCInst &insn);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCCodeEmitter.h24 class MCInst; variable
47 void encodeInstruction(const MCInst &MI, SmallVectorImpl<char> &CB,
53 uint64_t getBinaryCodeForInstr(const MCInst &MI,
60 unsigned getJumpTargetOpValue(const MCInst &MI, unsigned OpNo,
67 unsigned getJumpTargetOpValueMM(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,
94 unsigned getBranchTargetOpValue(const MCInst &MI, unsigned OpNo,
[all …]
H A DMipsInstPrinter.h83 getMnemonic(const MCInst &MI) const override;
84 void printInstruction(const MCInst *MI, uint64_t Address,
89 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
92 bool printAliasInstr(const MCInst *MI, uint64_t Address,
94 void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
99 void printOperand(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI,
101 void printJumpOperand(const MCInst *MI, unsigned OpNo,
103 void printBranchOperand(const MCInst *MI, uint64_t Address, unsigned OpNo,
106 void printUImm(const MCInst *MI, int opNum, const MCSubtargetInfo &STI,
108 void printMemOperand(const MCInst *MI, int opNum, const MCSubtargetInfo &STI,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaInstPrinter.h32 getMnemonic(const MCInst &MI) const override;
33 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
41 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
46 void printOperand(const MCInst *MI, int OpNum, raw_ostream &O);
47 void printMemOperand(const MCInst *MI, int OpNUm, raw_ostream &O);
48 void printBranchTarget(const MCInst *MI, uint64_t Address, int OpNum,
50 void printLoopTarget(const MCInst *MI, uint64_t Address, int OpNum,
52 void printJumpTarget(const MCInst *MI, uint64_t Address, int OpNum,
54 void printCallOperand(const MCInst *MI, uint64_t Address, int OpNum,
56 void printL32RTarget(const MCInst *MI, uint64_t Address, int OpNum,
[all …]
H A DXtensaMCCodeEmitter.cpp46 void encodeInstruction(const MCInst &MI, SmallVectorImpl<char> &CB,
52 uint64_t getBinaryCodeForInstr(const MCInst &MI,
58 uint32_t getMachineOpValue(const MCInst &MI, const MCOperand &MO,
62 uint32_t getJumpTargetEncoding(const MCInst &MI, unsigned int OpNum,
66 uint32_t getBranchTargetEncoding(const MCInst &MI, unsigned int OpNum,
70 uint32_t getLoopTargetEncoding(const MCInst &MI, unsigned int OpNum,
74 uint32_t getCallEncoding(const MCInst &MI, unsigned int OpNum,
78 uint32_t getL32RTargetEncoding(const MCInst &MI, unsigned OpNum,
82 uint32_t getMemRegEncoding(const MCInst &MI, unsigned OpNo,
86 uint32_t getImm8OpValue(const MCInst &MI, unsigned OpNo,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kInstPrinter.h25 public M68kMemOperandPrinter<M68kInstPrinter, MCInst> {
34 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
38 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
41 bool printAliasInstr(const MCInst *MI, uint64_t Address, raw_ostream &OS);
42 void printCustomAliasOperand(const MCInst *MI, unsigned OpIdx,
46 getMnemonic(const MCInst &MI) const override;
49 void printOperand(const MCInst *MI, unsigned opNum, raw_ostream &O);
50 void printImmediate(const MCInst *MI, unsigned opNum, raw_ostream &O);
52 void printMoveMask(const MCInst *MI, unsigned opNum, raw_ostream &O);
54 void printMoveMaskR(const MCInst *MI, unsigned opNum, raw_ostream &O);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCInstPrinter.h35 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
40 getMnemonic(const MCInst &MI) const override;
41 void printInstruction(const MCInst *MI, uint64_t Address,
45 bool printAliasInstr(const MCInst *MI, uint64_t Address,
47 void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
51 void printOperand(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI,
53 void printPredicateOperand(const MCInst *MI, unsigned OpNo,
56 void printATBitsAsHint(const MCInst *MI, unsigned OpNo,
59 void printU1ImmOperand(const MCInst *MI, unsigned OpNo,
61 void printU2ImmOperand(const MCInst *MI, unsigned OpNo,
[all …]
H A DPPCMCCodeEmitter.h21 #include "llvm/MC/MCInst.h"
38 unsigned getDirectBrEncoding(const MCInst &MI, unsigned OpNo,
41 unsigned getCondBrEncoding(const MCInst &MI, unsigned OpNo,
44 unsigned getAbsDirectBrEncoding(const MCInst &MI, unsigned OpNo,
47 unsigned getAbsCondBrEncoding(const MCInst &MI, unsigned OpNo,
50 unsigned getImm16Encoding(const MCInst &MI, unsigned OpNo,
53 uint64_t getImm34Encoding(const MCInst &MI, unsigned OpNo,
57 uint64_t getImm34EncodingNoPCRel(const MCInst &MI, unsigned OpNo,
60 uint64_t getImm34EncodingPCRel(const MCInst &MI, unsigned OpNo,
63 unsigned getDispRIEncoding(const MCInst
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86IntelInstPrinter.h28 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
30 bool printVecCompareInstr(const MCInst *MI, raw_ostream &OS);
34 bool printAliasInstr(const MCInst *MI, uint64_t Address, raw_ostream &OS);
35 void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
41 getMnemonic(const MCInst &MI) const override;
42 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
45 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) override;
46 void printMemReference(const MCInst *MI, unsigned Op, raw_ostream &O);
47 void printMemOffset(const MCInst *MI, unsigned OpNo, raw_ostream &O);
48 void printSrcIdx(const MCInst *MI, unsigned OpNo, raw_ostream &O);
[all …]
H A DX86ATTInstPrinter.h28 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
30 bool printVecCompareInstr(const MCInst *MI, raw_ostream &OS);
34 bool printAliasInstr(const MCInst *MI, uint64_t Address, raw_ostream &OS);
35 void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
41 getMnemonic(const MCInst &MI) const override;
42 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &OS);
45 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &OS) override;
46 void printMemReference(const MCInst *MI, unsigned Op, raw_ostream &OS);
47 void printMemOffset(const MCInst *MI, unsigned OpNo, raw_ostream &OS);
48 void printSrcIdx(const MCInst *MI, unsigned Op, raw_ostream &O);
[all …]
H A DX86InstPrinterCommon.h27 virtual void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) = 0;
28 void printCondCode(const MCInst *MI, unsigned Op, raw_ostream &OS);
29 void printCondFlags(const MCInst *MI, unsigned Op, raw_ostream &OS);
30 void printSSEAVXCC(const MCInst *MI, unsigned Op, raw_ostream &OS);
31 void printVPCOMMnemonic(const MCInst *MI, raw_ostream &OS);
32 void printVPCMPMnemonic(const MCInst *MI, raw_ostream &OS);
33 void printCMPMnemonic(const MCInst *MI, bool IsVCmp, raw_ostream &OS);
34 void printRoundingControl(const MCInst *MI, unsigned Op, raw_ostream &O);
35 void printPCRelImm(const MCInst *MI, uint64_t Address, unsigned OpNo,
39 void printInstFlags(const MCInst *MI, raw_ostream &O,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZInstPrinterCommon.h46 void printUImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
48 void printSImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
51 void printOperand(const MCInst *MI, int OpNum, raw_ostream &O);
52 void printOperand(const MCInst *MI, uint64_t /*Address*/, unsigned OpNum, in printOperand()
56 void printBDAddrOperand(const MCInst *MI, int OpNum, raw_ostream &O);
57 void printBDXAddrOperand(const MCInst *MI, int OpNum, raw_ostream &O);
58 void printBDLAddrOperand(const MCInst *MI, int OpNum, raw_ostream &O);
59 void printBDRAddrOperand(const MCInst *MI, int OpNum, raw_ostream &O);
60 void printBDVAddrOperand(const MCInst *MI, int OpNum, raw_ostream &O);
61 void printLXAAddrOperand(const MCInst *MI, int OpNum, raw_ostream &O);
[all …]
/freebsd/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);
30 void printPredicateOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
31 void printMemRiOperand(const MCInst *MI, int OpNo, raw_ostream &O);
32 void printMemRrOperand(const MCInst *MI, int OpNo, raw_ostream &O);
33 void printMemSplsOperand(const MCInst *MI, int OpNo, raw_ostream &O);
34 void printCCOperand(const MCInst *MI, int OpNo, raw_ostream &O);
35 void printHi16ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
36 void printHi16AndImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
37 void printLo16AndImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVInstPrinter.h29 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
33 void printOperand(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI,
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,
41 void printFRMArg(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI,
43 void printFRMArgLegacy(const MCInst *MI, unsigned OpNo,
45 void printFPImmOperand(const MCInst *MI, unsigned OpNo,
47 void printZeroOffsetMemOp(const MCInst *MI, unsigned OpNo,
49 void printVTypeI(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXInstPrinter.h28 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
33 getMnemonic(const MCInst &MI) const override;
34 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
38 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
39 void printCvtMode(const MCInst *MI, int OpNum, raw_ostream &O,
41 void printCmpMode(const MCInst *MI, int OpNum, raw_ostream &O,
43 void printLdStCode(const MCInst *MI, int OpNum, raw_ostream &O,
45 void printMmaCode(const MCInst *MI, int OpNum, raw_ostream &O,
47 void printMemOperand(const MCInst *MI, int OpNum, raw_ostream &O,
49 void printOffseti32imm(const MCInst *MI, int OpNum, raw_ostream &O);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/Disassembler/
H A DSystemZDisassembler.cpp35 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
77 uint64_t Width, MCInst &MI, in tryAddingSymbolicOperand()
83 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo, in decodeRegisterClass()
98 static DecodeStatus DecodeGR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR32BitRegisterClass()
104 static DecodeStatus DecodeGRH32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGRH32BitRegisterClass()
110 static DecodeStatus DecodeGR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR64BitRegisterClass()
116 static DecodeStatus DecodeGR128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR128BitRegisterClass()
123 DecodeADDR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, uint64_t Address, in DecodeADDR32BitRegisterClass()
129 DecodeADDR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, uint64_t Address, in DecodeADDR64BitRegisterClass()
134 static DecodeStatus DecodeFP32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP32BitRegisterClass()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/Disassembler/
H A DPPCDisassembler.cpp36 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
67 static DecodeStatus decodeCondBrTarget(MCInst &Inst, unsigned Imm, in decodeCondBrTarget()
74 static DecodeStatus decodeDirectBrTarget(MCInst &Inst, unsigned Imm, in decodeDirectBrTarget()
86 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo, in decodeRegisterClass()
94 static DecodeStatus DecodeCRRCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeCRRCRegisterClass()
100 static DecodeStatus DecodeCRBITRCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeCRBITRCRegisterClass()
106 static DecodeStatus DecodeF4RCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeF4RCRegisterClass()
112 static DecodeStatus DecodeF8RCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeF8RCRegisterClass()
118 static DecodeStatus DecodeFpRCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFpRCRegisterClass()
126 static DecodeStatus DecodeVFRCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVFRCRegisterClass()
[all …]

12345678910>>...16