Searched refs:m_PtrToInt (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | AssumptionCache.cpp | 73 match(I, m_PtrToInt(m_Value(Op))) || match(I, m_Not(m_Value(Op)))) { in findAffectedValues()
|
| H A D | InstructionSimplify.cpp | 857 if (match(Op0, m_PtrToInt(m_Value(X))) && match(Op1, m_PtrToInt(m_Value(Y)))) in simplifySubInst() 1687 match(Y, m_c_And(m_PtrToInt(m_Specific(X)), m_Value()))) in simplifyAndOrOfICmpsWithZero() 1695 match(X, m_c_And(m_PtrToInt(m_Specific(Y)), m_Value()))) in simplifyAndOrOfICmpsWithZero() 4596 m_Sub(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Specific(Ptr)))) && in simplifyGEPInst() 4602 if (match(Indices[0], m_AShr(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst() 4603 m_PtrToInt(m_Specific(Ptr))), in simplifyGEPInst() 4610 if (match(Indices[0], m_SDiv(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst() 4611 m_PtrToInt(m_Specific(Ptr))), in simplifyGEPInst() 4635 m_Sub(m_Zero(), m_PtrToInt(m_Specific(StrippedBasePtr)))) && in simplifyGEPInst() 4642 m_Xor(m_PtrToInt(m_Specific(StrippedBasePtr)), m_AllOnes())) && in simplifyGEPInst()
|
| H A D | ValueTracking.cpp | 664 auto m_V = m_CombineOr(m_Specific(V), m_PtrToInt(m_Specific(V))); in isKnownNonZeroFromAssume() 743 auto m_V = m_CombineOr(m_Specific(V), m_PtrToInt(m_Specific(V))); in computeKnownBitsFromAssume()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 2147 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub() 2148 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub() 2154 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub() 2155 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
|
| H A D | InstructionCombining.cpp | 2477 match(V, m_Sub(m_PtrToInt(m_Value(Y)), m_PtrToInt(m_Specific(X)))) && in visitGetElementPtrInst()
|
| H A D | InstCombineCompares.cpp | 1960 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in foldICmpOrConstant()
|
| H A D | InstCombineCalls.cpp | 2265 if (match(A, m_PtrToInt(m_Value(A)))) { in visitCallInst()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 1599 inline CastClass_match<OpTy, Instruction::PtrToInt> m_PtrToInt(const OpTy &Op) { in m_PtrToInt() function 2474 if (m_PtrToInt(m_Value(Ptr)).match(V)) {
|