Go to the source code of this file.
|
| static void | computeCacheKey (SmallString< 40 > &Key, const 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 TypeIdSummariesByGuidTy &TypeIdSummariesByGuid, const std::set< GlobalValue::GUID > &CfiFunctionDefs, const std::set< GlobalValue::GUID > &CfiFunctionDecls) |
| |
| static void | thinLTOResolveWeakForLinkerGUID (GlobalValueSummaryList &GVSummaryList, GlobalValue::GUID GUID, DenseSet< GlobalValueSummary *> &GlobalInvolvedWithAlias, function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> isPrevailing, function_ref< void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)> recordNewLinkage) |
| |
| static void | thinLTOInternalizeAndPromoteGUID (GlobalValueSummaryList &GVSummaryList, GlobalValue::GUID GUID, function_ref< bool(StringRef, GlobalValue::GUID)> isExported) |
| |
| static void | writeToResolutionFile (raw_ostream &OS, InputFile *Input, ArrayRef< SymbolResolution > Res) |
| |
| static void | handleNonPrevailingComdat (GlobalValue &GV, std::set< const Comdat *> &NonPrevailingComdats) |
| |
◆ DEBUG_TYPE
◆ TypeIdSummariesByGuidTy
◆ computeCacheKey()
| static void computeCacheKey |
( |
SmallString< 40 > & |
Key, |
|
|
const 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 TypeIdSummariesByGuidTy & |
TypeIdSummariesByGuid, |
|
|
const std::set< GlobalValue::GUID > & |
CfiFunctionDefs, |
|
|
const std::set< GlobalValue::GUID > & |
CfiFunctionDecls |
|
) |
| |
|
static |
Definition at line 68 of file LTO.cpp.
References llvm::lto::Config::AAPipeline, Arg, llvm::lto::Config::CGFileType, llvm::lto::Config::CGOptLevel, llvm::lto::Config::CodeModel, llvm::lto::Config::CPU, llvm::Data, llvm::TargetOptions::DataSections, llvm::TargetOptions::DebuggerTuning, llvm::lto::Config::DefaultTriple, llvm::lto::Config::DwoDir, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), F(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::ModuleSummaryIndex::findSummaryInModule(), llvm::TargetOptions::FunctionSections, llvm::MemoryBuffer::getFile(), llvm::ModuleSummaryIndex::getModuleHash(), I, llvm::lto::Config::MAttrs, llvm::lto::Config::Options, llvm::lto::Config::OptLevel, llvm::lto::Config::OptPipeline, llvm::lto::Config::OverrideTriple, llvm::TargetOptions::RelaxELFRelocations, llvm::lto::Config::RelocModel, llvm::SHA1::result(), llvm::lto::Config::SampleProfile, llvm::toHex(), llvm::SHA1::update(), llvm::lto::Config::UseNewPM, and VI.
◆ handleNonPrevailingComdat()
◆ thinLTOInternalizeAndPromoteGUID()
◆ thinLTOResolveWeakForLinkerGUID()
Definition at line 281 of file LTO.cpp.
References llvm::GlobalValue::AvailableExternallyLinkage, llvm::detail::DenseSetImpl< ValueT, DenseMap< ValueT, detail::DenseSetEmpty, ValueInfoT, detail::DenseSetPair< ValueT > >, ValueInfoT >::count(), llvm::GlobalValue::getWeakLinkage(), llvm::GlobalValue::isLinkOnceLinkage(), llvm::GlobalValue::isLinkOnceODRLinkage(), and llvm::GlobalValue::isWeakForLinker().
Referenced by llvm::thinLTOResolveWeakForLinkerInIndex().
◆ writeToResolutionFile()
◆ DumpThinCGSCCs