Home
last modified time | relevance | path

Searched refs:InitFn (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/polly/lib/CodeGen/
DPerfMonitor.cpp206 Function *InitFn = insertInitFunction(FinalReporting); in initialize() local
207 addToGlobalConstructors(InitFn); in initialize()
217 Function *InitFn = Function::Create(Ty, Linkage, InitFunctionName, M); in insertInitFunction() local
218 BasicBlock *Start = BasicBlock::Create(M->getContext(), "start", InitFn); in insertInitFunction()
220 BasicBlock::Create(M->getContext(), "earlyreturn", InitFn); in insertInitFunction()
221 BasicBlock *InitBB = BasicBlock::Create(M->getContext(), "initbb", InitFn); in insertInitFunction()
259 return InitFn; in insertInitFunction()
/external/llvm-project/clang/lib/AST/Interp/
DByteCodeExprGen.cpp51 OldInitFn(std::move(Ctx->InitFn)) { in OptionScope()
53 Ctx->InitFn = llvm::Optional<InitFnRef>{}; in OptionScope()
59 OldInitFn(std::move(Ctx->InitFn)) { in OptionScope()
61 Ctx->InitFn = NewInitFn; in OptionScope()
67 OldInitFn(std::move(Ctx->InitFn)) { in OptionScope()
69 Ctx->InitFn = [this, NewInitFn] { return NewInitFn(*OldInitFn); }; in OptionScope()
74 Ctx->InitFn = std::move(OldInitFn); in ~OptionScope()
465 const Expr *Init, InitFnRef InitFn) { in visitInitializer() argument
466 OptionScope<Emitter> Scope(this, InitFn); in visitInitializer()
DByteCodeExprGen.h213 assert(InitFn && "missing initializer"); in emitInitFn()
214 return (*InitFn)(); in emitInitFn()
234 llvm::Optional<InitFnRef> InitFn = {}; variable
/external/llvm-project/libcxxabi/test/
Dguard_threaded_test.pass.cpp125 template <class InitFn>
130 InitFn init;
133 template <class InitFn, class Callback = AccessCallback< InitFn > >
134 Callback access_callback(InitFn init) { in access_callback()
/external/llvm-project/clang/lib/Sema/
DSemaCUDA.cpp555 const FunctionDecl *InitFn = nullptr; in checkAllowedCUDAInitializer() local
557 InitFn = CE->getConstructor(); in checkAllowedCUDAInitializer()
559 InitFn = CE->getDirectCallee(); in checkAllowedCUDAInitializer()
561 if (InitFn) { in checkAllowedCUDAInitializer()
562 CUDAFunctionTarget InitFnTarget = IdentifyCUDATarget(InitFn); in checkAllowedCUDAInitializer()
565 << InitFnTarget << InitFn; in checkAllowedCUDAInitializer()
566 Diag(InitFn->getLocation(), diag::note_previous_decl) << InitFn; in checkAllowedCUDAInitializer()
/external/OpenCL-CTS/test_common/harness/
DThreadPool.cpp110 static BOOL _InitOnceExecuteOnce(_PINIT_ONCE InitOnce, _PINIT_ONCE_FN InitFn, in _InitOnceExecuteOnce() argument
120 InitFn(InitOnce, Parameter, Context); in _InitOnceExecuteOnce()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DLLJIT.cpp223 auto *InitFn = jitTargetAddressToFunction<void (*)()>(InitFnAddr); in initialize() local
224 InitFn(); in initialize()
/external/llvm-project/clang/lib/CodeGen/
DCGDebugInfo.h701 llvm::Function *InitFn);
DCGDebugInfo.cpp2053 llvm::Function *InitFn) { in getDynamicInitializerName() argument
2058 return InitFn->getName(); in getDynamicInitializerName()
/external/llvm-project/llvm/lib/Analysis/
DLazyValueInfo.cpp232 function_ref<NonNullPointerSet(BasicBlock *)> InitFn) { in isNonNullAtEndOfBlock() argument
235 Entry->NonNullPointers = InitFn(BB); in isNonNullAtEndOfBlock()