|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/IR/PatternMatch.h 1924 auto Signum = m_Or(LHS, RHS);
lib/Analysis/InstructionSimplify.cpp 3783 if (FalseVal == X && match(TrueVal, m_Or(m_Specific(X), m_APInt(C))) &&
3789 if (TrueVal == X && match(FalseVal, m_Or(m_Specific(X), m_APInt(C))) &&
lib/Analysis/ValueTracking.cpp 2118 if (match(V, m_Or(m_Value(X), m_Value(Y))))
5170 if (match(A, m_Or(m_Value(X), m_APInt(CA))) &&
5171 match(B, m_Or(m_Specific(X), m_APInt(CB)))) {
5330 if ((!LHSIsTrue && match(LHS, m_Or(m_Value(ALHS), m_Value(ARHS)))) ||
lib/CodeGen/CodeGenPrepare.cpp 7209 else if (match(LogicOp, m_Or(m_OneUse(m_Value(Cond1)),
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp 189 if (match(V, m_Or(m_Value(Op0), m_Value(Op1))))
227 else if (match(&I, m_And(m_OneUse(m_Or(m_Value(), m_Value())), m_One())))
lib/Transforms/InstCombine/InstCombineAddSub.cpp 793 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) {
904 if (match(Op0, m_Or(m_Value(), m_APInt(C2))) && *C2 == -*C)
1383 if (match(&I, m_c_BinOp(m_Or(m_Value(A), m_Value(B)),
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp 1611 if (match(&I, m_BinOp(m_Or(m_Value(A), m_Value(B)),
1772 if (match(Op0, m_OneUse(m_Or(m_Value(X), m_APInt(OrC))))) {
1789 match(Op0, m_OneUse(m_Or(m_Value(X), m_Value(Y))))) {
1991 bool OrOfOrs = match(Op0, m_Or(m_Value(), m_Value())) ||
1992 match(Op1, m_Or(m_Value(), m_Value()));
2506 if (match(A, m_Or(m_Value(V1), m_Value(V2))) &&
2514 if (match(B, m_Or(m_Value(V1), m_Value(V2))) &&
2525 if (match(A, m_Or(m_Value(V1), m_ConstantInt(C3))) &&
2527 match(B, m_Or(m_Specific(V1), m_ConstantInt(C4))) &&
2589 if (match(Op0, m_And(m_Or(m_Specific(Op1), m_Value(C)), m_Value(A))))
2649 if (LHS && match(Op1, m_OneUse(m_Or(m_Value(X), m_Value(Y))))) {
2657 if (RHS && match(Op0, m_OneUse(m_Or(m_Value(X), m_Value(Y))))) {
2693 match(Op0, m_Or(m_Value(A), m_ConstantInt(CI)))) {
2788 if ((match(Op0, m_Or(m_Value(A), m_Value(B))) &&
3078 if (match(Op0, m_OneUse(m_Or(m_Not(m_Value(X)), m_Constant(C2))))) {
3114 if (match(Op0, m_Or(m_Value(X), m_APInt(C))) &&
lib/Transforms/InstCombine/InstCombineCalls.cpp 3942 if (match(IIOperand, m_Not(m_Or(m_Value(A), m_Value(B))))) {
lib/Transforms/InstCombine/InstCombineCasts.cpp 510 if (!match(Trunc.getOperand(0), m_OneUse(m_Or(m_Value(Or0), m_Value(Or1)))))
lib/Transforms/InstCombine/InstCombineCompares.cpp 1792 if (match(Or, m_Or(m_Value(LShr), m_Value(A))) &&
1912 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) {
lib/Transforms/InstCombine/InstCombineSelect.cpp 634 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2)));
636 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2)));
2143 if (!match(Sel.getFalseValue(), m_OneUse(m_Or(m_Value(Or0), m_Value(Or1)))))
lib/Transforms/Scalar/GVN.cpp 1865 (isKnownFalse && match(LHS, m_Or(m_Value(A), m_Value(B))))) {
lib/Transforms/Scalar/GuardWidening.cpp 672 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) {
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp 427 return (match(A, m_Or(m_Value(B), m_ConstantInt(C))) ||
428 match(A, m_Or(m_ConstantInt(C), m_Value(B))));
lib/Transforms/Utils/PredicateInfo.cpp 426 match(BI->getCondition(), m_Or(m_Cmp(Pred, m_Value(), m_Value()),
lib/Transforms/Utils/SimplifyCFG.cpp 570 m_Or(m_Value(RHSVal), m_APInt(RHSC)))) {
lib/Transforms/Vectorize/SLPVectorizer.cpp 3307 while (match(ZextLoad, m_Or(m_Value(), m_Value())) ||