| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineC.cpp | 72 SVal ExprVal = B->isGLValue() ? LeftV : RightV; in VisitBinaryOperator() 182 if (B->isGLValue()) in VisitBinaryOperator() 442 if (CastE->isGLValue()) in VisitCast() 483 if (CastE->isGLValue()) in VisitCast() 533 if (CastE->isGLValue()) in VisitCast() 564 if (CL->isGLValue()) in VisitCompoundLiteralExpr() 624 if (InitEx->isGLValue()) { in VisitDeclStmt() 751 if (!IE->isGLValue() && !IE->isTransparent() && in VisitInitListExpr() 1003 assert(!U->isGLValue()); in VisitUnaryOperator() 1014 assert (!U->isGLValue()); in VisitUnaryOperator() [all …]
|
| H A D | SValBuilder.cpp | 170 if (Ex->isGLValue()) in conjureSymbolVal() 405 if (E->isGLValue()) in getConstantVal()
|
| H A D | ExprEngine.cpp | 449 if (Result->isGLValue()) { in createTemporaryRegionIfNeeded() 2723 assert(Ex->isGLValue() || VD->getType()->isVoidType()); in VisitCommonDeclRefExpr() 2769 assert(!Ex->isGLValue()); in VisitCommonDeclRefExpr() 2967 bool IsGLValueLike = A->isGLValue() || in VisitArraySubscriptExpr() 3047 if (M->isGLValue() || M->getType()->isArrayType()) { in VisitMemberExpr() 3052 if (!M->isGLValue()) { in VisitMemberExpr()
|
| H A D | BugReporterVisitors.cpp | 1027 if (RetE->isGLValue()) { in visitNodeInitial() 2301 if (cast<Expr>(E)->isGLValue()) in handle()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | ByteCodeExprGen.h | 102 return E->isGLValue() ? PT_Ptr : classify(E->getType()); in classify()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CallAndMessageChecker.cpp | 145 if (BadE->isGLValue()) in emitBadCall()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 424 if (E->isGLValue()) in VisitConstantExpr() 494 if (E->isGLValue()) in VisitOpaqueValueExpr() 1988 if (ICE->isGLValue()) in ShouldNullCheckClassCastValue() 2287 assert(E->isGLValue() && "lvalue-to-rvalue applied to r-value!"); in VisitCastExpr() 3015 if (E->isGLValue()) in VisitUnaryReal() 3032 if (Op->isGLValue()) in VisitUnaryImag() 3042 if (Op->isGLValue()) in VisitUnaryImag()
|
| H A D | CGExprComplex.cpp | 164 if (E->isGLValue()) in VisitOpaqueValueExpr()
|
| H A D | CGExpr.cpp | 4185 } else if (E->getBase()->isGLValue()) { in EmitExtVectorElementExpr() 4587 if (!E->isGLValue()) in EmitInitListLValue() 4685 if (!E->isGLValue()) { in EmitIgnoredConditionalOperator() 4703 if (!expr->isGLValue()) { in EmitConditionalOperatorLValue()
|
| H A D | CGExprAgg.cpp | 199 if (E->isGLValue()) { in VisitPseudoObjectExpr()
|
| H A D | CGExprCXX.cpp | 2124 if (!CE->getSubExpr()->isGLValue()) in isGLValueFromPointerDeref()
|
| H A D | CGCall.cpp | 4363 assert(type->isReferenceType() == E->isGLValue() && in EmitCallArg() 4366 if (E->isGLValue()) { in EmitCallArg()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | UninitializedValues.cpp | 433 if ((*I)->isGLValue()) { in VisitCallExpr()
|
| H A D | CFG.cpp | 732 if (Arg->getType()->getAsCXXRecordDecl() && !Arg->isGLValue()) in findConstructionContextsForArguments() 1446 assert(!CO->getType()->getAsCXXRecordDecl() || CO->isGLValue() || in findConstructionContexts()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ProgramState.h | 814 if (Ex->isGLValue() || Loc::isLocType(T) || in getSValAsScalarOrLoc()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 5585 if (ArrayDecay || Initializer->isGLValue()) { in tryObjCWritebackConversion() 6043 Initializer->isGLValue()), in InitializeFrom() 7005 if (Arg->isGLValue()) in handleGslAnnotatedTypes() 7107 if (Arg->isGLValue()) in visitLifetimeBoundArguments() 7157 if (CE->getSubExpr()->isGLValue()) in visitLocalsRetainedByReferenceBinding() 7431 if (E->isGLValue()) in visitLocalsRetainedByInitializer() 7692 << ExtendingEntity->getDecl() << Init->isGLValue() << DiagRange; in checkInitializerLifetime() 7866 if (Init->isGLValue()) in checkInitializerLifetime()
|
| H A D | SemaCast.cpp | 1483 if (!SrcExpr->isGLValue()) in TryLValueToRValueCast() 2221 if (!SrcExpr.get()->isGLValue()) { in TryReinterpretCast()
|
| H A D | SemaPseudoObject.cpp | 232 if (exp->isGLValue()) in CanCaptureValue()
|
| H A D | SemaExprCXX.cpp | 589 if (RecordD->isPolymorphic() && E->isGLValue()) { in BuildCXXTypeId() 5995 if (To->isGLValue()) { in TryClassUnification() 7137 if (E->isGLValue()) in MaybeBindToTemporary()
|
| H A D | SemaOverload.cpp | 1765 bool argIsLValue = From->isGLValue(); in IsStandardConversion() 5584 From->isGLValue()); in TryContextuallyConvertToBool() 14083 assert(LHS->isGLValue() && RHS->isGLValue() && in BuildSynthesizedThreeWayComparison()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Expr.cpp | 2330 if (isGLValue()) { in isTransparent() 2423 if (!isGLValue() || !getType().isVolatileQualified()) in isReadIfDiscardedInCPlusPlus11() 3945 (ICE->isGLValue() && ICE->getCastKind() == CK_NoOp)) in getSourceBitField() 3992 if (ICE->isGLValue() && ICE->getCastKind() == CK_NoOp) in refersToVectorElement()
|
| H A D | ExprConstant.cpp | 4625 if (Object->isGLValue()) in EvaluateObjectArgument() 5836 if (Ptr.isNullPointer() && !E->isGLValue()) in HandleDynamicCast() 5859 if (!E->isGLValue()) { in HandleDynamicCast() 8210 assert(E->isGLValue() || E->getType()->isFunctionType() || in EvaluateLValue() 8955 if (SubExpr->isGLValue()) { in VisitCastExpr() 11721 if (E->isGLValue()) { in tryEvaluateBuiltinObjectSize() 14764 if (E->isGLValue() || T->isFunctionType()) { in Evaluate() 14887 if (E->isGLValue()) { in EvaluateAsRValue()
|
| H A D | ExprCXX.cpp | 143 if (RD->isPolymorphic() && E->isGLValue()) in isPotentiallyEvaluated()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | CFG.h | 193 return !E->isGLValue() && in isCXXRecordTypedCall()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Expr.h | 273 bool isGLValue() const { return getValueKind() != VK_PRValue; } in isGLValue() function 375 bool isGLValue() const { return Kind <= CL_XValue; } in isGLValue() function
|