CIRCT
20.0.0git
|
An iterator to transparently surface an operation's def-use dependences from the SSA subgraph (induced by the registered operations), as well as auxiliary, operation-to-operation dependences explicitly provided by the client. More...
#include <DependenceIterator.h>
Public Member Functions | |
DependenceIterator (Problem &problem, Operation *op, bool end=false) | |
Construct an iterator over the op's def-use dependences (i.e. More... | |
bool | operator== (const DependenceIterator &other) const |
const Dependence & | operator* () const |
DependenceIterator & | operator++ () |
Private Member Functions | |
void | findNextDependence () |
Private Attributes | |
Problem & | problem |
Operation * | op |
unsigned | operandIdx |
unsigned | auxPredIdx |
llvm::SmallSetVector< Operation *, 4 > * | auxPreds |
Dependence | dep |
An iterator to transparently surface an operation's def-use dependences from the SSA subgraph (induced by the registered operations), as well as auxiliary, operation-to-operation dependences explicitly provided by the client.
Definition at line 87 of file DependenceIterator.h.
DependenceIterator::DependenceIterator | ( | Problem & | problem, |
Operation * | op, | ||
bool | end = false |
||
) |
Construct an iterator over the op's
def-use dependences (i.e.
result values of other operations registered in the scheduling problem, which are used by one of op's
operands), and over auxiliary dependences (i.e. from other operation to op
).
Definition at line 480 of file Problems.cpp.
References circt::scheduling::Problem::auxDependences, auxPreds, findNextDependence(), op, and problem.
|
private |
Definition at line 492 of file Problems.cpp.
References auxPredIdx, auxPreds, dep, circt::scheduling::detail::Dependence::getSource(), circt::scheduling::Problem::hasOperation(), op, operandIdx, and problem.
Referenced by DependenceIterator(), and operator++().
|
inline |
Definition at line 101 of file DependenceIterator.h.
References dep.
|
inline |
Definition at line 103 of file DependenceIterator.h.
References findNextDependence().
|
inline |
Definition at line 97 of file DependenceIterator.h.
References dep.
|
private |
Definition at line 115 of file DependenceIterator.h.
Referenced by findNextDependence().
|
private |
Definition at line 116 of file DependenceIterator.h.
Referenced by DependenceIterator(), and findNextDependence().
|
private |
Definition at line 118 of file DependenceIterator.h.
Referenced by findNextDependence(), operator*(), and operator==().
|
private |
Definition at line 112 of file DependenceIterator.h.
Referenced by DependenceIterator(), and findNextDependence().
|
private |
Definition at line 114 of file DependenceIterator.h.
Referenced by findNextDependence().
|
private |
Definition at line 111 of file DependenceIterator.h.
Referenced by DependenceIterator(), and findNextDependence().