llvm::GlobalValueSummaryInfo

Summary information for one GUID in the global value summary map.

Synopsis

Declared in <llvm/IR/ModuleSummaryIndex.h>

struct GlobalValueSummaryInfo;

Types

NameDescription
NameOrGV Union of either a GlobalValue pointer or a summary name string.

Member Functions

NameDescription
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.

Data Members

NameDescription
U Either a GlobalValue pointer or a name StringRef.