/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1444 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in visitAnd() 1450 if (match(Op1, m_Or(m_Value(A), m_Value(B))) && in visitAnd() 1481 if (match(Op0, m_Or(m_Not(m_Specific(Op1)), m_Value(A))) || in visitAnd() 1482 match(Op0, m_Or(m_Value(A), m_Not(m_Specific(Op1))))) in visitAnd() 1484 if (match(Op1, m_Or(m_Not(m_Specific(Op0)), m_Value(A))) || in visitAnd() 1485 match(Op1, m_Or(m_Value(A), m_Not(m_Specific(Op0))))) in visitAnd() 1501 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in visitAnd() 1507 match(Op1, m_Or(m_Specific(A), m_Specific(B)))) in visitAnd() 1567 bool OrOfOrs = match(Op0, m_Or(m_Value(), m_Value())) || in MatchBSwap() 1568 match(Op1, m_Or(m_Value(), m_Value())); in MatchBSwap() [all …]
|
D | InstCombineAddSub.cpp | 998 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { in checkForNegativeOperand() 1259 if (match(RHS, m_Or(m_Value(A), m_Value(B))) && in visitAdd() 1268 if (match(LHS, m_Or(m_Value(A), m_Value(B))) && in visitAdd() 1587 (match(Op0, m_Or(m_Specific(A), m_Specific(B))) || in visitSub() 1588 match(Op0, m_Or(m_Specific(B), m_Specific(A))))) in visitSub() 1595 if (match(Op0, m_Or(m_Value(Y), m_Specific(Op1))) || in visitSub() 1596 match(Op0, m_Or(m_Specific(Op1), m_Value(Y)))) in visitSub()
|
D | InstCombineSelect.cpp | 329 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr() 331 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); in foldSelectICmpAndOr()
|
D | InstCombineCompares.cpp | 1791 if (match(Or, m_Or(m_Value(LShr), m_Value(X))) && in visitICmpInstWithInstAndIntCst() 1887 if (match(LHSI, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in visitICmpInstWithInstAndIntCst()
|
D | InstCombineCalls.cpp | 2267 if (match(IIOperand, m_Not(m_Or(m_Value(A), m_Value(B))))) { in visitCallInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | AggressiveInstCombine.cpp | 190 if (match(V, m_Or(m_Value(Op0), m_Value(Op1)))) in matchAndOrChain() 228 else if (match(&I, m_And(m_OneUse(m_Or(m_Value(), m_Value())), m_One()))) in foldAnyOrAllBitsSet()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1611 if (match(&I, m_BinOp(m_Or(m_Value(A), m_Value(B)), in foldAndToXor() 1772 if (match(Op0, m_OneUse(m_Or(m_Value(X), m_APInt(OrC))))) { in visitAnd() 1789 match(Op0, m_OneUse(m_Or(m_Value(X), m_Value(Y))))) { in visitAnd() 1991 bool OrOfOrs = match(Op0, m_Or(m_Value(), m_Value())) || in matchBSwap() 1992 match(Op1, m_Or(m_Value(), m_Value())); in matchBSwap() 2506 if (match(A, m_Or(m_Value(V1), m_Value(V2))) && in visitOr() 2514 if (match(B, m_Or(m_Value(V1), m_Value(V2))) && in visitOr() 2525 if (match(A, m_Or(m_Value(V1), m_ConstantInt(C3))) && in visitOr() 2527 match(B, m_Or(m_Specific(V1), m_ConstantInt(C4))) && in visitOr() 2589 if (match(Op0, m_And(m_Or(m_Specific(Op1), m_Value(C)), m_Value(A)))) in visitOr() [all …]
|
D | InstCombineAddSub.cpp | 793 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { in checkForNegativeOperand() 908 if (match(Op0, m_Or(m_Value(), m_APInt(C2))) && *C2 == -*C) in foldAddWithConstant() 1381 if (match(&I, m_c_BinOp(m_Or(m_Value(A), m_Value(B)), in visitAdd()
|
D | InstCombineSelect.cpp | 634 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr() 636 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); in foldSelectICmpAndOr() 2279 if (!match(Sel.getFalseValue(), m_OneUse(m_Or(m_Value(Or0), m_Value(Or1))))) in foldSelectRotate()
|
D | InstCombineCasts.cpp | 511 if (!match(Trunc.getOperand(0), m_OneUse(m_Or(m_Value(Or0), m_Value(Or1))))) in narrowRotate()
|
D | InstCombineCompares.cpp | 1792 if (match(Or, m_Or(m_Value(LShr), m_Value(A))) && in foldICmpAndConstConst() 1912 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in foldICmpOrConstant()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 392 return (match(A, m_Or(m_Value(B), m_ConstantInt(C))) || in matchesOr() 393 match(A, m_Or(m_ConstantInt(C), m_Value(B)))); in matchesOr()
|
D | GuardWidening.cpp | 537 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
|
D | GVN.cpp | 1976 (isKnownFalse && match(LHS, m_Or(m_Value(A), m_Value(B))))) { in propagateEquality()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 428 return (match(A, m_Or(m_Value(B), m_ConstantInt(C))) || in matchesOr() 429 match(A, m_Or(m_ConstantInt(C), m_Value(B)))); in matchesOr()
|
D | GuardWidening.cpp | 637 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
|
D | GVN.cpp | 1911 (isKnownFalse && match(LHS, m_Or(m_Value(A), m_Value(B))))) { in propagateEquality()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 512 inline BinaryOp_match<LHS, RHS, Instruction::Or> m_Or(const LHS &L, in m_Or() function 1299 auto Signum = m_Or(LHS, RHS); 1341 return m_CombineOr(m_Or(L, R), m_Or(R, L));
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | PredicateInfo.cpp | 427 match(BI->getCondition(), m_Or(m_Cmp(Pred, m_Value(), m_Value()), in processBranch()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1596 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in SimplifyAndInst() 1601 if (match(Op1, m_Or(m_Value(A), m_Value(B))) && in SimplifyAndInst() 2399 } else if (match(LHS, m_Or(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst() 3444 if (FalseVal == X && match(TrueVal, m_Or(m_Specific(X), m_APInt(C))) && in SimplifySelectInst() 3449 if (TrueVal == X && match(FalseVal, m_Or(m_Specific(X), m_APInt(C))) && in SimplifySelectInst()
|
D | ValueTracking.cpp | 1724 if (match(V, m_Or(m_Value(X), m_Value(Y)))) in isKnownNonZero() 3994 if (match(A, m_Or(m_Value(X), m_APInt(CA))) && in isTruePredicate() 3995 match(B, m_Or(m_Specific(X), m_APInt(CB)))) { in isTruePredicate()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 905 inline BinaryOp_match<LHS, RHS, Instruction::Or> m_Or(const LHS &L, in m_Or() function 1970 auto Signum = m_Or(LHS, RHS);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 2216 if (match(V, m_Or(m_Value(X), m_Value(Y)))) in isKnownNonZero() 5347 if (match(A, m_Or(m_Value(X), m_APInt(CA))) && in isTruePredicate() 5348 match(B, m_Or(m_Specific(X), m_APInt(CB)))) { in isTruePredicate() 5507 if ((!LHSIsTrue && match(LHS, m_Or(m_Value(ALHS), m_Value(ARHS)))) || in isImpliedCondAndOr()
|
D | InstructionSimplify.cpp | 3824 if (FalseVal == X && match(TrueVal, m_Or(m_Specific(X), m_APInt(C))) && in simplifySelectBitTest() 3830 if (TrueVal == X && match(FalseVal, m_Or(m_Specific(X), m_APInt(C))) && in simplifySelectBitTest()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 5503 else if (match(LogicOp, m_Or(m_OneUse(m_Value(Cond1)), in splitBranchCondition()
|