LLVM 19.0.0git
Public Member Functions | List of all members
GlobalsImporter Class Referencefinal

Import globals referenced by a function or other globals that are being imported, if importing such global is possible. More...

Public Member Functions

 GlobalsImporter (const ModuleSummaryIndex &Index, const GVSummaryMapTy &DefinedGVSummaries, function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> IsPrevailing, FunctionImporter::ImportMapTy &ImportList, DenseMap< StringRef, FunctionImporter::ExportSetTy > *ExportLists)
 
void onImportingSummary (const GlobalValueSummary &Summary)
 

Detailed Description

Import globals referenced by a function or other globals that are being imported, if importing such global is possible.

Definition at line 297 of file FunctionImport.cpp.

Constructor & Destructor Documentation

◆ GlobalsImporter()

GlobalsImporter::GlobalsImporter ( const ModuleSummaryIndex Index,
const GVSummaryMapTy DefinedGVSummaries,
function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)>  IsPrevailing,
FunctionImporter::ImportMapTy ImportList,
DenseMap< StringRef, FunctionImporter::ExportSetTy > *  ExportLists 
)
inline

Definition at line 383 of file FunctionImport.cpp.

Member Function Documentation

◆ onImportingSummary()

void GlobalsImporter::onImportingSummary ( const GlobalValueSummary Summary)
inline

The documentation for this class was generated from the following file: