Home
last modified time | relevance | path

Searched refs:m_Specific (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp277 if (match(FV, m_Zero()) && match(TV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd()
281 if (match(TV, m_Zero()) && match(FV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd()
595 if (match(Op1, m_Add(m_Specific(Op0), m_Value(Y))) || in visitSub()
596 match(Op1, m_Add(m_Value(Y), m_Specific(Op0)))) in visitSub()
600 if (match(Op0, m_Sub(m_Specific(Op1), m_Value(Y)))) in visitSub()
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()
632 if (match(Op1, m_Mul(m_Specific(Op0), m_ConstantInt(CI)))) { in visitSub()
638 if (match(Op1, m_Shl(m_Specific(Op0), m_ConstantInt(CI)))) { in visitSub()
DInstCombineAndOrXor.cpp783 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()
1204 if (match(Op0, m_Or(m_Not(m_Specific(Op1)), m_Value(A))) || in visitAnd()
1205 match(Op0, m_Or(m_Value(A), m_Not(m_Specific(Op1))))) in visitAnd()
1207 if (match(Op1, m_Or(m_Not(m_Specific(Op0)), m_Value(A))) || in visitAnd()
1208 match(Op1, m_Or(m_Value(A), m_Not(m_Specific(Op0))))) in visitAnd()
1444 if (match(D, m_Not(m_SExt(m_Specific(Cond))))) in MatchSelectFromAndOr()
1446 if (match(D, m_SExt(m_Not(m_Specific(Cond))))) in MatchSelectFromAndOr()
1450 if (match(B, m_Not(m_SExt(m_Specific(Cond))))) in MatchSelectFromAndOr()
1452 if (match(B, m_SExt(m_Not(m_Specific(Cond))))) in MatchSelectFromAndOr()
[all …]
DInstCombineMulDivRem.cpp414 if ((isSigned && match(Z, m_SRem(m_Specific(X), m_Specific(Op1)))) || in commonIDivTransforms()
415 (!isSigned && match(Z, m_URem(m_Specific(X), m_Specific(Op1))))) in commonIDivTransforms()
DInstCombineShifts.cpp408 m_Specific(Op1)))) { in FoldShiftByConstant()
423 m_And(m_Shr(m_Value(V1), m_Specific(Op1)), in FoldShiftByConstant()
441 m_Specific(Op1)))) { in FoldShiftByConstant()
714 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1)))) { in visitAShr()
DInstCombineSelect.cpp393 if (match(TrueVal, m_SExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
397 } else if (match(FalseVal, m_SExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
407 if (match(TrueVal, m_ZExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
411 } else if (match(FalseVal, m_ZExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp548 if (match(Op1, m_Sub(m_Value(Y), m_Specific(Op0))) || in SimplifyAddInst()
549 match(Op0, m_Sub(m_Value(Y), m_Specific(Op1)))) in SimplifyAddInst()
553 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyAddInst()
554 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyAddInst()
617 if (match(Op0, m_Mul(m_Specific(Op1), m_ConstantInt<2>())) || in SimplifySubInst()
618 match(Op0, m_Shl(m_Specific(Op1), m_One()))) in SimplifySubInst()
837 if ((isSigned && match(Op0, m_SRem(m_Value(), m_Specific(Op1)))) || in SimplifyDiv()
838 (!isSigned && match(Op0, m_URem(m_Value(), m_Specific(Op1))))) in SimplifyDiv()
1066 if (match(Op0, m_Shr(m_Value(X), m_Specific(Op1))) && in SimplifyShlInst()
1091 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1))) && in SimplifyLShrInst()
[all …]
/external/llvm/include/llvm/Support/
DPatternMatch.h245 inline specificval_ty m_Specific(const Value *V) { return V; } in m_Specific() function