/arkcompiler/ets_runtime/ecmascript/ohos/ |
H A D | framework_helper.h | 70 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 D | pass_manager.cpp | 40 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 D | ts_inline_lowering.h | 59 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 D | aot_compilation_env.cpp | 26 JSRuntimeOptions &AOTCompilationEnv::GetJSOptions() in GetJSOptions() function in panda::ecmascript::AOTCompilationEnv 28 return vm_->GetJSOptions(); in GetJSOptions()
|
H A D | jit_compiler.cpp | 39 bool builtinsLazyEnabled = vm->GetJSOptions().IsWorker() && vm->GetJSOptions().GetEnableBuiltinsLazy(); in UpdatePassOptions() 146 jitCompiler->GetJitOptions().triple_, jitCompilationEnv_->GetJSOptions().IsCompilerEnableLiteCG()); in Compile()
|
H A D | pass.h | 279 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 D | aot_compiler.cpp | 214 vm->GetJSOptions().SetCompilerEnableLiteCG(isEnableLiteCG); in Main() 239 if (vm->GetJSOptions().IsEnableCompilerLogSnapshot()) { in Main()
|
H A D | aot_compilation_env.h | 31 JSRuntimeOptions &GetJSOptions() override;
|
H A D | jit_compilation_env.cpp | 38 JSRuntimeOptions &JitCompilationEnv::GetJSOptions() in GetJSOptions() function in panda::ecmascript::JitCompilationEnv 40 return hostThread_->GetEcmaVM()->GetJSOptions(); in GetJSOptions()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | ecma_vm_test.cpp | 57 JSRuntimeOptions options1Out = ecmaVm1->GetJSOptions(); in HWTEST_F_L0() 58 JSRuntimeOptions options2Out = ecmaVm2->GetJSOptions(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit.cpp | 37 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 D | runtime.cpp | 79 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 D | ecma_context.cpp | 89 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 D | js_thread.cpp | 83 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 D | ecma_vm.h | 150 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 D | dfx_jsnapi_tests.cpp | 449 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 D | snapshot_global_data.cpp | 51 if (thread->GetEcmaVM()->GetJSOptions().IsEnableCompilerLogSnapshot()) { in Resolve() 68 if (thread->GetEcmaVM()->GetJSOptions().IsEnableCompilerLogSnapshot()) { in Resolve()
|
H A D | snapshot_constantpool_data.cpp | 229 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 D | runtime_stat.cpp | 139 if (vm_->GetJSOptions().IsEnableRuntimeStat()) { in EcmaRuntimeStatScope() 146 if (vm_->GetJSOptions().IsEnableRuntimeStat()) { in ~EcmaRuntimeStatScope()
|
/arkcompiler/ets_runtime/ecmascript/jobs/ |
H A D | hitrace_scope.cpp | 91 isMicroJobTraceEnable_ = thread->GetEcmaVM()->GetJSOptions().EnableMicroJobTrace(); in EnqueueJobTrace() 131 isMicroJobTraceEnable_ = thread->GetEcmaVM()->GetJSOptions().EnableMicroJobTrace(); in ExecuteJobTrace()
|
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/ |
H A D | pgo_type_manager.cpp | 123 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 D | baseline_compiler.h | 64 : vm(inputVM), compilationEnv(inputEnv), baselineAssembler(vm->GetJSOptions().GetTargetTriple()) {} in BaselineCompiler()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | js_pandafile_executor.cpp | 267 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 D | aot_file_manager.cpp | 286 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 D | space.cpp | 161 PageProtectProt(reinterpret_cast<Heap *>(heap_)->GetEcmaVM()->GetJSOptions().GetDisableCodeSign() || in AllocateFort() 185 if (reinterpret_cast<Heap *>(heap_)->GetEcmaVM()->GetJSOptions().GetEnableAsyncCopyToFort() && in Allocate()
|