ΒΆvoid updateIndexWPDForExports(
    llvm::ModuleSummaryIndex& Summary,
    function_ref<bool(llvm::StringRef,
                      llvm::ValueInfo)>
        isExported,
    std::map<ValueInfo,
             std::vector<VTableSlotSummary>>&
        LocalWPDTargetsMap)

Description

Call after cross-module importing to update the recorded single impl devirt target names for any locals that were exported.

Declared at: llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h:252

Parameters

llvm::ModuleSummaryIndex& Summary
function_ref<bool(llvm::StringRef, llvm::ValueInfo)> isExported
std::map<ValueInfo, std::vector<VTableSlotSummary>>& LocalWPDTargetsMap