Lines Matching refs:LHSValue

2886 static bool handleLogicalOpForVector(const APInt &LHSValue,  in handleLogicalOpForVector()  argument
2889 bool LHS = (LHSValue != 0); in handleLogicalOpForVector()
2898 static bool handleLogicalOpForVector(const APFloat &LHSValue, in handleLogicalOpForVector() argument
2901 bool LHS = !LHSValue.isZero(); in handleLogicalOpForVector()
2911 static bool handleLogicalOpForVector(const APValue &LHSValue, in handleLogicalOpForVector() argument
2915 if (LHSValue.getKind() == APValue::Int) in handleLogicalOpForVector()
2916 return handleLogicalOpForVector(LHSValue.getInt(), Opcode, in handleLogicalOpForVector()
2918 assert(LHSValue.getKind() == APValue::Float && "Should be no other options"); in handleLogicalOpForVector()
2919 return handleLogicalOpForVector(LHSValue.getFloat(), Opcode, in handleLogicalOpForVector()
2925 handleCompareOpForVectorHelper(const APTy &LHSValue, BinaryOperatorKind Opcode, 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()
2958 static bool handleCompareOpForVector(const APValue &LHSValue, in handleCompareOpForVector() argument
2962 if (LHSValue.getKind() == APValue::Int) in handleCompareOpForVector()
2963 return handleCompareOpForVectorHelper(LHSValue.getInt(), Opcode, in handleCompareOpForVector()
2965 assert(LHSValue.getKind() == APValue::Float && "Should be no other options"); in handleCompareOpForVector()
2966 return handleCompareOpForVectorHelper(LHSValue.getFloat(), Opcode, in handleCompareOpForVector()
2973 APValue &LHSValue, in handleVectorVectorBinOp() argument
2985 if (!LHSValue.isVector()) { in handleVectorVectorBinOp()
2986 assert(LHSValue.isLValue() && in handleVectorVectorBinOp()
2992 assert(LHSValue.getVectorLength() == NumElements && in handleVectorVectorBinOp()
2998 APValue LHSElt = LHSValue.getVectorElt(EltNum); in handleVectorVectorBinOp()
3036 LHSValue = APValue(ResultElements.data(), ResultElements.size()); in handleVectorVectorBinOp()
10528 APValue LHSValue; in VisitBinaryOperator() local
10530 bool LHSOK = Evaluate(LHSValue, Info, LHS); in VisitBinaryOperator()
10536 if (!handleVectorVectorBinOp(Info, E, Op, LHSValue, RHSValue)) in VisitBinaryOperator()
10539 return Success(LHSValue, E); in VisitBinaryOperator()
12965 LValue LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
12967 bool LHSOK = EvaluatePointer(E->getLHS(), LHSValue, Info); in EvaluateComparisonBinaryOperator()
12976 if (!HasSameBase(LHSValue, RHSValue)) { in EvaluateComparisonBinaryOperator()
12978 std::string LHS = LHSValue.toString(Info.Ctx, E->getLHS()->getType()); in EvaluateComparisonBinaryOperator()
12994 if ((!LHSValue.Base && !LHSValue.Offset.isZero()) || 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()
13009 !IsWeakLValue(LHSValue)); in EvaluateComparisonBinaryOperator()
13012 if (LHSValue.Base && LHSValue.Offset.isZero() && in EvaluateComparisonBinaryOperator()
13017 isOnePastTheEndOfCompleteObject(Info.Ctx, LHSValue)) in EvaluateComparisonBinaryOperator()
13022 if ((RHSValue.Base && isZeroSized(LHSValue)) || in EvaluateComparisonBinaryOperator()
13023 (LHSValue.Base && isZeroSized(RHSValue))) in EvaluateComparisonBinaryOperator()
13029 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator()
13032 SubobjectDesignator &LHSDesignator = LHSValue.getLValueDesignator(); in EvaluateComparisonBinaryOperator()
13056 getType(LHSValue.Base), LHSDesignator, RHSDesignator, WasArrayIndex); in EvaluateComparisonBinaryOperator()
13099 if (!LHSValue.Base.isNull() && IsRelational) { in EvaluateComparisonBinaryOperator()
13100 QualType BaseTy = getType(LHSValue.Base); in EvaluateComparisonBinaryOperator()
13120 MemberPtr LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
13122 bool LHSOK = EvaluateMemberPointer(E->getLHS(), LHSValue, Info); in EvaluateComparisonBinaryOperator()
13131 if (LHSValue.getDecl() && LHSValue.getDecl()->isWeak()) { in EvaluateComparisonBinaryOperator()
13133 << LHSValue.getDecl(); in EvaluateComparisonBinaryOperator()
13145 if (!LHSValue.getDecl() || !RHSValue.getDecl()) { in EvaluateComparisonBinaryOperator()
13146 bool Equal = !LHSValue.getDecl() && !RHSValue.getDecl(); in EvaluateComparisonBinaryOperator()
13152 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(LHSValue.getDecl())) in EvaluateComparisonBinaryOperator()
13163 bool Equal = LHSValue == RHSValue; in EvaluateComparisonBinaryOperator()
13276 LValue LHSValue, RHSValue; in VisitBinaryOperator() local
13278 bool LHSOK = EvaluatePointer(E->getLHS(), LHSValue, Info); in VisitBinaryOperator()
13287 if (!HasSameBase(LHSValue, RHSValue)) { in VisitBinaryOperator()
13289 if (!LHSValue.Offset.isZero() || !RHSValue.Offset.isZero()) in VisitBinaryOperator()
13291 const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator()
13305 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in VisitBinaryOperator()
13308 SubobjectDesignator &LHSDesignator = LHSValue.getLValueDesignator(); in VisitBinaryOperator()
13316 !AreElementsOfSameArray(getType(LHSValue.Base), LHSDesignator, in VisitBinaryOperator()