Lines Matching defs:thinlto
76 IndexStats("thinlto-index-stats",
96 ThinLTO("thinlto", cl::init(false),
113 "thinlto-action", cl::desc("Perform a single ThinLTO stage:"),
123 "Perform pre-import promotion (requires -thinlto-index)."),
127 "-thinlto-index)."),
130 "(requires -thinlto-index)."),
137 ThinLTOIndex("thinlto-index",
143 "thinlto-prefix-replace",
151 "thinlto-module-id",
156 static cl::opt<std::string> ThinLTOCacheDir("thinlto-cache-dir",
161 "thinlto-cache-pruning-interval", cl::init(1200),
165 "thinlto-cache-max-size-bytes",
170 "thinlto-cache-max-size-files", cl::init(1000000),
175 "thinlto-cache-entry-expiration", cl::init(604800) /* 1w */,
179 "thinlto-save-temps",
185 "thinlto-save-objects",
550 /// currently available via the gold plugin via -thinlto.
565 raw_fd_ostream OS(OutputFilename + ".thinlto.bc", EC,
567 error(EC, "error opening the file '" + OutputFilename + ".thinlto.bc'");
602 namespace thinlto {
620 report_fatal_error("Missing -thinlto-index for ThinLTO promotion stage");
762 OutputName = Filename + ".thinlto.bc";
822 OutputName = Filename + ".thinlto.promoted.bc";
855 OutputName = Filename + ".thinlto.imported.bc";
888 OutputName = Filename + ".thinlto.internalized.bc";
901 errs() << "Warning: -thinlto-index ignored for optimize stage";
913 OutputName = Filename + ".thinlto.imported.bc";
926 errs() << "Warning: -thinlto-index ignored for codegen stage";
942 OutputName = std::get<1>(BinName) + ".thinlto.o";
963 errs() << "Warning: -thinlto-index ignored for full ThinLTO process";
993 auto OutputName = InputFilenames[BufID] + ".thinlto.o";
1004 } // end namespace thinlto
1074 report_fatal_error("You can't specify more than one -thinlto-action");
1075 thinlto::ThinLTOProcessing ThinLTOProcessor(Options);