Searched refs:StatsFile (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | LTOCodeGenerator.cpp | 125 Config.StatsFile = LTOStatsFile; in LTOCodeGenerator() 265 if (StatsFile) in compileOptimizedToFile() 266 PrintStatisticsJSON(StatsFile->os()); in compileOptimizedToFile() 517 StatsFile = std::move(StatsFileOrErr.get()); in optimize() 589 if (StatsFile) in compileOptimized() 590 PrintStatisticsJSON(StatsFile->os()); in compileOptimized()
|
| H A D | LTO.cpp | 1033 auto StatsFileOrErr = setupStatsFile(Conf.StatsFile); in run() 1036 std::unique_ptr<ToolOutputFile> StatsFile = std::move(StatsFileOrErr.get()); in run() local 1042 if (StatsFile) in run() 1043 PrintStatisticsJSON(StatsFile->os()); in run() 1640 auto StatsFile = in setupStatsFile() local 1645 StatsFile->keep(); in setupStatsFile() 1646 return std::move(StatsFile); in setupStatsFile()
|
| /llvm-project-15.0.7/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 180 StatsFile("stats-file", cl::desc("Filename to write statistics to")); variable 333 Conf.StatsFile = StatsFile; in run()
|
| /llvm-project-15.0.7/llvm/include/llvm/LTO/ |
| H A D | Config.h | 163 std::string StatsFile; member
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | CommonArgs.cpp | 626 SmallString<128> StatsFile = getStatsFileName(Args, Output, Input, D); in addLTOOptions() local 627 if (!StatsFile.empty()) in addLTOOptions() 629 Args.MakeArgString(Twine("-plugin-opt=stats-file=") + StatsFile)); in addLTOOptions() 1610 SmallString<128> StatsFile; in getStatsFileName() local 1612 StatsFile.assign(Output.getFilename()); in getStatsFileName() 1613 llvm::sys::path::remove_filename(StatsFile); in getStatsFileName() 1620 llvm::sys::path::append(StatsFile, BaseName); in getStatsFileName() 1621 llvm::sys::path::replace_extension(StatsFile, "stats"); in getStatsFileName() 1622 return StatsFile; in getStatsFileName()
|
| H A D | Darwin.cpp | 593 SmallString<128> StatsFile = in ConstructJob() local 595 if (!StatsFile.empty()) { in ConstructJob() 597 CmdArgs.push_back(Args.MakeArgString("-lto-stats-file=" + StatsFile.str())); in ConstructJob()
|
| H A D | Clang.cpp | 6914 SmallString<128> StatsFile = getStatsFileName(Args, Output, Input, D); in ConstructJob() local 6915 if (!StatsFile.empty()) in ConstructJob() 6916 CmdArgs.push_back(Args.MakeArgString(Twine("-stats-file=") + StatsFile)); in ConstructJob()
|
| /llvm-project-15.0.7/llvm/include/llvm/LTO/legacy/ |
| H A D | LTOCodeGenerator.h | 242 std::unique_ptr<ToolOutputFile> StatsFile = nullptr; member
|
| /llvm-project-15.0.7/clang/include/clang/Frontend/ |
| H A D | FrontendOptions.h | 497 std::string StatsFile; variable
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 1025 if (getFrontendOpts().ShowStats || !getFrontendOpts().StatsFile.empty()) in ExecuteAction() 1074 StringRef StatsFile = getFrontendOpts().StatsFile; in ExecuteAction() local 1075 if (!StatsFile.empty()) { in ExecuteAction() 1078 StatsFile, EC, llvm::sys::fs::OF_TextWithCRLF); in ExecuteAction() 1081 << StatsFile << EC.message(); in ExecuteAction()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | LTO.cpp | 146 c.StatsFile = std::string(config->optStatsFilename); in createConfig()
|
| /llvm-project-15.0.7/llvm/tools/gold/ |
| H A D | gold-plugin.cpp | 976 Conf.StatsFile = options::stats_file; in createLTO()
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Options.td | 5904 MarshallingInfoString<FrontendOpts<"StatsFile">>;
|