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.cpp898 if (match(Op0, m_PtrToInt(m_Value(X))) && match(Op1, m_PtrToInt(m_Value(Y)))) in simplifySubInst()
5045 m_Sub(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Specific(Ptr)))) && in simplifyGEPInst()
5051 if (match(Indices[0], m_AShr(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst()
5052 m_PtrToInt(m_Specific(Ptr))), in simplifyGEPInst()
5059 if (match(Indices[0], m_SDiv(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst()
5060 m_PtrToInt(m_Specific(Ptr))), in simplifyGEPInst()
5084 m_Neg(m_PtrToInt(m_Specific(StrippedBasePtr)))) && in simplifyGEPInst()
5091 m_Xor(m_PtrToInt(m_Specific(StrippedBasePtr)), m_AllOnes())) && in simplifyGEPInst()
5356 m_Sub(m_Value(X), m_PtrToInt(m_Deferred(Ptr))))) && in simplifyCastInst()
6471 if (match(Op1, m_PtrToInt(m_Specific(Op0)))) in simplifyBinaryIntrinsic()
H A DValueTracking.cpp614 auto m_V = m_CombineOr(m_Specific(V), m_PtrToInt(m_Specific(V))); in isKnownNonZeroFromAssume()
9777 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.cpp2545 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
2546 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
2552 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
2553 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
H A DInstructionCombining.cpp2928 m_Sub(m_PtrToInt(m_Value(Y)), m_PtrToInt(m_Specific(X)))) && in visitGetElementPtrInst()
H A DInstCombineCompares.cpp2121 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in foldICmpOrConstant()
H A DInstCombineCalls.cpp3102 if (match(A, m_PtrToInt(m_Value(A)))) { in visitCallInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h1994 m_PtrToInt(const OpTy &Op) { in m_PtrToInt() function
2907 if (m_PtrToInt(m_Value(Ptr)).match(V)) {