Home
last modified time | relevance | path

Searched refs:m_Or (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1344 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in visitAnd()
1350 if (match(Op1, m_Or(m_Value(A), m_Value(B))) && in visitAnd()
1383 if (match(Op0, m_Or(m_Not(m_Specific(Op1)), m_Value(A))) || in visitAnd()
1384 match(Op0, m_Or(m_Value(A), m_Not(m_Specific(Op1))))) in visitAnd()
1386 if (match(Op1, m_Or(m_Not(m_Specific(Op0)), m_Value(A))) || in visitAnd()
1387 match(Op1, m_Or(m_Value(A), m_Not(m_Specific(Op0))))) in visitAnd()
1403 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in visitAnd()
1409 match(Op1, m_Or(m_Specific(A), m_Specific(B)))) in visitAnd()
2202 if (match(Op0, m_Or(m_Value(), m_Value())) || in visitOr()
2203 match(Op1, m_Or(m_Value(), m_Value())) || in visitOr()
[all …]
DInstCombineAddSub.cpp1018 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { in checkForNegativeOperand()
1291 if (match(RHS, m_Or(m_Value(A), m_Value(B))) && in visitAdd()
1300 if (match(LHS, m_Or(m_Value(A), m_Value(B))) && in visitAdd()
1608 (match(Op0, m_Or(m_Specific(A), m_Specific(B))) || in visitSub()
1609 match(Op0, m_Or(m_Specific(B), m_Specific(A))))) in visitSub()
1616 if (match(Op0, m_Or(m_Value(Y), m_Specific(Op1))) || in visitSub()
1617 match(Op0, m_Or(m_Specific(Op1), m_Value(Y)))) in visitSub()
DInstCombineSelect.cpp411 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr()
413 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); in foldSelectICmpAndOr()
DInstCombineCalls.cpp1140 if (match(IIOperand, m_Not(m_Or(m_Value(A), m_Value(B))))) { in visitCallInst()
DInstCombineCompares.cpp1386 if (match(Or, m_Or(m_Value(LShr), m_Value(X))) && in visitICmpInstWithInstAndIntCst()
1456 if (match(LHSI, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1581 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in SimplifyAndInst()
1586 if (match(Op1, m_Or(m_Value(A), m_Value(B))) && in SimplifyAndInst()
2343 } else if (match(LHS, m_Or(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
2582 if (LBO && match(LBO, m_CombineOr(m_Or(m_Value(), m_Specific(RHS)), in SimplifyICmpInst()
2583 m_Or(m_Specific(RHS), m_Value())))) { in SimplifyICmpInst()
2590 if (RBO && match(RBO, m_CombineOr(m_Or(m_Value(), m_Specific(LHS)), in SimplifyICmpInst()
2591 m_Or(m_Specific(LHS), m_Value())))) { in SimplifyICmpInst()
3220 if (FalseVal == X && match(TrueVal, m_Or(m_Specific(X), m_APInt(C))) && in SimplifySelectInst()
3225 if (TrueVal == X && match(FalseVal, m_Or(m_Specific(X), m_APInt(C))) && in SimplifySelectInst()
DValueTracking.cpp491 return m_CombineOr(m_Or(L, R), m_Or(R, L)); in m_c_Or()
1751 if (match(V, m_Or(m_Value(X), m_Value(Y)))) in isKnownNonZero()
/external/llvm/include/llvm/IR/
DPatternMatch.h512 inline BinaryOp_match<LHS, RHS, Instruction::Or> m_Or(const LHS &L, in m_Or() function
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp2153 (isKnownFalse && match(LHS, m_Or(m_Value(A), m_Value(B))))) { in propagateEquality()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4592 else if (match(LogicOp, m_Or(m_OneUse(m_Value(Cond1)), in splitBranchCondition()