Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp674 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
675 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
680 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
681 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
DInstCombineCompares.cpp1222 if (match(LHSI, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in visitICmpInstWithInstAndIntCst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DAssumptionCache.cpp71 match(I, m_PtrToInt(m_Value(Op))) || in updateAffectedValues()
DInstructionSimplify.cpp819 if (match(Op0, m_PtrToInt(m_Value(X))) && in SimplifySubInst()
820 match(Op1, m_PtrToInt(m_Value(Y)))) in SimplifySubInst()
1541 match(Y, m_c_And(m_PtrToInt(m_Specific(X)), m_Value()))) in simplifyAndOrOfICmpsWithZero()
1549 match(X, m_c_And(m_PtrToInt(m_Specific(Y)), m_Value()))) in simplifyAndOrOfICmpsWithZero()
3904 if (match(P, m_PtrToInt(m_Value(Temp)))) in SimplifyGEPInst()
3912 match(Ops[1], m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))))) in SimplifyGEPInst()
3919 m_AShr(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
3928 m_SDiv(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
3949 m_Sub(m_Zero(), m_PtrToInt(m_Specific(StrippedBasePtr))))) { in SimplifyGEPInst()
3955 m_Xor(m_PtrToInt(m_Specific(StrippedBasePtr)), m_AllOnes()))) { in SimplifyGEPInst()
DValueTracking.cpp613 m_CombineOr(m_PtrToInt(m_Specific(V)), in computeKnownBitsFromAssume()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1647 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
1648 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
1653 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
1654 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
DInstructionCombining.cpp1589 if (match(V, m_Neg(m_PtrToInt(m_Value())))) { in visitGetElementPtrInst()
1598 if (match(V, m_Sub(m_PtrToInt(m_Value(Y)), in visitGetElementPtrInst()
1599 m_PtrToInt(m_Specific(GEP.getOperand(0)))))) { in visitGetElementPtrInst()
DInstCombineCompares.cpp1887 if (match(LHSI, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in visitICmpInstWithInstAndIntCst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1790 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
1791 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
1796 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
1797 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
DInstructionCombining.cpp1744 if (match(V, m_Neg(m_PtrToInt(m_Value())))) { in visitGetElementPtrInst()
1753 if (match(V, m_Sub(m_PtrToInt(m_Value(Y)), in visitGetElementPtrInst()
1754 m_PtrToInt(m_Specific(GEP.getOperand(0)))))) in visitGetElementPtrInst()
DInstCombineCompares.cpp1755 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in foldICmpOrConstant()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp755 if (match(Op0, m_PtrToInt(m_Value(X))) && in SimplifySubInst()
756 match(Op1, m_PtrToInt(m_Value(Y)))) in SimplifySubInst()
3555 if (match(P, m_PtrToInt(m_Value(Temp)))) in SimplifyGEPInst()
3563 match(Ops[1], m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))))) in SimplifyGEPInst()
3570 m_AShr(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
3579 m_SDiv(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
DValueTracking.cpp560 m_CombineOr(m_PtrToInt(m_Specific(V)), in computeKnownBitsFromAssume()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h550 m_PtrToInt(const OpTy &Op) { in m_PtrToInt() function
/external/llvm/include/llvm/IR/
DPatternMatch.h795 inline CastClass_match<OpTy, Instruction::PtrToInt> m_PtrToInt(const OpTy &Op) { in m_PtrToInt() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPatternMatch.h1130 inline CastClass_match<OpTy, Instruction::PtrToInt> m_PtrToInt(const OpTy &Op) { in m_PtrToInt() function