LLVM
8.0.1
|
Alias summary information. More...
#include "llvm/IR/ModuleSummaryIndex.h"
Public Member Functions | |
AliasSummary (GVFlags Flags) | |
void | setAliasee (GlobalValueSummary *Aliasee) |
void | setAliaseeGUID (GlobalValue::GUID GUID) |
bool | hasAliasee () const |
const GlobalValueSummary & | getAliasee () const |
GlobalValueSummary & | getAliasee () |
bool | hasAliaseeGUID () const |
const GlobalValue::GUID & | getAliaseeGUID () const |
Public Member Functions inherited from llvm::GlobalValueSummary | |
virtual | ~GlobalValueSummary ()=default |
GlobalValue::GUID | getOriginalName () const |
Returns the hash of the original name, it is identical to the GUID for externally visible symbols, but not for local ones. More... | |
void | setOriginalName (GlobalValue::GUID Name) |
Initialize the original name hash in this summary. More... | |
SummaryKind | getSummaryKind () const |
Which kind of summary subclass this is. More... | |
void | setModulePath (StringRef ModPath) |
Set the path to the module containing this function, for use in the combined index. More... | |
StringRef | modulePath () const |
Get the path to the module containing this function. More... | |
GVFlags | flags () const |
Get the flags for this GlobalValue (see struct GVFlags). More... | |
GlobalValue::LinkageTypes | linkage () const |
Return linkage type recorded for this global value. More... | |
void | setLinkage (GlobalValue::LinkageTypes Linkage) |
Sets the linkage to the value determined by global summary-based optimization. More... | |
bool | notEligibleToImport () const |
Return true if this global value can't be imported. More... | |
bool | isLive () const |
void | setLive (bool Live) |
void | setDSOLocal (bool Local) |
bool | isDSOLocal () const |
void | setNotEligibleToImport () |
Flag that this global value cannot be imported. More... | |
ArrayRef< ValueInfo > | refs () const |
Return the list of values referenced by this global value definition. More... | |
GlobalValueSummary * | getBaseObject () |
If this is an alias summary, returns the summary of the aliased object (a global variable or function), otherwise returns itself. More... | |
const GlobalValueSummary * | getBaseObject () const |
Static Public Member Functions | |
static bool | classof (const GlobalValueSummary *GVS) |
Check if this is an alias summary. More... | |
Additional Inherited Members | |
Public Types inherited from llvm::GlobalValueSummary | |
enum | SummaryKind : unsigned { AliasKind, FunctionKind, GlobalVarKind } |
Sububclass discriminator (for dyn_cast<> et al.) More... | |
Protected Member Functions inherited from llvm::GlobalValueSummary | |
GlobalValueSummary (SummaryKind K, GVFlags Flags, std::vector< ValueInfo > Refs) | |
Alias summary information.
Definition at line 383 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 390 of file ModuleSummaryIndex.h.
|
inlinestatic |
Check if this is an alias summary.
Definition at line 395 of file ModuleSummaryIndex.h.
References llvm::GlobalValueSummary::getSummaryKind().
|
inline |
Definition at line 404 of file ModuleSummaryIndex.h.
References assert().
Referenced by getSummaryKindName().
|
inline |
Definition at line 409 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 414 of file ModuleSummaryIndex.h.
References assert().
|
inline |
Definition at line 402 of file ModuleSummaryIndex.h.
Referenced by getSummaryKindName().
|
inline |
Definition at line 413 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 399 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 400 of file ModuleSummaryIndex.h.