Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1668 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
1669 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
1674 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
1675 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
DInstructionCombining.cpp1529 if (match(V, m_Neg(m_PtrToInt(m_Value())))) { in visitGetElementPtrInst()
1538 if (match(V, m_Sub(m_PtrToInt(m_Value(Y)), in visitGetElementPtrInst()
1539 m_PtrToInt(m_Specific(GEP.getOperand(0)))))) { in visitGetElementPtrInst()
DInstCombineCompares.cpp1456 if (match(LHSI, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp757 if (match(Op0, m_PtrToInt(m_Value(X))) && in SimplifySubInst()
758 match(Op1, m_PtrToInt(m_Value(Y)))) in SimplifySubInst()
3287 if (match(P, m_PtrToInt(m_Value(Temp)))) in SimplifyGEPInst()
3295 match(Ops[1], m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))))) in SimplifyGEPInst()
3302 m_AShr(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
3311 m_SDiv(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
DValueTracking.cpp715 m_CombineOr(m_PtrToInt(m_Specific(V)), in computeKnownBitsFromAssume()
/external/llvm/include/llvm/IR/
DPatternMatch.h795 inline CastClass_match<OpTy, Instruction::PtrToInt> m_PtrToInt(const OpTy &Op) { in m_PtrToInt() function