Home
last modified time | relevance | path

Searched refs:taskCtx (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/
H A Doptimizer_run.h30 auto &taskCtx = taskRunner.GetContext(); in RunOptimizations() local
31 auto pipeline = Pipeline::Create(taskCtx.GetGraph()); in RunOptimizations()
33 taskCtx.SetPipeline(std::move(pipeline)); in RunOptimizations()
35 taskCtx.SetPipeline(pipeline.get()); in RunOptimizations()
H A Dcompile_method.cpp188 auto &taskCtx = taskRunner.GetContext(); in RunOptimizations() local
189 taskCtx.GetGraph()->SetLanguage(taskCtx.GetMethod()->GetClass()->GetSourceLang()); in RunOptimizations()
266 auto &taskCtx = taskRunner.GetContext(); in JITCompileMethod() local
267 auto *taskMethod = taskCtx.GetMethod(); in JITCompileMethod()
268 taskCtx.SetMethodName(runtime->GetMethodFullName(taskMethod, false)); in JITCompileMethod()
269 auto &methodName = taskCtx.GetMethodName(); in JITCompileMethod()
280 taskCtx.SetCompilationStatus(false); in JITCompileMethod()
320 auto &taskCtx = taskRunner.GetContext(); in CompileInGraph() local
321 auto isOsr = taskCtx in CompileInGraph()
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/
H A Dtask_runner.h94 void RunOnSuccess(ContextT &taskCtx) in RunOnSuccess() argument
97 callbackOnSuccess_(taskCtx); in RunOnSuccess()
102 void RunOnFail(ContextT &taskCtx) in RunOnFail() argument
105 callbackOnFail_(taskCtx); in RunOnFail()
143 return [cb = std::move(cb), foo = std::move(foo)](ContextT &taskCtx) mutable { in NextCallback()
144 foo(taskCtx); in NextCallback()
145 cb(taskCtx); in NextCallback()
272 ContextT &taskCtx = taskRunner.GetContext(); in EndTask() local
278 baseRunner.taskCb_.RunOnSuccess(taskCtx); in EndTask()
284 baseRunner.taskCb_.RunOnFail(taskCtx); in EndTask()
[all...]
/arkcompiler/runtime_core/static_core/runtime/
H A Dcompiler.cpp900 auto &taskCtx = taskRunner.GetContext(); in StartCompileMethod() local
901 auto *method = taskCtx.GetMethod(); in StartCompileMethod()
905 if (IsCompilationExpired(method, taskCtx.IsOsr())) { in StartCompileMethod()
911 mem::MemStatsType *memStats = taskCtx.GetVM()->GetMemStats(); in StartCompileMethod()
917 taskCtx.SetAllocator(std::move(allocator)); in StartCompileMethod()
918 taskCtx.SetLocalAllocator(std::move(localAllocator)); in StartCompileMethod()
920 taskCtx.SetAllocator(allocator.get()); in StartCompileMethod()
921 taskCtx.SetLocalAllocator(localAllocator.get()); in StartCompileMethod()

Completed in 4 milliseconds