Searched refs:m_PtrToInt (Results 1 – 8 of 8) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | AssumptionCache.cpp | 74 match(I, m_PtrToInt(m_Value(Op))) || match(I, m_Not(m_Value(Op)))) { in findAffectedValues()
|
H A D | InstructionSimplify.cpp | 837 if (match(Op0, m_PtrToInt(m_Value(X))) && in SimplifySubInst() 838 match(Op1, m_PtrToInt(m_Value(Y)))) in SimplifySubInst() 1651 match(Y, m_c_And(m_PtrToInt(m_Specific(X)), m_Value()))) in simplifyAndOrOfICmpsWithZero() 1659 match(X, m_c_And(m_PtrToInt(m_Specific(Y)), m_Value()))) in simplifyAndOrOfICmpsWithZero() 4301 match(Ops[1], m_Sub(m_PtrToInt(m_Value(P)), in SimplifyGEPInst() 4302 m_PtrToInt(m_Specific(Ops[0])))) && in SimplifyGEPInst() 4308 if (match(Ops[1], m_AShr(m_Sub(m_PtrToInt(m_Value(P)), in SimplifyGEPInst() 4309 m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst() 4316 if (match(Ops[1], m_SDiv(m_Sub(m_PtrToInt(m_Value(P)), in SimplifyGEPInst() 4317 m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst() [all …]
|
H A D | ValueTracking.cpp | 619 auto m_V = m_CombineOr(m_Specific(V), m_PtrToInt(m_Specific(V))); in isKnownNonZeroFromAssume() 697 auto m_V = m_CombineOr(m_Specific(V), m_PtrToInt(m_Specific(V))); in computeKnownBitsFromAssume()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 2057 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub() 2058 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub() 2064 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub() 2065 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
|
H A D | InstructionCombining.cpp | 2182 match(V, m_Sub(m_PtrToInt(m_Value(Y)), m_PtrToInt(m_Specific(X)))) && in visitGetElementPtrInst()
|
H A D | InstCombineCalls.cpp | 1753 if (match(A, m_PtrToInt(m_Value(A)))) { in visitCallInst()
|
H A D | InstCombineCompares.cpp | 1921 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in foldICmpOrConstant()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 1609 inline CastClass_match<OpTy, Instruction::PtrToInt> m_PtrToInt(const OpTy &Op) { in m_PtrToInt() function 2439 if (m_PtrToInt(m_OffsetGep(m_Zero(), m_SpecificInt(1))).match(V)) {
|