| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 1770 if (match(&I, m_BinOp(m_Or(m_Value(A), m_Value(B)), in foldAndToXor() 2874 if (!match(U, m_Or(m_Value(X), m_Value(Y)))) in matchFunnelShift() 3317 match(LHS0, m_Or(m_Value(X), m_Value(Y))) && in foldAndOrOfICmps() 3330 match(LHS0, m_Or(m_Value(X), m_Value(Y))) && in foldAndOrOfICmps() 3473 if (match(A, m_Or(m_Value(X), m_APInt(C2))) && in visitOr() 3474 match(B, m_Or(m_Specific(X), m_APInt(C3))) && in visitOr() 3508 match(Op1, m_Not(m_Or(m_Value(B), m_Value(D)))) && in visitOr() 3704 match(Op0, m_Or(m_Value(A), m_ConstantInt(CI)))) { in visitOr() 3961 if ((match(Op0, m_Or(m_Value(A), m_Value(B))) && in foldXorToXor() 4614 if (match(Op0, m_Or(m_Value(X), m_APInt(C))) && in visitXor() [all …]
|
| H A D | InstCombineSelect.cpp | 813 match(F, m_OneUse(m_Or(m_Specific(X), m_APInt(C)))) && *NotC == ~(*C)) { in foldSetClearBits() 822 match(T, m_OneUse(m_Or(m_Specific(X), m_APInt(C)))) && *NotC == ~(*C)) { in foldSetClearBits() 2302 if (!match(Sel.getFalseValue(), m_OneUse(m_Or(m_BinOp(Or0), m_BinOp(Or1))))) in foldSelectFunnelShift() 3840 } else if (match(CondVal, m_Or(m_Value(LHS), m_Value(RHS)))) { in visitSelectInst()
|
| H A D | InstCombineAddSub.cpp | 776 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { in checkForNegativeOperand() 911 if (match(Op0, m_Or(m_Value(), m_APInt(C2))) && *C2 == -*C) in foldAddWithConstant() 1599 if (match(&I, m_c_BinOp(m_Or(m_Value(A), m_Value(B)), in visitAdd()
|
| H A D | InstCombineCompares.cpp | 1807 if (match(Or, m_Or(m_Value(LShr), m_Value(A))) && in foldICmpAndConstConst() 1966 m_Or(m_Value(OrOperatorLhs), m_Value(OrOperatorRhs)))) { in foldICmpOrXorSubChain() 2035 if (C.isNonNegative() && match(Or, m_Or(m_Value(X), m_APInt(OrC)))) { in foldICmpOrConstant() 2061 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in foldICmpOrConstant() 5331 if (match(Op0, m_OneUse(m_Or(m_Value(X), m_Constant(C)))) && in foldICmpEquality() 5332 match(Op1, m_OneUse(m_Or(m_Value(Y), m_Specific(C))))) { in foldICmpEquality()
|
| H A D | InstCombineShifts.cpp | 501 if (match(Op1, m_Or(m_Value(), m_SpecificInt(BitWidth - 1)))) in commonShiftTransforms()
|
| H A D | InstCombineMulDivRem.cpp | 487 if (match(&I, m_c_BinOp(m_Or(m_AShr(m_Value(X), in visitMul()
|
| H A D | InstCombineCasts.cpp | 449 if (!match(Trunc.getOperand(0), m_OneUse(m_Or(m_BinOp(Or0), m_BinOp(Or1))))) in narrowFunnelShift()
|
| H A D | InstructionCombining.cpp | 4155 if (match(U, m_Or(m_Value(), m_Value()))) in visitFreeze()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 206 if (match(V, m_Or(m_Value(Op0), m_Value(Op1)))) in matchAndOrChain() 244 else if (match(&I, m_And(m_OneUse(m_Or(m_Value(), m_Value())), m_One()))) in foldAnyOrAllBitsSet() 640 match(V, m_OneUse(m_Or(m_Value(X), in foldLoadsRecursive()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | StraightLineStrengthReduce.cpp | 434 return (match(A, m_Or(m_Value(B), m_ConstantInt(C))) || in matchesOr() 435 match(A, m_Or(m_ConstantInt(C), m_Value(B)))); in matchesOr()
|
| H A D | GuardWidening.cpp | 847 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopPeel.cpp | 362 match(Condition, m_Or(m_Value(LeftVal), m_Value(RightVal)))) { in countToEliminateCompares()
|
| H A D | Local.cpp | 3690 if (match(V, m_Or(m_Value(X), m_Value(Y)))) { in collectBitParts() 3904 if (!match(I, m_Or(m_Value(), m_Value())) && in recognizeBSwapOrBitReverseIdiom()
|
| H A D | SimplifyCFG.cpp | 642 m_Or(m_Value(RHSVal), m_APInt(RHSC)))) { in matchInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 1102 inline BinaryOp_match<LHS, RHS, Instruction::Or> m_Or(const LHS &L, in m_Or() function 2553 auto Signum = m_Or(LHS, RHS);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 4485 if (FalseVal == X && match(TrueVal, m_Or(m_Specific(X), m_APInt(C))) && in simplifySelectBitTest() 4495 if (TrueVal == X && match(FalseVal, m_Or(m_Specific(X), m_APInt(C))) && in simplifySelectBitTest() 4709 if (match(CmpLHS, m_Or(m_Value(X), m_Value(Y))) && in simplifySelectWithICmpCond()
|
| H A D | ValueTracking.cpp | 661 } else if (match(LHS, m_Or(m_V, m_APInt(Mask))) && match(RHS, m_APInt(C))) { in computeKnownBitsFromCmp() 8195 if (match(A, m_Or(m_Value(X), m_APInt(CA))) && in isTruePredicate() 8196 match(B, m_Or(m_Specific(X), m_APInt(CB)))) { in isTruePredicate()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 8552 (match(ZextLoad, m_Or(m_Value(), m_Value())) || in isLoadCombineCandidateImpl() 14114 if (match(I, m_Or(m_Value(), m_Value())) || in getRdxKind()
|