Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DAssumptionCache.cpp71 match(I, m_PtrToInt(m_Value(Op))) || in findAffectedValues()
DInstructionSimplify.cpp843 if (match(Op0, m_PtrToInt(m_Value(X))) && in SimplifySubInst()
844 match(Op1, m_PtrToInt(m_Value(Y)))) in SimplifySubInst()
1637 match(Y, m_c_And(m_PtrToInt(m_Specific(X)), m_Value()))) in simplifyAndOrOfICmpsWithZero()
1645 match(X, m_c_And(m_PtrToInt(m_Specific(Y)), m_Value()))) in simplifyAndOrOfICmpsWithZero()
4084 if (match(P, m_PtrToInt(m_Value(Temp)))) in SimplifyGEPInst()
4092 match(Ops[1], m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))))) in SimplifyGEPInst()
4099 m_AShr(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
4108 m_SDiv(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
4129 m_Sub(m_Zero(), m_PtrToInt(m_Specific(StrippedBasePtr))))) { in SimplifyGEPInst()
4135 m_Xor(m_PtrToInt(m_Specific(StrippedBasePtr)), m_AllOnes()))) { in SimplifyGEPInst()
DValueTracking.cpp589 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp2061 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
2062 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
2068 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
2069 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
DInstructionCombining.cpp1987 if (match(V, m_Neg(m_PtrToInt(m_Value())))) { in visitGetElementPtrInst()
1996 if (match(V, m_Sub(m_PtrToInt(m_Value(Y)), in visitGetElementPtrInst()
1997 m_PtrToInt(m_Specific(GEP.getOperand(0)))))) in visitGetElementPtrInst()
DInstCombineCompares.cpp1912 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in foldICmpOrConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h1325 inline CastClass_match<OpTy, Instruction::PtrToInt> m_PtrToInt(const OpTy &Op) { in m_PtrToInt() function