|
void | llvm::ComputeCrossModuleImport (const ModuleSummaryIndex &Index, const DenseMap< StringRef, GVSummaryMapTy > &ModuleToDefinedGVSummaries, function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> isPrevailing, DenseMap< StringRef, FunctionImporter::ImportMapTy > &ImportLists, DenseMap< StringRef, FunctionImporter::ExportSetTy > &ExportLists) |
| Compute all the imports and exports for every module in the Index.
|
|
void | llvm::updateIndirectCalls (ModuleSummaryIndex &Index) |
| Update call edges for indirect calls to local functions added from SamplePGO when needed.
|
|
void | llvm::computeDeadSymbolsAndUpdateIndirectCalls (ModuleSummaryIndex &Index, const DenseSet< GlobalValue::GUID > &GUIDPreservedSymbols, function_ref< PrevailingType(GlobalValue::GUID)> isPrevailing) |
| Compute all the symbols that are "dead": i.e these that can't be reached in the graph from any of the given symbols listed in GUIDPreservedSymbols .
|
|
void | llvm::computeDeadSymbolsWithConstProp (ModuleSummaryIndex &Index, const DenseSet< GlobalValue::GUID > &GUIDPreservedSymbols, function_ref< PrevailingType(GlobalValue::GUID)> isPrevailing, bool ImportEnabled) |
| Compute dead symbols and run constant propagation in combined index after that.
|
|
bool | llvm::convertToDeclaration (GlobalValue &GV) |
| Converts value GV to declaration, or replaces with a declaration if it is an alias.
|
|
void | llvm::gatherImportedSummariesForModule (StringRef ModulePath, const DenseMap< StringRef, GVSummaryMapTy > &ModuleToDefinedGVSummaries, const FunctionImporter::ImportMapTy &ImportList, std::map< std::string, GVSummaryMapTy > &ModuleToSummariesForIndex, GVSummaryPtrSet &DecSummaries) |
| Compute the set of summaries needed for a ThinLTO backend compilation of ModulePath .
|
|
std::error_code | llvm::EmitImportsFiles (StringRef ModulePath, StringRef OutputFilename, const std::map< std::string, GVSummaryMapTy > &ModuleToSummariesForIndex) |
| Emit into OutputFilename the files module ModulePath will import from.
|
|
void | llvm::thinLTOFinalizeInModule (Module &TheModule, const GVSummaryMapTy &DefinedGlobals, bool PropagateAttrs) |
| Based on the information recorded in the summaries during global summary-based analysis:
|
|
void | llvm::thinLTOInternalizeModule (Module &TheModule, const GVSummaryMapTy &DefinedGlobals) |
| Internalize TheModule based on the information recorded in the summaries during global summary-based analysis.
|
|