Home
last modified time | relevance | path

Searched refs:hasGlobalStorage (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.h87 return V->hasGlobalStorage() || V->isConstexpr(); in shouldBeGloballyIndexed()
H A DInterp.cpp261 VD && VD->hasGlobalStorage() && !IsConstType(VD)) { in CheckConstant()
H A DByteCodeExprGen.cpp2892 VD && VD->hasGlobalStorage() && VD->getAnyInitializer() && in VisitDeclRefExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp104 if (!Decl->hasGlobalStorage()) in isGlobalConstString()
H A DDeadStoresChecker.cpp425 if (VD->hasGlobalStorage() && in observeStmt()
H A DCStringChecker.cpp934 if (Decl->getType().isConstQualified() && Decl->hasGlobalStorage()) { in getCStringLength()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp122 if (VD && VD->hasGlobalStorage() && !VD->isStaticLocal()) { in CUDATargetContextRAII()
613 assert(!VD->isInvalidDecl() && VD->hasGlobalStorage()); in HasAllowedCUDADeviceStaticInitializer()
653 if (VD->isInvalidDecl() || !VD->hasInit() || !VD->hasGlobalStorage() || in checkAllowedCUDAInitializer()
H A DSemaDecl.cpp7030 Var->hasGlobalStorage()) in deduceOpenCLAddressSpace()
7441 if (NewVD->hasGlobalStorage() && !NewVD->isStaticLocal()) { in diagnoseOpenCLTypes()
7932 if (!NewVD->hasGlobalStorage()) in ActOnVariableDeclarator()
8319 if (D->hasGlobalStorage() && !D->isStaticLocal()) in getShadowedDeclaration()
8834 (T->isVariableArrayType() && NewVD->hasGlobalStorage())) { in CheckVariableDeclarationType()
14521 bool GlobalStorage = var->hasGlobalStorage(); in CheckCompleteVariableDeclaration()
14742 if (VD->hasGlobalStorage() && VD->isThisDeclarationADefinition() && in FinalizeDeclaration()
14907 VD->hasGlobalStorage()) in FinalizeDeclaratorGroup()
H A DSemaStmt.cpp1177 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum()
1931 if (VD->getType().isVolatileQualified() || VD->hasGlobalStorage()) in CheckForLoopConditionalStatement()
H A DSemaOpenMP.cpp1311 if (VD && VD->hasGlobalStorage()) in getDSA()
3015 return VD->hasGlobalStorage() && in ValidateCandidate()
3087 if (Kind == OMPD_threadprivate && !VD->hasGlobalStorage()) { in ActOnOpenMPIdExpression()
3446 if (Allocator && VD->hasGlobalStorage()) { in ActOnOpenMPAllocateDirective()
3780 if (VD->hasGlobalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr()
23371 VD->hasGlobalStorage()) in ActOnOpenMPDeclareTargetName()
23385 VD->hasGlobalStorage()) { in checkDeclInTargetContext()
23517 TargetVarDecl->hasInit() && TargetVarDecl->hasGlobalStorage()) { in declareTargetInitializer()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h117 cast<VarDecl>(getDecl())->hasGlobalStorage() && in getDynamicInitKind()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp210 if (D.hasGlobalStorage()) in ProcessVarDecl()
433 if (D->hasGlobalStorage()) { in VisitMemberExpr()
H A DDataflowEnvironment.cpp292 if (V->hasGlobalStorage()) in insertIfGlobal()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h217 else if (VD->hasGlobalStorage()) in VisitNonParamVarRegion()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp202 if (VD->hasGlobalStorage()) in isPossiblyEscaped()
H A DRegionStore.cpp1732 (!B.isMainAnalysis() || !VD->hasGlobalStorage())) in getConstantValFromConstArrayInitializer()
1978 (B.isMainAnalysis() && VD->hasGlobalStorage())) in getBindingForField()
H A DMemRegion.cpp1010 if (D->hasGlobalStorage() && !D->isStaticLocal()) { in getVarRegion()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp138 return D->hasGlobalStorage(); in isAlwaysAlive()
H A DUninitializedValues.cpp61 if (vd->isLocalVarDecl() && !vd->hasGlobalStorage() && in isTrackedVar()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp324 REGISTER_MATCHER(hasGlobalStorage); in RegistryMaps()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp32 (D.hasGlobalStorage() || in EmitDeclInit()
H A DCGDecl.cpp1161 if (D.hasGlobalStorage()) in createUnnamedGlobalFrom()
2738 if (!VD->hasGlobalStorage()) in EmitOMPAllocateDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4423 AST_MATCHER(VarDecl, hasGlobalStorage) { in AST_MATCHER() argument
4424 return Node.hasGlobalStorage(); in AST_MATCHER()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td134 [{S->hasGlobalStorage() && !S->getTLSKind()}],
138 [{S->hasGlobalStorage()}], "global variables">;
141 [{S->hasGlobalStorage() &&
147 [{S->hasGlobalStorage() &&
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp2618 if (hasGlobalStorage() && !getASTContext().getLangOpts().CPlusPlus) in hasConstantInitialization()
2804 return hasGlobalStorage() && (hasAttr<NoDestroyAttr>() || in isNoDestroy()

12