Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1444 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 …]
DInstCombineAddSub.cpp998 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()
DInstCombineSelect.cpp329 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()
DInstCombineCompares.cpp1791 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/
DInstCombineAndOrXor.cpp1166 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/
DAggressiveInstCombine.cpp98 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/
DInstCombineAndOrXor.cpp1291 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 …]
DInstCombineAddSub.cpp888 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()
DInstCombineSelect.cpp544 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()
DInstCombineCasts.cpp504 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/
DStraightLineStrengthReduce.cpp428 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()
DGuardWidening.cpp594 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
DGVN.cpp1802 (isKnownFalse && match(LHS, m_Or(m_Value(A), m_Value(B))))) { in propagateEquality()
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp392 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()
DGuardWidening.cpp537 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
/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);
1341 return m_CombineOr(m_Or(L, R), m_Or(R, L));
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp1191 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()
DValueTracking.cpp777 if (match(V, m_Or(m_Value(X), m_Value(Y)))) in isKnownNonZero()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DPredicateInfo.cpp396 match(BI->getCondition(), m_Or(m_Cmp(Pred, m_Value(), m_Value()), in processBranch()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1596 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()
DValueTracking.cpp1724 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/
DPatternMatch.h724 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/
DPatternMatch.h370 m_Or(const LHS &L, const RHS &R) { in m_Or() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp1994 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/
DGVN.cpp1962 (isKnownFalse && match(LHS, m_Or(m_Value(A), m_Value(B))))) { in propagateEquality()

12