Searched refs:RHSOp (Results 1 - 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1667 Value *LHSOp, *RHSOp; local
1669 match(Op1, m_PtrToInt(m_Value(RHSOp))))
1670 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType()))
1675 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp)))))
1676 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType()))
H A DInstCombineCompares.cpp1924 Value *RHSOp = nullptr; local
1929 RHSOp = RHSC->getOperand(0);
1931 if (LHSCIOp->getType() != RHSOp->getType())
1932 RHSOp = Builder->CreateBitCast(RHSOp, LHSCIOp->getType());
1935 RHSOp = ConstantExpr::getIntToPtr(RHSC, SrcTy);
1937 if (RHSOp)
1938 return new ICmpInst(ICI.getPredicate(), LHSCIOp, RHSOp);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp12448 SDValue RHSOp = RHS.getOperand(i); local
12453 if ((RHSOp.getOpcode() == ISD::Constant &&
12454 cast<ConstantSDNode>(RHSOp.getNode())->isNullValue()) ||
12455 (RHSOp.getOpcode() == ISD::ConstantFP &&
12456 cast<ConstantFPSDNode>(RHSOp.getNode())->getValueAPF().isZero()))
12461 EVT RVT = RHSOp.getValueType();
12468 RHSOp = DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, RHSOp);
12475 LHSOp, RHSOp);

Completed in 2143 milliseconds