Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp190 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1611 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 …]
DInstCombineAddSub.cpp793 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()
DInstCombineSelect.cpp634 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()
DInstCombineCasts.cpp511 if (!match(Trunc.getOperand(0), m_OneUse(m_Or(m_Value(Or0), m_Value(Or1))))) in narrowRotate()
DInstCombineCompares.cpp1792 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()
DInstCombineCalls.cpp4076 if (match(IIOperand, m_Not(m_Or(m_Value(A), m_Value(B))))) { in visitCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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.cpp637 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
DGVN.cpp1911 (isKnownFalse && match(LHS, m_Or(m_Value(A), m_Value(B))))) { in propagateEquality()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DPredicateInfo.cpp427 match(BI->getCondition(), m_Or(m_Cmp(Pred, m_Value(), m_Value()), in processBranch()
DSimplifyCFG.cpp571 m_Or(m_Value(RHSVal), m_APInt(RHSC)))) { in matchInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h905 inline BinaryOp_match<LHS, RHS, Instruction::Or> m_Or(const LHS &L, in m_Or() function
1970 auto Signum = m_Or(LHS, RHS);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp2216 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()
DInstructionSimplify.cpp3824 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp7366 else if (match(LogicOp, m_Or(m_OneUse(m_Value(Cond1)), in splitBranchCondition()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3625 while (match(ZextLoad, m_Or(m_Value(), m_Value())) || in isLoadCombineReductionCandidate()