Home
last modified time | relevance | path

Searched refs:InitFunc (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/libcxxabi/test/
Dguard_threaded_test.pass.cpp118 template <class InitFunc>
119 InitResult access(InitFunc&& init) { in access()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp298 llvm::Function *InitFunc, in EmitPointerToInitFunc() argument
301 TheModule, InitFunc->getType(), /*isConstant=*/true, in EmitPointerToInitFunc()
302 llvm::GlobalValue::PrivateLinkage, InitFunc, "__cxx_init_fn_ptr"); in EmitPointerToInitFunc()
DItaniumCXXABI.cpp2230 llvm::Function *InitFunc = nullptr; in EmitThreadLocalInitFuncs() local
2236 InitFunc = CGM.CreateGlobalInitOrDestructFunction(FTy, "__tls_init", FI, in EmitThreadLocalInitFuncs()
2249 .GenerateCXXGlobalInitFunc(InitFunc, CXXThreadLocalInits, in EmitThreadLocalInitFuncs()
2253 InitFunc->setCallingConv(llvm::CallingConv::CXX_FAST_TLS); in EmitThreadLocalInitFuncs()
2254 InitFunc->addFnAttr(llvm::Attribute::NoUnwind); in EmitThreadLocalInitFuncs()
2281 if (InitFunc) in EmitThreadLocalInitFuncs()
2283 InitFunc); in EmitThreadLocalInitFuncs()
DMicrosoftCXXABI.cpp2209 auto AddToXDU = [&CGM](llvm::Function *InitFunc) { in EmitThreadLocalInitFuncs() argument
2211 CGM.getModule(), InitFunc->getType(), /*IsConstant=*/true, in EmitThreadLocalInitFuncs()
2212 llvm::GlobalVariable::InternalLinkage, InitFunc, in EmitThreadLocalInitFuncs()
2213 Twine(InitFunc->getName(), "$initializer$")); in EmitThreadLocalInitFuncs()
2237 llvm::Function *InitFunc = CGM.CreateGlobalInitOrDestructFunction( in EmitThreadLocalInitFuncs() local
2240 CodeGenFunction(CGM).GenerateCXXGlobalInitFunc(InitFunc, NonComdatInits); in EmitThreadLocalInitFuncs()
2242 AddToXDU(InitFunc); in EmitThreadLocalInitFuncs()
DCodeGenModule.h1198 llvm::Function *InitFunc, InitSegAttr *ISA);
/external/llvm-project/clang/lib/CodeGen/
DCGDeclCXX.cpp438 llvm::Function *InitFunc, in EmitPointerToInitFunc() argument
441 TheModule, InitFunc->getType(), /*isConstant=*/true, in EmitPointerToInitFunc()
442 llvm::GlobalValue::PrivateLinkage, InitFunc, "__cxx_init_fn_ptr"); in EmitPointerToInitFunc()
DMicrosoftCXXABI.cpp2352 auto AddToXDU = [&CGM](llvm::Function *InitFunc) { in EmitThreadLocalInitFuncs() argument
2354 CGM.getModule(), InitFunc->getType(), /*isConstant=*/true, in EmitThreadLocalInitFuncs()
2355 llvm::GlobalVariable::InternalLinkage, InitFunc, in EmitThreadLocalInitFuncs()
2356 Twine(InitFunc->getName(), "$initializer$")); in EmitThreadLocalInitFuncs()
2380 llvm::Function *InitFunc = CGM.CreateGlobalInitOrCleanUpFunction( in EmitThreadLocalInitFuncs() local
2383 CodeGenFunction(CGM).GenerateCXXGlobalInitFunc(InitFunc, NonComdatInits); in EmitThreadLocalInitFuncs()
2385 AddToXDU(InitFunc); in EmitThreadLocalInitFuncs()
DItaniumCXXABI.cpp2768 llvm::Function *InitFunc = nullptr; in EmitThreadLocalInitFuncs() local
2788 InitFunc = CGM.CreateGlobalInitOrCleanUpFunction(FTy, "__tls_init", FI, in EmitThreadLocalInitFuncs()
2802 InitFunc, OrderedInits, ConstantAddress(Guard, GuardAlign)); in EmitThreadLocalInitFuncs()
2805 InitFunc->setCallingConv(llvm::CallingConv::CXX_FAST_TLS); in EmitThreadLocalInitFuncs()
2806 InitFunc->addFnAttr(llvm::Attribute::NoUnwind); in EmitThreadLocalInitFuncs()
2863 llvm::Function *InitFuncToUse = InitFunc; in EmitThreadLocalInitFuncs()
DCodeGenModule.h1479 llvm::Function *InitFunc, InitSegAttr *ISA);
/external/tensorflow/tensorflow/core/common_runtime/
Dpermuter_test.cc228 typedef std::function<void(Tensor*)> InitFunc; typedef in tensorflow::__anonfb3b1ff60111::PermuterTest
351 const InitFunc& f) { in InitTensor()
Dhierarchical_tree_broadcaster_test.cc355 typedef std::function<void(Tensor*)> InitFunc; typedef in tensorflow::__anon04765bf90111::HierarchicalTreeBroadcasterTest
611 const InitFunc& f) { in InitTensor()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DLLJIT.cpp477 auto *InitFunc = in operator ()() local
480 InitFunc->setVisibility(GlobalValue::HiddenVisibility); in operator ()()
488 auto *EntryBlock = BasicBlock::Create(Ctx, "entry", InitFunc); in operator ()()