/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1080 if (match(FV, m_Zero()) && match(TV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd() 1084 if (match(TV, m_Zero()) && match(FV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd() 1128 (match(LHS, m_And(m_Specific(A), m_Specific(B))) || in visitAdd() 1129 match(LHS, m_And(m_Specific(B), m_Specific(A))))) in visitAdd() 1133 (match(RHS, m_And(m_Specific(A), m_Specific(B))) || in visitAdd() 1134 match(RHS, m_And(m_Specific(B), m_Specific(A))))) in visitAdd() 1354 if (match(Op1, m_Add(m_Specific(Op0), m_Value(Y))) || in visitSub() 1355 match(Op1, m_Add(m_Value(Y), m_Specific(Op0)))) in visitSub() 1359 if (match(Op0, m_Sub(m_Specific(Op1), m_Value(Y)))) in visitSub() 1375 if (match(Op1, m_And(m_Value(Y), m_Specific(Op0))) || in visitSub() [all …]
|
D | InstCombineAndOrXor.cpp | 758 match(Val, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps() 762 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps() 1182 if (match(Op0, m_Or(m_Not(m_Specific(Op1)), m_Value(A))) || in visitAnd() 1183 match(Op0, m_Or(m_Value(A), m_Not(m_Specific(Op1))))) in visitAnd() 1185 if (match(Op1, m_Or(m_Not(m_Specific(Op0)), m_Value(A))) || in visitAnd() 1186 match(Op1, m_Or(m_Value(A), m_Not(m_Specific(Op0))))) in visitAnd() 1445 if (match(D, m_Not(m_SExt(m_Specific(Cond))))) in MatchSelectFromAndOr() 1447 if (match(D, m_SExt(m_Not(m_Specific(Cond))))) in MatchSelectFromAndOr() 1451 if (match(B, m_Not(m_SExt(m_Specific(Cond))))) in MatchSelectFromAndOr() 1453 if (match(B, m_SExt(m_Not(m_Specific(Cond))))) in MatchSelectFromAndOr() [all …]
|
D | InstCombineSelect.cpp | 411 if (match(TrueVal, m_SExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp() 415 } else if (match(FalseVal, m_SExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp() 425 if (match(TrueVal, m_ZExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp() 429 } else if (match(FalseVal, m_ZExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp() 697 if (match(TrueVal, m_Not(m_Specific(CondVal)))) in visitSelectInst() 699 else if (match(FalseVal, m_Not(m_Specific(CondVal)))) in visitSelectInst()
|
D | InstCombineShifts.cpp | 418 m_Specific(Op1)))) { in FoldShiftByConstant() 433 m_And(m_OneUse(m_Shr(m_Value(V1), m_Specific(Op1))), in FoldShiftByConstant() 450 m_Specific(Op1)))) { in FoldShiftByConstant() 771 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1)))) { in visitAShr()
|
D | InstCombineMulDivRem.cpp | 656 if ((isSigned && match(Z, m_SRem(m_Specific(X), m_Specific(Op1)))) || in commonIDivTransforms() 657 (!isSigned && match(Z, m_URem(m_Specific(X), m_Specific(Op1))))) in commonIDivTransforms()
|
D | InstructionCombining.cpp | 1535 if (!match(TI, m_Br(m_ICmp(Pred, m_Specific(Op), m_Zero()), TrueBB, FalseBB))) in tryToMoveFreeBeforeNullTest()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 617 if (match(Op1, m_Sub(m_Value(Y), m_Specific(Op0))) || in SimplifyAddInst() 618 match(Op0, m_Sub(m_Value(Y), m_Specific(Op1)))) in SimplifyAddInst() 622 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyAddInst() 623 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyAddInst() 758 if (match(Op0, m_Mul(m_Specific(Op1), m_ConstantInt<2>())) || in SimplifySubInst() 759 match(Op0, m_Shl(m_Specific(Op1), m_One()))) in SimplifySubInst() 893 if (match(Op1, m_FSub(m_AnyZero(), m_Specific(Op0)))) in SimplifyFAddInst() 895 else if (match(Op0, m_FSub(m_AnyZero(), m_Specific(Op1)))) in SimplifyFAddInst() 1000 if (match(Op0, m_Exact(m_IDiv(m_Value(X), m_Specific(Op1)))) || // (X / Y) * Y in SimplifyMulInst() 1001 match(Op1, m_Exact(m_IDiv(m_Value(X), m_Specific(Op0))))) // Y * (X / Y) in SimplifyMulInst() [all …]
|
D | ValueTracking.cpp | 853 if (match(X, m_Neg(m_Specific(Y))) || match(Y, m_Neg(m_Specific(X)))) in isKnownToBeAPowerOfTwo()
|
D | LazyValueInfo.cpp | 818 match(ICI->getOperand(0), m_Add(m_Specific(Val), in getEdgeValueLocal()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUStructurizeCFG.cpp | 339 if (match(*I, m_Not(m_Specific(Condition)))) in invert()
|
/external/llvm/include/llvm/Support/ |
D | PatternMatch.h | 323 inline specificval_ty m_Specific(const Value *V) { return V; } in m_Specific() function
|