Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp160 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
162 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
165 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
168 OpNo = CommuteIdx0; in tryAddToFoldList()
175 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
180 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()