|
LLVM
8.0.1
|
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 |
| bool | isReadOnly () const |
| void | setReadOnly () |
| const GlobalValueSummaryMapTy::value_type * | getRef () const |
| bool | isDSOLocal () const |
Public Attributes | |
| PointerIntPair< const GlobalValueSummaryMapTy::value_type *, 2, int > | RefAndFlags |
Struct that holds a reference to a particular GUID in a global value summary.
Definition at line 165 of file ModuleSummaryIndex.h.
|
default |
Definition at line 170 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 177 of file ModuleSummaryIndex.h.
Referenced by llvm::ModuleSummaryIndex::addGlobalValueSummary(), computeImportForFunction(), getLinkageNameWithSpace(), getNodeVisualName(), llvm::operator<(), llvm::operator<<(), setImmutableRefs(), and updateValueInfoForIndirectCalls().
|
inline |
Definition at line 196 of file ModuleSummaryIndex.h.
Referenced by llvm::ModuleSummaryIndex::addGlobalValueSummary(), llvm::DenseMapInfo< ValueInfo >::getHashValue(), llvm::DenseMapInfo< ValueInfo >::isEqual(), llvm::operator!=(), llvm::operator<(), llvm::operator==(), and resolveFwdRef().
|
inline |
Definition at line 183 of file ModuleSummaryIndex.h.
Referenced by llvm::GraphTraits< ValueInfo >::child_begin(), llvm::GraphTraits< ValueInfo >::child_edge_begin(), llvm::GraphTraits< ValueInfo >::child_edge_end(), llvm::GraphTraits< ValueInfo >::child_end(), llvm::computeDeadSymbols(), computeImportForFunction(), llvm::computeSyntheticCounts(), llvm::ModuleSummaryIndex::discoverNodes(), llvm::FunctionImportGlobalProcessing::doImportAsDefinition(), getLinkageNameWithSpace(), isDSOLocal(), resolveFwdRef(), updateValueInfoForIndirectCalls(), and writeTypeIdSummaryRecord().
|
inline |
Definition at line 178 of file ModuleSummaryIndex.h.
References assert().
|
inline |
Definition at line 192 of file ModuleSummaryIndex.h.
Referenced by llvm::DenseMapInfo< ValueInfo >::isEqual().
| bool ValueInfo::isDSOLocal | ( | ) | const |
Definition at line 30 of file ModuleSummaryIndex.cpp.
References llvm::all_of(), and getSummaryList().
Referenced by llvm::FunctionImportGlobalProcessing::doImportAsDefinition().
|
inline |
Definition at line 193 of file ModuleSummaryIndex.h.
Referenced by resolveFwdRef().
|
inline |
Definition at line 187 of file ModuleSummaryIndex.h.
Referenced by getLinkageNameWithSpace(), getNodeVisualName(), and llvm::operator<<().
|
inline |
Definition at line 175 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 194 of file ModuleSummaryIndex.h.
Referenced by resolveFwdRef().
| PointerIntPair<const GlobalValueSummaryMapTy::value_type *, 2, int> llvm::ValueInfo::RefAndFlags |
Definition at line 167 of file ModuleSummaryIndex.h.
1.8.13