Searched refs:m_PtrToInt (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/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 | 848 if (match(Op0, m_PtrToInt(m_Value(X))) && in SimplifySubInst() 849 match(Op1, m_PtrToInt(m_Value(Y)))) in SimplifySubInst() 1679 match(Y, m_c_And(m_PtrToInt(m_Specific(X)), m_Value()))) in simplifyAndOrOfICmpsWithZero() 1687 match(X, m_c_And(m_PtrToInt(m_Specific(Y)), m_Value()))) in simplifyAndOrOfICmpsWithZero() 4373 match(Ops[1], m_Sub(m_PtrToInt(m_Value(P)), in SimplifyGEPInst() 4374 m_PtrToInt(m_Specific(Ops[0])))) && in SimplifyGEPInst() 4380 if (match(Ops[1], m_AShr(m_Sub(m_PtrToInt(m_Value(P)), in SimplifyGEPInst() 4381 m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst() 4388 if (match(Ops[1], m_SDiv(m_Sub(m_PtrToInt(m_Value(P)), in SimplifyGEPInst() 4389 m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst() [all …]
|
| H A D | ValueTracking.cpp | 620 auto m_V = m_CombineOr(m_Specific(V), m_PtrToInt(m_Specific(V))); in isKnownNonZeroFromAssume() 698 auto m_V = m_CombineOr(m_Specific(V), m_PtrToInt(m_Specific(V))); in computeKnownBitsFromAssume()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 2078 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub() 2079 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub() 2085 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub() 2086 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
|
| H A D | InstructionCombining.cpp | 2239 match(V, m_Sub(m_PtrToInt(m_Value(Y)), m_PtrToInt(m_Specific(X)))) && in visitGetElementPtrInst()
|
| H A D | InstCombineCompares.cpp | 1957 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in foldICmpOrConstant()
|
| H A D | InstCombineCalls.cpp | 1794 if (match(A, m_PtrToInt(m_Value(A)))) { in visitCallInst()
|
| /freebsd-13.1/contrib/llvm-project/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 2440 if (m_PtrToInt(m_Value(Ptr)).match(V)) {
|