/arkcompiler/runtime_core/static_core/runtime/tooling/ |
H A D | memory_allocation_dumper.h | 39 explicit MemoryAllocationDumper(const PandaString &dumpFile, const Runtime *runtime) : runtime_(runtime) in MemoryAllocationDumper() 42 runtime_->GetNotificationManager()->AddListener(this, DUMP_EVENT_MASK); in MemoryAllocationDumper() 47 runtime_->GetNotificationManager()->RemoveListener(this, DUMP_EVENT_MASK); 102 const Runtime *runtime_; member in ark::tooling::MemoryAllocationDumper
|
H A D | debugger.h | 131 : runtime_(runtime), in Debugger() 136 runtime_->GetNotificationManager()->AddListener(this, DEBUG_EVENT_MASK); in Debugger() 141 runtime_->GetNotificationManager()->RemoveListener(this, DEBUG_EVENT_MASK); 269 runtime_->GetPandaVM()->GetThreadManager()->EnumerateThreads( 461 const Runtime *runtime_; member in ark::tooling::Debugger
|
/arkcompiler/toolchain/tooling/test/utils/ |
H A D | test_hooks.h | 30 runtime_ = std::make_unique<RuntimeImpl>(vm, test_->channel_); in TestHooks() 31 debugger_ = std::make_unique<DebuggerImpl>(vm, test_->channel_, runtime_.get()); in TestHooks() 34 test_->runtime_ = runtime_.get(); in TestHooks() 134 std::unique_ptr<RuntimeImpl> runtime_ {nullptr};
|
H A D | test_events.h | 68 RuntimeImpl *runtime_ {nullptr};
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | unit_test.h | 263 graph_->SetRuntime(&runtime_); in GraphTest() 264 runtime_.fieldTypes_ = in GraphTest() 268 runtime_.classTypes_ = in GraphTest() 285 graph_->SetRuntime(&runtime_); in SetGraphArch() 291 graph_->SetRuntime(&runtime_); in ResetGraph() 296 runtime_.vregsCount_ = num; in SetNumVirtRegs() 297 graph_->SetVRegsCount(std::max(graph_->GetVRegsCount(), runtime_.vregsCount_ + runtime_.argsCount_ + 1)); in SetNumVirtRegs() 302 runtime_.argsCount_ = num; in SetNumArgs() 303 graph_->SetVRegsCount(std::max(graph_->GetVRegsCount(), runtime_ in SetNumArgs() 317 RuntimeInterfaceMock runtime_; // NOLINT(misc-non-private-member-variables-in-classes) global() member in ark::compiler::GraphTest [all...] |
H A D | inst_generator.cpp | 144 graph->SetMethod(reinterpret_cast<RuntimeInterface::MethodPtr>(runtime_.METHOD)); in GenerateGraph() 149 runtime_.argTypes_->push_back(param->GetType()); in GenerateGraph() 154 runtime_.returnType_ = DataType::VOID; in GenerateGraph() 156 runtime_.returnType_ = inst->GetType(); in GenerateGraph() 170 runtime_.argTypes_ = allocator_.New<ArenaVector<DataType::Type>>(allocator_.Adapter()); in CreateGraph() 171 graph->SetRuntime(&runtime_); in CreateGraph() 258 saveState->SetMethod(reinterpret_cast<RuntimeInterface::MethodPtr>(runtime_.METHOD)); in PopulateReturnInlined() 277 saveState->SetMethod(reinterpret_cast<RuntimeInterface::MethodPtr>(runtime_.METHOD)); in PopulateCall() 278 callInst->SetCallMethod(reinterpret_cast<RuntimeInterface::MethodPtr>(runtime_.METHOD)); in PopulateCall() 349 saveState->SetMethod(reinterpret_cast<RuntimeInterface::MethodPtr>(runtime_ in PopulateStoreStatic() [all...] |
H A D | inst_generator.h | 45 return &runtime_; in GetRuntime() 114 RuntimeInterfaceMock runtime_; member in ark::compiler::GraphCreator 120 runtime_.vregsCount_ = regs; in SetNumVRegsArgs() 121 runtime_.argsCount_ = args; in SetNumVRegsArgs()
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | unit_test.h | 201 graph_->SetRuntime(&runtime_); in GraphTest() 213 graph_->SetRuntime(&runtime_); in ResetGraph() 218 runtime_.vregs_count = num; in SetNumVirtRegs() 219 graph_->SetVRegsCount(std::max(graph_->GetVRegsCount(), runtime_.vregs_count + runtime_.args_count + 1)); in SetNumVirtRegs() 224 runtime_.args_count = num; in SetNumArgs() 225 graph_->SetVRegsCount(std::max(graph_->GetVRegsCount(), runtime_.vregs_count + runtime_.args_count + 1)); in SetNumArgs() 229 RuntimeInterfaceMock runtime_; member in panda::compiler::GraphTest
|
H A D | inst_generator.h | 39 return &runtime_; in GetRuntime() 54 runtime_.vregs_count = regs; in SetNumVRegsArgs() 55 runtime_.args_count = args; in SetNumVRegsArgs() 77 RuntimeInterfaceMock runtime_; member in panda::compiler::GraphCreator
|
/arkcompiler/runtime_core/static_core/libllvmbackend/ |
H A D | llvm_aot_compiler.cpp | 157 : moduleFactory_(std::move(moduleFactory)), runtime_(runtime), limit_(limit) in FixedCountSpreader() 176 if (sizeExceeds || runtime_->GetClass(method) != lastClass_) { 179 << ", class of current method = '" << runtime_->GetClassNameFromMethod(method) 181 << (lastClass_ == nullptr ? "nullptr" : runtime_->GetClassName(lastClass_)) 191 lastClass_ = runtime_->GetClass(method); 193 LLVM_LOG(DEBUG, INFRA) << "Getting module for graph (" << runtime_->GetMethodFullName(method, true) << "), " 219 auto clazz = runtime_->GetClass(method); 233 compiler::RuntimeInterface *runtime_; member in ark::llvmbackend::FixedCountSpreader 262 auto thread = runtime_->GetCurrentThread(); in TryAddGraph() 265 ScopedCompilerThread scopedCompilerThread {thread, runtime_}; in TryAddGraph() [all...] |
H A D | llvm_ark_interface.cpp | 98 : runtime_(runtime), triple_(std::move(triple)), aotBuilder_(aotBuilder), lock_ {lock} in LLVMArkInterface() 105 return runtime_->GetCompiledEntryPointOffset(LLVMArchToArkArch(triple_.getArch())); in GetCompiledEntryPointOffset() 166 return runtime_->GetEntrypointTlsOffset(arkArch, static_cast<PandaEntrypointId>(id)); in GetEntrypointTlsOffset() 171 return runtime_->GetTlsFrameKindOffset(LLVMArchToArkArch(triple_.getArch())); in GetTlsFrameKindOffset() 177 return runtime_->GetTlsPreWrbEntrypointOffset(arkArch); in GetTlsPreWrbEntrypointOffset() 183 return runtime_->GetClassOffset(arkArch); in GetClassOffset() 194 return runtime_->GetStackOverflowCheckOffset(); in GetStackOverflowCheckOffset() 570 auto file = static_cast<panda_file::File *>(runtime_->GetBinaryFileForMethod(methodPtr)); in RememberFunctionOrigin() 573 LLVM_LOG(DEBUG, INFRA) << funcName.data() << " defined in " << runtime_->GetFileName(methodPtr); in RememberFunctionOrigin() 631 return runtime_ in GetObjectClassOffset() [all...] |
H A D | llvm_ark_interface.h | 172 return runtime_; in GetRuntime() 230 ark::compiler::RuntimeInterface *runtime_; member in ark::ark::ark::llvmbackend::LLVMArkInterface
|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
H A D | inst_builder.h | 36 runtime_(graph->GetRuntime()), in InstBuilder() 42 class_id_ {runtime_->GetClassIdForMethod(method_)} in InstBuilder() 240 return runtime_; in GetRuntime() 245 return runtime_; in GetRuntime() 278 RuntimeInterface *runtime_ {nullptr};
|
/arkcompiler/toolchain/tooling/test/testcases/ |
H A D | js_variable_first_test.h | 38 static_cast<JsVariableFirstTestChannel *>(channel_)->Initial(vm_, runtime_); in JsVariableFirstTest() 39 runtime_->Enable(); in JsVariableFirstTest() 91 runtime_ = runtime; in Initial() 126 runtime_->GetProperties(params, &outPropertyDesc, {}, {}, {}); 137 runtime_->GetProperties(params, &outPropertyDescInner, {}, {}, {}); 829 RuntimeImpl *runtime_ {nullptr};
|
H A D | js_variable_second_test.h | 38 static_cast<JsVariableSecondTestChannel *>(channel_)->Initial(vm_, runtime_); in JsVariableSecondTest() 39 runtime_->Enable(); in JsVariableSecondTest() 91 runtime_ = runtime; in Initial() 126 runtime_->GetProperties(params, &outPropertyDesc, {}, {}, {}); 137 runtime_->GetProperties(params, &outPropertyDescInner, {}, {}, {}); 417 RuntimeImpl *runtime_ {nullptr};
|
H A D | js_dropframe_test.h | 51 static_cast<JsDropFrameTestChannel *>(channel_)->Initial(vm_, runtime_); in JsDropFrameTest() 52 runtime_->Enable(); in JsDropFrameTest() 120 runtime_ = runtime; in Initial() 152 runtime_->GetProperties(params, &outPropertyDesc, {}, {}, {}); 296 RuntimeImpl *runtime_ {nullptr};
|
H A D | js_single_step_test.h | 33 runtime_->Enable(); in JsSingleStepTest()
|
/arkcompiler/runtime_core/static_core/runtime/dprofiler/ |
H A D | dprofiler.cpp | 66 : runtime_(runtime), in DProfiler() 71 runtime_->GetNotificationManager()->AddListener(listener_.get(), RuntimeNotificationManager::Event::VM_EVENTS); in DProfiler()
|
H A D | dprofiler.h | 59 Runtime *runtime_; member in ark::final
|
/arkcompiler/toolchain/tooling/agent/ |
H A D | debugger_impl.cpp | 48 : vm_(vm), frontend_(channel), runtime_(runtime) in DebuggerImpl() 1102 runtime_->CacheObjectIfNeeded(res, (*result).get()); in EvaluateOnCallFrame() 1569 runtime_->CacheObjectIfNeeded(res, (*outRemoteObject).get()); in CallFunctionOn() 1583 if (runtime_->properties_.empty()) { in CleanUpRuntimeProperties() 1586 RemoteObjectId validObjId = runtime_->curObjectId_ - 1; in CleanUpRuntimeProperties() 1588 runtime_->properties_[validObjId].FreeGlobalHandleAddr(); in CleanUpRuntimeProperties() 1590 runtime_->curObjectId_ = 0; in CleanUpRuntimeProperties() 1591 runtime_->properties_.clear(); in CleanUpRuntimeProperties() 1765 .SetObjectId(runtime_->curObjectId_) in GetLocalScopeChain() 1769 scopeObjects_[sp][Scope::Type::Local()].push_back(runtime_ in GetLocalScopeChain() [all...] |
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/ |
H A D | sampling_profiler.cpp | 135 Sampler::Sampler() : runtime_(Runtime::GetCurrent()), sampleInterval_(DEFAULT_SAMPLE_INTERVAL_US) in Sampler() 180 runtime_->GetClassLinker()->EnumeratePandaFiles(callback, false); in LoadModule() 249 auto tManager = runtime_->GetPandaVM()->GetThreadManager(); in CollectThreads() 283 runtime_->GetClassLinker()->EnumeratePandaFiles(callback, false); in CollectModules()
|
/arkcompiler/runtime_core/static_core/compiler/tools/paoc/ |
H A D | paoc.h | 122 return runtime_; in GetRuntime() 157 compiler::RuntimeInterface *runtime_ {nullptr};
|
H A D | paoc.cpp | 148 paoc_->runtime_ = Runtime::GetCurrent()->GetPandaVM()->GetCompilerRuntimeInterface(); in InitRuntime() 333 auto res = runtime_->AddProfile(compiler::g_options.GetCompilerProfile()); in Run() 339 aotBuilder_->SetRuntime(runtime_); in Run() 615 auto methodName = runtime_->GetMethodFullName(&method, g_options.WasSetCompilerRegexWithSignature()); in Compile() 646 auto methodName = runtime_->GetMethodFullName(method, false); in Compile() 694 compiler::CompileInGraph<compiler::INPLACE_MODE>(runtime_, isDynamic, arch, std::move(taskRunner)); in CompileInGraph() 706 auto name = runtime_->GetMethodFullName(ctx->method, false); in CompileJit() 724 auto name = runtime_->GetMethodFullName(ctx->method, false); in CompileOsr() 740 Graph::GraphArgs {&ctx->allocator, &ctx->graphLocalAllocator, aotBuilder_->GetArch(), ctx->method, runtime_}, in TryCreateGraph() 763 LOG(INFO, COMPILER) << "Ark AOT successfully compiled method: " << runtime_ in FinalizeCompileAot() [all...] |
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
H A D | inst_builder.h | 185 return runtime_; in GetRuntime() 190 return runtime_; in GetRuntime() 434 RuntimeInterface *runtime_ {nullptr};
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
H A D | ets_vm.h | 138 return runtime_; in GetRuntime() 405 Runtime *runtime_ {nullptr};
|