|
LLVM 22.0.0git
|
Public Member Functions | |
| Value2SUsMap (unsigned lat=0) | |
| ValueType & | operator[] (const SUList &Key) |
| To keep NumNodes up to date, insert() is used instead of this operator w/ push_back(). | |
| void | insert (SUnit *SU, ValueType V) |
| Adds SU to the SUList of V. | |
| void | clearList (ValueType V) |
| Clears the list of SUs mapped to V. | |
| void | clear () |
| Clears map from all contents. | |
| unsigned | size () const |
| void | reComputeSize () |
| Counts the number of SUs in this map after a reduction. | |
| unsigned | getTrueMemOrderLatency () const |
| void | dump () |
| Public Member Functions inherited from llvm::MapVector< ValueType, SUList, SmallDenseMap< ValueType, unsigned, N >, SmallVector< std::pair< ValueType, SUList >, N > > | |
| void | remove_if (Function Pred) |
| SmallVector< std::pair< ValueType, SUList >, N > | takeVector () |
| Clear the MapVector and return the underlying vector. | |
| ArrayRef< value_type > | getArrayRef () const |
| Returns an array reference of the underlying vector. | |
| size_type | size () const |
| void | reserve (size_type NumEntries) |
Grow the MapVector so that it can contain at least NumEntries items before resizing again. | |
| iterator | begin () |
| iterator | end () |
| reverse_iterator | rbegin () |
| reverse_iterator | rend () |
| bool | empty () const |
| std::pair< ValueType, SUList > & | front () |
| std::pair< ValueType, SUList > & | back () |
| void | clear () |
| void | swap (MapVector &RHS) |
| SUList & | operator[] (const ValueType &Key) |
| SUList | lookup (const ValueType &Key) const |
| std::pair< iterator, bool > | try_emplace (const ValueType &Key, Ts &&...Args) |
| std::pair< iterator, bool > | insert (const std::pair< ValueType, SUList > &KV) |
| std::pair< iterator, bool > | insert_or_assign (const ValueType &Key, V &&Val) |
| bool | contains (const ValueType &Key) const |
| size_type | count (const ValueType &Key) const |
| iterator | find (const ValueType &Key) |
| void | pop_back () |
| Remove the last element from the vector. | |
| SmallVector< std::pair< ValueType, SUList >, N >::iterator | erase (typename SmallVector< std::pair< ValueType, SUList >, N >::iterator Iterator) |
| Remove the element given by Iterator. | |
Additional Inherited Members | |
| Public Types inherited from llvm::MapVector< ValueType, SUList, SmallDenseMap< ValueType, unsigned, N >, SmallVector< std::pair< ValueType, SUList >, N > > | |
| using | key_type |
| using | value_type |
| using | size_type |
| using | iterator |
| using | const_iterator |
| using | reverse_iterator |
| using | const_reverse_iterator |
Definition at line 639 of file ScheduleDAGInstrs.cpp.
|
inline |
Definition at line 648 of file ScheduleDAGInstrs.cpp.
|
inline |
Clears map from all contents.
Definition at line 674 of file ScheduleDAGInstrs.cpp.
Referenced by llvm::ScheduleDAGInstrs::addBarrierChain().
|
inline |
Clears the list of SUs mapped to V.
Definition at line 663 of file ScheduleDAGInstrs.cpp.
References assert(), llvm::ScheduleDAGInstrs::end(), and llvm::MapVector< ValueType, SUList, SmallDenseMap< ValueType, unsigned, N >, SmallVector< std::pair< ValueType, SUList >, N > >::find().
| void llvm::ScheduleDAGInstrs::Value2SUsMap::dump | ( | ) |
Definition at line 1057 of file ScheduleDAGInstrs.cpp.
References llvm::cast(), llvm::dbgs(), dumpSUList(), llvm::isa(), and llvm_unreachable.
|
inline |
Definition at line 688 of file ScheduleDAGInstrs.cpp.
Referenced by llvm::ScheduleDAGInstrs::addChainDependencies(), and llvm::ScheduleDAGInstrs::addChainDependencies().
Adds SU to the SUList of V.
If Map grows huge, reduce its size by calling reduce().
Definition at line 657 of file ScheduleDAGInstrs.cpp.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::operator[]().
Referenced by llvm::ScheduleDAGInstrs::buildSchedGraph().
To keep NumNodes up to date, insert() is used instead of this operator w/ push_back().
Definition at line 652 of file ScheduleDAGInstrs.cpp.
References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key, and llvm_unreachable.
|
inline |
Counts the number of SUs in this map after a reduction.
Definition at line 682 of file ScheduleDAGInstrs.cpp.
References I.
Referenced by llvm::ScheduleDAGInstrs::insertBarrierChain().
|
inline |
Definition at line 679 of file ScheduleDAGInstrs.cpp.
Referenced by llvm::ScheduleDAGInstrs::buildSchedGraph().