|
LLVM 22.0.0git
|
#include "llvm/IR/ModuleSummaryIndex.h"
Classes | |
| union | NameOrGV |
Public Member Functions | |
| GlobalValueSummaryInfo (bool HaveGVs) | |
| ArrayRef< std::unique_ptr< GlobalValueSummary > > | getSummaryList () const |
| Access a read-only list of global value summary structures for a particular value held in the GlobalValueMap. | |
| void | addSummary (std::unique_ptr< GlobalValueSummary > Summary) |
| Add a summary corresponding to a global value definition in a module with the corresponding GUID. | |
| void | verifyLocal () const |
| Verify that the HasLocal flag is consistent with the SummaryList. | |
| bool | hasLocal () const |
Public Attributes | |
| union llvm::GlobalValueSummaryInfo::NameOrGV | U |
Definition at line 142 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 676 of file ModuleSummaryIndex.h.
References U.
|
inline |
Add a summary corresponding to a global value definition in a module with the corresponding GUID.
Definition at line 679 of file ModuleSummaryIndex.h.
References llvm::GlobalValue::isLocalLinkage().
|
inline |
Access a read-only list of global value summary structures for a particular value held in the GlobalValueMap.
Definition at line 169 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 181 of file ModuleSummaryIndex.h.
|
inline |
Verify that the HasLocal flag is consistent with the SummaryList.
Should only be called prior to index-based internalization and promotion.
Definition at line 686 of file ModuleSummaryIndex.h.
References llvm::any_of(), assert(), and llvm::GlobalValue::isLocalLinkage().
| union llvm::GlobalValueSummaryInfo::NameOrGV llvm::GlobalValueSummaryInfo::U |
Referenced by GlobalValueSummaryInfo().