Searched refs:RHSOp (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 673 Value *LHSOp, *RHSOp; in visitSub() local 675 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub() 676 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) in visitSub() 681 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub() 682 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) in visitSub()
|
D | InstCombineCompares.cpp | 1530 Value *RHSOp = 0; in visitICmpInstWithCastAndCast() local 1532 RHSOp = ConstantExpr::getIntToPtr(RHSC, SrcTy); in visitICmpInstWithCastAndCast() 1534 RHSOp = RHSC->getOperand(0); in visitICmpInstWithCastAndCast() 1536 if (LHSCIOp->getType() != RHSOp->getType()) in visitICmpInstWithCastAndCast() 1537 RHSOp = Builder->CreateBitCast(RHSOp, LHSCIOp->getType()); in visitICmpInstWithCastAndCast() 1540 if (RHSOp) in visitICmpInstWithCastAndCast() 1541 return new ICmpInst(ICI.getPredicate(), LHSCIOp, RHSOp); in visitICmpInstWithCastAndCast()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1646 Value *LHSOp, *RHSOp; in visitSub() local 1648 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub() 1649 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) in visitSub() 1654 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub() 1655 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) in visitSub()
|
D | InstCombineCompares.cpp | 2386 Value *RHSOp = nullptr; in visitICmpInstWithCastAndCast() local 2391 RHSOp = RHSC->getOperand(0); in visitICmpInstWithCastAndCast() 2393 if (LHSCIOp->getType() != RHSOp->getType()) in visitICmpInstWithCastAndCast() 2394 RHSOp = Builder->CreateBitCast(RHSOp, LHSCIOp->getType()); in visitICmpInstWithCastAndCast() 2397 RHSOp = ConstantExpr::getIntToPtr(RHSC, SrcTy); in visitICmpInstWithCastAndCast() 2400 if (RHSOp) in visitICmpInstWithCastAndCast() 2401 return new ICmpInst(ICmp.getPredicate(), LHSCIOp, RHSOp); in visitICmpInstWithCastAndCast()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 7243 SDValue RHSOp = RHS.getOperand(i); in SimplifyVBinOp() local 7248 (RHSOp.getOpcode() != ISD::UNDEF && in SimplifyVBinOp() 7249 RHSOp.getOpcode() != ISD::Constant && in SimplifyVBinOp() 7250 RHSOp.getOpcode() != ISD::ConstantFP)) in SimplifyVBinOp() 7256 if ((RHSOp.getOpcode() == ISD::Constant && in SimplifyVBinOp() 7257 cast<ConstantSDNode>(RHSOp.getNode())->isNullValue()) || in SimplifyVBinOp() 7258 (RHSOp.getOpcode() == ISD::ConstantFP && in SimplifyVBinOp() 7259 cast<ConstantFPSDNode>(RHSOp.getNode())->getValueAPF().isZero())) in SimplifyVBinOp() 7264 assert(RHSOp.getValueType() == VT && in SimplifyVBinOp() 7267 LHSOp, RHSOp); in SimplifyVBinOp()
|