Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp92 unsigned UseOpIdx,
96 int UseOpIdx,
498 const MachineOperand &OpToFold, MachineInstr *UseMI, unsigned UseOpIdx, in tryToFoldACImm() argument
501 if (UseOpIdx >= Desc.getNumOperands()) in tryToFoldACImm()
504 uint8_t OpTy = Desc.operands()[UseOpIdx].OperandType; in tryToFoldACImm()
512 TII->isOperandLegal(*UseMI, UseOpIdx, &OpToFold)) { in tryToFoldACImm()
513 UseMI->getOperand(UseOpIdx).ChangeToImmediate(OpToFold.getImm()); in tryToFoldACImm()
529 MachineOperand &UseOp = UseMI->getOperand(UseOpIdx); in tryToFoldACImm()
533 TII->isOperandLegal(*UseMI, UseOpIdx, &DefOp)) { in tryToFoldACImm()
534 UseMI->getOperand(UseOpIdx).ChangeToImmediate(DefOp.getImm()); in tryToFoldACImm()
[all …]
DAMDGPUSubtarget.cpp819 int UseOpIdx, SDep &Dep) const { in adjustSchedDependency() argument
858 DefI, DefOpIdx, UseI, UseOpIdx)); in adjustSchedDependency()
DGCNSubtarget.h1316 void adjustSchedDependency(SUnit *Def, int DefOpIdx, SUnit *Use, int UseOpIdx,
DSIInstrInfo.cpp4557 unsigned UseOpIdx; in verifyInstruction() local
4558 if (!MI.isRegTiedToUseOperand(StaticNumOps, &UseOpIdx) || in verifyInstruction()
4559 UseOpIdx != StaticNumOps + 1) { in verifyInstruction()
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/
DMachineInstr.h1575 unsigned *UseOpIdx = nullptr) const {
1579 if (UseOpIdx)
1580 *UseOpIdx = findTiedOperandIdx(DefOpIdx);
1587 bool isRegTiedToDefOperand(unsigned UseOpIdx,
1589 const MachineOperand &MO = getOperand(UseOpIdx);
1593 *DefOpIdx = findTiedOperandIdx(UseOpIdx);
DTargetSubtargetInfo.h237 int UseOpIdx, SDep &Dep) const {} in adjustSchedDependency() argument
/openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/
DHexagonSubtarget.h310 void adjustSchedDependency(SUnit *Def, int DefOpIdx, SUnit *Use, int UseOpIdx,
/openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/
DRISCVInsertVSETVLI.cpp640 unsigned UseOpIdx; in INITIALIZE_PASS() local
641 if (MI.isRegTiedToUseOperand(0, &UseOpIdx)) { in INITIALIZE_PASS()
658 const MachineOperand &UseMO = MI.getOperand(UseOpIdx); in INITIALIZE_PASS()
DRISCVInstrInfo.cpp1742 unsigned UseOpIdx; in verifyInstruction() local
1743 if (!MI.isRegTiedToUseOperand(0, &UseOpIdx)) { in verifyInstruction()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DMachineVerifier.cpp1921 unsigned UseOpIdx; in visitMachineInstrBefore() local
1922 if (!MI->isRegTiedToUseOperand(Idx, &UseOpIdx)) { in visitMachineInstrBefore()
1926 if (UseOpIdx < FirstGCPtrIdx || UseOpIdx > LastGCPtrIdx) { in visitMachineInstrBefore()
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()
/openbsd/src/gnu/llvm/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp3266 int UseOpIdx = MI.findRegisterUseOperandIdx(InUseReg, false, TRI); in replaceInstrOperandWithImm() local
3267 if (UseOpIdx >= 0) { in replaceInstrOperandWithImm()
3268 MachineOperand &MO = MI.getOperand(UseOpIdx); in replaceInstrOperandWithImm()
3277 MI.removeOperand(UseOpIdx); in replaceInstrOperandWithImm()