Lines Matching refs:lto
1 //===- llvm-lto: a simple command-line program to link modules with LTO ---===//
14 #include "llvm-c/lto.h"
87 "disable-lto-vectorization", cl::init(false),
91 "lto-freestanding", cl::init(false),
236 errs() << "llvm-lto: ";
260 OS << "llvm-lto: ";
291 errs() << "llvm-lto: " << Msg << '\n';
332 ExitOnError ExitOnErr("llvm-lto: error loading file '" + Filename + "': ");
380 ExitOnError ExitOnErr("llvm-lto: error loading file '" + Filename.str() +
389 std::unique_ptr<lto::InputFile> Input(LTOModule::createInputFile(
415 ExitOnError ExitOnErr("llvm-lto: error loading file '" + Filename + "': ");
479 ExitOnError ExitOnErr("llvm-lto: error loading file '" + ThinLTOIndex +
484 static std::unique_ptr<lto::InputFile> loadInputFile(MemoryBufferRef Buffer) {
485 ExitOnError ExitOnErr("llvm-lto: error loading input '" +
487 return ExitOnErr(lto::InputFile::create(Buffer));
490 static std::unique_ptr<Module> loadModuleFromInput(lto::InputFile &File,
498 Err.print("llvm-lto", errs());