Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1386 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in visitAnd()
1392 if (match(Op1, m_Or(m_Value(A), m_Value(B))) && in visitAnd()
1425 if (match(Op0, m_Or(m_Not(m_Specific(Op1)), m_Value(A))) || in visitAnd()
1426 match(Op0, m_Or(m_Value(A), m_Not(m_Specific(Op1))))) in visitAnd()
1428 if (match(Op1, m_Or(m_Not(m_Specific(Op0)), m_Value(A))) || in visitAnd()
1429 match(Op1, m_Or(m_Value(A), m_Not(m_Specific(Op0))))) in visitAnd()
1445 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in visitAnd()
1451 match(Op1, m_Or(m_Specific(A), m_Specific(B)))) in visitAnd()
2289 bool OrOfOrs = match(Op0, m_Or(m_Value(), m_Value())) || in visitOr()
2290 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()
1279 if (match(RHS, m_Or(m_Value(A), m_Value(B))) && in visitAdd()
1288 if (match(LHS, m_Or(m_Value(A), m_Value(B))) && in visitAdd()
1607 (match(Op0, m_Or(m_Specific(A), m_Specific(B))) || in visitSub()
1608 match(Op0, m_Or(m_Specific(B), m_Specific(A))))) in visitSub()
1615 if (match(Op0, m_Or(m_Value(Y), m_Specific(Op1))) || in visitSub()
1616 match(Op0, m_Or(m_Specific(Op1), m_Value(Y)))) in visitSub()
DInstCombineSelect.cpp318 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr()
320 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); in foldSelectICmpAndOr()
DInstCombineCompares.cpp1466 if (match(Or, m_Or(m_Value(LShr), m_Value(X))) && in visitICmpInstWithInstAndIntCst()
1562 if (match(LHSI, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in visitICmpInstWithInstAndIntCst()
DInstCombineCalls.cpp1709 if (match(IIOperand, m_Not(m_Or(m_Value(A), m_Value(B))))) { in visitCallInst()
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp421 return (match(A, m_Or(m_Value(B), m_ConstantInt(C))) || in matchesOr()
422 match(A, m_Or(m_ConstantInt(C), m_Value(B)))); in matchesOr()
DGVN.cpp2223 (isKnownFalse && match(LHS, m_Or(m_Value(A), m_Value(B))))) { in propagateEquality()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1595 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in SimplifyAndInst()
1600 if (match(Op1, m_Or(m_Value(A), m_Value(B))) && in SimplifyAndInst()
2373 } else if (match(LHS, m_Or(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
2654 if (LBO && match(LBO, m_CombineOr(m_Or(m_Value(), m_Specific(RHS)), in SimplifyICmpInst()
2655 m_Or(m_Specific(RHS), m_Value())))) { in SimplifyICmpInst()
2662 if (RBO && match(RBO, m_CombineOr(m_Or(m_Value(), m_Specific(LHS)), in SimplifyICmpInst()
2663 m_Or(m_Specific(LHS), m_Value())))) { in SimplifyICmpInst()
3384 if (FalseVal == X && match(TrueVal, m_Or(m_Specific(X), m_APInt(C))) && in SimplifySelectInst()
3389 if (TrueVal == X && match(FalseVal, m_Or(m_Specific(X), m_APInt(C))) && in SimplifySelectInst()
DValueTracking.cpp532 return m_CombineOr(m_Or(L, R), m_Or(R, L)); in m_c_Or()
1938 if (match(V, m_Or(m_Value(X), m_Value(Y)))) in isKnownNonZero()
4140 if (match(A, m_Or(m_Value(X), m_APInt(CA))) && in isTruePredicate()
4141 match(B, m_Or(m_Specific(X), m_APInt(CB)))) { in isTruePredicate()
/external/llvm/include/llvm/IR/
DPatternMatch.h512 inline BinaryOp_match<LHS, RHS, Instruction::Or> m_Or(const LHS &L, in m_Or() function
1299 auto Signum = m_Or(LHS, RHS);
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp5416 else if (match(LogicOp, m_Or(m_OneUse(m_Value(Cond1)), in splitBranchCondition()