Searched refs:Op1Idx (Results 1 – 3 of 3) sorted by relevance
58 int Op1Idx = AMDGPU::getNamedOperandIdx(Opc1, OpName); in nodesHaveSameOperandValue() local60 if (Op0Idx == -1 && Op1Idx == -1) in nodesHaveSameOperandValue()64 if ((Op0Idx == -1 && Op1Idx != -1) || in nodesHaveSameOperandValue()65 (Op1Idx == -1 && Op0Idx != -1)) in nodesHaveSameOperandValue()73 --Op1Idx; in nodesHaveSameOperandValue()75 return N0->getOperand(Op0Idx) == N1->getOperand(Op1Idx); in nodesHaveSameOperandValue()
1427 unsigned Op1Idx = ~0U; in SinkThenElseCodeToEnd() local1433 if (Op1Idx != ~0U || isa<Constant>(I1->getOperand(I)) || in SinkThenElseCodeToEnd()1441 Op1Idx = I; in SinkThenElseCodeToEnd()1450 if (Op1Idx != ~0U) { in SinkThenElseCodeToEnd()1461 I1->setOperand(Op1Idx, NewPN); in SinkThenElseCodeToEnd()
2971 unsigned Op1Idx = 1; in swapMayExposeCSEOpportunities() local2972 if (BinOp->getOperand(Op1Idx) == Op0) { in swapMayExposeCSEOpportunities()2973 Op1Idx = 0; in swapMayExposeCSEOpportunities()2976 if (BinOp->getOperand(Op1Idx) != Op1) in swapMayExposeCSEOpportunities()