Lines Matching refs:LValue
74 struct LValue;
531 const LValue *This;
585 const FunctionDecl *Callee, const LValue *This,
625 ScopeKind Scope, LValue &LV);
628 APValue &createParam(CallRef Args, const ParmVarDecl *PVD, LValue &LV);
651 ThisOverrideRAII(CallStackFrame &Frame, const LValue *NewThis, bool Enable) in ThisOverrideRAII()
661 const LValue *OldThis;
666 const LValue &This, QualType ThisType);
1037 APValue *createHeapAlloc(const Expr *E, QualType T, LValue &LV);
1434 const FunctionDecl *Callee, const LValue *This, in CallStackFrame()
1545 struct LValue { struct
1808 const LValue &This, const Expr *E,
1810 static bool EvaluateLValue(const Expr *E, LValue &Result, EvalInfo &Info,
1812 static bool EvaluatePointer(const Expr *E, LValue &Result, EvalInfo &Info,
1816 static bool EvaluateTemporary(const Expr *E, LValue &Result, EvalInfo &Info);
1822 static bool EvaluateAtomic(const Expr *E, const LValue *This, APValue &Result,
1852 ScopeKind Scope, LValue &LV) { in createTemporary()
1861 LValue &LV) { in createParam()
1891 APValue *EvalInfo::createHeapAlloc(const Expr *E, QualType T, LValue &LV) { in createHeapAlloc()
2032 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl()
2036 static bool IsLiteralLValue(const LValue &Value) { in IsLiteralLValue()
2043 static bool IsWeakLValue(const LValue &Value) { in IsWeakLValue()
2048 static bool isZeroSized(const LValue &Value) { in isZeroSized()
2059 static bool HasSameBase(const LValue &A, const LValue &B) { in HasSameBase()
2126 QualType Type, const LValue &LVal, in CheckLValueConstantExpression()
2319 const LValue *This = nullptr) { in CheckLiteralType()
2415 LValue LVal; in CheckEvaluationResult()
2506 case APValue::LValue: in HandleConversionToBool()
3040 static bool CastToDerivedClass(EvalInfo &Info, const Expr *E, LValue &Result, in CastToDerivedClass()
3069 static bool HandleLValueDirectBase(EvalInfo &Info, const Expr *E, LValue &Obj, in HandleLValueDirectBase()
3083 static bool HandleLValueBase(EvalInfo &Info, const Expr *E, LValue &Obj, in HandleLValueBase()
3109 QualType Type, LValue &Result) { in HandleLValueBasePath()
3122 static bool CastToBaseClass(EvalInfo &Info, const Expr *E, LValue &Result, in CastToBaseClass()
3138 static bool HandleLValueMember(EvalInfo &Info, const Expr *E, LValue &LVal, in HandleLValueMember()
3154 LValue &LVal, in HandleLValueIndirectMember()
3195 LValue &LVal, QualType EltTy, in HandleLValueArrayAdjustment()
3206 LValue &LVal, QualType EltTy, in HandleLValueArrayAdjustment()
3218 LValue &LVal, QualType EltTy, in HandleLValueComplexElement()
3961 AccessKinds AK, const LValue &LVal, in findCompleteObject()
4237 const LValue &LVal, APValue &RVal, in handleLValueToRValueConversion()
4316 static bool handleAssignment(EvalInfo &Info, const Expr *E, const LValue &LVal, in handleAssignment()
4363 case APValue::LValue: in found()
4442 LValue LVal; in foundPointer()
4457 const LValue &LVal, QualType LValType, in handleCompoundAssignment()
4515 case APValue::LValue: in found()
4591 LValue LVal; in foundPointer()
4603 static bool handleIncDec(EvalInfo &Info, const Expr *E, const LValue &LVal, in handleIncDec()
4621 LValue &This) { in EvaluateObjectArgument()
4648 LValue &LV, in HandleMemberPointerAccess()
4730 LValue &LV, in HandleMemberPointerAccess()
4749 LValue &Result) { in HandleBaseToDerivedCast()
4851 LValue Result; in EvaluateVarDecl()
4917 const LValue *Slot;
5599 static bool checkDynamicType(EvalInfo &Info, const Expr *E, const LValue &This, in checkDynamicType()
5642 const LValue &This, in checkNonVirtualMemberCallThisPointer()
5667 LValue &This, AccessKinds AK) { in ComputeDynamicType()
5722 EvalInfo &Info, const Expr *E, LValue &This, const CXXMethodDecl *Found, in HandleVirtualDispatch()
5794 LValue LVal; in HandleCovariantReturnAdjustment()
5828 LValue &Ptr) { in HandleDynamicCast()
5976 const LValue &LHS) { in HandleUnionActiveMemberChange()
6074 LValue LV; in EvaluateCallArg()
6147 LValue RefLValue; in handleTrivialCopy()
6156 const FunctionDecl *Callee, const LValue *This, in HandleFunctionCall()
6159 APValue &Result, const LValue *ResultSlot) { in HandleFunctionCall()
6210 static bool HandleConstructorCall(const Expr *E, const LValue &This, in HandleConstructorCall()
6308 LValue Subobject = This; in HandleConstructorCall()
6309 LValue SubobjectParent = This; in HandleConstructorCall()
6423 static bool HandleConstructorCall(const Expr *E, const LValue &This, in HandleConstructorCall()
6437 const LValue &This, APValue &Value, in HandleDestructionImpl()
6460 LValue ElemLV = This; in HandleDestructionImpl()
6567 LValue Subobject = This; in HandleDestructionImpl()
6585 LValue Subobject = This; in HandleDestructionImpl()
6606 const LValue &This;
6629 const LValue &This, QualType ThisType) { in HandleDestruction()
6644 LValue LV; in HandleDestruction()
6651 LValue &Result) { in HandleOperatorNewCall()
6733 const LValue &Pointer, in CheckDeleteKind()
6791 LValue Pointer; in HandleOperatorDeleteCall()
6922 case APValue::LValue: in visit()
7315 LValue SourceLValue; in handleLValueToRValueBitCast()
7499 LValue Obj; in VisitBinaryOperator()
7517 LValue CommonLV; in VisitBinaryConditionalOperator()
7583 LValue LV; in VisitPseudoObjectExpr()
7608 const LValue *ResultSlot) { in handleCallExpr()
7615 LValue *This = nullptr, ThisVal; in handleCallExpr()
7652 LValue CalleeLV; in handleCallExpr()
7739 LValue Ptr; in handleCallExpr()
7895 LValue LVal; in VisitCastExpr()
7935 LValue LVal; in VisitUnaryPostIncDec()
8011 LValue &Result;
8021 bool evaluatePointer(const Expr *E, LValue &Result) { in evaluatePointer()
8026 LValueExprEvaluatorBase(EvalInfo &Info, LValue &Result, bool InvalidBaseOK) in LValueExprEvaluatorBase()
8147 LValueExprEvaluator(EvalInfo &Info, LValue &Result, bool InvalidBaseOK) : in LValueExprEvaluator()
8207 static bool EvaluateLValue(const Expr *E, LValue &Result, EvalInfo &Info, in EvaluateLValue()
8628 const LValue &LVal, in getBytesReturnedByAllocSizeCall()
8642 LValue &Result) { in evaluateLValueAsAllocSize()
8676 LValue &Result;
8684 bool evaluateLValue(const Expr *E, LValue &Result) { in evaluateLValue()
8688 bool evaluatePointer(const Expr *E, LValue &Result) { in evaluatePointer()
8695 PointerExprEvaluator(EvalInfo &info, LValue &Result, bool InvalidBaseOK) in PointerExprEvaluator()
8802 static bool EvaluatePointer(const Expr* E, LValue& Result, EvalInfo &Info, in EvaluatePointer()
8977 LValue LVal; in VisitCastExpr()
9042 static CharUnits getBaseAlignment(EvalInfo &Info, const LValue &Value) { in getBaseAlignment()
9122 LValue OffsetResult(Result); in VisitBuiltinCallExpr()
9345 LValue Dest = Result; in VisitBuiltinCallExpr()
9347 LValue Src; in VisitBuiltinCallExpr()
9470 static bool EvaluateArrayNewInitList(EvalInfo &Info, LValue &This,
9473 static bool EvaluateArrayNewConstructExpr(EvalInfo &Info, LValue &This,
9518 LValue Nothrow; in VisitCXXNewExpr()
9783 const LValue &This;
9787 RecordExprEvaluator(EvalInfo &info, const LValue &This, APValue &Result) in RecordExprEvaluator()
9824 const LValue &This, APValue &Result) { in HandleClassZeroInitialization()
9838 LValue Subobject = This; in HandleClassZeroInitialization()
9852 LValue Subobject = This; in HandleClassZeroInitialization()
9879 LValue Subobject = This; in ZeroInitialization()
9955 LValue Subobject = This; in VisitInitListExpr()
9985 LValue Subobject = This; in VisitInitListExpr()
10008 LValue Subobject = This; in VisitInitListExpr()
10129 LValue Array; in VisitCXXStdInitializerListExpr()
10211 LValue Subobject = This; in VisitLambdaExpr()
10226 static bool EvaluateRecord(const Expr *E, const LValue &This, in EvaluateRecord()
10245 TemporaryExprEvaluator(EvalInfo &Info, LValue &Result) : in TemporaryExprEvaluator()
10283 static bool EvaluateTemporary(const Expr *E, LValue &Result, EvalInfo &Info) { in EvaluateTemporary()
10600 const LValue &This;
10604 ArrayExprEvaluator(EvalInfo &Info, const LValue &This, APValue &Result) in ArrayExprEvaluator()
10634 LValue Subobject = This; in ZeroInitialization()
10648 const LValue &Subobject,
10658 static bool EvaluateArray(const Expr *E, const LValue &This, in EvaluateArray()
10666 static bool EvaluateArrayNewInitList(EvalInfo &Info, LValue &This, in EvaluateArrayNewInitList()
10676 static bool EvaluateArrayNewConstructExpr(EvalInfo &Info, LValue &This, in EvaluateArrayNewConstructExpr()
10756 LValue Subobject = This; in VisitInitListExpr()
10782 LValue CommonLV; in VisitArrayInitLoopExpr()
10796 LValue Subobject = This; in VisitArrayInitLoopExpr()
10819 const LValue &Subobject, in VisitCXXConstructExpr()
10836 LValue ArrayElt = Subobject; in VisitCXXConstructExpr()
11423 if (V.getKind() == APValue::LValue) in EvaluateBuiltinConstantP()
11494 static bool isDesignatorAtObjectEnd(const ASTContext &Ctx, const LValue &LVal) { in isDesignatorAtObjectEnd()
11568 static bool refersToCompleteObject(const LValue &LVal) { in refersToCompleteObject()
11586 static bool isUserWritingOffTheEnd(const ASTContext &Ctx, const LValue &LVal) { in isUserWritingOffTheEnd()
11629 unsigned Type, const LValue &LVal, in determineEndOffset()
11713 LValue LVal; in tryEvaluateBuiltinObjectSize()
11768 LValue Ptr; in getBuiltinAlignArguments()
11836 LValue Ptr; in VisitBuiltinCallExpr()
12143 LValue String1, String2; in VisitBuiltinCallExpr()
12300 LValue ResultLValue; in VisitBuiltinCallExpr()
12402 const LValue &LV) { in isOnePastTheEndOfCompleteObject()
12802 LValue LV; in EvaluateComparisonBinaryOperator()
12877 LValue LHSValue, RHSValue; in EvaluateComparisonBinaryOperator()
13092 LValue LV; in VisitBinCmp()
13156 LValue LHSValue, RHSValue; in VisitBinaryOperator()
13529 LValue LV; in VisitCastExpr()
14591 const LValue *This;
14594 AtomicExprEvaluator(EvalInfo &Info, const LValue *This, APValue &Result) in AtomicExprEvaluator()
14623 static bool EvaluateAtomic(const Expr *E, const LValue *This, APValue &Result, in EvaluateAtomic()
14690 LValue Pointer; in VisitCXXDeleteExpr()
14765 LValue LV; in Evaluate()
14776 LValue LV; in Evaluate()
14799 LValue LV; in Evaluate()
14806 LValue LV; in Evaluate()
14821 LValue LV; in Evaluate()
14844 static bool EvaluateInPlace(APValue &Result, EvalInfo &Info, const LValue &This, in EvaluateInPlace()
14888 LValue LV; in EvaluateAsRValue()
15049 LValue LV; in EvaluateAsLValue()
15073 LValue LVal; in EvaluateDestruction()
15107 LValue LVal; in EvaluateAsConstantExpr()
15167 LValue LVal; in EvaluateAsInitializer()
15854 LValue ThisVal; in EvaluateWithSubstitution()
15855 const LValue *ThisPtr = nullptr; in EvaluateWithSubstitution()
15932 LValue This; in isPotentialConstantExpr()
15991 LValue String; in EvaluateBuiltinStrLen()