Home
last modified time | relevance | path

Searched refs:UseOpIdx (Results 1 – 14 of 14) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp96 unsigned UseOpIdx,
100 int UseOpIdx,
691 if (UseOpIdx >= Desc.getNumOperands()) in tryToFoldACImm()
694 if (!AMDGPU::isSISrcInlinableOperand(Desc, UseOpIdx)) in tryToFoldACImm()
697 uint8_t OpTy = Desc.operands()[UseOpIdx].OperandType; in tryToFoldACImm()
716 MachineOperand &UseOp = UseMI->getOperand(UseOpIdx); in tryToFoldACImm()
740 !TII->isOperandLegal(*UseMI, UseOpIdx, Op)) in tryToFoldACImm()
756 int UseOpIdx, in foldOperand() argument
796 if (frameIndexMayFold(*UseMI, UseOpIdx, OpToFold)) { in foldOperand()
983 (int)UseOpIdx == in foldOperand()
[all …]
H A DAMDGPUSubtarget.cpp853 int UseOpIdx, SDep &Dep) const { in adjustSchedDependency() argument
892 DefI, DefOpIdx, UseI, UseOpIdx)); in adjustSchedDependency()
H A DGCNSubtarget.h1465 void adjustSchedDependency(SUnit *Def, int DefOpIdx, SUnit *Use, int UseOpIdx,
H A DSIInstrInfo.cpp4961 unsigned UseOpIdx; in verifyInstruction() local
4962 if (!MI.isRegTiedToUseOperand(StaticNumOps, &UseOpIdx) || in verifyInstruction()
4963 UseOpIdx != StaticNumOps + 1) { in verifyInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRVVInitUndef.cpp252 unsigned UseOpIdx; in processBasicBlock() local
253 if (MI.getNumDefs() != 0 && MI.isRegTiedToUseOperand(0, &UseOpIdx)) { in processBasicBlock()
254 MachineOperand &UseMO = MI.getOperand(UseOpIdx); in processBasicBlock()
257 TII->getRegClass(MI.getDesc(), UseOpIdx, TRI, MF); in processBasicBlock()
H A DRISCVInsertVSETVLI.cpp180 unsigned UseOpIdx; in hasUndefinedMergeOp() local
181 if (!MI.isRegTiedToUseOperand(0, &UseOpIdx)) in hasUndefinedMergeOp()
189 const MachineOperand &UseMO = MI.getOperand(UseOpIdx); in hasUndefinedMergeOp()
H A DRISCVInstrInfo.cpp2125 unsigned UseOpIdx; in verifyInstruction() local
2126 if (!MI.isRegTiedToUseOperand(0, &UseOpIdx)) { in verifyInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstr.h1622 unsigned *UseOpIdx = nullptr) const {
1626 if (UseOpIdx)
1627 *UseOpIdx = findTiedOperandIdx(DefOpIdx);
1634 bool isRegTiedToDefOperand(unsigned UseOpIdx,
1636 const MachineOperand &MO = getOperand(UseOpIdx);
1640 *DefOpIdx = findTiedOperandIdx(UseOpIdx);
H A DTargetSubtargetInfo.h238 int UseOpIdx, SDep &Dep) const {} in adjustSchedDependency() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DScheduleDAGInstrs.cpp261 int UseOpIdx = I->OpIdx; in addPhysRegDataDeps() local
264 if (UseOpIdx < 0) { in addPhysRegDataDeps()
272 Register UseReg = UseInstr->getOperand(UseOpIdx).getReg(); in addPhysRegDataDeps()
274 ImplicitPseudoUse = UseOpIdx >= ((int)UseMIDesc.getNumOperands()) && in addPhysRegDataDeps()
281 UseInstr, UseOpIdx)); in addPhysRegDataDeps()
285 ST.adjustSchedDependency(SU, OperIdx, UseSU, UseOpIdx, Dep); in addPhysRegDataDeps()
H A DMachineVerifier.cpp2033 unsigned UseOpIdx; in visitMachineInstrBefore() local
2034 if (!MI->isRegTiedToUseOperand(Idx, &UseOpIdx)) { in visitMachineInstrBefore()
2038 if (UseOpIdx < FirstGCPtrIdx || UseOpIdx > LastGCPtrIdx) { in visitMachineInstrBefore()
H A DRegisterCoalescer.cpp853 unsigned UseOpIdx; in removeCopyByCommutingDef() local
854 if (!DefMI->isRegTiedToUseOperand(DefIdx, &UseOpIdx)) in removeCopyByCommutingDef()
867 if (!TII->findCommutedOpIndices(*DefMI, UseOpIdx, NewDstIdx)) in removeCopyByCommutingDef()
901 TII->commuteInstruction(*DefMI, false, UseOpIdx, NewDstIdx); in removeCopyByCommutingDef()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonSubtarget.h310 void adjustSchedDependency(SUnit *Def, int DefOpIdx, SUnit *Use, int UseOpIdx,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp3240 int UseOpIdx = MI.findRegisterUseOperandIdx(InUseReg, false, TRI); in replaceInstrOperandWithImm() local
3241 if (UseOpIdx >= 0) { in replaceInstrOperandWithImm()
3242 MachineOperand &MO = MI.getOperand(UseOpIdx); in replaceInstrOperandWithImm()
3251 MI.removeOperand(UseOpIdx); in replaceInstrOperandWithImm()