Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp96 int UseOpIdx,
506 unsigned UseOpIdx, in tryToFoldACImm() argument
510 if (!OpInfo || UseOpIdx >= Desc.getNumOperands()) in tryToFoldACImm()
513 uint8_t OpTy = OpInfo[UseOpIdx].OperandType; in tryToFoldACImm()
519 TII->isOperandLegal(*UseMI, UseOpIdx, &OpToFold)) { in tryToFoldACImm()
520 UseMI->getOperand(UseOpIdx).ChangeToImmediate(OpToFold.getImm()); in tryToFoldACImm()
550 !TII->isOperandLegal(*UseMI, UseOpIdx, Op)) in tryToFoldACImm()
559 appendFoldCandidate(FoldList, UseMI, UseOpIdx, Defs[0].first); in tryToFoldACImm()
566 int UseOpIdx, in foldOperand() argument
569 const MachineOperand &UseOp = UseMI->getOperand(UseOpIdx); in foldOperand()
[all …]
DSIInstrInfo.cpp3604 unsigned UseOpIdx; in verifyInstruction() local
3605 if (!MI.isRegTiedToUseOperand(StaticNumOps, &UseOpIdx) || in verifyInstruction()
3606 UseOpIdx != StaticNumOps + 1) { in verifyInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineInstr.h1367 unsigned *UseOpIdx = nullptr) const {
1371 if (UseOpIdx)
1372 *UseOpIdx = findTiedOperandIdx(DefOpIdx);
1379 bool isRegTiedToDefOperand(unsigned UseOpIdx,
1381 const MachineOperand &MO = getOperand(UseOpIdx);
1385 *DefOpIdx = findTiedOperandIdx(UseOpIdx);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegisterCoalescer.cpp816 unsigned UseOpIdx; in removeCopyByCommutingDef() local
817 if (!DefMI->isRegTiedToUseOperand(DefIdx, &UseOpIdx)) in removeCopyByCommutingDef()
830 if (!TII->findCommutedOpIndices(*DefMI, UseOpIdx, NewDstIdx)) in removeCopyByCommutingDef()
864 TII->commuteInstruction(*DefMI, false, UseOpIdx, NewDstIdx); in removeCopyByCommutingDef()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp2267 int UseOpIdx = MI.findRegisterUseOperandIdx(InUseReg, false, TRI); in replaceInstrOperandWithImm() local
2268 if (UseOpIdx >= 0) { in replaceInstrOperandWithImm()
2269 MachineOperand &MO = MI.getOperand(UseOpIdx); in replaceInstrOperandWithImm()
2278 MI.RemoveOperand(UseOpIdx); in replaceInstrOperandWithImm()