Lines Matching refs:LValue
62 struct LValue;
476 const LValue *This;
521 const FunctionDecl *Callee, const LValue *This,
561 ThisOverrideRAII(CallStackFrame &Frame, const LValue *NewThis, bool Enable) in ThisOverrideRAII()
571 const LValue *OldThis;
1228 const FunctionDecl *Callee, const LValue *This, in CallStackFrame()
1342 struct LValue { struct
1598 const LValue &This, const Expr *E,
1600 static bool EvaluateLValue(const Expr *E, LValue &Result, EvalInfo &Info,
1602 static bool EvaluatePointer(const Expr *E, LValue &Result, EvalInfo &Info,
1606 static bool EvaluateTemporary(const Expr *E, LValue &Result, EvalInfo &Info);
1612 static bool EvaluateAtomic(const Expr *E, const LValue *This, APValue &Result,
1623 LValue &LV, CallStackFrame &Frame) { in createTemporary()
1749 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl()
1753 static bool IsLiteralLValue(const LValue &Value) { in IsLiteralLValue()
1760 static bool IsWeakLValue(const LValue &Value) { in IsWeakLValue()
1765 static bool isZeroSized(const LValue &Value) { in isZeroSized()
1776 static bool HasSameBase(const LValue &A, const LValue &B) { in HasSameBase()
1811 QualType Type, const LValue &LVal, in CheckLValueConstantExpression()
1906 const LValue *This = nullptr) { in CheckLiteralType()
1996 LValue LVal; in CheckConstantExpression()
2041 case APValue::LValue: in HandleConversionToBool()
2350 static bool CastToDerivedClass(EvalInfo &Info, const Expr *E, LValue &Result, in CastToDerivedClass()
2379 static bool HandleLValueDirectBase(EvalInfo &Info, const Expr *E, LValue &Obj, in HandleLValueDirectBase()
2393 static bool HandleLValueBase(EvalInfo &Info, const Expr *E, LValue &Obj, in HandleLValueBase()
2419 QualType Type, LValue &Result) { in HandleLValueBasePath()
2433 static bool HandleLValueMember(EvalInfo &Info, const Expr *E, LValue &LVal, in HandleLValueMember()
2449 LValue &LVal, in HandleLValueIndirectMember()
2490 LValue &LVal, QualType EltTy, in HandleLValueArrayAdjustment()
2501 LValue &LVal, QualType EltTy, in HandleLValueArrayAdjustment()
2513 LValue &LVal, QualType EltTy, in HandleLValueComplexElement()
2526 QualType Type, const LValue &LVal,
2539 APValue *&Result, const LValue *LVal) { in evaluateVarDeclInit()
3129 AccessKinds AK, const LValue &LVal, in findCompleteObject()
3348 const LValue &LVal, APValue &RVal) { in handleLValueToRValueConversion()
3383 static bool handleAssignment(EvalInfo &Info, const Expr *E, const LValue &LVal, in handleAssignment()
3430 case APValue::LValue: in found()
3493 LValue LVal; in foundPointer()
3511 const LValue &LVal, QualType LValType, QualType PromotedLValType, in handleCompoundAssignment()
3567 case APValue::LValue: in found()
3643 LValue LVal; in foundPointer()
3658 static bool handleIncDec(EvalInfo &Info, const Expr *E, const LValue &LVal, in handleIncDec()
3676 LValue &This) { in EvaluateObjectArgument()
3703 LValue &LV, in HandleMemberPointerAccess()
3785 LValue &LV, in HandleMemberPointerAccess()
3804 LValue &Result) { in HandleBaseToDerivedCast()
3861 LValue Result; in EvaluateVarDecl()
3916 const LValue *Slot;
4434 const FunctionDecl *Callee, const LValue *This, in HandleFunctionCall()
4437 const LValue *ResultSlot) { in HandleFunctionCall()
4459 LValue RHS; in HandleFunctionCall()
4493 static bool HandleConstructorCall(const Expr *E, const LValue &This, in HandleConstructorCall()
4539 LValue RHS; in HandleConstructorCall()
4563 LValue Subobject = This; in HandleConstructorCall()
4564 LValue SubobjectParent = This; in HandleConstructorCall()
4649 static bool HandleConstructorCall(const Expr *E, const LValue &This, in HandleConstructorCall()
4808 LValue Obj; in VisitBinaryOperator()
4876 const LValue *ResultSlot) { in handleCallExpr()
4881 LValue *This = nullptr, ThisVal; in handleCallExpr()
4907 LValue Call; in handleCallExpr()
5062 LValue LVal; in VisitCastExpr()
5087 LValue LVal; in VisitUnaryPostIncDec()
5163 LValue &Result;
5173 bool evaluatePointer(const Expr *E, LValue &Result) { in evaluatePointer()
5178 LValueExprEvaluatorBase(EvalInfo &Info, LValue &Result, bool InvalidBaseOK) in LValueExprEvaluatorBase()
5297 LValueExprEvaluator(EvalInfo &Info, LValue &Result, bool InvalidBaseOK) : in LValueExprEvaluator()
5351 static bool EvaluateLValue(const Expr *E, LValue &Result, EvalInfo &Info, in EvaluateLValue()
5699 const LValue &LVal, in getBytesReturnedByAllocSizeCall()
5713 LValue &Result) { in evaluateLValueAsAllocSize()
5747 LValue &Result;
5755 bool evaluateLValue(const Expr *E, LValue &Result) { in evaluateLValue()
5759 bool evaluatePointer(const Expr *E, LValue &Result) { in evaluatePointer()
5766 PointerExprEvaluator(EvalInfo &info, LValue &Result, bool InvalidBaseOK) in PointerExprEvaluator()
5839 static bool EvaluatePointer(const Expr* E, LValue& Result, EvalInfo &Info, in EvaluatePointer()
5973 LValue LVal; in VisitCastExpr()
6074 LValue OffsetResult(Result); in VisitBuiltinCallExpr()
6260 LValue Dest = Result; in VisitBuiltinCallExpr()
6262 LValue Src; in VisitBuiltinCallExpr()
6475 const LValue &This;
6479 RecordExprEvaluator(EvalInfo &info, const LValue &This, APValue &Result) in RecordExprEvaluator()
6517 const LValue &This, APValue &Result) { in HandleClassZeroInitialization()
6531 LValue Subobject = This; in HandleClassZeroInitialization()
6545 LValue Subobject = This; in HandleClassZeroInitialization()
6570 LValue Subobject = This; in ZeroInitialization()
6640 LValue Subobject = This; in VisitInitListExpr()
6664 LValue Subobject = This; in VisitInitListExpr()
6685 LValue Subobject = This; in VisitInitListExpr()
6789 LValue Array; in VisitCXXStdInitializerListExpr()
6877 static bool EvaluateRecord(const Expr *E, const LValue &This, in EvaluateRecord()
6895 TemporaryExprEvaluator(EvalInfo &Info, LValue &Result) : in TemporaryExprEvaluator()
6932 static bool EvaluateTemporary(const Expr *E, LValue &Result, EvalInfo &Info) { in EvaluateTemporary()
7125 const LValue &This;
7129 ArrayExprEvaluator(EvalInfo &Info, const LValue &This, APValue &Result) in ArrayExprEvaluator()
7150 LValue Subobject = This; in ZeroInitialization()
7163 const LValue &Subobject,
7168 static bool EvaluateArray(const Expr *E, const LValue &This, in EvaluateArray()
7198 LValue LV; in VisitInitListExpr()
7237 LValue Subobject = This; in VisitInitListExpr()
7273 LValue Subobject = This; in VisitArrayInitLoopExpr()
7296 const LValue &Subobject, in VisitCXXConstructExpr()
7316 LValue ArrayElt = Subobject; in VisitCXXConstructExpr()
7790 template<typename LValue>
7791 static bool EvaluateBuiltinConstantPForLValue(const LValue &LV) { in EvaluateBuiltinConstantPForLValue()
7822 if (V.getKind() == APValue::LValue) in EvaluateBuiltinConstantP()
7827 LValue LV; in EvaluateBuiltinConstantP()
7896 static bool isDesignatorAtObjectEnd(const ASTContext &Ctx, const LValue &LVal) { in isDesignatorAtObjectEnd()
7970 static bool refersToCompleteObject(const LValue &LVal) { in refersToCompleteObject()
7988 static bool isUserWritingOffTheEnd(const ASTContext &Ctx, const LValue &LVal) { in isUserWritingOffTheEnd()
8025 unsigned Type, const LValue &LVal, in determineEndOffset()
8109 LValue LVal; in tryEvaluateBuiltinObjectSize()
8367 LValue String; in VisitBuiltinCallExpr()
8429 LValue String1, String2; in VisitBuiltinCallExpr()
8625 LValue ResultLValue; in VisitBuiltinCallExpr()
8729 const LValue &LV) { in isOnePastTheEndOfCompleteObject()
9130 LValue LV; in EvaluateComparisonBinaryOperator()
9197 LValue LHSValue, RHSValue; in EvaluateComparisonBinaryOperator()
9395 LValue LV; in VisitBinCmp()
9452 LValue LHSValue, RHSValue; in VisitBinaryOperator()
9807 LValue LV; in VisitCastExpr()
10657 const LValue *This;
10660 AtomicExprEvaluator(EvalInfo &Info, const LValue *This, APValue &Result) in AtomicExprEvaluator()
10689 static bool EvaluateAtomic(const Expr *E, const LValue *This, APValue &Result, in EvaluateAtomic()
10747 LValue LV; in Evaluate()
10758 LValue LV; in Evaluate()
10781 LValue LV; in Evaluate()
10787 LValue LV; in Evaluate()
10801 LValue LV; in Evaluate()
10823 static bool EvaluateInPlace(APValue &Result, EvalInfo &Info, const LValue &This, in EvaluateInPlace()
10862 LValue LV; in EvaluateAsRValue()
10973 LValue LV; in EvaluateAsLValue()
11014 LValue LVal; in EvaluateAsInitializer()
11631 LValue ThisVal; in EvaluateWithSubstitution()
11632 const LValue *ThisPtr = nullptr; in EvaluateWithSubstitution()
11683 LValue This; in isPotentialConstantExpr()