Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp89 int UseOpIdx,
533 unsigned UseOpIdx, in tryToFoldACImm() argument
537 if (!OpInfo || UseOpIdx >= Desc.getNumOperands()) in tryToFoldACImm()
540 uint8_t OpTy = OpInfo[UseOpIdx].OperandType; in tryToFoldACImm()
548 TII->isOperandLegal(*UseMI, UseOpIdx, &OpToFold)) { in tryToFoldACImm()
549 UseMI->getOperand(UseOpIdx).ChangeToImmediate(OpToFold.getImm()); in tryToFoldACImm()
567 MachineOperand &UseOp = UseMI->getOperand(UseOpIdx); in tryToFoldACImm()
571 TII->isOperandLegal(*UseMI, UseOpIdx, &DefOp)) { in tryToFoldACImm()
572 UseMI->getOperand(UseOpIdx).ChangeToImmediate(DefOp.getImm()); in tryToFoldACImm()
591 !TII->isOperandLegal(*UseMI, UseOpIdx, Op)) in tryToFoldACImm()
[all …]
DGCNSubtarget.h1183 void adjustSchedDependency(SUnit *Def, int DefOpIdx, SUnit *Use, int UseOpIdx,
DAMDGPUSubtarget.cpp973 int UseOpIdx, SDep &Dep) const { in adjustSchedDependency() argument
DSIInstrInfo.cpp4203 unsigned UseOpIdx; in verifyInstruction() local
4204 if (!MI.isRegTiedToUseOperand(StaticNumOps, &UseOpIdx) || in verifyInstruction()
4205 UseOpIdx != StaticNumOps + 1) { in verifyInstruction()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DMachineInstr.h1545 unsigned *UseOpIdx = nullptr) const {
1549 if (UseOpIdx)
1550 *UseOpIdx = findTiedOperandIdx(DefOpIdx);
1557 bool isRegTiedToDefOperand(unsigned UseOpIdx,
1559 const MachineOperand &MO = getOperand(UseOpIdx);
1563 *DefOpIdx = findTiedOperandIdx(UseOpIdx);
DTargetSubtargetInfo.h234 int UseOpIdx, SDep &Dep) const {} in adjustSchedDependency() argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
DRISCVInsertVSETVLI.cpp380 unsigned UseOpIdx; in computeInfoForInstr() local
381 if (!ForceTailAgnostic && MI.isRegTiedToUseOperand(0, &UseOpIdx)) { in computeInfoForInstr()
384 const MachineOperand &UseMO = MI.getOperand(UseOpIdx); in computeInfoForInstr()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
DHexagonSubtarget.h271 void adjustSchedDependency(SUnit *Def, int DefOpIdx, SUnit *Use, int UseOpIdx,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DMachineVerifier.cpp1772 unsigned UseOpIdx; in visitMachineInstrBefore() local
1773 if (!MI->isRegTiedToUseOperand(Idx, &UseOpIdx)) { in visitMachineInstrBefore()
1777 if (UseOpIdx < FirstGCPtrIdx || UseOpIdx > LastGCPtrIdx) { in visitMachineInstrBefore()
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()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp3169 int UseOpIdx = MI.findRegisterUseOperandIdx(InUseReg, false, TRI); in replaceInstrOperandWithImm() local
3170 if (UseOpIdx >= 0) { in replaceInstrOperandWithImm()
3171 MachineOperand &MO = MI.getOperand(UseOpIdx); in replaceInstrOperandWithImm()
3180 MI.RemoveOperand(UseOpIdx); in replaceInstrOperandWithImm()