|
LLVM
10.0.0
|
A NodeSet contains a set of SUnit DAG nodes with additional information that assigns a priority to the set. More...
#include "llvm/CodeGen/MachinePipeliner.h"
Public Types | |
| using | iterator = SetVector< SUnit * >::const_iterator |
Public Member Functions | |
| NodeSet ()=default | |
| NodeSet (iterator S, iterator E) | |
| bool | insert (SUnit *SU) |
| void | insert (iterator S, iterator E) |
| template<typename UnaryPredicate > | |
| bool | remove_if (UnaryPredicate P) |
| unsigned | count (SUnit *SU) const |
| bool | hasRecurrence () |
| unsigned | size () const |
| bool | empty () const |
| SUnit * | getNode (unsigned i) const |
| void | setRecMII (unsigned mii) |
| void | setColocate (unsigned c) |
| void | setExceedPressure (SUnit *SU) |
| bool | isExceedSU (SUnit *SU) |
| int | compareRecMII (NodeSet &RHS) |
| int | getRecMII () |
| void | computeNodeSetInfo (SwingSchedulerDAG *SSD) |
| Summarize node functions for the entire node set. More... | |
| unsigned | getLatency () |
| unsigned | getMaxDepth () |
| void | clear () |
| operator SetVector< SUnit * > & () | |
| bool | operator> (const NodeSet &RHS) const |
| Sort the node sets by importance. More... | |
| bool | operator== (const NodeSet &RHS) const |
| bool | operator!= (const NodeSet &RHS) const |
| iterator | begin () |
| iterator | end () |
| void | print (raw_ostream &os) const |
| LLVM_DUMP_METHOD void | dump () const |
A NodeSet contains a set of SUnit DAG nodes with additional information that assigns a priority to the set.
Definition at line 317 of file MachinePipeliner.h.
| using llvm::NodeSet::iterator = SetVector<SUnit *>::const_iterator |
Definition at line 328 of file MachinePipeliner.h.
|
default |
Definition at line 331 of file MachinePipeliner.h.
References llvm::SetVector< T, Vector, Set >::count(), llvm::numbers::e, and llvm::SetVector< T, Vector, Set >::size().
|
inline |
Definition at line 415 of file MachinePipeliner.h.
References llvm::SetVector< T, Vector, Set >::begin().
Referenced by node_eq().
|
inline |
Definition at line 381 of file MachinePipeliner.h.
References llvm::SetVector< T, Vector, Set >::clear().
Referenced by computeLiveOuts().
|
inline |
Definition at line 365 of file MachinePipeliner.h.
Referenced by computeLiveOuts(), and isIntersect().
|
inline |
Summarize node functions for the entire node set.
Definition at line 370 of file MachinePipeliner.h.
References llvm::SwingSchedulerDAG::getDepth(), llvm::SwingSchedulerDAG::getMOV(), and llvm::max().
Definition at line 347 of file MachinePipeliner.h.
References llvm::SetVector< T, Vector, Set >::count().
Referenced by isIntersect(), and llvm::SMSchedule::isValidSchedule().
| LLVM_DUMP_METHOD void NodeSet::dump | ( | ) | const |
Definition at line 2887 of file MachinePipeliner.cpp.
References llvm::dbgs(), and llvm::Pass::print().
|
inline |
Definition at line 353 of file MachinePipeliner.h.
References llvm::SetVector< T, Vector, Set >::empty().
Referenced by computeLiveOuts(), and node_eq().
|
inline |
Definition at line 416 of file MachinePipeliner.h.
References llvm::Pass::dump(), llvm::SetVector< T, Vector, Set >::end(), LLVM_DUMP_METHOD, and llvm::Pass::print().
Referenced by node_eq().
|
inline |
Definition at line 377 of file MachinePipeliner.h.
References llvm::Latency.
|
inline |
Definition at line 379 of file MachinePipeliner.h.
References MaxDepth.
Definition at line 355 of file MachinePipeliner.h.
Referenced by isIntersect().
|
inline |
Definition at line 367 of file MachinePipeliner.h.
Referenced by isIntersect().
|
inline |
Definition at line 349 of file MachinePipeliner.h.
Definition at line 339 of file MachinePipeliner.h.
References llvm::SetVector< T, Vector, Set >::insert().
Referenced by computeLiveOuts(), node_eq(), and nodes_for_root().
Definition at line 341 of file MachinePipeliner.h.
References llvm::SetVector< T, Vector, Set >::insert().
Definition at line 363 of file MachinePipeliner.h.
Definition at line 391 of file MachinePipeliner.h.
Definition at line 413 of file MachinePipeliner.h.
References llvm::operator==().
Definition at line 408 of file MachinePipeliner.h.
Sort the node sets by importance.
First, rank them by recurrence MII, then by mobility (least mobile done first), and finally by depth. Each node set may contain a colocate value which is used as the first tie breaker, if it's set.
Definition at line 397 of file MachinePipeliner.h.
| void NodeSet::print | ( | raw_ostream & | os | ) | const |
Definition at line 2861 of file MachinePipeliner.cpp.
References I, MaxDepth, and llvm::size().
|
inline |
Definition at line 343 of file MachinePipeliner.h.
References llvm::SetVector< T, Vector, Set >::remove_if().
|
inline |
Definition at line 359 of file MachinePipeliner.h.
Referenced by computeLiveOuts().
|
inline |
Definition at line 361 of file MachinePipeliner.h.
|
inline |
Definition at line 357 of file MachinePipeliner.h.
Referenced by isIntersect().
|
inline |
Definition at line 351 of file MachinePipeliner.h.
References llvm::SetVector< T, Vector, Set >::size().
1.8.13