ΒΆllvm::Error backend(
    const llvm::lto::Config& C,
    llvm::lto::AddStreamFn AddStream,
    unsigned int ParallelCodeGenParallelismLevel,
    std::unique_ptr<Module> M,
    llvm::ModuleSummaryIndex& CombinedIndex)

Description

Runs a regular LTO backend. The regular LTO backend can also act as the regular LTO phase of ThinLTO, which may need to access the combined index.

Declared at: llvm/include/llvm/LTO/LTOBackend.h:38

Parameters

const llvm::lto::Config& C
llvm::lto::AddStreamFn AddStream
unsigned int ParallelCodeGenParallelismLevel
std::unique_ptr<Module> M
llvm::ModuleSummaryIndex& CombinedIndex