Home
last modified time | relevance | path

Searched refs:isGLValue (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp72 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 DSValBuilder.cpp170 if (Ex->isGLValue()) in conjureSymbolVal()
405 if (E->isGLValue()) in getConstantVal()
H A DExprEngine.cpp449 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 DBugReporterVisitors.cpp1027 if (RetE->isGLValue()) { in visitNodeInitial()
2301 if (cast<Expr>(E)->isGLValue()) in handle()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DByteCodeExprGen.h102 return E->isGLValue() ? PT_Ptr : classify(E->getType()); in classify()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp145 if (BadE->isGLValue()) in emitBadCall()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprScalar.cpp424 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 DCGExprComplex.cpp164 if (E->isGLValue()) in VisitOpaqueValueExpr()
H A DCGExpr.cpp4185 } 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 DCGExprAgg.cpp199 if (E->isGLValue()) { in VisitPseudoObjectExpr()
H A DCGExprCXX.cpp2124 if (!CE->getSubExpr()->isGLValue()) in isGLValueFromPointerDeref()
H A DCGCall.cpp4363 assert(type->isReferenceType() == E->isGLValue() && in EmitCallArg()
4366 if (E->isGLValue()) { in EmitCallArg()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DUninitializedValues.cpp433 if ((*I)->isGLValue()) { in VisitCallExpr()
H A DCFG.cpp732 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 DProgramState.h814 if (Ex->isGLValue() || Loc::isLocType(T) || in getSValAsScalarOrLoc()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaInit.cpp5585 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 DSemaCast.cpp1483 if (!SrcExpr->isGLValue()) in TryLValueToRValueCast()
2221 if (!SrcExpr.get()->isGLValue()) { in TryReinterpretCast()
H A DSemaPseudoObject.cpp232 if (exp->isGLValue()) in CanCaptureValue()
H A DSemaExprCXX.cpp589 if (RecordD->isPolymorphic() && E->isGLValue()) { in BuildCXXTypeId()
5995 if (To->isGLValue()) { in TryClassUnification()
7137 if (E->isGLValue()) in MaybeBindToTemporary()
H A DSemaOverload.cpp1765 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 DExpr.cpp2330 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 DExprConstant.cpp4625 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 DExprCXX.cpp143 if (RD->isPolymorphic() && E->isGLValue()) in isPotentiallyEvaluated()
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DCFG.h193 return !E->isGLValue() && in isCXXRecordTypedCall()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExpr.h273 bool isGLValue() const { return getValueKind() != VK_PRValue; } in isGLValue() function
375 bool isGLValue() const { return Kind <= CL_XValue; } in isGLValue() function

12