Lines Matching refs:RHSValue
2886 const APInt &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2888 bool RHS = (RHSValue != 0); in handleLogicalOpForVector()
2898 const APFloat &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2900 bool RHS = !RHSValue.isZero(); in handleLogicalOpForVector()
2911 const APValue &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2915 RHSValue.getInt(), Result); in handleLogicalOpForVector()
2918 RHSValue.getFloat(), Result); in handleLogicalOpForVector()
2924 const APTy &RHSValue, APInt &Result) { in handleCompareOpForVectorHelper() argument
2929 Result = (LHSValue == RHSValue); in handleCompareOpForVectorHelper()
2932 Result = (LHSValue != RHSValue); in handleCompareOpForVectorHelper()
2935 Result = (LHSValue < RHSValue); in handleCompareOpForVectorHelper()
2938 Result = (LHSValue > RHSValue); in handleCompareOpForVectorHelper()
2941 Result = (LHSValue <= RHSValue); in handleCompareOpForVectorHelper()
2944 Result = (LHSValue >= RHSValue); in handleCompareOpForVectorHelper()
2958 const APValue &RHSValue, APInt &Result) { in handleCompareOpForVector() argument
2962 RHSValue.getInt(), Result); in handleCompareOpForVector()
2965 RHSValue.getFloat(), Result); in handleCompareOpForVector()
2972 const APValue &RHSValue) { in handleVectorVectorBinOp() argument
2991 RHSValue.getVectorLength() == NumElements && "Different vector sizes"); in handleVectorVectorBinOp()
2997 APValue RHSElt = RHSValue.getVectorElt(EltNum); in handleVectorVectorBinOp()
6178 APValue RHSValue; in HandleFunctionCall() local
6179 if (!handleTrivialCopy(Info, MD->getParamDecl(0), Args[0], RHSValue, in HandleFunctionCall()
6183 RHSValue)) in HandleFunctionCall()
10494 APValue RHSValue; in VisitBinaryOperator() local
10498 if (!Evaluate(RHSValue, Info, RHS) || !LHSOK) in VisitBinaryOperator()
10501 if (!handleVectorVectorBinOp(Info, E, Op, LHSValue, RHSValue)) in VisitBinaryOperator()
12877 LValue LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
12883 if (!EvaluatePointer(E->getRHS(), RHSValue, Info) || !LHSOK) in EvaluateComparisonBinaryOperator()
12888 if (!HasSameBase(LHSValue, RHSValue)) { in EvaluateComparisonBinaryOperator()
12899 (!RHSValue.Base && !RHSValue.Offset.isZero())) in EvaluateComparisonBinaryOperator()
12905 if ((IsLiteralLValue(LHSValue) || IsLiteralLValue(RHSValue)) && in EvaluateComparisonBinaryOperator()
12906 LHSValue.Base && RHSValue.Base) in EvaluateComparisonBinaryOperator()
12910 if (IsWeakLValue(LHSValue) || IsWeakLValue(RHSValue)) in EvaluateComparisonBinaryOperator()
12915 isOnePastTheEndOfCompleteObject(Info.Ctx, RHSValue)) || in EvaluateComparisonBinaryOperator()
12916 (RHSValue.Base && RHSValue.Offset.isZero() && in EvaluateComparisonBinaryOperator()
12921 if ((RHSValue.Base && isZeroSized(LHSValue)) || in EvaluateComparisonBinaryOperator()
12922 (LHSValue.Base && isZeroSized(RHSValue))) in EvaluateComparisonBinaryOperator()
12928 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator()
12931 SubobjectDesignator &RHSDesignator = RHSValue.getLValueDesignator(); in EvaluateComparisonBinaryOperator()
13018 MemberPtr LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
13024 if (!EvaluateMemberPointer(E->getRHS(), RHSValue, Info) || !LHSOK) in EvaluateComparisonBinaryOperator()
13030 if (!LHSValue.getDecl() || !RHSValue.getDecl()) { in EvaluateComparisonBinaryOperator()
13031 bool Equal = !LHSValue.getDecl() && !RHSValue.getDecl(); in EvaluateComparisonBinaryOperator()
13040 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(RHSValue.getDecl())) in EvaluateComparisonBinaryOperator()
13048 bool Equal = LHSValue == RHSValue; in EvaluateComparisonBinaryOperator()
13156 LValue LHSValue, RHSValue; in VisitBinaryOperator() local
13162 if (!EvaluatePointer(E->getRHS(), RHSValue, Info) || !LHSOK) in VisitBinaryOperator()
13167 if (!HasSameBase(LHSValue, RHSValue)) { in VisitBinaryOperator()
13169 if (!LHSValue.Offset.isZero() || !RHSValue.Offset.isZero()) in VisitBinaryOperator()
13172 const Expr *RHSExpr = RHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator()
13186 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in VisitBinaryOperator()
13189 SubobjectDesignator &RHSDesignator = RHSValue.getLValueDesignator(); in VisitBinaryOperator()