Summary information for one GUID in the global value summary map.
Declared in <llvm/IR/ModuleSummaryIndex.h>
struct GlobalValueSummaryInfo;
| Name | Description |
|---|---|
NameOrGV | Union of either a GlobalValue pointer or a summary name string. |
| Name | Description |
|---|---|
GlobalValueSummaryInfo [constructor] | Construct GlobalValueSummaryInfo for the given HaveGVs mode. |
addSummary | Add a summary corresponding to a global value definition in a module with the corresponding GUID. |
getSummaryList | Access a read-only list of global value summary structures for a particular value held in the GlobalValueMap. |
hasLocal | Return true if any summary for this GUID has local linkage. |
verifyLocal | Verify that the HasLocal flag is consistent with the SummaryList. Should only be called prior to index-based internalization and promotion. |
| Name | Description |
|---|---|
U | Either a GlobalValue pointer or a name StringRef. |