Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp855 if (match(Op0, m_PtrToInt(m_Value(X))) && match(Op1, m_PtrToInt(m_Value(Y)))) in simplifySubInst()
5071 m_Sub(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Specific(Ptr)))) && in simplifyGEPInst()
5077 if (match(Indices[0], m_AShr(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst()
5078 m_PtrToInt(m_Specific(Ptr))), in simplifyGEPInst()
5085 if (match(Indices[0], m_SDiv(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst()
5086 m_PtrToInt(m_Specific(Ptr))), in simplifyGEPInst()
5110 m_Neg(m_PtrToInt(m_Specific(StrippedBasePtr)))) && in simplifyGEPInst()
5117 m_Xor(m_PtrToInt(m_Specific(StrippedBasePtr)), m_AllOnes())) && in simplifyGEPInst()
5393 m_Sub(m_Value(X), m_PtrToInt(m_Deferred(Ptr))))) && in simplifyCastInst()
6497 if (match(Op1, m_PtrToInt(m_Specific(Op0)))) in simplifyBinaryIntrinsic()
H A DValueTracking.cpp662 auto m_V = m_CombineOr(m_Specific(V), m_PtrToInt(m_Specific(V))); in isKnownNonZeroFromAssume()
10081 if (match(I, m_CombineOr(m_PtrToInt(m_Value(Op)), m_Trunc(m_Value(Op))))) { in addValueAffectedByCondition()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp2706 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
2707 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
2713 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
2714 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
2720 match(Op1, m_ZExtOrSelf(m_PtrToInt(m_Value(RHSOp))))) { in visitSub()
H A DInstructionCombining.cpp3213 m_Sub(m_PtrToInt(m_Value(Y)), m_PtrToInt(m_Specific(X)))) && in visitGetElementPtrInst()
H A DInstCombineCompares.cpp2166 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in foldICmpOrConstant()
H A DInstCombineCalls.cpp3399 if (match(A, m_PtrToInt(m_Value(A)))) { in visitCallInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h2105 m_PtrToInt(const OpTy &Op) { in m_PtrToInt() function