|
LLVM 24.0.0git
|
Map from global value GUID to corresponding summary structures. More...
#include "llvm/IR/ModuleSummaryIndex.h"
Classes | |
| class | SortedEntriesRange |
| An owning range over the entries sorted by key, yielding each entry by reference. More... | |
Public Types | |
| using | key_type = GlobalValue::GUID |
| using | mapped_type = GlobalValueSummaryInfo |
| using | value_type = std::pair<key_type, mapped_type> |
| using | iterator = std::deque<value_type>::iterator |
| using | const_iterator = std::deque<value_type>::const_iterator |
| using | size_type = std::deque<value_type>::size_type |
Public Member Functions | |
| template<typename... Ts> | |
| std::pair< iterator, bool > | try_emplace (key_type Key, Ts &&...Args) |
| iterator | find (key_type Key) |
| const_iterator | find (key_type Key) const |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| size_type | size () const |
| bool | empty () const |
| SortedEntriesRange | sortedRange () const |
| Return an owning range over the entries sorted by key. | |
Map from global value GUID to corresponding summary structures.
Use a DenseMap for O(1) lookup and a std::deque for storage. std::deque guarantees that pointers to elements are not invalidated by push_back, which is required because ValueInfo stores a raw pointer to elements of this container.
Definition at line 219 of file ModuleSummaryIndex.h.
| using llvm::GlobalValueSummaryMap::const_iterator = std::deque<value_type>::const_iterator |
Definition at line 225 of file ModuleSummaryIndex.h.
| using llvm::GlobalValueSummaryMap::iterator = std::deque<value_type>::iterator |
Definition at line 224 of file ModuleSummaryIndex.h.
Definition at line 221 of file ModuleSummaryIndex.h.
Definition at line 222 of file ModuleSummaryIndex.h.
| using llvm::GlobalValueSummaryMap::size_type = std::deque<value_type>::size_type |
Definition at line 226 of file ModuleSummaryIndex.h.
| using llvm::GlobalValueSummaryMap::value_type = std::pair<key_type, mapped_type> |
Definition at line 223 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 257 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 258 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 262 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 259 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 260 of file ModuleSummaryIndex.h.
Definition at line 247 of file ModuleSummaryIndex.h.
References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key.
|
inline |
Definition at line 252 of file ModuleSummaryIndex.h.
References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key.
|
inline |
Definition at line 261 of file ModuleSummaryIndex.h.
|
inline |
Return an owning range over the entries sorted by key.
Storage is in insertion order; some serialization paths and tests rely on key-sorted iteration.
Definition at line 284 of file ModuleSummaryIndex.h.
|
inline |
Definition at line 237 of file ModuleSummaryIndex.h.
References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key.