Home
last modified time | relevance | path

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

/external/llvm-project/llvm/tools/llvm-lto2/
Dllvm-lto2.cpp155 StatsFile("stats-file", cl::desc("Filename to write statistics to")); variable
297 Conf.StatsFile = StatsFile; in run()
/external/llvm-project/clang/lib/Driver/ToolChains/
DCommonArgs.cpp606 SmallString<128> StatsFile = getStatsFileName(Args, Output, Input, D); in addLTOOptions() local
607 if (!StatsFile.empty()) in addLTOOptions()
609 Args.MakeArgString(Twine("-plugin-opt=stats-file=") + StatsFile)); in addLTOOptions()
1476 SmallString<128> StatsFile; in getStatsFileName() local
1478 StatsFile.assign(Output.getFilename()); in getStatsFileName()
1479 llvm::sys::path::remove_filename(StatsFile); in getStatsFileName()
1486 llvm::sys::path::append(StatsFile, BaseName); in getStatsFileName()
1487 llvm::sys::path::replace_extension(StatsFile, "stats"); in getStatsFileName()
1488 return StatsFile; in getStatsFileName()
DDarwin.cpp579 SmallString<128> StatsFile = in ConstructJob() local
581 if (!StatsFile.empty()) { in ConstructJob()
583 CmdArgs.push_back(Args.MakeArgString("-lto-stats-file=" + StatsFile.str())); in ConstructJob()
DClang.cpp6112 SmallString<128> StatsFile = getStatsFileName(Args, Output, Input, D); in ConstructJob() local
6113 if (!StatsFile.empty()) in ConstructJob()
6114 CmdArgs.push_back(Args.MakeArgString(Twine("-stats-file=") + StatsFile)); in ConstructJob()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/
DConfig.h121 std::string StatsFile; member
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOCodeGenerator.cpp543 StatsFile = std::move(StatsFileOrErr.get()); in optimize()
613 if (StatsFile) in compileOptimized()
614 PrintStatisticsJSON(StatsFile->os()); in compileOptimized()
DLTO.cpp929 auto StatsFileOrErr = setupStatsFile(Conf.StatsFile); in run()
932 std::unique_ptr<ToolOutputFile> StatsFile = std::move(StatsFileOrErr.get()); in run() local
949 if (StatsFile) in run()
950 PrintStatisticsJSON(StatsFile->os()); in run()
1411 auto StatsFile = in setupStatsFile() local
1416 StatsFile->keep(); in setupStatsFile()
1417 return std::move(StatsFile); in setupStatsFile()
/external/llvm-project/llvm/lib/LTO/
DLTOCodeGenerator.cpp558 StatsFile = std::move(StatsFileOrErr.get()); in optimize()
638 if (StatsFile) in compileOptimized()
639 PrintStatisticsJSON(StatsFile->os()); in compileOptimized()
DLTO.cpp967 auto StatsFileOrErr = setupStatsFile(Conf.StatsFile); in run()
970 std::unique_ptr<ToolOutputFile> StatsFile = std::move(StatsFileOrErr.get()); in run() local
976 if (StatsFile) in run()
977 PrintStatisticsJSON(StatsFile->os()); in run()
1522 auto StatsFile = in setupStatsFile() local
1527 StatsFile->keep(); in setupStatsFile()
1528 return std::move(StatsFile); in setupStatsFile()
/external/llvm-project/llvm/include/llvm/LTO/
DConfig.h146 std::string StatsFile; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h246 std::unique_ptr<ToolOutputFile> StatsFile = nullptr; member
/external/llvm-project/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h246 std::unique_ptr<ToolOutputFile> StatsFile = nullptr; member
/external/llvm-project/clang/include/clang/Frontend/
DFrontendOptions.h445 std::string StatsFile; variable
/external/llvm-project/clang/lib/Frontend/
DCompilerInstance.cpp981 if (getFrontendOpts().ShowStats || !getFrontendOpts().StatsFile.empty()) in ExecuteAction()
1033 StringRef StatsFile = getFrontendOpts().StatsFile; in ExecuteAction() local
1034 if (!StatsFile.empty()) { in ExecuteAction()
1037 StatsFile, EC, llvm::sys::fs::OF_Text); in ExecuteAction()
1040 << StatsFile << EC.message(); in ExecuteAction()
DCompilerInvocation.cpp2094 Opts.StatsFile = std::string(Args.getLastArgValue(OPT_stats_file)); in ParseFrontendArgs()
/external/llvm-project/llvm/tools/gold/
Dgold-plugin.cpp953 Conf.StatsFile = options::stats_file; in createLTO()