Searched refs:Op1Idx (Results 1 – 3 of 3) sorted by relevance
57 int Op1Idx = AMDGPU::getNamedOperandIdx(Opc1, OpName); in nodesHaveSameOperandValue() local59 if (Op0Idx == -1 && Op1Idx == -1) in nodesHaveSameOperandValue()63 if ((Op0Idx == -1 && Op1Idx != -1) || in nodesHaveSameOperandValue()64 (Op1Idx == -1 && Op0Idx != -1)) in nodesHaveSameOperandValue()72 --Op1Idx; in nodesHaveSameOperandValue()74 return N0->getOperand(Op0Idx) == N1->getOperand(Op1Idx); in nodesHaveSameOperandValue()
1325 unsigned Op1Idx = ~0U; in SinkThenElseCodeToEnd() local1331 if (Op1Idx != ~0U || in SinkThenElseCodeToEnd()1340 Op1Idx = I; in SinkThenElseCodeToEnd()1349 if (Op1Idx != ~0U) { in SinkThenElseCodeToEnd()1360 I1->setOperand(Op1Idx, NewPN); in SinkThenElseCodeToEnd()
2613 unsigned Op1Idx = 1; in swapMayExposeCSEOpportunities() local2614 if (BinOp->getOperand(Op1Idx) == Op0) { in swapMayExposeCSEOpportunities()2615 Op1Idx = 0; in swapMayExposeCSEOpportunities()2618 if (BinOp->getOperand(Op1Idx) != Op1) in swapMayExposeCSEOpportunities()