|
LLVM
7.0.0
|
Struct that holds a reference to a particular GUID in a global value summary. More...
#include "llvm/IR/ModuleSummaryIndex.h"
Public Member Functions | |
| ValueInfo ()=default | |
| ValueInfo (bool HaveGVs, const GlobalValueSummaryMapTy::value_type *R) | |
| operator bool () const | |
| GlobalValue::GUID | getGUID () const |
| const GlobalValue * | getValue () const |
| ArrayRef< std::unique_ptr< GlobalValueSummary > > | getSummaryList () const |
| StringRef | name () const |
| bool | haveGVs () const |
| const GlobalValueSummaryMapTy::value_type * | getRef () const |
| bool | isDSOLocal () const |
Public Attributes | |
| PointerIntPair< const GlobalValueSummaryMapTy::value_type *, 1, bool > | RefAndFlag |
Struct that holds a reference to a particular GUID in a global value summary.
Definition at line 148 of file ModuleSummaryIndex.h.
|
default |
Definition at line 153 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 160 of file ModuleSummaryIndex.h.
Referenced by llvm::ModuleSummaryIndex::addGlobalValueSummary(), computeImportForFunction(), defineExternalNode(), getHotnessName(), getNodeVisualName(), llvm::operator<(), llvm::operator<<(), parseTypeIdSummaryRecord(), and updateValueInfoForIndirectCalls().
|
inline |
Definition at line 177 of file ModuleSummaryIndex.h.
Referenced by llvm::ModuleSummaryIndex::addGlobalValueSummary(), llvm::DenseMapInfo< ValueInfo >::getHashValue(), llvm::DenseMapInfo< ValueInfo >::isEqual(), llvm::operator!=(), llvm::operator<(), and llvm::operator==().
|
inline |
Definition at line 166 of file ModuleSummaryIndex.h.
Referenced by llvm::GraphTraits< ValueInfo >::child_begin(), llvm::GraphTraits< ValueInfo >::child_end(), llvm::computeDeadSymbols(), computeImportForFunction(), llvm::ModuleSummaryIndex::discoverNodes(), getHotnessName(), isDSOLocal(), isValidVariableType(), updateValueInfoForIndirectCalls(), and writeTypeIdSummaryRecord().
|
inline |
Definition at line 161 of file ModuleSummaryIndex.h.
References assert().
|
inline |
Definition at line 175 of file ModuleSummaryIndex.h.
Referenced by llvm::DenseMapInfo< ValueInfo >::isEqual().
| bool ValueInfo::isDSOLocal | ( | ) | const |
Definition at line 24 of file ModuleSummaryIndex.cpp.
References llvm::all_of(), and getSummaryList().
Referenced by llvm::FunctionImportGlobalProcessing::doImportAsDefinition().
|
inline |
Definition at line 170 of file ModuleSummaryIndex.h.
Referenced by getHotnessName(), getNodeVisualName(), and llvm::operator<<().
|
inline |
Definition at line 158 of file ModuleSummaryIndex.h.
| PointerIntPair<const GlobalValueSummaryMapTy::value_type *, 1, bool> llvm::ValueInfo::RefAndFlag |
Definition at line 150 of file ModuleSummaryIndex.h.
1.8.13