Home
last modified time | relevance | path

Searched refs:m_And (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp551 if (match(L1, m_And(m_Value(L11), m_Value(L12)))) { in foldLogOpOfMaskedICmpsHelper()
552 if (!match(L2, m_And(m_Value(L21), m_Value(L22)))) in foldLogOpOfMaskedICmpsHelper()
555 if (!match(L2, m_And(m_Value(L11), m_Value(L12)))) in foldLogOpOfMaskedICmpsHelper()
579 } else if (match(R1, m_And(m_Value(R11), m_Value(R12)))) { in foldLogOpOfMaskedICmpsHelper()
592 if (!ok && match(R2, m_And(m_Value(R11), m_Value(R12)))) { in foldLogOpOfMaskedICmpsHelper()
754 match(Val, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps()
758 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps()
1108 if (match(Op0, m_Trunc(m_And(m_Value(X), m_ConstantInt(YC))))) { in visitAnd()
1143 match(Op1, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd()
1149 match(Op0, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd()
[all …]
DInstCombineAddSub.cpp1081 match(LHS, m_And(m_Value(X), m_ConstantInt(C2))) && in visitAdd()
1169 (match(LHS, m_And(m_Specific(A), m_Specific(B))) || in visitAdd()
1170 match(LHS, m_And(m_Specific(B), m_Specific(A))))) in visitAdd()
1174 (match(RHS, m_And(m_Specific(A), m_Specific(B))) || in visitAdd()
1175 match(RHS, m_And(m_Specific(B), m_Specific(A))))) in visitAdd()
1447 if (match(Op1, m_And(m_Value(Y), m_Specific(Op0))) || in visitSub()
1448 match(Op1, m_And(m_Specific(Op0), m_Value(Y)))) in visitSub()
DInstCombineShifts.cpp433 m_And(m_OneUse(m_Shr(m_Value(V1), m_Specific(Op1))), in FoldShiftByConstant()
464 m_And(m_OneUse(m_Shr(m_Value(V1), m_Value(V2))), in FoldShiftByConstant()
DInstCombineCompares.cpp2243 if (!match(Op0, m_And(m_Value(LHS), m_ConstantInt(LHSC))) || in visitICmpInst()
2280 if (!match(Op0, m_And(m_Value(LHS), m_ConstantInt(LHSC))) || in visitICmpInst()
2795 if (match(Op0, m_And(m_Value(A), m_Not(m_Value(B)))) && in visitICmpInst()
2864 if (match(Op0, m_OneUse(m_And(m_Value(A), m_Value(B)))) && in visitICmpInst()
2865 match(Op1, m_OneUse(m_And(m_Value(C), m_Value(D))))) { in visitICmpInst()
2892 match(Op1, m_And(m_Value(B), m_ConstantInt(Cst1)))) || in visitICmpInst()
2894 match(Op0, m_And(m_Value(B), m_ConstantInt(Cst1))) && in visitICmpInst()
DInstCombineSelect.cpp381 if (!match(CmpLHS, m_And(m_Value(X), m_Power2(C1)))) in foldSelectICmpAndOr()
673 if (!match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) in foldSelectICmpAnd()
DInstCombineCasts.cpp499 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) { in visitTrunc()
/external/llvm/lib/Analysis/
DValueTracking.cpp847 if (OrZero && match(V, m_And(m_Value(X), m_Value(Y)))) { in isKnownToBeAPowerOfTwo()
863 if (match(X, m_And(m_Specific(Y), m_Value())) || in isKnownToBeAPowerOfTwo()
864 match(X, m_And(m_Value(), m_Specific(Y)))) in isKnownToBeAPowerOfTwo()
867 if (match(Y, m_And(m_Specific(X), m_Value())) || in isKnownToBeAPowerOfTwo()
868 match(Y, m_And(m_Value(), m_Specific(X)))) in isKnownToBeAPowerOfTwo()
DInstructionSimplify.cpp1563 if (match(Op0, m_And(m_Value(A), m_Value(B))) && in SimplifyOrInst()
1568 if (match(Op1, m_And(m_Value(A), m_Value(B))) && in SimplifyOrInst()
1573 if (match(Op0, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst()
1578 if (match(Op1, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst()
2013 } else if (match(LHS, m_And(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
/external/llvm/include/llvm/Support/
DPatternMatch.h467 m_And(const LHS &L, const RHS &R) { in m_And() function
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp2110 if ((isKnownTrue && match(LHS, m_And(m_Value(A), m_Value(B)))) || in propagateEquality()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp356 m_And(m_Value(RHSVal), m_ConstantInt(RHSC)))) { in GatherConstantCompares()