class ThinBackendProc

Declaration

class ThinBackendProc { /* full declaration omitted */ };

Description

This class defines the interface to the ThinLTO backend.

Declared at: llvm/lib/LTO/LTO.cpp:1161

Member Variables

protected const llvm::lto::Config& Conf
protected llvm::ModuleSummaryIndex& CombinedIndex
protected const StringMap<llvm::GVSummaryMapTy>& ModuleToDefinedGVSummaries
protected lto::IndexWriteCallback OnWrite
protected bool ShouldEmitImportsFiles

Method Overview

  • public ThinBackendProc(const llvm::lto::Config & Conf, llvm::ModuleSummaryIndex & CombinedIndex, const StringMap<llvm::GVSummaryMapTy> & ModuleToDefinedGVSummaries, lto::IndexWriteCallback OnWrite, bool ShouldEmitImportsFiles)
  • public llvm::Error emitFiles(const FunctionImporter::ImportMapTy & ImportList, llvm::StringRef ModulePath, const std::string & NewModulePath)
  • public virtual unsigned int getThreadCount()
  • public virtual llvm::Error start(unsigned int Task, llvm::BitcodeModule BM, const FunctionImporter::ImportMapTy & ImportList, const FunctionImporter::ExportSetTy & ExportList, const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> & ResolvedODR, MapVector<llvm::StringRef, llvm::BitcodeModule> & ModuleMap)
  • public virtual llvm::Error wait()
  • public virtual ~ThinBackendProc()

Methods

ThinBackendProc(
    const llvm::lto::Config& Conf,
    llvm::ModuleSummaryIndex& CombinedIndex,
    const StringMap<llvm::GVSummaryMapTy>&
        ModuleToDefinedGVSummaries,
    lto::IndexWriteCallback OnWrite,
    bool ShouldEmitImportsFiles)

Declared at: llvm/lib/LTO/LTO.cpp:1170

Parameters

const llvm::lto::Config& Conf
llvm::ModuleSummaryIndex& CombinedIndex
const StringMap<llvm::GVSummaryMapTy>& ModuleToDefinedGVSummaries
lto::IndexWriteCallback OnWrite
bool ShouldEmitImportsFiles

llvm::Error emitFiles(
    const FunctionImporter::ImportMapTy&
        ImportList,
    llvm::StringRef ModulePath,
    const std::string& NewModulePath)

Declared at: llvm/lib/LTO/LTO.cpp:1188

Parameters

const FunctionImporter::ImportMapTy& ImportList
llvm::StringRef ModulePath
const std::string& NewModulePath

virtual unsigned int getThreadCount()

Declared at: llvm/lib/LTO/LTO.cpp:1185

virtual llvm::Error start(
    unsigned int Task,
    llvm::BitcodeModule BM,
    const FunctionImporter::ImportMapTy&
        ImportList,
    const FunctionImporter::ExportSetTy&
        ExportList,
    const std::map<GlobalValue::GUID,
                   GlobalValue::LinkageTypes>&
        ResolvedODR,
    MapVector<llvm::StringRef,
              llvm::BitcodeModule>& ModuleMap)

Declared at: llvm/lib/LTO/LTO.cpp:1178

Parameters

unsigned int Task
llvm::BitcodeModule BM
const FunctionImporter::ImportMapTy& ImportList
const FunctionImporter::ExportSetTy& ExportList
const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>& ResolvedODR
MapVector<llvm::StringRef, llvm::BitcodeModule>& ModuleMap

virtual llvm::Error wait()

Declared at: llvm/lib/LTO/LTO.cpp:1184

virtual ~ThinBackendProc()

Declared at: llvm/lib/LTO/LTO.cpp:1177