Lines Matching refs:RHSValue
2888 const APInt &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2890 bool RHS = (RHSValue != 0); in handleLogicalOpForVector()
2900 const APFloat &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2902 bool RHS = !RHSValue.isZero(); in handleLogicalOpForVector()
2913 const APValue &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2917 RHSValue.getInt(), Result); in handleLogicalOpForVector()
2920 RHSValue.getFloat(), Result); in handleLogicalOpForVector()
2926 const APTy &RHSValue, APInt &Result) { in handleCompareOpForVectorHelper() argument
2931 Result = (LHSValue == RHSValue); in handleCompareOpForVectorHelper()
2934 Result = (LHSValue != RHSValue); in handleCompareOpForVectorHelper()
2937 Result = (LHSValue < RHSValue); in handleCompareOpForVectorHelper()
2940 Result = (LHSValue > RHSValue); in handleCompareOpForVectorHelper()
2943 Result = (LHSValue <= RHSValue); in handleCompareOpForVectorHelper()
2946 Result = (LHSValue >= RHSValue); in handleCompareOpForVectorHelper()
2960 const APValue &RHSValue, APInt &Result) { in handleCompareOpForVector() argument
2964 RHSValue.getInt(), Result); in handleCompareOpForVector()
2967 RHSValue.getFloat(), Result); in handleCompareOpForVector()
2974 const APValue &RHSValue) { in handleVectorVectorBinOp() argument
2993 RHSValue.getVectorLength() == NumElements && "Different vector sizes"); in handleVectorVectorBinOp()
2999 APValue RHSElt = RHSValue.getVectorElt(EltNum); in handleVectorVectorBinOp()
6186 APValue RHSValue; in HandleFunctionCall() local
6187 if (!handleTrivialCopy(Info, MD->getParamDecl(0), Args[0], RHSValue, in HandleFunctionCall()
6191 RHSValue)) in HandleFunctionCall()
10529 APValue RHSValue; in VisitBinaryOperator() local
10533 if (!Evaluate(RHSValue, Info, RHS) || !LHSOK) in VisitBinaryOperator()
10536 if (!handleVectorVectorBinOp(Info, E, Op, LHSValue, RHSValue)) in VisitBinaryOperator()
12965 LValue LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
12971 if (!EvaluatePointer(E->getRHS(), RHSValue, Info) || !LHSOK) in EvaluateComparisonBinaryOperator()
12976 if (!HasSameBase(LHSValue, RHSValue)) { in EvaluateComparisonBinaryOperator()
12979 std::string RHS = RHSValue.toString(Info.Ctx, E->getRHS()->getType()); in EvaluateComparisonBinaryOperator()
12995 (!RHSValue.Base && !RHSValue.Offset.isZero())) in EvaluateComparisonBinaryOperator()
12997 !RHSValue.Base); in EvaluateComparisonBinaryOperator()
13002 if ((IsLiteralLValue(LHSValue) || IsLiteralLValue(RHSValue)) && in EvaluateComparisonBinaryOperator()
13003 LHSValue.Base && RHSValue.Base) in EvaluateComparisonBinaryOperator()
13007 if (IsWeakLValue(LHSValue) || IsWeakLValue(RHSValue)) in EvaluateComparisonBinaryOperator()
13013 isOnePastTheEndOfCompleteObject(Info.Ctx, RHSValue)) in EvaluateComparisonBinaryOperator()
13016 if (RHSValue.Base && RHSValue.Offset.isZero() && in EvaluateComparisonBinaryOperator()
13022 if ((RHSValue.Base && isZeroSized(LHSValue)) || in EvaluateComparisonBinaryOperator()
13023 (LHSValue.Base && isZeroSized(RHSValue))) in EvaluateComparisonBinaryOperator()
13030 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator()
13033 SubobjectDesignator &RHSDesignator = RHSValue.getLValueDesignator(); in EvaluateComparisonBinaryOperator()
13120 MemberPtr LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
13126 if (!EvaluateMemberPointer(E->getRHS(), RHSValue, Info) || !LHSOK) in EvaluateComparisonBinaryOperator()
13136 if (RHSValue.getDecl() && RHSValue.getDecl()->isWeak()) { in EvaluateComparisonBinaryOperator()
13138 << RHSValue.getDecl(); in EvaluateComparisonBinaryOperator()
13145 if (!LHSValue.getDecl() || !RHSValue.getDecl()) { in EvaluateComparisonBinaryOperator()
13146 bool Equal = !LHSValue.getDecl() && !RHSValue.getDecl(); in EvaluateComparisonBinaryOperator()
13155 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(RHSValue.getDecl())) in EvaluateComparisonBinaryOperator()
13163 bool Equal = LHSValue == RHSValue; in EvaluateComparisonBinaryOperator()
13276 LValue LHSValue, RHSValue; in VisitBinaryOperator() local
13282 if (!EvaluatePointer(E->getRHS(), RHSValue, Info) || !LHSOK) in VisitBinaryOperator()
13287 if (!HasSameBase(LHSValue, RHSValue)) { in VisitBinaryOperator()
13289 if (!LHSValue.Offset.isZero() || !RHSValue.Offset.isZero()) in VisitBinaryOperator()
13292 const Expr *RHSExpr = RHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator()
13306 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in VisitBinaryOperator()
13309 SubobjectDesignator &RHSDesignator = RHSValue.getLValueDesignator(); in VisitBinaryOperator()