Lines Matching refs:config
58 std::string(path), std::string(config->thinLTOPrefixReplace.first),
59 std::string(config->thinLTOPrefixReplace.second));
74 if (config->machine == COFF::IMAGE_FILE_MACHINE_I386)
80 c.OptLevel = config->ltoo;
83 c.CGOptLevel = args::getCGOptLevel(config->ltoo);
84 c.AlwaysEmitRegularLTOObj = !config->ltoObjPath.empty();
86 if (config->saveTemps)
87 checkError(c.addSaveTemps(std::string(config->outputFile) + ".",
94 if (!config->thinLTOIndexOnlyArg.empty())
95 indexFile = openFile(config->thinLTOIndexOnlyArg);
99 if (config->thinLTOIndexOnly) {
102 std::string(config->thinLTOPrefixReplace.first),
103 std::string(config->thinLTOPrefixReplace.second),
104 config->thinLTOEmitImportsFiles, indexFile.get(), OnIndexWrite);
107 llvm::heavyweight_hardware_concurrency(config->thinLTOJobs));
111 config->ltoPartitions);
124 if (config->thinLTOIndexOnly)
157 if (!config->ltoCache.empty())
159 config->ltoCache, [&](size_t task, std::unique_ptr<MemoryBuffer> mb) {
174 if (config->thinLTOEmitImportsFiles)
181 if (config->thinLTOIndexOnly) {
182 if (!config->ltoObjPath.empty())
183 saveBuffer(buf[0], config->ltoObjPath);
189 if (!config->ltoCache.empty())
190 pruneCache(config->ltoCache, config->ltoCachePolicy);
200 saver.save(Twine(config->outputFile) + ".lto" +
214 if (config->saveTemps)