Home
last modified time | relevance | path

Searched full:mi (Results 1 – 25 of 1558) sorted by relevance

12345678910>>...63

/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZShortenInst.cpp39 bool shortenIIF(MachineInstr &MI, unsigned LLIxL, unsigned LLIxH);
40 bool shortenOn0(MachineInstr &MI, unsigned Opcode);
41 bool shortenOn01(MachineInstr &MI, unsigned Opcode);
42 bool shortenOn001(MachineInstr &MI, unsigned Opcode);
43 bool shortenOn001AddCC(MachineInstr &MI, unsigned Opcode);
44 bool shortenFPConv(MachineInstr &MI, unsigned Opcode);
45 bool shortenFusedFPOp(MachineInstr &MI, unsigned Opcode);
67 // Tie operands if MI has become a two-address instruction.
68 static void tieOpsIfNeeded(MachineInstr &MI) { in tieOpsIfNeeded() argument
69 if (MI.getDesc().getOperandConstraint(1, MCOI::TIED_TO) == 0 && in tieOpsIfNeeded()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86InstComments.cpp239 static unsigned getRegOperandNumElts(const MCInst *MI, unsigned ScalarSize, in getRegOperandNumElts() argument
241 unsigned OpReg = MI->getOperand(OperandIndex).getReg(); in getRegOperandNumElts()
250 static void printMasking(raw_ostream &OS, const MCInst *MI, in printMasking() argument
252 const MCInstrDesc &Desc = MCII.get(MI->getOpcode()); in printMasking()
264 const char *MaskRegName = getRegName(MI->getOperand(MaskOp).getReg()); in printMasking()
274 static bool printFMAComments(const MCInst *MI, raw_ostream &OS, in printFMAComments() argument
277 unsigned NumOperands = MI->getNumOperands(); in printFMAComments()
296 switch (MI->getOpcode()) { in printFMAComments()
302 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
306 Mul2Name = getRegName(MI->getOperand(2).getReg()); in printFMAComments()
[all …]
H A DX86ATTInstPrinter.h27 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
29 bool printVecCompareInstr(const MCInst *MI, raw_ostream &OS);
33 bool printAliasInstr(const MCInst *MI, uint64_t Address, raw_ostream &OS);
34 void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
39 std::pair<const char *, uint64_t> getMnemonic(const MCInst *MI) override;
40 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &OS);
43 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &OS) override;
44 void printMemReference(const MCInst *MI, unsigned Op, raw_ostream &OS);
45 void printMemOffset(const MCInst *MI, unsigned OpNo, raw_ostream &OS);
46 void printSrcIdx(const MCInst *MI, unsigned Op, raw_ostream &O);
[all …]
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,
40 std::pair<const char *, uint64_t> getMnemonic(const MCInst *MI) override;
41 void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O);
44 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) override;
45 void printMemReference(const MCInst *MI, unsigned Op, raw_ostream &O);
46 void printMemOffset(const MCInst *MI, unsigned OpNo, raw_ostream &O);
47 void printSrcIdx(const MCInst *MI, unsigned OpNo, raw_ostream &O);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMInstPrinter.h28 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
33 std::pair<const char *, uint64_t> getMnemonic(const MCInst *MI) override;
34 void printInstruction(const MCInst *MI, uint64_t Address,
36 virtual bool printAliasInstr(const MCInst *MI, uint64_t Address,
38 virtual void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
45 void printOperand(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI,
47 void printOperand(const MCInst *MI, uint64_t Address, unsigned OpNum,
50 void printSORegRegOperand(const MCInst *MI, unsigned OpNum,
52 void printSORegImmOperand(const MCInst *MI, unsigned OpNum,
55 void printAddrModeTBB(const MCInst *MI, unsigned OpNum,
[all …]
H A DARMInstPrinter.cpp88 void ARMInstPrinter::printInst(const MCInst *MI, uint64_t Address, in printInst() argument
91 unsigned Opcode = MI->getOpcode(); in printInst()
95 const MCOperand &Reg = MI->getOperand(0); in printInst()
103 const MCOperand &Reg = MI->getOperand(0); in printInst()
111 const MCOperand &Reg = MI->getOperand(0); in printInst()
119 const MCOperand &Reg = MI->getOperand(0); in printInst()
129 const MCOperand &Dst = MI->getOperand(0); in printInst()
130 const MCOperand &MO1 = MI->getOperand(1); in printInst()
131 const MCOperand &MO2 = MI->getOperand(2); in printInst()
132 const MCOperand &MO3 = MI->getOperand(3); in printInst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUInstPrinter.h27 std::pair<const char *, uint64_t> getMnemonic(const MCInst *MI) override;
28 void printInstruction(const MCInst *MI, uint64_t Address,
33 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
39 void printU4ImmOperand(const MCInst *MI, unsigned OpNo,
41 void printU16ImmOperand(const MCInst *MI, unsigned OpNo,
43 void printU4ImmDecOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
44 void printU8ImmDecOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
45 void printU16ImmDecOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
46 void printU32ImmOperand(const MCInst *MI, unsigned OpNo,
48 void printNamedBit(const MCInst *MI, unsigned OpNo, raw_ostream &O,
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h87 /// Replace \p MI by a sequence of legal instructions that can implement the
88 /// same operation. Note that this means \p MI may be deleted, so any iterator
90 /// be initialized to the MachineFunction containing \p MI.
93 /// registers as \p MI.
94 LegalizeResult legalizeInstrStep(MachineInstr &MI,
98 LegalizeResult libcall(MachineInstr &MI, LostDebugLocObserver &LocObserver);
102 LegalizeResult narrowScalar(MachineInstr &MI, unsigned TypeIdx, LLT NarrowTy);
107 LegalizeResult widenScalar(MachineInstr &MI, unsigned TypeIdx, LLT WideTy);
110 LegalizeResult bitcast(MachineInstr &MI, unsigned TypeIdx, LLT Ty);
114 LegalizeResult lower(MachineInstr &MI, unsigned TypeIdx, LLT Ty);
[all …]
H A DCombinerHelper.h52 MachineInstr *MI; member
170 /// If \p MI is COPY, try to combine it.
171 /// Returns true if MI changed.
172 bool tryCombineCopy(MachineInstr &MI);
173 bool matchCombineCopy(MachineInstr &MI);
174 void applyCombineCopy(MachineInstr &MI);
188 /// If \p MI is extend that consumes the result of a load, try to combine it.
189 /// Returns true if MI changed.
190 bool tryCombineExtendingLoads(MachineInstr &MI);
191 bool matchCombineExtendingLoads(MachineInstr &MI, PreferredTuple &MatchInfo);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kInstPrinter.h34 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,
45 std::pair<const char *, uint64_t> getMnemonic(const MCInst *MI) override;
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);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64InstPrinter.h30 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot,
36 std::pair<const char *, uint64_t> getMnemonic(const MCInst *MI) override;
37 virtual void printInstruction(const MCInst *MI, uint64_t Address,
39 virtual bool printAliasInstr(const MCInst *MI, uint64_t Address,
41 virtual void printCustomAliasOperand(const MCInst *MI, uint64_t Address,
52 bool printSysAlias(const MCInst *MI, const MCSubtargetInfo &STI,
54 bool printSyspAlias(const MCInst *MI, const MCSubtargetInfo &STI,
56 bool printRangePrefetchAlias(const MCInst *MI, const MCSubtargetInfo &STI,
59 void printOperand(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI,
61 void printImm(const MCInst *MI, unsigne
72 printPostIncOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printPostIncOperand() argument
98 printMemExtend(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printMemExtend() argument
117 printUImm12Offset(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printUImm12Offset() argument
123 printAMIndexedWB(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printAMIndexedWB() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.h37 bool legalizeCustom(LegalizerHelper &Helper, MachineInstr &MI,
44 bool legalizeAddrSpaceCast(MachineInstr &MI, MachineRegisterInfo &MRI,
46 bool legalizeFroundeven(MachineInstr &MI, MachineRegisterInfo &MRI,
48 bool legalizeFceil(MachineInstr &MI, MachineRegisterInfo &MRI,
50 bool legalizeFrem(MachineInstr &MI, MachineRegisterInfo &MRI,
52 bool legalizeIntrinsicTrunc(MachineInstr &MI, MachineRegisterInfo &MRI,
54 bool legalizeITOFP(MachineInstr &MI, MachineRegisterInfo &MRI,
56 bool legalizeFPTOI(MachineInstr &MI, MachineRegisterInfo &MRI,
58 bool legalizeMinNumMaxNum(LegalizerHelper &Helper, MachineInstr &MI) const;
59 bool legalizeExtractVectorElt(MachineInstr &MI, MachineRegisterInfo &MRI,
[all …]
H A DGCNHazardRecognizer.cpp76 void GCNHazardRecognizer::EmitInstruction(MachineInstr *MI) { in EmitInstruction() argument
77 CurrCycleInstr = MI; in EmitInstruction()
123 static bool isXDL(const GCNSubtarget &ST, const MachineInstr &MI) { in isXDL() argument
124 unsigned Opcode = MI.getOpcode(); in isXDL()
126 if (!SIInstrInfo::isMAI(MI) || in isXDL()
139 const MachineInstr &MI) { in isSendMsgTraceDataOrGDS() argument
140 if (TII.isAlwaysGDS(MI.getOpcode())) in isSendMsgTraceDataOrGDS()
143 switch (MI.getOpcode()) { in isSendMsgTraceDataOrGDS()
154 if (TII.isDS(MI.getOpcode())) { in isSendMsgTraceDataOrGDS()
155 int GDS = AMDGPU::getNamedOperandIdx(MI.getOpcode(), in isSendMsgTraceDataOrGDS()
[all …]
H A DSIInstrInfo.h52 void insert(MachineInstr *MI);
71 bool isDeferred(MachineInstr *MI);
107 unsigned buildExtractSubReg(MachineBasicBlock::iterator MI,
114 MachineBasicBlock::iterator MI, MachineRegisterInfo &MRI,
179 Register findUsedSGPR(const MachineInstr &MI, int OpIndices[3]) const;
186 isCopyInstrImpl(const MachineInstr &MI) const override;
188 bool swapSourceModifiers(MachineInstr &MI,
192 MachineInstr *commuteInstructionImpl(MachineInstr &MI, bool NewMI,
230 bool isReallyTriviallyReMaterializable(const MachineInstr &MI) const override;
234 bool isSafeToSink(MachineInstr &MI, MachineBasicBlock *SuccToSinkTo,
[all …]
H A DSIMemoryLegalizer.cpp222 /// Reports unsupported message \p Msg for \p MI to LLVM context.
223 void reportUnsupported(const MachineBasicBlock::iterator &MI,
236 /// \returns Info constructed from \p MI, which has at least machine memory
239 constructFromMIWithMMO(const MachineBasicBlock::iterator &MI) const;
246 /// \returns Load info if \p MI is a load operation, "std::nullopt" otherwise.
248 getLoadInfo(const MachineBasicBlock::iterator &MI) const;
250 /// \returns Store info if \p MI is a store operation, "std::nullopt"
253 getStoreInfo(const MachineBasicBlock::iterator &MI) const;
255 /// \returns Atomic fence info if \p MI is an atomic fence operation,
258 getAtomicFenceInfo(const MachineBasicBlock::iterator &MI) const;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredUtils.h58 static inline bool isVCTP(const MachineInstr *MI) { in isVCTP() argument
59 switch (MI->getOpcode()) { in isVCTP()
71 static inline bool isDoLoopStart(const MachineInstr &MI) { in isDoLoopStart() argument
72 return MI.getOpcode() == ARM::t2DoLoopStart || in isDoLoopStart()
73 MI.getOpcode() == ARM::t2DoLoopStartTP; in isDoLoopStart()
76 static inline bool isWhileLoopStart(const MachineInstr &MI) { in isWhileLoopStart() argument
77 return MI.getOpcode() == ARM::t2WhileLoopStart || in isWhileLoopStart()
78 MI.getOpcode() == ARM::t2WhileLoopStartLR || in isWhileLoopStart()
79 MI.getOpcode() == ARM::t2WhileLoopStartTP; in isWhileLoopStart()
82 static inline bool isLoopStart(const MachineInstr &MI) { in isLoopStart() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
H A DVEInstPrinter.cpp39 void VEInstPrinter::printInst(const MCInst *MI, uint64_t Address, in printInst() argument
42 if (!printAliasInstr(MI, Address, STI, OS)) in printInst()
43 printInstruction(MI, Address, STI, OS); in printInst()
47 void VEInstPrinter::printOperand(const MCInst *MI, int OpNum, in printOperand() argument
49 const MCOperand &MO = MI->getOperand(OpNum); in printOperand()
67 void VEInstPrinter::printMemASXOperand(const MCInst *MI, int OpNum, in printMemASXOperand() argument
72 printOperand(MI, OpNum, STI, O); in printMemASXOperand()
74 printOperand(MI, OpNum + 1, STI, O); in printMemASXOperand()
78 if (MI->getOperand(OpNum + 2).isImm() && in printMemASXOperand()
79 MI->getOperand(OpNum + 2).getImm() == 0) { in printMemASXOperand()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaInstPrinter.cpp70 void XtensaInstPrinter::printInst(const MCInst *MI, uint64_t Address, in printInst() argument
73 printInstruction(MI, Address, O); in printInst()
81 void XtensaInstPrinter::printOperand(const MCInst *MI, int OpNum, in printOperand() argument
83 printOperand(MI->getOperand(OpNum), O); in printOperand()
86 void XtensaInstPrinter::printMemOperand(const MCInst *MI, int OpNum, in printMemOperand() argument
88 OS << getRegisterName(MI->getOperand(OpNum).getReg()); in printMemOperand()
90 printOperand(MI, OpNum + 1, OS); in printMemOperand()
93 void XtensaInstPrinter::printBranchTarget(const MCInst *MI, int OpNum, in printBranchTarget() argument
95 const MCOperand &MC = MI->getOperand(OpNum); in printBranchTarget()
96 if (MI->getOperand(OpNum).isImm()) { in printBranchTarget()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiInstPrinter.cpp38 bool LanaiInstPrinter::printInst(const MCInst *MI, raw_ostream &OS, in printInst() argument
42 printOperand(MI, OpNo0, OS); in printInst()
44 printOperand(MI, OpNo1, OS); in printInst()
48 static bool usesGivenOffset(const MCInst *MI, int AddOffset) { in usesGivenOffset() argument
49 unsigned AluCode = MI->getOperand(3).getImm(); in usesGivenOffset()
51 (MI->getOperand(2).getImm() == AddOffset || in usesGivenOffset()
52 MI->getOperand(2).getImm() == -AddOffset); in usesGivenOffset()
55 static bool isPreIncrementForm(const MCInst *MI, int AddOffset) { in isPreIncrementForm() argument
56 unsigned AluCode = MI->getOperand(3).getImm(); in isPreIncrementForm()
57 return LPAC::isPreOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPreIncrementForm()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYMCCodeEmitter.cpp30 unsigned CSKYMCCodeEmitter::getOImmOpValue(const MCInst &MI, unsigned Idx, in getOImmOpValue() argument
33 const MCOperand &MO = MI.getOperand(Idx); in getOImmOpValue()
39 CSKYMCCodeEmitter::getImmOpValueIDLY(const MCInst &MI, unsigned Idx, in getImmOpValueIDLY() argument
42 const MCOperand &MO = MI.getOperand(Idx); in getImmOpValueIDLY()
50 CSKYMCCodeEmitter::getImmOpValueMSBSize(const MCInst &MI, unsigned Idx, in getImmOpValueMSBSize() argument
53 const MCOperand &MSB = MI.getOperand(Idx); in getImmOpValueMSBSize()
54 const MCOperand &LSB = MI.getOperand(Idx + 1); in getImmOpValueMSBSize()
68 void CSKYMCCodeEmitter::expandJBTF(const MCInst &MI, SmallVectorImpl<char> &CB, in writeData()
77 MCInstBuilder(MI.getOpcode() == CSKY::JBT_E ? CSKY::BF16 : CSKY::BT16) in expandJBTF()
78 .addOperand(MI in expandJBTF()
70 expandJBTF(const MCInst & MI,raw_ostream & OS,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const expandJBTF() argument
96 expandNEG(const MCInst & MI,raw_ostream & OS,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const expandNEG() argument
118 expandRSUBI(const MCInst & MI,raw_ostream & OS,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const expandRSUBI() argument
140 encodeInstruction(const MCInst & MI,raw_ostream & OS,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const encodeInstruction() argument
245 getMachineOpValue(const MCInst & MI,const MCOperand & MO,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const getMachineOpValue() argument
259 getRegSeqImmOpValue(const MCInst & MI,unsigned Idx,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const getRegSeqImmOpValue() argument
275 getRegisterSeqOpValue(const MCInst & MI,unsigned Op,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const getRegisterSeqOpValue() argument
288 getImmJMPIX(const MCInst & MI,unsigned Idx,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const getImmJMPIX() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsInstPrinter.cpp32 static bool isReg(const MCInst &MI, unsigned OpNo) { in isReg()
33 assert(MI.getOperand(OpNo).isReg() && "Register operand expected."); in isReg()
34 return MI.getOperand(OpNo).getReg() == R; in isReg()
80 void MipsInstPrinter::printInst(const MCInst *MI, uint64_t Address, in printInst()
83 switch (MI->getOpcode()) { in printInst()
93 printSaveRestore(MI, STI, O); in printInst()
98 printSaveRestore(MI, STI, O); in printInst()
103 printSaveRestore(MI, STI, O); in printInst()
108 printSaveRestore(MI, STI, O); in printInst()
114 if (!printAliasInstr(MI, Addres in printInst()
31 isReg(const MCInst & MI,unsigned OpNo) isReg() argument
79 printInst(const MCInst * MI,uint64_t Address,StringRef Annot,const MCSubtargetInfo & STI,raw_ostream & O) printInst() argument
127 printOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printOperand() argument
144 printJumpOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printJumpOperand() argument
157 printBranchOperand(const MCInst * MI,uint64_t Address,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printBranchOperand() argument
178 printUImm(const MCInst * MI,int opNum,const MCSubtargetInfo & STI,raw_ostream & O) printUImm() argument
193 printMemOperand(const MCInst * MI,int opNum,const MCSubtargetInfo & STI,raw_ostream & O) printMemOperand() argument
223 printMemOperandEA(const MCInst * MI,int opNum,const MCSubtargetInfo & STI,raw_ostream & O) printMemOperandEA() argument
233 printFCCOperand(const MCInst * MI,int opNum,const MCSubtargetInfo &,raw_ostream & O) printFCCOperand() argument
241 printSHFMask(const MCInst * MI,int opNum,raw_ostream & O) printSHFMask() argument
245 printAlias(const char * Str,const MCInst & MI,uint64_t Address,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & OS,bool IsBranch) printAlias() argument
257 printAlias(const char * Str,const MCInst & MI,uint64_t Address,unsigned OpNo0,unsigned OpNo1,const MCSubtargetInfo & STI,raw_ostream & OS,bool IsBranch) printAlias() argument
270 printAlias(const MCInst & MI,uint64_t Address,const MCSubtargetInfo & STI,raw_ostream & OS) printAlias() argument
341 printSaveRestore(const MCInst * MI,const MCSubtargetInfo & STI,raw_ostream & O) printSaveRestore() argument
353 printRegisterList(const MCInst * MI,int opNum,const MCSubtargetInfo &,raw_ostream & O) printRegisterList() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZInstPrinter.cpp77 void SystemZInstPrinter::printInst(const MCInst *MI, uint64_t Address, in printInst()
80 printInstruction(MI, Address, O); in printInst()
85 void SystemZInstPrinter::printUImmOperand(const MCInst *MI, int OpNum, in printUImmOperand()
87 const MCOperand &MO = MI->getOperand(OpNum); in printUImmOperand()
98 void SystemZInstPrinter::printSImmOperand(const MCInst *MI, int OpNum, in printSImmOperand()
100 const MCOperand &MO = MI->getOperand(OpNum); in printSImmOperand()
105 int64_t Value = MI->getOperand(OpNum).getImm(); in printSImmOperand()
110 void SystemZInstPrinter::printU1ImmOperand(const MCInst *MI, int OpNum, in printU1ImmOperand()
112 printUImmOperand<1>(MI, OpNum, O); in printU1ImmOperand()
115 void SystemZInstPrinter::printU2ImmOperand(const MCInst *MI, in in printU2ImmOperand()
76 printInst(const MCInst * MI,uint64_t Address,StringRef Annot,const MCSubtargetInfo & STI,raw_ostream & O) printInst() argument
84 printUImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printUImmOperand() argument
97 printSImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printSImmOperand() argument
109 printU1ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU1ImmOperand() argument
114 printU2ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU2ImmOperand() argument
119 printU3ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU3ImmOperand() argument
124 printU4ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU4ImmOperand() argument
129 printS8ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printS8ImmOperand() argument
134 printU8ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU8ImmOperand() argument
139 printU12ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU12ImmOperand() argument
144 printS16ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printS16ImmOperand() argument
149 printU16ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU16ImmOperand() argument
154 printS32ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printS32ImmOperand() argument
159 printU32ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU32ImmOperand() argument
164 printU48ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU48ImmOperand() argument
169 printPCRelOperand(const MCInst * MI,int OpNum,raw_ostream & O) printPCRelOperand() argument
180 printPCRelTLSOperand(const MCInst * MI,uint64_t Address,int OpNum,raw_ostream & O) printPCRelTLSOperand() argument
204 printOperand(const MCInst * MI,int OpNum,raw_ostream & O) printOperand() argument
209 printBDAddrOperand(const MCInst * MI,int OpNum,raw_ostream & O) printBDAddrOperand() argument
215 printBDXAddrOperand(const MCInst * MI,int OpNum,raw_ostream & O) printBDXAddrOperand() argument
221 printBDLAddrOperand(const MCInst * MI,int OpNum,raw_ostream & O) printBDLAddrOperand() argument
235 printBDRAddrOperand(const MCInst * MI,int OpNum,raw_ostream & O) printBDRAddrOperand() argument
250 printBDVAddrOperand(const MCInst * MI,int OpNum,raw_ostream & O) printBDVAddrOperand() argument
256 printCond4Operand(const MCInst * MI,int OpNum,raw_ostream & O) printCond4Operand() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h57 Register isLoadFromStackSlot(const MachineInstr &MI,
65 Register isStoreToStackSlot(const MachineInstr &MI,
72 const MachineInstr &MI,
79 const MachineInstr &MI,
202 /// into real instructions. The target can edit MI in place, or it can insert
203 /// new instructions and erase MI. The function should return true if
205 bool expandPostRAPseudo(MachineInstr &MI) const override;
221 MachineBasicBlock::iterator MI) const override;
224 bool isPredicated(const MachineInstr &MI) const override;
227 bool isPostIncrement(const MachineInstr &MI) const override;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRExpandPseudoInsts.cpp152 MachineInstr &MI = *MBBI; in expandArith() local
154 Register DstReg = MI.getOperand(0).getReg(); in expandArith()
155 Register SrcReg = MI.getOperand(2).getReg(); in expandArith()
156 bool DstIsDead = MI.getOperand(0).isDead(); in expandArith()
157 bool DstIsKill = MI.getOperand(1).isKill(); in expandArith()
158 bool SrcIsKill = MI.getOperand(2).isKill(); in expandArith()
159 bool ImpIsDead = MI.getOperand(3).isDead(); in expandArith()
180 MI.eraseFromParent(); in expandArith()
185 MachineInstr &MI = *MBBI; in expandLogic() local
187 Register DstReg = MI.getOperand(0).getReg(); in expandLogic()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCInstPrinter.cpp55 void PPCInstPrinter::printInst(const MCInst *MI, uint64_t Address, in printInst() argument
63 (MI->getOpcode() == PPC::ADDIS8 || MI->getOpcode() == PPC::ADDIS) && in printInst()
64 MI->getOperand(2).isExpr()) { in printInst()
65 assert((MI->getOperand(0).isReg() && MI->getOperand(1).isReg()) && in printInst()
69 assert(isa<MCSymbolRefExpr>(MI->getOperand(2).getExpr()) && in printInst()
74 printOperand(MI, 0, STI, O); in printInst()
76 printOperand(MI, 2, STI, O); in printInst()
78 printOperand(MI, in printInst()
218 printPredicateOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O,const char * Modifier) printPredicateOperand() argument
316 printATBitsAsHint(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printATBitsAsHint() argument
326 printU1ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printU1ImmOperand() argument
334 printU2ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printU2ImmOperand() argument
342 printU3ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printU3ImmOperand() argument
350 printU4ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printU4ImmOperand() argument
358 printS5ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printS5ImmOperand() argument
366 printImmZeroOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printImmZeroOperand() argument
374 printU5ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printU5ImmOperand() argument
382 printU6ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printU6ImmOperand() argument
390 printU7ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printU7ImmOperand() argument
401 printU8ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printU8ImmOperand() argument
408 printU10ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printU10ImmOperand() argument
416 printU12ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printU12ImmOperand() argument
424 printS16ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printS16ImmOperand() argument
433 printS34ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printS34ImmOperand() argument
445 printU16ImmOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printU16ImmOperand() argument
454 printBranchOperand(const MCInst * MI,uint64_t Address,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printBranchOperand() argument
481 printAbsBranchOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printAbsBranchOperand() argument
490 printcrbitm(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printcrbitm() argument
508 printMemRegImm(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printMemRegImm() argument
520 printMemRegImmHash(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printMemRegImmHash() argument
529 printMemRegImm34PCRel(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printMemRegImm34PCRel() argument
538 printMemRegImm34(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printMemRegImm34() argument
547 printMemRegReg(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printMemRegReg() argument
561 printTLSCall(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printTLSCall() argument
643 printOperand(const MCInst * MI,unsigned OpNo,const MCSubtargetInfo & STI,raw_ostream & O) printOperand() argument
[all...]

12345678910>>...63