Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp192 unsigned UseOpIdx, in foldOperand() argument
197 const MachineOperand &UseOp = UseMI->getOperand(UseOpIdx); in foldOperand()
257 unsigned RegSeqDstSubReg = UseMI->getOperand(UseOpIdx + 1).getImm(); in foldOperand()
278 UseDesc.OpInfo[UseOpIdx].RegClass == -1) in foldOperand()
283 tryAddToFoldList(FoldList, UseMI, UseOpIdx, &ImmOp, TII); in foldOperand()
287 tryAddToFoldList(FoldList, UseMI, UseOpIdx, &OpToFold, TII); in foldOperand()
/external/llvm/include/llvm/CodeGen/
DMachineInstr.h1046 unsigned *UseOpIdx = nullptr) const {
1050 if (UseOpIdx)
1051 *UseOpIdx = findTiedOperandIdx(DefOpIdx);
1058 bool isRegTiedToDefOperand(unsigned UseOpIdx,
1060 const MachineOperand &MO = getOperand(UseOpIdx);
1064 *DefOpIdx = findTiedOperandIdx(UseOpIdx);
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineInstr.cpp991 isRegTiedToUseOperand(unsigned DefOpIdx, unsigned *UseOpIdx) const { in isRegTiedToUseOperand()
1016 if (UseOpIdx) in isRegTiedToUseOperand()
1017 *UseOpIdx = (unsigned)i + 1 + DefPart; in isRegTiedToUseOperand()
1030 if (UseOpIdx) in isRegTiedToUseOperand()
1031 *UseOpIdx = (unsigned)i; in isRegTiedToUseOperand()
1042 isRegTiedToDefOperand(unsigned UseOpIdx, unsigned *DefOpIdx) const { in isRegTiedToDefOperand() argument
1044 const MachineOperand &MO = getOperand(UseOpIdx); in isRegTiedToDefOperand()
1049 int FlagIdx = findInlineAsmFlagIdx(UseOpIdx); in isRegTiedToDefOperand()
1069 *DefOpIdx = DefIdx + UseOpIdx - FlagIdx; in isRegTiedToDefOperand()
1076 if (UseOpIdx >= MCID.getNumOperands()) in isRegTiedToDefOperand()
[all …]
DRegisterCoalescer.cpp661 unsigned UseOpIdx; in RemoveCopyByCommutingDef() local
662 if (!DefMI->isRegTiedToUseOperand(DefIdx, &UseOpIdx)) in RemoveCopyByCommutingDef()
667 if (Op1 == UseOpIdx) in RemoveCopyByCommutingDef()
669 else if (Op2 == UseOpIdx) in RemoveCopyByCommutingDef()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineInstr.h420 bool isRegTiedToUseOperand(unsigned DefOpIdx, unsigned *UseOpIdx = 0) const;
425 bool isRegTiedToDefOperand(unsigned UseOpIdx, unsigned *DefOpIdx = 0) const;
/external/llvm/lib/CodeGen/
DRegisterCoalescer.cpp673 unsigned UseOpIdx; in removeCopyByCommutingDef() local
674 if (!DefMI->isRegTiedToUseOperand(DefIdx, &UseOpIdx)) in removeCopyByCommutingDef()
687 if (!TII->findCommutedOpIndices(*DefMI, UseOpIdx, NewDstIdx)) in removeCopyByCommutingDef()
721 TII->commuteInstruction(*DefMI, false, UseOpIdx, NewDstIdx); in removeCopyByCommutingDef()