Go to the source code of this file.
|
| namespace | llvm |
| | This is an optimization pass for GlobalISel generic memory operations.
|
|
| cl::opt< bool > | llvm::EnableLTOInternalization ("enable-lto-internalization", cl::init(true), cl::Hidden, cl::desc("Enable global value internalization in LTO")) |
| | Enable global value internalization in LTO.
|
| static void | thinLTOResolvePrevailingGUID (const Config &C, ValueInfo VI, DenseSet< GlobalValueSummary * > &GlobalInvolvedWithAlias, function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> isPrevailing, function_ref< void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)> recordNewLinkage, const DenseSet< GlobalValue::GUID > &GUIDPreservedSymbols) |
| static void | thinLTOInternalizeAndPromoteGUID (ValueInfo VI, function_ref< bool(StringRef, ValueInfo)> isExported, function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> isPrevailing, DenseSet< StringRef > *ExternallyVisibleSymbolNamesPtr) |
| static void | writeToResolutionFile (raw_ostream &OS, InputFile *Input, ArrayRef< SymbolResolution > Res) |
| static void | handleNonPrevailingComdat (GlobalValue &GV, std::set< const Comdat * > &NonPrevailingComdats) |
◆ DEBUG_TYPE
◆ HANDLE_EXTENSION [1/2]
| #define HANDLE_EXTENSION |
( |
| Ext | ) |
|
Value:
decltype(auto) get(const PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info > &Pair)
Information about the plugin required to load its passes.
Definition at line 73 of file LTO.cpp.
◆ HANDLE_EXTENSION [2/2]
| #define HANDLE_EXTENSION |
( |
| Ext | ) |
|
Value:Infos.push_back(
get##Ext##PluginInfo());
Definition at line 73 of file LTO.cpp.
◆ handleNonPrevailingComdat()
◆ thinLTOInternalizeAndPromoteGUID()
◆ thinLTOResolvePrevailingGUID()
Definition at line 412 of file LTO.cpp.
References assert(), llvm::GlobalValue::AvailableExternallyLinkage, C(), llvm::detail::DenseSetImpl< ValueT, MapTy >::count(), llvm::GlobalValue::DefaultVisibility, llvm::lto::Config::ELF, llvm::ForceImportAll, llvm::lto::Config::FromPrevailing, llvm::GlobalValue::getWeakLinkage(), llvm::isa(), llvm::GlobalValue::isAppendingLinkage(), llvm::GlobalValue::isLinkOnceLinkage(), llvm::GlobalValue::isLinkOnceODRLinkage(), and llvm::GlobalValue::isLocalLinkage().
Referenced by llvm::thinLTOResolvePrevailingInIndex().
◆ writeToResolutionFile()
◆ DumpThinCGSCCs
| cl::opt< bool > DumpThinCGSCCs("dump-thin-cg-sccs", cl::init(false), cl::Hidden, cl::desc("Dump the SCCs in the ThinLTO index's callgraph")) |
( |
"dump-thin-cg-sccs" | , |
|
|
cl::init(false) | , |
|
|
cl::Hidden | , |
|
|
cl::desc("Dump the SCCs in the ThinLTO index's callgraph") | ) |
|
static |