Function and variable summary information to aid decisions and implementation of importing.
Synopsis
Declared in <llvm/IR/ModuleSummaryIndex.h>
class GlobalValueSummary;
Types
Name |
Description |
Group flags (Linkage, NotEligibleToImport, etc.) as a bitfield. |
Enums
Name |
Description |
Whether a value should be imported as a definition or a declaration. |
|
Subclass discriminator (for dyn_cast<> et al.) |
Member Functions
Name |
Description |
|
Destroy this global value summary. |
Return true if this value can be auto‐hidden. |
|
Get the flags for this GlobalValue (see |
|
|
|
Returns the hash of the original name, it is identical to the GUID for externally visible symbols, but not for local ones. |
|
Which kind of summary subclass this is. |
|
Return the visibility recorded for this global value. |
|
Return whether this value should be imported as definition or declaration. |
|
Return true if this symbol was resolved DSO‐locally. |
|
Return true if this global value is live. |
|
Return linkage type recorded for this global value. |
|
Get the path to the module containing this function. |
|
Return true if promotion must not rename this static global. |
|
Return true if this global value can't be imported. |
|
Promote this local symbol to external linkage and mark it promoted. |
|
Return the list of values referenced by this global value definition. |
|
Set whether this value can be auto‐hidden. |
|
Set whether this symbol was resolved DSO‐locally. |
|
Set external linkage for testing without going through promote(). |
|
Set whether to import this value as a definition or declaration. |
|
Sets the linkage to the value determined by global summary‐based optimization. Will be applied in the ThinLTO backends. |
|
Set whether this global value is live. |
|
Set the path to the module containing this function, for use in the combined index. |
|
Set whether promotion must not rename this static global. |
|
Flag that this global value cannot be imported. |
|
Initialize the original name hash in this summary. |
|
Set the visibility recorded for this global value. |
|
Return true if this value should be imported as a declaration. |
|
Return true if this symbol was promoted from local linkage. |
Protected Member Functions
Name |
Description |
|
Construct a summary of kind |
Friends
Name |
Description |
Class to hold module path string table and global value map, and encapsulate methods for operating on them. |
Derived Classes
Name |
Description |
Alias summary information. |
|
Function summary information to aid decisions and implementation of importing. |
|
Global variable summary information to aid decisions and implementation of importing. |
Created with MrDocs