Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DAssumptionCache.cpp71 match(I, m_PtrToInt(m_Value(Op))) || in updateAffectedValues()
H A DInstructionSimplify.cpp819 if (match(Op0, m_PtrToInt(m_Value(X))) && in SimplifySubInst()
820 match(Op1, m_PtrToInt(m_Value(Y)))) in SimplifySubInst()
1545 match(Y, m_c_And(m_PtrToInt(m_Specific(X)), m_Value()))) in simplifyAndOrOfICmpsWithZero()
1553 match(X, m_c_And(m_PtrToInt(m_Specific(Y)), m_Value()))) in simplifyAndOrOfICmpsWithZero()
4092 if (match(P, m_PtrToInt(m_Value(Temp)))) in SimplifyGEPInst()
4100 match(Ops[1], m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))))) in SimplifyGEPInst()
4107 m_AShr(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
4116 m_SDiv(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
4137 m_Sub(m_Zero(), m_PtrToInt(m_Specific(StrippedBasePtr))))) { in SimplifyGEPInst()
4143 m_Xor(m_PtrToInt(m_Specific(StrippedBasePtr)), m_AllOnes()))) { in SimplifyGEPInst()
H A DValueTracking.cpp622 m_CombineOr(m_PtrToInt(m_Specific(V)), in computeKnownBitsFromAssume()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1700 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
1701 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
1706 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
1707 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
H A DInstructionCombining.cpp1859 if (match(V, m_Neg(m_PtrToInt(m_Value())))) { in visitGetElementPtrInst()
1868 if (match(V, m_Sub(m_PtrToInt(m_Value(Y)), in visitGetElementPtrInst()
1869 m_PtrToInt(m_Specific(GEP.getOperand(0)))))) in visitGetElementPtrInst()
H A DInstCombineCompares.cpp1788 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in foldICmpOrConstant()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DPatternMatch.h1156 inline CastClass_match<OpTy, Instruction::PtrToInt> m_PtrToInt(const OpTy &Op) { in m_PtrToInt() function