Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp585 if (match(L1, m_And(m_Value(L11), m_Value(L12)))) { in foldLogOpOfMaskedICmpsHelper()
586 if (!match(L2, m_And(m_Value(L21), m_Value(L22)))) in foldLogOpOfMaskedICmpsHelper()
590 if (!match(L2, m_And(m_Value(L11), m_Value(L12)))) in foldLogOpOfMaskedICmpsHelper()
600 if (match(R1, m_And(m_Value(R11), m_Value(R12)))) { in foldLogOpOfMaskedICmpsHelper()
609 if (!ok && match(R2, m_And(m_Value(R11), m_Value(R12)))) { in foldLogOpOfMaskedICmpsHelper()
783 match(Val, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps()
789 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps()
1132 if (match(Op0, m_Trunc(m_And(m_Value(X), m_ConstantInt(YC))))) { in visitAnd()
1167 match(Op1, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd()
1173 match(Op0, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd()
[all …]
DInstCombineAddSub.cpp237 match(LHS, m_And(m_Value(X), m_ConstantInt(C2))) && in visitAdd()
616 if (match(Op1, m_And(m_Value(Y), m_Specific(Op0))) || in visitSub()
617 match(Op1, m_And(m_Specific(Op0), m_Value(Y)))) in visitSub()
DInstCombineShifts.cpp423 m_And(m_Shr(m_Value(V1), m_Specific(Op1)), in FoldShiftByConstant()
455 m_And(m_Shr(m_Value(V1), m_Value(V2)), in FoldShiftByConstant()
DInstCombineCompares.cpp1960 if (!match(Op0, m_And(m_Value(LHS), m_ConstantInt(LHSC))) || in visitICmpInst()
1997 if (!match(Op0, m_And(m_Value(LHS), m_ConstantInt(LHSC))) || in visitICmpInst()
2507 if (match(Op0, m_OneUse(m_And(m_Value(A), m_Value(B)))) && in visitICmpInst()
2508 match(Op1, m_OneUse(m_And(m_Value(C), m_Value(D))))) { in visitICmpInst()
DInstCombineSelect.cpp584 !match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) in foldSelectICmpAnd()
DInstCombineCasts.cpp491 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) { in visitTrunc()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1260 if (match(Op0, m_And(m_Value(A), m_Value(B))) && in SimplifyOrInst()
1265 if (match(Op1, m_And(m_Value(A), m_Value(B))) && in SimplifyOrInst()
1270 if (match(Op0, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst()
1275 if (match(Op1, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst()
1579 } else if (match(LHS, m_And(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
/external/llvm/include/llvm/Support/
DPatternMatch.h364 m_And(const LHS &L, const RHS &R) { in m_And() function