Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp57 int Op0Idx = AMDGPU::getNamedOperandIdx(Opc0, OpName); in nodesHaveSameOperandValue() local
60 if (Op0Idx == -1 && Op1Idx == -1) in nodesHaveSameOperandValue()
64 if ((Op0Idx == -1 && Op1Idx != -1) || in nodesHaveSameOperandValue()
65 (Op1Idx == -1 && Op0Idx != -1)) in nodesHaveSameOperandValue()
72 --Op0Idx; in nodesHaveSameOperandValue()
75 return N0->getOperand(Op0Idx) == N1->getOperand(Op1Idx); in nodesHaveSameOperandValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp114 int Op0Idx = AMDGPU::getNamedOperandIdx(Opc0, OpName); in nodesHaveSameOperandValue() local
117 if (Op0Idx == -1 && Op1Idx == -1) in nodesHaveSameOperandValue()
121 if ((Op0Idx == -1 && Op1Idx != -1) || in nodesHaveSameOperandValue()
122 (Op1Idx == -1 && Op0Idx != -1)) in nodesHaveSameOperandValue()
129 --Op0Idx; in nodesHaveSameOperandValue()
132 return N0->getOperand(Op0Idx) == N1->getOperand(Op1Idx); in nodesHaveSameOperandValue()