|
LLVM 23.0.0git
|
Encapsulate the names of CFI target functions. More...
#include "llvm/IR/ModuleSummaryIndex.h"
Public Member Functions | |
| CfiFunctionIndex ()=default | |
| CfiFunctionIndex (const CfiFunctionIndex &)=delete | |
| CfiFunctionIndex (CfiFunctionIndex &&)=default | |
| std::vector< std::pair< StringRef, GlobalValue::GUID > > | getSortedSymbols () const |
| API used for serialization, e.g. YAML. | |
| auto | getExportedThinLTOGUIDs () const |
| get the set of GUIDs that should also be exported because they are the GUIDs of the cfi functions encapsulated here. | |
| auto | getNamesForGUID (GlobalValue::GUID GUID) const |
| get the name(s) associated with a given ThinLTO GUID. | |
| void | addSymbolWithThinLTOGUID (StringRef Name, GlobalValue::GUID GUID) |
| Add the function name and the GUID that ThinLTO uses for it. | |
| bool | contains (StringRef Name) const |
| bool | empty () const |
Encapsulate the names of CFI target functions.
It interfaces with ThinLTO to determine efficiently which of the names need to be exported for a particular module.
Definition at line 1325 of file ModuleSummaryIndex.h.
|
default |
Referenced by CfiFunctionIndex(), and CfiFunctionIndex().
|
delete |
References CfiFunctionIndex().
|
default |
References CfiFunctionIndex().
|
inline |
Add the function name and the GUID that ThinLTO uses for it.
Definition at line 1380 of file ModuleSummaryIndex.h.
References _.
Referenced by llvm::yaml::MappingTraits< ModuleSummaryIndex >::mapping().
Definition at line 1385 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 1389 of file ModuleSummaryIndex.h.
References assert().
|
inline |
get the set of GUIDs that should also be exported because they are the GUIDs of the cfi functions encapsulated here.
Definition at line 1365 of file ModuleSummaryIndex.h.
References I, and llvm::map_range().
|
inline |
get the name(s) associated with a given ThinLTO GUID.
This enables efficient identification of the subset of names that should be included in a module summary.
Definition at line 1372 of file ModuleSummaryIndex.h.
References I, and llvm::make_range().
|
inline |
API used for serialization, e.g. YAML.
Definition at line 1354 of file ModuleSummaryIndex.h.
References llvm::sort().
Referenced by llvm::yaml::MappingTraits< ModuleSummaryIndex >::mapping().