Home
last modified time | relevance | path

Searched refs:m_Neg (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp647 if (match(Op1, m_Mul(m_Value(A), m_Neg(m_Value(B)))) || in visitSub()
648 match(Op1, m_Mul(m_Neg(m_Value(A)), m_Value(B)))) in visitSub()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1207 if (match(LHS, m_Neg(m_Value(A)))) { in visitAdd()
1209 if (match(RHS, m_Neg(m_Value(B)))) in visitAdd()
1217 if (match(RHS, m_Neg(m_Value(B)))) in visitAdd()
1775 if (match(Op1, m_c_Mul(m_Value(A), m_Neg(m_Value(B))))) in visitSub()
DInstCombineMulDivRem.cpp235 if (match(Op0, m_Neg(m_Value(X))) && match(Op1, m_Constant(Op1C))) in visitMul()
239 if (match(Op0, m_Neg(m_Value(X))) && match(Op1, m_Neg(m_Value(Y)))) { in visitMul()
DInstCombineSelect.cpp854 bool CmpUsesNegatedOp = match(Cmp.getOperand(0), m_Neg(m_Specific(TVal))) || in canonicalizeAbsNabs()
855 match(Cmp.getOperand(0), m_Neg(m_Specific(FVal))); in canonicalizeAbsNabs()
860 bool RHSCanonicalized = match(RHS, m_Neg(m_Specific(LHS))); in canonicalizeAbsNabs()
DInstructionCombining.cpp1744 if (match(V, m_Neg(m_PtrToInt(m_Value())))) { in visitGetElementPtrInst()
DInstCombineCompares.cpp3239 if (match(BO0, m_Neg(m_Value(X)))) in foldICmpBinOp()
/external/llvm/include/llvm/IR/
DPatternMatch.h877 template <typename LHS> inline neg_match<LHS> m_Neg(const LHS &L) { return L; } in m_Neg() function
1298 auto RHS = m_LShr(m_Neg(m_Value(OpR)), m_SpecificInt(ShiftWidth));
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1631 if (match(Op1, m_Mul(m_Value(A), m_Neg(m_Value(B)))) || in visitSub()
1632 match(Op1, m_Mul(m_Neg(m_Value(A)), m_Value(B)))) in visitSub()
DInstructionCombining.cpp1589 if (match(V, m_Neg(m_PtrToInt(m_Value())))) { in visitGetElementPtrInst()
DInstCombineCompares.cpp3965 if (match(BO0, m_Neg(m_Value(X)))) in visitICmpInst()
/external/llvm/lib/Analysis/
DValueTracking.cpp1539 if (match(X, m_Neg(m_Specific(Y))) || match(Y, m_Neg(m_Specific(X)))) in isKnownToBeAPowerOfTwo()
3805 if ((CmpLHS == TrueVal && match(FalseVal, m_Neg(m_Specific(CmpLHS)))) || in matchSelectPattern()
3806 (CmpLHS == FalseVal && match(TrueVal, m_Neg(m_Specific(CmpLHS))))) { in matchSelectPattern()
DInstructionSimplify.cpp1606 if (match(Op0, m_Neg(m_Specific(Op1))) || in SimplifyAndInst()
1607 match(Op1, m_Neg(m_Specific(Op0)))) { in SimplifyAndInst()
2741 if (!CmpInst::isUnsigned(Pred) && match(LHS, m_Neg(m_ZExt(m_Value())))) { in SimplifyICmpInst()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPatternMatch.h1684 m_Neg(const ValTy &V) {
1757 auto RHS = m_LShr(m_Neg(m_Value(OpR)), m_SpecificInt(ShiftWidth));
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h636 inline neg_match<LHS> m_Neg(const LHS &L) { return L; } in m_Neg() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp1716 if (match(X, m_Neg(m_Specific(Y))) || match(Y, m_Neg(m_Specific(X)))) in isKnownToBeAPowerOfTwo()
4649 if (match(CmpLHS, m_Neg(m_Specific(FalseVal)))) in matchSelectPattern()
4667 if (match(CmpLHS, m_Neg(m_Specific(TrueVal)))) in matchSelectPattern()
DInstructionSimplify.cpp1824 if (match(Op0, m_Neg(m_Specific(Op1))) || in SimplifyAndInst()
1825 match(Op1, m_Neg(m_Specific(Op0)))) { in SimplifyAndInst()
2797 if (!CmpInst::isUnsigned(Pred) && match(LHS, m_Neg(m_ZExt(m_Value())))) { in simplifyICmpWithBinOp()