Lines Matching refs:lto
62 return lto::getThinLTOOutputFile(modulePath,
67 static lto::Config createConfig() {
68 lto::Config c;
137 lto::ThinBackend backend;
140 backend = lto::createWriteIndexesThinBackend(
144 backend = lto::createInProcessThinBackend(config->thinLTOJobs);
147 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend,
162 lto::InputFile &obj = *f.obj;
169 ArrayRef<lto::InputFile::Symbol> objSyms = obj.symbols();
170 std::vector<lto::SymbolResolution> resols(syms.size());
175 const lto::InputFile::Symbol &objSym = objSyms[i];
176 lto::SymbolResolution &r = resols[i];
246 lto::NativeObjectCache cache;
249 lto::localCache(config->thinLTOCacheDir,
257 return std::make_unique<lto::NativeObjectStream>(
294 saveBuffer(buf[0], config->outputFile + ".lto.o");
296 saveBuffer(buf[i], config->outputFile + Twine(i) + ".lto.o");
302 ret.push_back(createObjectFile(MemoryBufferRef(buf[i], "lto.tmp")));