/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()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1166 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in visitAnd() 1172 if (match(Op1, m_Or(m_Value(A), m_Value(B))) && in visitAnd() 1205 if (match(Op0, m_Or(m_Not(m_Specific(Op1)), m_Value(A))) || in visitAnd() 1206 match(Op0, m_Or(m_Value(A), m_Not(m_Specific(Op1))))) in visitAnd() 1208 if (match(Op1, m_Or(m_Not(m_Specific(Op0)), m_Value(A))) || in visitAnd() 1209 match(Op1, m_Or(m_Value(A), m_Not(m_Specific(Op0))))) in visitAnd() 1808 if (match(Op0, m_Or(m_Value(), m_Value())) || in visitOr() 1809 match(Op1, m_Or(m_Value(), m_Value())) || in visitOr() 1868 if (match(A, m_Or(m_Value(V1), m_Value(V2))) && in visitOr() 1875 if (match(B, m_Or(m_Value(V1), m_Value(V2))) && in visitOr() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | AggressiveInstCombine.cpp | 98 if (match(V, m_Or(m_Value(Op0), m_Value(Op1)))) in matchAndOrChain() 136 else if (match(&I, m_And(m_OneUse(m_Or(m_Value(), m_Value())), m_One()))) in foldAnyOrAllBitsSet()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1291 if (match(&I, m_BinOp(m_Or(m_Value(A), m_Value(B)), in foldAndToXor() 1452 if (match(Op0, m_OneUse(m_Or(m_Value(X), m_APInt(OrC))))) { in visitAnd() 1469 match(Op0, m_OneUse(m_Or(m_Value(X), m_Value(Y))))) { in visitAnd() 1651 bool OrOfOrs = match(Op0, m_Or(m_Value(), m_Value())) || in MatchBSwap() 1652 match(Op1, m_Or(m_Value(), m_Value())); in MatchBSwap() 2072 if (match(A, m_Or(m_Value(V1), m_Value(V2))) && in visitOr() 2080 if (match(B, m_Or(m_Value(V1), m_Value(V2))) && in visitOr() 2091 if (match(A, m_Or(m_Value(V1), m_ConstantInt(C3))) && in visitOr() 2093 match(B, m_Or(m_Specific(V1), m_ConstantInt(C4))) && in visitOr() 2155 if (match(Op0, m_And(m_Or(m_Specific(Op1), m_Value(C)), m_Value(A)))) in visitOr() [all …]
|
D | InstCombineAddSub.cpp | 888 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { in checkForNegativeOperand() 1368 if (match(&I, m_c_BinOp(m_Or(m_Value(A), m_Value(B)), in visitAdd()
|
D | InstCombineSelect.cpp | 544 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr() 546 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); in foldSelectICmpAndOr()
|
D | InstCombineCasts.cpp | 504 if (!match(Trunc.getOperand(0), m_OneUse(m_Or(m_Value(Or0), m_Value(Or1))))) in narrowRotate()
|
/external/swiftshader/third_party/llvm-7.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 | 594 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
|
D | GVN.cpp | 1802 (isKnownFalse && match(LHS, m_Or(m_Value(A), m_Value(B))))) { in propagateEquality()
|
/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()
|
/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/lib/Analysis/ |
D | InstructionSimplify.cpp | 1191 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in SimplifyAndInst() 1196 if (match(Op1, m_Or(m_Value(A), m_Value(B))) && in SimplifyAndInst() 1594 } else if (match(LHS, m_Or(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
|
D | ValueTracking.cpp | 777 if (match(V, m_Or(m_Value(X), m_Value(Y)))) in isKnownNonZero()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | PredicateInfo.cpp | 396 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-7.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 724 inline BinaryOp_match<LHS, RHS, Instruction::Or> m_Or(const LHS &L, in m_Or() function 1758 auto Signum = m_Or(LHS, RHS);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 370 m_Or(const LHS &L, const RHS &R) { in m_Or() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1994 if (match(V, m_Or(m_Value(X), m_Value(Y)))) in isKnownNonZero() 4914 if (match(A, m_Or(m_Value(X), m_APInt(CA))) && in isTruePredicate() 4915 match(B, m_Or(m_Specific(X), m_APInt(CB)))) { in isTruePredicate() 5081 if ((!LHSIsTrue && match(LHS, m_Or(m_Value(ALHS), m_Value(ARHS)))) || in isImpliedCondAndOr()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | GVN.cpp | 1962 (isKnownFalse && match(LHS, m_Or(m_Value(A), m_Value(B))))) { in propagateEquality()
|