Home
last modified time | relevance | path

Searched refs:StatsFile (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp138 Config.StatsFile = LTOStatsFile; in LTOCodeGenerator()
338 if (StatsFile) in compileOptimizedToFile()
339 PrintStatisticsJSON(StatsFile->os()); in compileOptimizedToFile()
592 StatsFile = std::move(StatsFileOrErr.get()); in optimize()
664 if (StatsFile) in compileOptimized()
665 PrintStatisticsJSON(StatsFile->os()); in compileOptimized()
H A DLTO.cpp1173 auto StatsFileOrErr = setupStatsFile(Conf.StatsFile); in run()
1176 std::unique_ptr<ToolOutputFile> StatsFile = std::move(StatsFileOrErr.get()); in run() local
1192 if (StatsFile) in run()
1193 PrintStatisticsJSON(StatsFile->os()); in run()
1918 auto StatsFile = in setupStatsFile() local
1923 StatsFile->keep(); in setupStatsFile()
1924 return std::move(StatsFile); in setupStatsFile()
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp175 StatsFile("stats-file", cl::desc("Filename to write statistics to")); variable
343 Conf.StatsFile = StatsFile; in run()
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DConfig.h169 std::string StatsFile; member
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h247 std::unique_ptr<ToolOutputFile> StatsFile = nullptr; member
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DCommonArgs.cpp1099 SmallString<128> StatsFile = getStatsFileName(Args, Output, Input, D); in addLTOOptions() local
1100 if (!StatsFile.empty()) in addLTOOptions()
1102 Args.MakeArgString(Twine(PluginOptPrefix) + "stats-file=" + StatsFile)); in addLTOOptions()
2256 SmallString<128> StatsFile; in getStatsFileName() local
2260 StatsFile.assign(Output.getFilename()); in getStatsFileName()
2261 llvm::sys::path::remove_filename(StatsFile); in getStatsFileName()
2268 llvm::sys::path::append(StatsFile, BaseName); in getStatsFileName()
2269 llvm::sys::path::replace_extension(StatsFile, "stats"); in getStatsFileName()
2272 StatsFile.assign(D.CCPrintInternalStatReportFilename.empty() in getStatsFileName()
2276 return StatsFile; in getStatsFileName()
H A DDarwin.cpp637 SmallString<128> StatsFile = in ConstructJob() local
639 if (!StatsFile.empty()) { in ConstructJob()
641 CmdArgs.push_back(Args.MakeArgString("-lto-stats-file=" + StatsFile.str())); in ConstructJob()
H A DClang.cpp7568 SmallString<128> StatsFile = getStatsFileName(Args, Output, Input, D); in ConstructJob() local
7569 if (!StatsFile.empty()) { in ConstructJob()
7570 CmdArgs.push_back(Args.MakeArgString(Twine("-stats-file=") + StatsFile)); in ConstructJob()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp1046 if (getFrontendOpts().ShowStats || !getFrontendOpts().StatsFile.empty()) in ExecuteAction()
1077 StringRef StatsFile = getFrontendOpts().StatsFile; in ExecuteAction() local
1078 if (!StatsFile.empty()) { in ExecuteAction()
1084 std::make_unique<llvm::raw_fd_ostream>(StatsFile, EC, FileFlags); in ExecuteAction()
1087 << StatsFile << EC.message(); in ExecuteAction()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendOptions.h578 std::string StatsFile; variable
/freebsd/contrib/llvm-project/lld/ELF/
H A DLTO.cpp125 c.StatsFile = std::string(config->optStatsFilename); in createConfig()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td7729 MarshallingInfoString<FrontendOpts<"StatsFile">>;