Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp57 int Op1Idx = AMDGPU::getNamedOperandIdx(Opc1, OpName); in nodesHaveSameOperandValue() local
59 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()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1325 unsigned Op1Idx = ~0U; in SinkThenElseCodeToEnd() local
1331 if (Op1Idx != ~0U || in SinkThenElseCodeToEnd()
1340 Op1Idx = I; in SinkThenElseCodeToEnd()
1349 if (Op1Idx != ~0U) { in SinkThenElseCodeToEnd()
1360 I1->setOperand(Op1Idx, NewPN); in SinkThenElseCodeToEnd()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2613 unsigned Op1Idx = 1; in swapMayExposeCSEOpportunities() local
2614 if (BinOp->getOperand(Op1Idx) == Op0) { in swapMayExposeCSEOpportunities()
2615 Op1Idx = 0; in swapMayExposeCSEOpportunities()
2618 if (BinOp->getOperand(Op1Idx) != Op1) in swapMayExposeCSEOpportunities()