Home
last modified time | relevance | path

Searched refs:getTLSKind (Results 1 – 25 of 39) sorted by relevance

12

/external/llvm-project/clang/lib/CodeGen/
DCGDeclCXX.cpp46 DeclPtr, D.getTLSKind()); in EmitDeclInit()
93 assert(!D.getTLSKind() && "should have rejected this"); in EmitDeclDestroy()
357 if (Kind == GuardKind::TlsGuard || D->getTLSKind()) in EmitCXXGuardedInitBranch()
493 if (D->getTLSKind()) { in EmitCXXGlobalVarDeclInitFunc()
693 (D->getTLSKind() == VarDecl::TLS_Dynamic && in GenerateCXXGlobalVarDeclInitFunc()
DCodeGenModule.cpp1058 assert(D.getTLSKind() && "setting TLS mode on non-TLS var!"); in setTLSMode()
2897 if (VD->getTLSKind()) { in VisitVarDecl()
3739 if (D->getTLSKind()) { in GetOrCreateLLVMGlobal()
3740 if (D->getTLSKind() == VarDecl::TLS_Dynamic) in GetOrCreateLLVMGlobal()
4333 if (D->getTLSKind() == VarDecl::TLS_Dynamic && in EmitGlobalVarDefinition()
4360 if (D->getTLSKind() && !GV->isThreadLocal()) { in EmitGlobalVarDefinition()
4361 if (D->getTLSKind() == VarDecl::TLS_Dynamic) in EmitGlobalVarDefinition()
4422 if (D->getTLSKind()) in isVarDeclStrongDefinition()
4806 if (VD->getTLSKind()) in EmitAliasDefinition()
5387 if (VD->getTLSKind()) in GetAddrOfGlobalTemporary()
DItaniumCXXABI.cpp2311 !D.getTLSKind(); in EmitGuardedInit()
2673 if (CGM.getCodeGenOpts().CXAAtExit || D.getTLSKind()) in registerGlobalDtor()
2674 return emitGlobalDtorWithCXAAtExit(CGF, dtor, addr, D.getTLSKind()); in registerGlobalDtor()
2691 return VD->getTLSKind() == VarDecl::TLS_Dynamic && in isThreadWrapperReplaceable()
4628 if (D.getTLSKind() != VarDecl::TLS_None) in registerGlobalDtor()
DMicrosoftCXXABI.cpp2330 if (D.getTLSKind()) in registerGlobalDtor()
2489 bool ThreadlocalStatic = D.getTLSKind(); in EmitGuardedInit()
2553 if (D.getTLSKind()) in EmitGuardedInit()
DCGDecl.cpp274 if (D.getTLSKind()) in getOrCreateStaticVarDecl()
DCGExpr.cpp2367 LV.setThreadLocalRef(VD->getTLSKind() != VarDecl::TLS_None); in setObjCGCLValueClass()
2522 if (VD->getTLSKind() == VarDecl::TLS_Dynamic && in EmitGlobalVarDeclLValue()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp41 DeclPtr, D.getTLSKind()); in EmitDeclInit()
82 assert(!D.getTLSKind() && "should have rejected this"); in EmitDeclDestroy()
351 if (D->getTLSKind()) { in EmitCXXGlobalVarDeclInitFunc()
DCodeGenModule.cpp629 assert(D.getTLSKind() && "setting TLS mode on non-TLS var!"); in setTLSMode()
1686 SafeToInline = !VD->getTLSKind(); in VisitVarDecl()
2152 if (D->getTLSKind()) { in GetOrCreateLLVMGlobal()
2153 if (D->getTLSKind() == VarDecl::TLS_Dynamic) in GetOrCreateLLVMGlobal()
2554 if (!D->isStaticLocal() && D->getTLSKind() == VarDecl::TLS_Dynamic && in EmitGlobalVarDefinition()
2574 if (D->getTLSKind() && !GV->isThreadLocal()) { in EmitGlobalVarDefinition()
2575 if (D->getTLSKind() == VarDecl::TLS_Dynamic) in EmitGlobalVarDefinition()
2614 if (D->getTLSKind()) in isVarDeclStrongDefinition()
2983 if (VD->getTLSKind()) in EmitAliasDefinition()
3616 if (VD->getTLSKind()) in GetAddrOfGlobalTemporary()
DItaniumCXXABI.cpp1925 !D.getTLSKind(); in EmitGuardedInit()
2137 return emitGlobalDtorWithCXAAtExit(CGF, dtor, addr, D.getTLSKind()); in registerGlobalDtor()
2139 if (D.getTLSKind()) in registerGlobalDtor()
2157 return VD->getTLSKind() == VarDecl::TLS_Dynamic && in isThreadWrapperReplaceable()
DMicrosoftCXXABI.cpp2195 if (D.getTLSKind()) in registerGlobalDtor()
2343 bool ThreadlocalStatic = D.getTLSKind(); in EmitGuardedInit()
2407 if (D.getTLSKind()) in EmitGuardedInit()
DCGDecl.cpp228 if (D.getTLSKind()) in getOrCreateStaticVarDecl()
DCGExpr.cpp1874 LV.setThreadLocalRef(VD->getTLSKind() != VarDecl::TLS_None); in setObjCGCLValueClass()
1994 if (VD->getTLSKind() == VarDecl::TLS_Dynamic && in EmitGlobalVarDeclLValue()
/external/llvm-project/clang/lib/AST/
DMicrosoftCXXABI.cpp51 if (VD->getTLSKind()) in getStaticLocalNumber()
DJSONNodeDumper.cpp770 switch (VD->getTLSKind()) { in VisitVarDecl()
DTextNodeDumper.cpp1673 switch (D->getTLSKind()) { in VisitVarDecl()
DMicrosoftMangle.cpp3638 Mangler.getStream() << (VD->getTLSKind() ? "??__J" : "??_B"); in mangleStaticGuardVariable()
/external/clang/lib/AST/
DMicrosoftCXXABI.cpp51 if (VD->getTLSKind()) in getStaticLocalNumber()
DASTDumper.cpp1197 switch (D->getTLSKind()) { in VisitVarDecl()
DMicrosoftMangle.cpp2863 Mangler.getStream() << (VD->getTLSKind() ? "\01??__J" : "\01??_B"); in mangleStaticGuardVariable()
/external/clang/lib/Sema/
DSemaDecl.cpp3641 if (New->getTLSKind() != Old->getTLSKind()) { in MergeVarDecl()
3642 if (!Old->getTLSKind()) { in MergeVarDecl()
3645 } else if (!New->getTLSKind()) { in MergeVarDecl()
3654 << New->getDeclName() << (New->getTLSKind() == VarDecl::TLS_Dynamic); in MergeVarDecl()
5521 var->getTLSKind()) { in inferObjCARCLifetime()
10343 if (var->getTLSKind() == VarDecl::TLS_Static) { in CheckCompleteVariableDeclaration()
10504 if (VD->getTLSKind() && !hasDependentAlignment(VD)) { in FinalizeDeclaration()
10601 if (DLLAttr && VD->getTLSKind()) { in FinalizeDeclaration()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp4190 if (New->getTLSKind() != Old->getTLSKind()) { in MergeVarDecl()
4191 if (!Old->getTLSKind()) { in MergeVarDecl()
4194 } else if (!New->getTLSKind()) { in MergeVarDecl()
4203 << New->getDeclName() << (New->getTLSKind() == VarDecl::TLS_Dynamic); in MergeVarDecl()
6314 var->getTLSKind()) { in inferObjCARCLifetime()
12905 if (var->getTLSKind() == VarDecl::TLS_Static) { in CheckCompleteVariableDeclaration()
13218 if (VD->getTLSKind() && !hasDependentAlignment(VD) && in FinalizeDeclaration()
13267 if (DLLAttr && VD->getTLSKind()) { in FinalizeDeclaration()
/external/clang/include/clang/Basic/
DAttr.td103 [{S->getTLSKind() != 0}]>;
106 [{S->hasGlobalStorage() && !S->getTLSKind()}]>;
/external/clang/include/clang/AST/
DDecl.h959 TLSKind getTLSKind() const;
/external/llvm-project/clang/include/clang/AST/
DDecl.h1055 TLSKind getTLSKind() const;
/external/llvm-project/clang/include/clang/Basic/
DAttr.td112 [{S->getTLSKind() != 0}], "thread-local variables">;
115 [{S->hasGlobalStorage() && !S->getTLSKind()}],

12