Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp89 int UseOpIdx,
520 unsigned UseOpIdx, in tryToFoldACImm() argument
524 if (!OpInfo || UseOpIdx >= Desc.getNumOperands()) in tryToFoldACImm()
527 uint8_t OpTy = OpInfo[UseOpIdx].OperandType; in tryToFoldACImm()
535 TII->isOperandLegal(*UseMI, UseOpIdx, &OpToFold)) { in tryToFoldACImm()
554 MachineOperand &UseOp = UseMI->getOperand(UseOpIdx); in tryToFoldACImm()
558 TII->isOperandLegal(*UseMI, UseOpIdx, &DefOp)) { in tryToFoldACImm()
578 !TII->isOperandLegal(*UseMI, UseOpIdx, Op)) in tryToFoldACImm()
594 int UseOpIdx, in foldOperand() argument
837 (int)UseOpIdx == in foldOperand()
[all …]
H A DAMDGPUSubtarget.cpp799 int UseOpIdx, SDep &Dep) const { in adjustSchedDependency() argument
838 DefI, DefOpIdx, UseI, UseOpIdx)); in adjustSchedDependency()
H A DGCNSubtarget.h1280 void adjustSchedDependency(SUnit *Def, int DefOpIdx, SUnit *Use, int UseOpIdx,
H A DSIInstrInfo.cpp4440 unsigned UseOpIdx; in verifyInstruction() local
4441 if (!MI.isRegTiedToUseOperand(StaticNumOps, &UseOpIdx) || in verifyInstruction()
4442 UseOpIdx != StaticNumOps + 1) { in verifyInstruction()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineInstr.h1520 unsigned *UseOpIdx = nullptr) const {
1524 if (UseOpIdx)
1525 *UseOpIdx = findTiedOperandIdx(DefOpIdx);
1532 bool isRegTiedToDefOperand(unsigned UseOpIdx,
1534 const MachineOperand &MO = getOperand(UseOpIdx);
1538 *DefOpIdx = findTiedOperandIdx(UseOpIdx);
H A DTargetSubtargetInfo.h235 int UseOpIdx, SDep &Dep) const {} in adjustSchedDependency() argument
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonSubtarget.h292 void adjustSchedDependency(SUnit *Def, int DefOpIdx, SUnit *Use, int UseOpIdx,
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp792 unsigned UseOpIdx; in computeInfoForInstr() local
804 } else if (MI.isRegTiedToUseOperand(0, &UseOpIdx)) { in computeInfoForInstr()
809 const MachineOperand &UseMO = MI.getOperand(UseOpIdx); in computeInfoForInstr()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1865 unsigned UseOpIdx; in visitMachineInstrBefore() local
1866 if (!MI->isRegTiedToUseOperand(Idx, &UseOpIdx)) { in visitMachineInstrBefore()
1870 if (UseOpIdx < FirstGCPtrIdx || UseOpIdx > LastGCPtrIdx) { in visitMachineInstrBefore()
H A DRegisterCoalescer.cpp863 unsigned UseOpIdx; in removeCopyByCommutingDef() local
864 if (!DefMI->isRegTiedToUseOperand(DefIdx, &UseOpIdx)) in removeCopyByCommutingDef()
877 if (!TII->findCommutedOpIndices(*DefMI, UseOpIdx, NewDstIdx)) in removeCopyByCommutingDef()
911 TII->commuteInstruction(*DefMI, false, UseOpIdx, NewDstIdx); in removeCopyByCommutingDef()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp3180 int UseOpIdx = MI.findRegisterUseOperandIdx(InUseReg, false, TRI); in replaceInstrOperandWithImm() local
3181 if (UseOpIdx >= 0) { in replaceInstrOperandWithImm()
3182 MachineOperand &MO = MI.getOperand(UseOpIdx); in replaceInstrOperandWithImm()
3191 MI.removeOperand(UseOpIdx); in replaceInstrOperandWithImm()