ΒΆllvm::ModulePass* createWholeProgramDevirtPass(
    llvm::ModuleSummaryIndex* ExportSummary,
    const llvm::ModuleSummaryIndex* ImportSummary)

Description

This pass implements whole-program devirtualization using type metadata. The behavior depends on the summary arguments: - If ExportSummary is non-null, this pass will export type identifiers to the given summary. - Otherwise, if ImportSummary is non-null, this pass will import type identifiers from the given summary. - Otherwise it does neither. It is invalid for both ExportSummary and ImportSummary to be non-null.

Declared at: llvm/include/llvm/Transforms/IPO.h:260

Parameters

llvm::ModuleSummaryIndex* ExportSummary
const llvm::ModuleSummaryIndex* ImportSummary