Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DDomConditionCache.cpp30 if (match(I, m_PtrToInt(m_Value(Op)))) { in findAffectedValues()
H A DAssumptionCache.cpp73 if (match(I, m_PtrToInt(m_Value(Op)))) { in findAffectedValues()
H A DInstructionSimplify.cpp897 if (match(Op0, m_PtrToInt(m_Value(X))) && match(Op1, m_PtrToInt(m_Value(Y)))) in simplifySubInst()
5019 m_Sub(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Specific(Ptr)))) && in simplifyGEPInst()
5025 if (match(Indices[0], m_AShr(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst()
5026 m_PtrToInt(m_Specific(Ptr))), in simplifyGEPInst()
5033 if (match(Indices[0], m_SDiv(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst()
5034 m_PtrToInt(m_Specific(Ptr))), in simplifyGEPInst()
5058 m_Sub(m_Zero(), m_PtrToInt(m_Specific(StrippedBasePtr)))) && in simplifyGEPInst()
5065 m_Xor(m_PtrToInt(m_Specific(StrippedBasePtr)), m_AllOnes())) && in simplifyGEPInst()
6429 if (match(Op1, m_PtrToInt(m_Specific(Op0)))) in simplifyBinaryIntrinsic()
H A DValueTracking.cpp607 auto m_V = m_CombineOr(m_Specific(V), m_PtrToInt(m_Specific(V))); in isKnownNonZeroFromAssume()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp2535 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
2536 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
2542 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
2543 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
H A DInstructionCombining.cpp2579 m_Sub(m_PtrToInt(m_Value(Y)), m_PtrToInt(m_Specific(X)))) && in visitGetElementPtrInst()
H A DInstCombineCompares.cpp2061 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in foldICmpOrConstant()
H A DInstCombineCalls.cpp2911 if (match(A, m_PtrToInt(m_Value(A)))) { in visitCallInst()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h1718 m_PtrToInt(const OpTy &Op) { in m_PtrToInt() function
2632 if (m_PtrToInt(m_Value(Ptr)).match(V)) {