LLVM 20.0.0git
|
#include "llvm/IR/ModuleSummaryIndex.h"
Public Member Functions | |
NameOrGV (bool HaveGVs) | |
Public Attributes | |
const GlobalValue * | GV |
The GlobalValue corresponding to this summary. | |
StringRef | Name |
Summary string representation. | |
Definition at line 139 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 140 of file ModuleSummaryIndex.h.
const GlobalValue* llvm::GlobalValueSummaryInfo::NameOrGV::GV |
The GlobalValue corresponding to this summary.
This is only used in per-module summaries and when the IR is available. E.g. when module analysis is being run, or when parsing both the IR and the summary from assembly.
Definition at line 151 of file ModuleSummaryIndex.h.
Referenced by NameOrGV().
StringRef llvm::GlobalValueSummaryInfo::NameOrGV::Name |
Summary string representation.
This StringRef points to BC module string table and is valid until module data is stored in memory. This is guaranteed to happen until runThinLTOBackend function is called, so it is safe to use this field during thin link. This field is only valid if summary index was loaded from BC file.
Definition at line 158 of file ModuleSummaryIndex.h.
Referenced by NameOrGV().