Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DAssumptionCache.cpp73 match(I, m_PtrToInt(m_Value(Op))) || match(I, m_Not(m_Value(Op)))) { in findAffectedValues()
H A DInstructionSimplify.cpp894 if (match(Op0, m_PtrToInt(m_Value(X))) && match(Op1, m_PtrToInt(m_Value(Y)))) in simplifySubInst()
1716 match(Y, m_c_And(m_PtrToInt(m_Specific(X)), m_Value()))) in simplifyAndOrOfICmpsWithZero()
1724 match(X, m_c_And(m_PtrToInt(m_Specific(Y)), m_Value()))) in simplifyAndOrOfICmpsWithZero()
4797 m_Sub(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Specific(Ptr)))) && in simplifyGEPInst()
4803 if (match(Indices[0], m_AShr(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst()
4804 m_PtrToInt(m_Specific(Ptr))), in simplifyGEPInst()
4811 if (match(Indices[0], m_SDiv(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst()
4812 m_PtrToInt(m_Specific(Ptr))), in simplifyGEPInst()
4836 m_Sub(m_Zero(), m_PtrToInt(m_Specific(StrippedBasePtr)))) && in simplifyGEPInst()
4843 m_Xor(m_PtrToInt(m_Specific(StrippedBasePtr)), m_AllOnes())) && in simplifyGEPInst()
H A DValueTracking.cpp629 auto m_V = m_CombineOr(m_Specific(V), m_PtrToInt(m_Specific(V))); in isKnownNonZeroFromAssume()
705 auto m_V = m_CombineOr(m_Specific(V), m_PtrToInt(m_Specific(V))); in computeKnownBitsFromAssume()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp2286 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
2287 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
2293 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
2294 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
H A DInstructionCombining.cpp2490 match(V, m_Sub(m_PtrToInt(m_Value(Y)), m_PtrToInt(m_Specific(X)))) && in visitGetElementPtrInst()
H A DInstCombineCompares.cpp1916 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in foldICmpOrConstant()
H A DInstCombineCalls.cpp2422 if (match(A, m_PtrToInt(m_Value(A)))) { in visitCallInst()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DPatternMatch.h1599 inline CastClass_match<OpTy, Instruction::PtrToInt> m_PtrToInt(const OpTy &Op) { in m_PtrToInt() function
2487 if (m_PtrToInt(m_Value(Ptr)).match(V)) {