ΒΆbool opt(
    const llvm::lto::Config& Conf,
    llvm::TargetMachine* TM,
    unsigned int Task,
    llvm::Module& Mod,
    bool IsThinLTO,
    llvm::ModuleSummaryIndex* ExportSummary,
    const llvm::ModuleSummaryIndex* ImportSummary,
    const std::vector<uint8_t>& CmdArgs)

Description

Runs middle-end LTO optimizations on \p Mod.

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

Parameters

const llvm::lto::Config& Conf
llvm::TargetMachine* TM
unsigned int Task
llvm::Module& Mod
bool IsThinLTO
llvm::ModuleSummaryIndex* ExportSummary
const llvm::ModuleSummaryIndex* ImportSummary
const std::vector<uint8_t>& CmdArgs