Home
last modified time | relevance | path

Searched refs:LHSOp (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp673 Value *LHSOp, *RHSOp; in visitSub() local
674 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
676 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) in visitSub()
680 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
682 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) in visitSub()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1646 Value *LHSOp, *RHSOp; in visitSub() local
1647 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
1649 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) in visitSub()
1653 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
1655 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) in visitSub()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1789 Value *LHSOp, *RHSOp; in visitSub() local
1790 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
1792 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) in visitSub()
1796 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
1798 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) in visitSub()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7242 SDValue LHSOp = LHS.getOperand(i); in SimplifyVBinOp() local
7245 if ((LHSOp.getOpcode() != ISD::UNDEF && in SimplifyVBinOp()
7246 LHSOp.getOpcode() != ISD::Constant && in SimplifyVBinOp()
7247 LHSOp.getOpcode() != ISD::ConstantFP) || in SimplifyVBinOp()
7263 EVT VT = LHSOp.getValueType(); in SimplifyVBinOp()
7267 LHSOp, RHSOp); in SimplifyVBinOp()