LLVM 20.0.0git
|
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) |
Import globals referenced by a function or other globals that are being imported, if importing such global is possible.
Definition at line 384 of file FunctionImport.cpp.
|
inline |
Definition at line 471 of file FunctionImport.cpp.
|
inline |
Definition at line 481 of file FunctionImport.cpp.
References llvm::SmallVectorBase< Size_T >::empty(), and llvm::SmallVectorImpl< T >::pop_back_val().
Referenced by computeImportForFunction().