|
| void | llvm::thinLTOResolvePrevailingInIndex (ModuleSummaryIndex &Index, function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> isPrevailing, function_ref< void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)> recordNewLinkage, const DenseSet< GlobalValue::GUID > &GUIDPreservedSymbols) |
| | Resolve linkage for prevailing symbols in the Index. More...
|
| |
| void | llvm::thinLTOInternalizeAndPromoteInIndex (ModuleSummaryIndex &Index, function_ref< bool(StringRef, ValueInfo)> isExported, function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> isPrevailing) |
| | Update the linkages in the given Index to mark exported values as external and non-exported values as internal. More...
|
| |
| void | llvm::computeLTOCacheKey (SmallString< 40 > &Key, const lto::Config &Conf, const ModuleSummaryIndex &Index, StringRef ModuleID, const FunctionImporter::ImportMapTy &ImportList, const FunctionImporter::ExportSetTy &ExportList, const std::map< GlobalValue::GUID, GlobalValue::LinkageTypes > &ResolvedODR, const GVSummaryMapTy &DefinedGlobals, const std::set< GlobalValue::GUID > &CfiFunctionDefs={}, const std::set< GlobalValue::GUID > &CfiFunctionDecls={}) |
| | Computes a unique hash for the Module considering the current list of export/import and other global analysis results. More...
|
| |
| std::string | llvm::lto::getThinLTOOutputFile (const std::string &Path, const std::string &OldPrefix, const std::string &NewPrefix) |
| | Given the original Path to an output file, replace any path prefix matching OldPrefix with NewPrefix. More...
|
| |
| Expected< std::unique_ptr< ToolOutputFile > > | llvm::lto::setupOptimizationRemarks (LLVMContext &Context, StringRef RemarksFilename, StringRef RemarksPasses, StringRef RemarksFormat, bool RemarksWithHotness, int Count=-1) |
| | Setup optimization remarks. More...
|
| |
| Expected< std::unique_ptr< ToolOutputFile > > | llvm::lto::setupStatsFile (StringRef StatsFilename) |
| | Setups the output file for saving statistics. More...
|
| |
| ThinBackend | llvm::lto::createInProcessThinBackend (unsigned ParallelismLevel) |
| | This ThinBackend runs the individual backend jobs in-process. More...
|
| |
| ThinBackend | llvm::lto::createWriteIndexesThinBackend (std::string OldPrefix, std::string NewPrefix, bool ShouldEmitImportsFiles, raw_fd_ostream *LinkedObjectsFile, IndexWriteCallback OnWrite) |
| |