Searched refs:cOptions (Results 1 - 6 of 6) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | aot_compiler.cpp | 112 CompilationOptions cOptions(runtimeOptions); in Main() 114 CompilerLog log(cOptions.logOption_); in Main() 115 log.SetEnableCompilerLogTime(cOptions.compilerLogTime_); in Main() 116 AotMethodLogList logList(cOptions.logMethodsList_); in Main() 120 if (!cPreprocessor.HandleTargetCompilerMode(cOptions) || !cPreprocessor.HandlePandaFileNames(argc, argv)) { in Main() 130 if (runtimeOptions.IsPartialCompilerMode() && cOptions.profilerIn_.empty()) { in Main() 141 compilerStats.SetAotFilePath(cOptions.outputFileName_); in Main() 142 compilerStats.SetPgoPath(cOptions.profilerIn_); in Main() 144 profilerDecoder.SetHotnessThreshold(cOptions.hotnessThreshold_); in Main() 145 profilerDecoder.SetInPath(cOptions in Main() [all...] |
H A D | aot_compiler_preprocessor.cpp | 116 bool AotCompilerPreprocessor::HandleTargetCompilerMode(CompilationOptions &cOptions) in HandleTargetCompilerMode() argument 119 if (!OhosPkgArgs::ParseArgs(*this, cOptions)) { in HandleTargetCompilerMode() 129 if (!OhosPgoProcessor::MergeAndRemoveRuntimeAp(cOptions, mainPkgArgs)) { in HandleTargetCompilerMode() 133 HandleTargetModeInfo(cOptions); in HandleTargetCompilerMode() 138 void AotCompilerPreprocessor::HandleTargetModeInfo(CompilationOptions &cOptions) in HandleTargetModeInfo() argument 145 cOptions.optLevel_ = DEFAULT_OPT_LEVEL; in HandleTargetModeInfo() 184 void AotCompilerPreprocessor::Process(CompilationOptions &cOptions) in Process() argument 186 GenerateBytecodeInfoCollectors(cOptions); in Process() 189 DoPreAnalysis(cOptions); in Process() 190 GenerateMethodMap(cOptions); in Process() 193 DoPreAnalysis(CompilationOptions &cOptions) DoPreAnalysis() argument 202 AnalyzeGraphs(JSPandaFile *jsPandaFile, BytecodeInfoCollector &collector, CompilationOptions &cOptions) AnalyzeGraphs() argument 219 AnalyzeGraph(BCInfo &bytecodeInfo, CompilationOptions &cOptions, BytecodeInfoCollector &collector, MethodLiteral *methodLiteral, MethodPcInfo &methodPCInfo) AnalyzeGraph() argument 287 GenerateBytecodeInfoCollectors(const CompilationOptions &cOptions) GenerateBytecodeInfoCollectors() argument 447 GenerateMethodMap(CompilationOptions &cOptions) GenerateMethodMap() argument [all...] |
H A D | aot_compiler_preprocessor.h | 113 bool HandleTargetCompilerMode(CompilationOptions &cOptions); 119 void DoPreAnalysis(CompilationOptions &cOptions); 121 void AnalyzeGraphs(JSPandaFile *jsPandaFile, BytecodeInfoCollector &collector, CompilationOptions &cOptions); 123 void AnalyzeGraph(BCInfo &bytecodeInfo, CompilationOptions &cOptions, BytecodeInfoCollector &collector, 126 void Process(CompilationOptions &cOptions); 130 void GenerateBytecodeInfoCollectors(const CompilationOptions &cOptions); 144 CompilationOptions &cOptions) const; 146 void GenerateMethodMap(CompilationOptions &cOptions); 156 bool HasExistsAOTFiles(CompilationOptions &cOptions) const; 224 void HandleTargetModeInfo(CompilationOptions &cOptions); [all...] |
/arkcompiler/ets_runtime/ecmascript/ohos/ |
H A D | ohos_pgo_processor.h | 27 static bool MergeAndRemoveRuntimeAp(CompilationOptions &cOptions, const std::shared_ptr<OhosPkgArgs> &mainPkgArgs) in MergeAndRemoveRuntimeAp() argument 29 if (!cOptions.needMerge_) { in MergeAndRemoveRuntimeAp() 33 if (cOptions.profilerIn_.empty()) { in MergeAndRemoveRuntimeAp() 38 bool isSingleAp = cOptions.profilerIn_.find(GetFileDelimiter()) == std::string::npos; in MergeAndRemoveRuntimeAp() 40 if (!RenameSingleAp(cOptions.profilerIn_, mergedAp)) { in MergeAndRemoveRuntimeAp() 44 if (!ExportMergedAp(cOptions.profilerIn_, cOptions.hotnessThreshold_, mergedAp)) { in MergeAndRemoveRuntimeAp() 53 cOptions.profilerIn_ = mainPkgArgs->GetMergedApPath(); in MergeAndRemoveRuntimeAp() 54 SetSecurityLabel(cOptions.profilerIn_); in MergeAndRemoveRuntimeAp() 55 ASSERT(!cOptions in MergeAndRemoveRuntimeAp() [all...] |
H A D | ohos_pkg_args.h | 64 static bool ParseArgs(AotCompilerPreprocessor &preProcessor, CompilationOptions &cOptions) in ParseArgs() argument 75 if (!ParseProfilerPath(pkgArgs, preProcessor, cOptions)) { in ParseArgs() 414 CompilationOptions &cOptions) in ParseProfilerPath() 419 if (pkgArgs->GetPgoDir().empty() && !cOptions.profilerIn_.empty()) { in ParseProfilerPath() 421 arg_list_t apFileNames = base::StringHelper::SplitString(cOptions.profilerIn_, GetFileDelimiter()); in ParseProfilerPath() 427 pkgArgs->GetPgoPaths(cOptions.isEnableBaselinePgo_, cOptions.profilerIn_, cOptions.needMerge_); in ParseProfilerPath() 428 if (cOptions.profilerIn_.empty()) { in ParseProfilerPath() 413 ParseProfilerPath(std::shared_ptr<OhosPkgArgs> &pkgArgs, AotCompilerPreprocessor &preProcessor, CompilationOptions &cOptions) ParseProfilerPath() argument
|
/arkcompiler/ets_runtime/ecmascript/ohos/tests/ |
H A D | ohos_test.cpp | 146 CompilationOptions cOptions(runtimeOptions_); in HWTEST_F_L0() 148 OhosPkgArgs::ParseArgs(preProcessor, cOptions); in HWTEST_F_L0() 168 CompilationOptions cOptions(runtimeOptions_); in HWTEST_F_L0() 170 OhosPkgArgs::ParseArgs(preProcessor, cOptions); in HWTEST_F_L0() 191 CompilationOptions cOptions(runtimeOptions_); in HWTEST_F_L0() 195 ASSERT_TRUE(preProcessor.HandleTargetCompilerMode(cOptions)); in HWTEST_F_L0() 197 ASSERT_FALSE(cOptions.profilerIn_.empty()); in HWTEST_F_L0() 219 CompilationOptions cOptions(runtimeOptions_); in HWTEST_F_L0() 223 ASSERT_TRUE(preProcessor.HandleTargetCompilerMode(cOptions)); in HWTEST_F_L0() 225 ASSERT_EQ(cOptions in HWTEST_F_L0() [all...] |
Completed in 5 milliseconds