ΒΆllvm::Error backend(
    const llvm::lto::Config& C,
    llvm::AddStreamFn AddStream,
    unsigned int ParallelCodeGenParallelismLevel,
    llvm::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:44

Parameters

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