/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | CombinerHelper.h | 52 MachineInstr *MI; member 172 bool tryCombineCopy(MachineInstr &MI); 173 bool matchCombineCopy(MachineInstr &MI); 174 void applyCombineCopy(MachineInstr &MI); 190 bool tryCombineExtendingLoads(MachineInstr &MI); 191 bool matchCombineExtendingLoads(MachineInstr &MI, PreferredTuple &MatchInfo); 192 void applyCombineExtendingLoads(MachineInstr &MI, PreferredTuple &MatchInfo); 195 bool matchCombineLoadWithAndMask(MachineInstr &MI, BuildFnTy &MatchInfo); 199 bool matchCombineExtractedVectorLoad(MachineInstr &MI, BuildFnTy &MatchInfo); 201 bool matchCombineIndexedLoadStore(MachineInstr &MI, IndexedLoadStoreMatchInfo &MatchInfo); [all …]
|
H A D | LegalizerHelper.h | 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); 118 LegalizeResult fewerElementsVector(MachineInstr &MI, unsigned TypeIdx, 123 LegalizeResult moreElementsVector(MachineInstr &MI, unsigned TypeIdx, 137 void widenScalarSrc(MachineInstr &MI, LLT WideTy, unsigned OpIdx, 143 void narrowScalarSrc(MachineInstr &MI, LLT NarrowTy, unsigned OpIdx); [all …]
|
H A D | GenericMachineInstrs.h | 40 static bool classof(const MachineInstr *MI) { in classof() argument 41 return isPreISelGenericOpcode(MI->getOpcode()); in classof() 74 static bool classof(const MachineInstr *MI) { in classof() argument 75 return GenericMachineInstr::classof(MI) && MI->hasOneMemOperand(); in classof() 86 static bool classof(const MachineInstr *MI) { in classof() argument 87 switch (MI->getOpcode()) { in classof() 116 static bool classof(const MachineInstr *MI) { in classof() argument 117 return MI->getOpcode() == TargetOpcode::G_INDEXED_LOAD; in classof() 124 static bool classof(const MachineInstr *MI) { in classof() argument 125 return MI->getOpcode() == TargetOpcode::G_INDEXED_SEXTLOAD || in classof() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZShortenInst.cpp | 39 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); 68 static void tieOpsIfNeeded(MachineInstr &MI) { in tieOpsIfNeeded() argument 69 if (MI.getDesc().getOperandConstraint(1, MCOI::TIED_TO) == 0 && in tieOpsIfNeeded() 70 !MI.getOperand(0).isTied()) in tieOpsIfNeeded() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/ |
H A D | M68kInstPrinter.h | 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, 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/Hexagon/ |
H A D | HexagonInstrInfo.h | 57 Register isLoadFromStackSlot(const MachineInstr &MI, 65 Register isStoreToStackSlot(const MachineInstr &MI, 72 const MachineInstr &MI, 79 const MachineInstr &MI, 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; 231 bool PredicateInstruction(MachineInstr &MI, 242 bool ClobbersPredicate(MachineInstr &MI, std::vector<MachineOperand> &Pred, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86InstComments.cpp | 239 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 D | X86ATTInstPrinter.h | 27 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 D | X86IntelInstPrinter.h | 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 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/VE/MCTargetDesc/ |
H A D | VEInstPrinter.cpp | 39 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/ARM/MCTargetDesc/ |
H A D | ARMInstPrinter.h | 28 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 D | ARMInstPrinter.cpp | 88 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/ARM/ |
H A D | MVETailPredUtils.h | 58 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/Mips/MCTargetDesc/ |
H A D | MipsInstPrinter.cpp | 32 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/AMDGPU/ |
H A D | GCNHazardRecognizer.cpp | 76 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 D | SIMemoryLegalizer.cpp | 223 void reportUnsupported(const MachineBasicBlock::iterator &MI, 239 constructFromMIWithMMO(const MachineBasicBlock::iterator &MI) const; 248 getLoadInfo(const MachineBasicBlock::iterator &MI) const; 253 getStoreInfo(const MachineBasicBlock::iterator &MI) const; 258 getAtomicFenceInfo(const MachineBasicBlock::iterator &MI) const; 263 getAtomicCmpxchgOrRmwInfo(const MachineBasicBlock::iterator &MI) const; 284 bool enableNamedBit(const MachineBasicBlock::iterator MI, 295 virtual bool enableLoadCacheBypass(const MachineBasicBlock::iterator &MI, 302 virtual bool enableStoreCacheBypass(const MachineBasicBlock::iterator &MI, 309 virtual bool enableRMWCacheBypass(const MachineBasicBlock::iterator &MI, [all …]
|
H A D | SIInstrInfo.h | 52 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 D | AMDGPULegalizerInfo.h | 37 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 …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/ |
H A D | XtensaInstPrinter.cpp | 70 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 D | LanaiInstPrinter.cpp | 38 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/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUInstPrinter.h | 27 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/lib/Target/ARC/ |
H A D | ARCBranchFinalize.cpp | 51 void replaceWithBRcc(MachineInstr *MI) const; 52 void replaceWithCmpBcc(MachineInstr *MI) const; 95 static bool isBRccPseudo(MachineInstr *MI) { in isBRccPseudo() argument 96 return !(MI->getOpcode() != ARC::BRcc_rr_p && in isBRccPseudo() 97 MI->getOpcode() != ARC::BRcc_ru6_p); in isBRccPseudo() 100 static unsigned getBRccForPseudo(MachineInstr *MI) { in getBRccForPseudo() argument 101 assert(isBRccPseudo(MI) && "Can't get BRcc for wrong instruction."); in getBRccForPseudo() 102 if (MI->getOpcode() == ARC::BRcc_rr_p) in getBRccForPseudo() 107 static unsigned getCmpForPseudo(MachineInstr *MI) { in getCmpForPseudo() argument 108 assert(isBRccPseudo(MI) && "Can't get BRcc for wrong instruction."); in getCmpForPseudo() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64InstPrinter.h | 30 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/PowerPC/MCTargetDesc/ |
H A D | PPCInstPrinter.cpp | 55 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...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/ |
H A D | SPIRVInstPrinter.cpp | 36 void SPIRVInstPrinter::printRemainingVariableOps(const MCInst *MI, in printRemainingVariableOps() argument 41 const unsigned NumOps = MI->getNumOperands(); in printRemainingVariableOps() 43 if (!SkipImmediates || !MI->getOperand(i).isImm()) { in printRemainingVariableOps() 46 printOperand(MI, i, O); in printRemainingVariableOps() 51 void SPIRVInstPrinter::printOpConstantVarOps(const MCInst *MI, in printOpConstantVarOps() argument 54 unsigned IsBitwidth16 = MI->getFlags() & SPIRV::ASM_PRINTER_WIDTH16; in printOpConstantVarOps() 55 const unsigned NumVarOps = MI->getNumOperands() - StartIndex; in printOpConstantVarOps() 62 uint64_t Imm = MI->getOperand(StartIndex).getImm(); in printOpConstantVarOps() 66 Imm |= (MI->getOperand(StartIndex + 1).getImm() << 32); in printOpConstantVarOps() 70 if (MI->getOpcode() == SPIRV::OpConstantF && IsBitwidth16 == 0) { in printOpConstantVarOps() [all …]
|