Searched defs:RHSOp (Results 1 - 5 of 5) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp673 Value *LHSOp, *RHSOp; local
675 match(Op1, m_PtrToInt(m_Value(RHSOp))))
676 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType()))
681 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp)))))
682 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType()))
H A DInstCombineCompares.cpp1530 Value *RHSOp = 0; local
1532 RHSOp = ConstantExpr::getIntToPtr(RHSC, SrcTy);
1534 RHSOp = RHSC->getOperand(0);
1536 if (LHSCIOp->getType() != RHSOp->getType())
1537 RHSOp = Builder->CreateBitCast(RHSOp, LHSCIOp->getType());
1540 if (RHSOp)
1541 return new ICmpInst(ICI.getPredicate(), LHSCIOp, RHSOp);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1646 Value *LHSOp, *RHSOp; local
1648 match(Op1, m_PtrToInt(m_Value(RHSOp))))
1649 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType()))
1654 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp)))))
1655 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType()))
H A DInstCombineCompares.cpp2386 Value *RHSOp = nullptr; local
2391 RHSOp = RHSC->getOperand(0);
2393 if (LHSCIOp->getType() != RHSOp->getType())
2394 RHSOp = Builder->CreateBitCast(RHSOp, LHSCIOp->getType());
2397 RHSOp = ConstantExpr::getIntToPtr(RHSC, SrcTy);
2400 if (RHSOp)
2401 return new ICmpInst(ICmp.getPredicate(), LHSCIOp, RHSOp);
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp7243 SDValue RHSOp = RHS.getOperand(i); local
7248 (RHSOp.getOpcode() != ISD::UNDEF &&
7249 RHSOp.getOpcode() != ISD::Constant &&
7250 RHSOp.getOpcode() != ISD::ConstantFP))
7256 if ((RHSOp.getOpcode() == ISD::Constant &&
7257 cast<ConstantSDNode>(RHSOp.getNode())->isNullValue()) ||
7258 (RHSOp.getOpcode() == ISD::ConstantFP &&
7259 cast<ConstantFPSDNode>(RHSOp.getNode())->getValueAPF().isZero()))
7264 assert(RHSOp.getValueType() == VT &&
7267 LHSOp, RHSOp);
[all...]

Completed in 173 milliseconds