Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp2198 BinaryOperator *Op1I = dyn_cast<BinaryOperator>(Op1); in visitXor() local
2199 if (Op1I) { in visitXor()
2201 if (match(Op1I, m_Or(m_Value(A), m_Value(B)))) { in visitXor()
2203 Op1I->swapOperands(); in visitXor()
2210 } else if (match(Op1I, m_And(m_Value(A), m_Value(B))) && in visitXor()
2211 Op1I->hasOneUse()){ in visitXor()
2213 Op1I->swapOperands(); in visitXor()
2244 if (Op0I && Op1I && Op0I->isShift() && in visitXor()
2245 Op0I->getOpcode() == Op1I->getOpcode() && in visitXor()
2246 Op0I->getOperand(1) == Op1I->getOperand(1) && in visitXor()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp2637 BinaryOperator *Op1I = dyn_cast<BinaryOperator>(Op1); in visitXor() local
2638 if (Op1I) { in visitXor()
2640 if (match(Op1I, m_Or(m_Value(A), m_Value(B)))) { in visitXor()
2642 Op1I->swapOperands(); in visitXor()
2649 } else if (match(Op1I, m_And(m_Value(A), m_Value(B))) && in visitXor()
2650 Op1I->hasOneUse()){ in visitXor()
2652 Op1I->swapOperands(); in visitXor()
2682 if (Op0I && Op1I) { in visitXor()
2686 match(Op1I, m_Or(m_Value(C), m_Value(D)))) { in visitXor()
2692 match(Op1I, m_And(m_Value(C), m_Value(D)))) { in visitXor()
[all …]