Home
last modified time | relevance | path

Searched refs:GetJSOptions (Results 1 - 25 of 64) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/ohos/
H A Dframework_helper.h70 if (vm_->GetJSOptions().WasSetCompilerFrameworkAbcPath()) { in FilePathInit()
71 CompilerFrameworkAotPath_ = vm_->GetJSOptions().GetCompilerFrameworkAbcPath(); in FilePathInit()
73 if (vm_->GetJSOptions().IsEnableFrameworkAOT()) { in FilePathInit()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dpass_manager.cpp40 cmpCfg_(triple, &compilationEnv_->GetJSOptions()), in PassContext()
87 if (compilationEnv_->GetJSOptions().GetTraceJIT()) { in Compile()
104 if (compilationEnv_->GetJSOptions().IsEnableJITPGO()) { in Compile()
117 if (compilationEnv_->GetJSOptions().IsEnableJitFrame()) { in Compile()
174 if (!compilationEnv_->GetJSOptions().IsEnableJitFastCompile()) { in Compile()
188 if (!compilationEnv_->GetJSOptions().IsEnableJitFastCompile()) { in Compile()
192 if (!compilationEnv_->GetJSOptions().IsEnableJitFastCompile()) { in Compile()
198 if (!compilationEnv_->GetJSOptions().IsEnableJitFastCompile()) { in Compile()
H A Dts_inline_lowering.h59 enableTypeLowering_(ctx->GetCompilationEnv()->GetJSOptions().IsEnableTypeLowering()), in TSInlineLowering()
60 traceInline_(ctx->GetCompilationEnv()->GetJSOptions().GetTraceInline()), in TSInlineLowering()
61 maxInlineBytecodesCount_(ctx->GetCompilationEnv()->GetJSOptions().GetMaxInlineBytecodes()), in TSInlineLowering()
63 noCheck_(ctx->GetCompilationEnv()->GetJSOptions().IsCompilerNoCheck()), in TSInlineLowering()
H A Daot_compilation_env.cpp26 JSRuntimeOptions &AOTCompilationEnv::GetJSOptions() in GetJSOptions() function in panda::ecmascript::AOTCompilationEnv
28 return vm_->GetJSOptions(); in GetJSOptions()
H A Djit_compiler.cpp39 bool builtinsLazyEnabled = vm->GetJSOptions().IsWorker() && vm->GetJSOptions().GetEnableBuiltinsLazy(); in UpdatePassOptions()
146 jitCompiler->GetJitOptions().triple_, jitCompilationEnv_->GetJSOptions().IsCompilerEnableLiteCG()); in Compile()
H A Dpass.h279 JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
306 JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
453 JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
658 JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
710 JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
729 JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
786 bool liteCG = data->GetPassContext()->GetCompilationEnv()->GetJSOptions().IsCompilerEnableLiteCG(); in Run()
H A Daot_compiler.cpp214 vm->GetJSOptions().SetCompilerEnableLiteCG(isEnableLiteCG); in Main()
239 if (vm->GetJSOptions().IsEnableCompilerLogSnapshot()) { in Main()
H A Daot_compilation_env.h31 JSRuntimeOptions &GetJSOptions() override;
H A Djit_compilation_env.cpp38 JSRuntimeOptions &JitCompilationEnv::GetJSOptions() in GetJSOptions() function in panda::ecmascript::JitCompilationEnv
40 return hostThread_->GetEcmaVM()->GetJSOptions(); in GetJSOptions()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Decma_vm_test.cpp57 JSRuntimeOptions options1Out = ecmaVm1->GetJSOptions(); in HWTEST_F_L0()
58 JSRuntimeOptions options2Out = ecmaVm2->GetJSOptions(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/jit/
H A Djit.cpp37 JSRuntimeOptions &options = vm->GetJSOptions(); in SetJitEnablePostFork()
40 jitEnable &= !vm->GetJSOptions().GetAOTHasException(); in SetJitEnablePostFork()
64 JSRuntimeOptions &options = vm->GetJSOptions(); in SwitchProfileStubs()
87 JSRuntimeOptions &options = vm->GetJSOptions(); in ConfigOptions()
128 SetDisableCodeSign(vm->GetJSOptions().GetDisableCodeSign()); in ConfigJitFortOptions()
129 SetEnableJitFort(vm->GetJSOptions().GetEnableJitFort()); in ConfigJitFortOptions()
130 SetEnableAsyncCopyToFort(vm->GetJSOptions().GetEnableAsyncCopyToFort()); in ConfigJitFortOptions()
369 if (vm->GetJSOptions().IsEnableJitFastCompile()) { in Compile()
372 if (codeSize > maxSize && !(vm->GetJSOptions().IsEnableForceJitCompileMain() && mode == SYNC)) { in Compile()
/arkcompiler/ets_runtime/ecmascript/
H A Druntime.cpp79 bool isEnableFastJit = vm->GetJSOptions().IsEnableJIT() && vm->GetJSOptions().GetEnableAsmInterpreter(); in InitializeIfFirstVm()
81 vm->GetJSOptions().IsEnableBaselineJIT() && vm->GetJSOptions().GetEnableAsmInterpreter(); in InitializeIfFirstVm()
82 Jit::GetInstance()->SetEnableOrDisable(vm->GetJSOptions(), isEnableFastJit, isEnableBaselineJit); in InitializeIfFirstVm()
101 const_cast<EcmaVM*>(vm)->GetJSOptions(), DaemonThread::GetInstance()); in PreInitialization()
111 SharedHeap::GetInstance()->PostInitialization(&globalConst_, const_cast<EcmaVM*>(vm)->GetJSOptions()); in PostInitialization()
H A Decma_context.cpp89 bool builtinsLazyEnabled = vm_->GetJSOptions().IsWorker() && vm_->GetJSOptions().GetEnableBuiltinsLazy(); in Initialize()
105 if (vm_->GetJSOptions().GetTypedOpProfiler()) { in Initialize()
108 if (vm_->GetJSOptions().EnableModuleLog() && !vm_->GetJSOptions().IsWorker()) { in Initialize()
343 } else if (vm_->GetJSOptions().IsEnableForceJitCompileMain()) { in CommonInvokeEcmaEntrypoint()
347 } else if (vm_->GetJSOptions().IsEnableForceBaselineCompileMain()) { in CommonInvokeEcmaEntrypoint()
380 auto &options = const_cast<EcmaVM *>(thread_->GetEcmaVM())->GetJSOptions(); in InvokeEcmaEntrypoint()
960 if (!vm_->GetJSOptions().EnableGlobalLeakCheck() && currentHandleStorageIndex_ != -1) { in Iterate()
1110 if (vm_->GetJSOptions() in LoadStubFile()
[all...]
H A Djs_thread.cpp83 AsmInterParsedOption asmInterOpt = vm->GetJSOptions().GetAsmInterParsedOption(); in Create()
110 if (!vm_->GetJSOptions().EnableGlobalLeakCheck()) { in JSThread()
195 if (vm_->GetJSOptions().EnableExceptionBacktrace()) { in SetException()
291 return GetEcmaVM()->GetJSOptions().IsStartGlobalLeakCheck(); in IsStartGlobalLeakCheck()
296 return GetEcmaVM()->GetJSOptions().EnableGlobalObjectLeakCheck(); in EnableGlobalObjectLeakCheck()
301 return GetEcmaVM()->GetJSOptions().EnableGlobalPrimitiveLeakCheck(); in EnableGlobalPrimitiveLeakCheck()
371 if (vm_->GetJSOptions().EnableGlobalLeakCheck()) { in Iterate()
493 if (!vm_->GetJSOptions().EnableGlobalLeakCheck()) { in IterateWeakEcmaGlobalStorage()
797 if (vm_->GetJSOptions().EnableForceGC()) { in CheckSafepoint()
H A Decma_vm.h150 if (!GetJSOptions().IsAsyncLoadAbcTest()) { in IsAsynTranslateClasses()
151 return IsPostForked() && GetJSOptions().IsAsyncLoadAbc(); in IsAsynTranslateClasses()
153 return GetJSOptions().IsAsyncLoadAbc(); in IsAsynTranslateClasses()
189 JSRuntimeOptions &GetJSOptions() in GetJSOptions() function in panda::ecmascript::EcmaVM
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Ddfx_jsnapi_tests.cpp449 vm_->GetJSOptions().SetIsWorker(true); in HWTEST_F_L0()
453 vm_->GetJSOptions().SetIsWorker(false); in HWTEST_F_L0()
461 vm_->GetJSOptions().SetIsWorker(true); in HWTEST_F_L0()
465 vm_->GetJSOptions().SetIsWorker(false); in HWTEST_F_L0()
473 vm_->GetJSOptions().SetIsWorker(true); in HWTEST_F_L0()
477 vm_->GetJSOptions().SetIsWorker(false); in HWTEST_F_L0()
485 vm_->GetJSOptions().SetIsWorker(true); in HWTEST_F_L0()
489 vm_->GetJSOptions().SetIsWorker(false); in HWTEST_F_L0()
500 vm_->GetJSOptions().SetArkProperties(ArkProperties::CPU_PROFILER_COLD_START_MAIN_THREAD); in HWTEST_F_L0()
503 vm_->GetJSOptions() in HWTEST_F_L0()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
H A Dsnapshot_global_data.cpp51 if (thread->GetEcmaVM()->GetJSOptions().IsEnableCompilerLogSnapshot()) { in Resolve()
68 if (thread->GetEcmaVM()->GetJSOptions().IsEnableCompilerLogSnapshot()) { in Resolve()
H A Dsnapshot_constantpool_data.cpp229 if (vm_->GetJSOptions().IsEnableCompilerLogSnapshot()) { in StoreDataToGlobalData()
277 if (vm_->GetJSOptions().IsEnableCompilerLogSnapshot()) { in StoreDataToGlobalData()
325 if (vm_->GetJSOptions().IsEnableCompilerLogSnapshot()) { in StoreDataToGlobalData()
361 if (vm_->GetJSOptions().IsEnableCompilerLogSnapshot()) { in StoreDataToGlobalData()
384 if (vm_->GetJSOptions().IsEnableCompilerLogSnapshot()) { in StoreDataToGlobalData()
/arkcompiler/ets_runtime/ecmascript/dfx/vmstat/
H A Druntime_stat.cpp139 if (vm_->GetJSOptions().IsEnableRuntimeStat()) { in EcmaRuntimeStatScope()
146 if (vm_->GetJSOptions().IsEnableRuntimeStat()) { in ~EcmaRuntimeStatScope()
/arkcompiler/ets_runtime/ecmascript/jobs/
H A Dhitrace_scope.cpp91 isMicroJobTraceEnable_ = thread->GetEcmaVM()->GetJSOptions().EnableMicroJobTrace(); in EnqueueJobTrace()
131 isMicroJobTraceEnable_ = thread->GetEcmaVM()->GetJSOptions().EnableMicroJobTrace(); in ExecuteJobTrace()
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
H A Dpgo_type_manager.cpp123 if (vm->GetJSOptions().IsEnableCompilerLogSnapshot()) { in GenSymbolInfo()
161 if (vm->GetJSOptions().IsEnableCompilerLogSnapshot()) { in GenHClassInfo()
202 if (vm->GetJSOptions().IsEnableCompilerLogSnapshot()) { in GenArrayInfo()
217 if (vm->GetJSOptions().IsEnableCompilerLogSnapshot()) { in GenConstantIndexInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/
H A Dbaseline_compiler.h64 : vm(inputVM), compilationEnv(inputEnv), baselineAssembler(vm->GetJSOptions().GetTargetTriple()) {} in BaselineCompiler()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Djs_pandafile_executor.cpp267 bool enableESMTrace = thread->GetEcmaVM()->GetJSOptions().EnableESMTrace(); in Execute()
294 if (!vm->GetJSOptions().GetEnableAsmInterpreter()) { in BindPreloadedPandaFilesToAOT()
298 if (vm->GetJSOptions().WasAOTOutputFileSet()) { in BindPreloadedPandaFilesToAOT()
309 if (vm->GetJSOptions().GetEnableAsmInterpreter()) { in BindPandaFileToAot()
312 if (vm->GetJSOptions().WasAOTOutputFileSet()) { in BindPandaFileToAot()
313 std::string aotFilename = vm->GetJSOptions().GetAOTOutputFile(); in BindPandaFileToAot()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Daot_file_manager.cpp286 if (vm_->GetJSOptions().WasAOTOutputFileSet()) { in GetAnFileIndex()
375 method->SetDeoptThreshold(vm_->GetJSOptions().GetDeoptThreshold()); in SetAOTMainFuncEntry()
409 method->SetDeoptThreshold(vm_->GetJSOptions().GetDeoptThreshold()); in SetAOTFuncEntry()
497 AsmInterParsedOption asmInterOpt = vm_->GetJSOptions().GetAsmInterParsedOption(); in InitializeStubEntries()
599 bool enableLog = vm->GetJSOptions().WasSetCompilerLogOption(); in AOTFileManager()
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dspace.cpp161 PageProtectProt(reinterpret_cast<Heap *>(heap_)->GetEcmaVM()->GetJSOptions().GetDisableCodeSign() || in AllocateFort()
185 if (reinterpret_cast<Heap *>(heap_)->GetEcmaVM()->GetJSOptions().GetEnableAsyncCopyToFort() && in Allocate()

Completed in 19 milliseconds

123