|
LLVM
4.0.0
|
Struct to hold value either by GUID or GlobalValue*. More...
#include <ModuleSummaryIndex.h>
Classes | |
| union | ValueUnion |
| Union of the two possible value types. More... | |
Public Types | |
| enum | ValueInfoKind { VI_GUID, VI_Value } |
| The value representation used in this instance. More... | |
Public Member Functions | |
| ValueInfo (GlobalValue::GUID Id=0) | |
| Constructor for a GUID value. More... | |
| ValueInfo (const GlobalValue *V) | |
| Constructor for a GlobalValue* value. More... | |
| GlobalValue::GUID | getGUID () const |
| Accessor for GUID value. More... | |
| const GlobalValue * | getValue () const |
| Accessor for GlobalValue* value. More... | |
| bool | isGUID () const |
Public Attributes | |
| ValueUnion | TheValue |
| The value being represented. More... | |
| ValueInfoKind | Kind |
| The value representation. More... | |
Struct to hold value either by GUID or GlobalValue*.
Values in combined indexes as well as indirect calls are GUIDs, all others are GlobalValues.
Definition at line 50 of file ModuleSummaryIndex.h.
The value representation used in this instance.
| Enumerator | |
|---|---|
| VI_GUID | |
| VI_Value | |
Definition at line 52 of file ModuleSummaryIndex.h.
|
inline |
Constructor for a GUID value.
Definition at line 70 of file ModuleSummaryIndex.h.
|
inline |
Constructor for a GlobalValue* value.
Definition at line 72 of file ModuleSummaryIndex.h.
|
inline |
Accessor for GUID value.
Definition at line 74 of file ModuleSummaryIndex.h.
References assert(), llvm::ValueInfo::ValueUnion::Id, Kind, TheValue, and VI_GUID.
Referenced by llvm::DenseMapInfo< ValueInfo >::getHashValue(), and llvm::DenseMapInfo< ValueInfo >::isEqual().
|
inline |
Accessor for GlobalValue* value.
Definition at line 79 of file ModuleSummaryIndex.h.
References assert(), llvm::ValueInfo::ValueUnion::GV, Kind, TheValue, and VI_Value.
Referenced by llvm::DenseMapInfo< ValueInfo >::getHashValue(), and llvm::DenseMapInfo< ValueInfo >::isEqual().
|
inline |
Definition at line 83 of file ModuleSummaryIndex.h.
Referenced by llvm::DenseMapInfo< ValueInfo >::getHashValue(), and llvm::DenseMapInfo< ValueInfo >::isEqual().
| ValueInfoKind llvm::ValueInfo::Kind |
The value representation.
Definition at line 68 of file ModuleSummaryIndex.h.
Referenced by getGUID(), getValue(), and isGUID().
| ValueUnion llvm::ValueInfo::TheValue |
The value being represented.
Definition at line 66 of file ModuleSummaryIndex.h.
Referenced by getGUID(), and getValue().
1.8.6