Searched refs:MCInst (Results 26 - 50 of 296) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
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,
56 unsigned getMemRIEncoding(const MCInst &MI, unsigned OpNo,
59 unsigned getMemRIXEncoding(const MCInst &MI, unsigned OpNo,
62 unsigned getMemRIX16Encoding(const MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCCodeEmitter.h30 class MCInst;
46 unsigned loadStorePostEncoder(const MCInst &MI, unsigned EncodedValue,
51 unsigned encodeRelCondBrTarget(const MCInst &MI, unsigned OpNo,
56 unsigned encodeLDSTPtrReg(const MCInst &MI, unsigned OpNo,
61 unsigned encodeMemri(const MCInst &MI, unsigned OpNo,
66 unsigned encodeComplement(const MCInst &MI, unsigned OpNo,
73 unsigned encodeImm(const MCInst &MI, unsigned OpNo,
78 unsigned encodeCallTarget(const MCInst &MI, unsigned OpNo,
83 uint64_t getBinaryCodeForInstr(const MCInst &MI,
94 unsigned getMachineOpValue(const MCInst
[all...]
H A DAVRInstPrinter.h1 //===- AVRInstPrinter.h - Convert AVR MCInst to assembly syntax -*- C++ -*-===//
9 // This class prints an AVR MCInst to a .s file.
32 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
39 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
40 void printPCRelImm(const MCInst *MI, unsigned OpNo, raw_ostream &O);
41 void printPCRelImm(const MCInst *MI, uint64_t /*Address*/, unsigned OpNo,
45 void printMemri(const MCInst *MI, unsigned OpNo, raw_ostream &O);
48 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
49 bool printAliasInstr(const MCInst *MI, uint64_t Address, raw_ostream &O);
50 void printCustomAliasOperand(const MCInst *M
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCCodeEmitter.h28 class MCInst;
43 const MCInst *Bundle = nullptr;
52 void encodeInstruction(MCInst const &MI, raw_ostream &OS,
56 void EncodeSingleInstruction(const MCInst &MI, raw_ostream &OS,
63 uint64_t getBinaryCodeForInstr(MCInst const &MI,
68 unsigned getMachineOpValue(MCInst const &MI, MCOperand const &MO,
74 unsigned getExprOpValue(const MCInst &MI, const MCOperand &MO,
78 Hexagon::Fixups getFixupNoBits(MCInstrInfo const &MCII, const MCInst &MI,
83 uint32_t parseBits(size_t Last, MCInst const &MCB, MCInst cons
[all...]
H A DHexagonInstPrinter.h1 //===-- HexagonInstPrinter.h - Convert Hexagon MCInst to assembly syntax --===//
31 void printInst(MCInst const *MI, uint64_t Address, StringRef Annot,
37 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
38 void printOperand(MCInst const *MI, unsigned OpNo, raw_ostream &O) const;
39 void printBrtarget(MCInst const *MI, unsigned OpNo, raw_ostream &O) const;
H A DHexagonMCInstrInfo.cpp1 //===- HexagonMCInstrInfo.cpp - Hexagon sub-class of MCInst ---------------===//
23 #include "llvm/MC/MCInst.h"
40 MCInst const &Inst)
46 MCInst const &Inst, std::nullptr_t)
62 MCInst const &Inst = *BundleCurrent->getInst();
71 MCInst const &Hexagon::PacketIterator::operator*() const {
82 void HexagonMCInstrInfo::addConstant(MCInst &MI, uint64_t Value,
88 MCInstrInfo const &MCII, MCInst &MCB,
89 MCInst const &MCI) {
95 MCInst *XMC
[all...]
H A DHexagonMCShuffler.cpp19 #include "llvm/MC/MCInst.h"
33 void HexagonMCShuffler::init(MCInst &MCB) {
35 MCInst const *Extender = nullptr;
38 MCInst &MI = *const_cast<MCInst *>(I.getInst());
55 void HexagonMCShuffler::init(MCInst &MCB, MCInst const &AddMI,
60 MCInst const *Extender = nullptr;
64 MCInst &MI = *const_cast<MCInst *>(
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86IntelInstPrinter.h1 //= X86IntelInstPrinter.h - Convert X86 MCInst to assembly syntax -*- C++ -*-=//
9 // This class prints an X86 MCInst to Intel style .s file syntax.
28 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,
40 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
43 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) override;
44 void printMemReference(const MCInst *MI, unsigned Op, raw_ostream &O);
45 void printMemOffset(const MCInst *M
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsMCInstLower.h1 //===- MipsMCInstLower.h - Lower MachineInstr to MCInst --------*- C++ -*--===//
21 class MCInst;
26 /// MCInst.
37 void Lower(const MachineInstr *MI, MCInst &OutMI) const;
45 void lowerLongBranchLUi(const MachineInstr *MI, MCInst &OutMI) const;
46 void lowerLongBranchADDiu(const MachineInstr *MI, MCInst &OutMI,
48 bool lowerLongBranch(const MachineInstr *MI, MCInst &OutMI) const;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MCA/
H A DInstrBuilder.h46 DenseMap<const MCInst *, std::unique_ptr<const InstrDesc>> VariantDescriptors;
51 Expected<const InstrDesc &> createInstrDescImpl(const MCInst &MCI);
52 Expected<const InstrDesc &> getOrCreateInstrDesc(const MCInst &MCI);
57 void populateWrites(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
58 void populateReads(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
59 Error verifyInstrDesc(const InstrDesc &ID, const MCInst &MCI) const;
71 Expected<std::unique_ptr<Instruction>> createInstruction(const MCInst &MCI);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARC/MCTargetDesc/
H A DARCInstPrinter.h1 //===- ARCInstPrinter.h - Convert ARC MCInst to assembly syntax -*- C++ -*-===//
11 /// which is used to print ARC MCInst to a .s file.
29 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
33 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
37 void printMemOperandRI(const MCInst *MI, unsigned OpNum, raw_ostream &O);
38 void printOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
39 void printOperand(const MCInst *MI, uint64_t /*Address*/, unsigned OpNum,
43 void printPredicateOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
44 void printBRCCPredicateOperand(const MCInst *MI, unsigned OpNum,
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCCodeEmitter.h15 class MCInst;
37 virtual void emitPrefix(const MCInst &Inst, raw_ostream &OS,
41 virtual void encodeInstruction(const MCInst &Inst, raw_ostream &OS,
H A DMCInstBuilder.h17 #include "llvm/MC/MCInst.h"
22 MCInst Inst;
25 /// Create a new MCInstBuilder for an MCInst with a specific opcode.
54 /// Add a new MCInst operand.
55 MCInstBuilder &addInst(const MCInst *Val) {
66 operator MCInst&() {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZInstPrinter.cpp1 //===- SystemZInstPrinter.cpp - Convert SystemZ MCInst to assembly syntax -===//
11 #include "llvm/MC/MCInst.h"
58 void SystemZInstPrinter::printInst(const MCInst *MI, uint64_t Address,
70 static void printUImmOperand(const MCInst *MI, int OpNum, raw_ostream &O) {
77 static void printSImmOperand(const MCInst *MI, int OpNum, raw_ostream &O) {
83 void SystemZInstPrinter::printU1ImmOperand(const MCInst *MI, int OpNum,
88 void SystemZInstPrinter::printU2ImmOperand(const MCInst *MI, int OpNum,
93 void SystemZInstPrinter::printU3ImmOperand(const MCInst *MI, int OpNum,
98 void SystemZInstPrinter::printU4ImmOperand(const MCInst *MI, int OpNum,
103 void SystemZInstPrinter::printU6ImmOperand(const MCInst *M
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyInstPrinter.h1 // WebAssemblyInstPrinter.h - Print wasm MCInst to assembly syntax -*- C++ -*-//
10 /// This class prints an WebAssembly MCInst to wasm file syntax.
40 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
44 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O,
46 void printBrList(const MCInst *MI, unsigned OpNo, raw_ostream &O);
47 void printWebAssemblyP2AlignOperand(const MCInst *MI, unsigned OpNo,
49 void printWebAssemblySignatureOperand(const MCInst *MI, unsigned OpNo,
53 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCCodeEmitter.cpp22 #include "llvm/MC/MCInst.h"
56 uint64_t getBinaryCodeForInstr(const MCInst &MI,
62 unsigned getMachineOpValue(const MCInst &MI, const MCOperand &MO,
70 uint32_t getLdStUImm12OpValue(const MCInst &MI, unsigned OpIdx,
76 uint32_t getAdrLabelOpValue(const MCInst &MI, unsigned OpIdx,
82 uint32_t getAddSubImmOpValue(const MCInst &MI, unsigned OpIdx,
88 uint32_t getCondBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
94 uint32_t getLoadLiteralOpValue(const MCInst &MI, unsigned OpIdx,
101 uint32_t getMemExtendOpValue(const MCInst &MI, unsigned OpIdx,
107 uint32_t getTestBranchTargetOpValue(const MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/Disassembler/
H A DSystemZDisassembler.cpp14 #include "llvm/MC/MCInst.h"
35 DecodeStatus getInstruction(MCInst &instr, uint64_t &Size,
55 /// immediate Value in the MCInst.
68 /// an MCExpr and that is added as an operand to the MCInst. If getOpInfo()
72 /// if it adds an operand to the MCInst and false otherwise.
75 uint64_t Width, MCInst &MI,
82 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo,
92 static DecodeStatus DecodeGR32BitRegisterClass(MCInst &Inst, uint64_t RegNo,
98 static DecodeStatus DecodeGRH32BitRegisterClass(MCInst &Inst, uint64_t RegNo,
104 static DecodeStatus DecodeGR64BitRegisterClass(MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/Disassembler/
H A DMipsDisassembler.cpp20 #include "llvm/MC/MCInst.h"
73 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
82 static DecodeStatus DecodeGPR64RegisterClass(MCInst &Inst,
87 static DecodeStatus DecodeCPU16RegsRegisterClass(MCInst &Inst,
92 static DecodeStatus DecodeGPRMM16RegisterClass(MCInst &Inst,
97 static DecodeStatus DecodeGPRMM16ZeroRegisterClass(MCInst &Inst,
102 static DecodeStatus DecodeGPRMM16MovePRegisterClass(MCInst &Inst,
107 static DecodeStatus DecodeGPR32RegisterClass(MCInst &Inst,
112 static DecodeStatus DecodePtrRegisterClass(MCInst &Inst,
117 static DecodeStatus DecodeDSPRRegisterClass(MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVInstPrinter.cpp1 //===-- RISCVInstPrinter.cpp - Convert RISCV MCInst to asm syntax ---------===//
9 // This class prints an RISCV MCInst to a .s file.
18 #include "llvm/MC/MCInst.h"
66 void RISCVInstPrinter::printInst(const MCInst *MI, uint64_t Address,
70 const MCInst *NewMI = MI;
71 MCInst UncompressedMI;
75 NewMI = const_cast<MCInst *>(&UncompressedMI);
85 void RISCVInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
105 void RISCVInstPrinter::printCSRSystemRegister(const MCInst *MI, unsigned OpNo,
116 void RISCVInstPrinter::printFenceArg(const MCInst *M
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
H A DVEMCCodeEmitter.cpp22 #include "llvm/MC/MCInst.h"
52 void encodeInstruction(const MCInst &MI, raw_ostream &OS,
58 uint64_t getBinaryCodeForInstr(const MCInst &MI,
64 unsigned getMachineOpValue(const MCInst &MI, const MCOperand &MO,
68 uint64_t getBranchTargetOpValue(const MCInst &MI, unsigned OpNo,
71 uint64_t getCCOpValue(const MCInst &MI, unsigned OpNo,
74 uint64_t getRDOpValue(const MCInst &MI, unsigned OpNo,
81 verifyInstructionPredicates(const MCInst &MI,
87 void VEMCCodeEmitter::encodeInstruction(const MCInst &MI, raw_ostream &OS,
99 unsigned VEMCCodeEmitter::getMachineOpValue(const MCInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MCA/
H A DCodeEmitter.cpp25 const MCInst &Inst = Sequence[MCID];
26 MCInst Relaxed(Sequence[MCID]);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DSummaryView.h42 llvm::ArrayRef<llvm::MCInst> Source;
69 SummaryView(const llvm::MCSchedModel &Model, llvm::ArrayRef<llvm::MCInst> S,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRMCInstLower.h1 //===-- AVRMCInstLower.h - Lower MachineInstr to MCInst ---------*- C++ -*-===//
20 class MCInst;
24 /// Lowers `MachineInstr` objects into `MCInst` objects.
30 /// Lowers a `MachineInstr` into a `MCInst`.
31 void lowerInstruction(const MachineInstr &MI, MCInst &OutMI) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMCInstLower.h1 //===-- BPFMCInstLower.h - Lower MachineInstr to MCInst ---------*- C++ -*-===//
17 class MCInst;
23 // BPFMCInstLower - This class is used to lower an MachineInstr into an MCInst.
32 void Lower(const MachineInstr *MI, MCInst &OutMI) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/Disassembler/
H A DPPCDisassembler.cpp13 #include "llvm/MC/MCInst.h"
35 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
63 static DecodeStatus decodeCondBrTarget(MCInst &Inst, unsigned Imm,
70 static DecodeStatus decodeDirectBrTarget(MCInst &Inst, unsigned Imm,
82 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo,
89 static DecodeStatus DecodeCRRCRegisterClass(MCInst &Inst, uint64_t RegNo,
95 static DecodeStatus DecodeCRBITRCRegisterClass(MCInst &Inst, uint64_t RegNo,
101 static DecodeStatus DecodeF4RCRegisterClass(MCInst &Inst, uint64_t RegNo,
107 static DecodeStatus DecodeF8RCRegisterClass(MCInst &Inst, uint64_t RegNo,
113 static DecodeStatus DecodeVFRCRegisterClass(MCInst
[all...]

Completed in 127 milliseconds

1234567891011>>