Skip to main content

Module dataflow

Module dataflow 

Source
Expand description

Dataflow graph construction and analysis.

Builds a dataflow graph (DFG) from an IR function by analyzing read/write sets of each statement and computing data dependencies (RAW, WAR, WAW) and control dependencies (barriers).

Provides topological sorting and critical path analysis.

Structs§

CriticalPathResult
Result of critical path analysis.
DataflowGraph
A dataflow graph built from an IR function’s statements.
DfgEdge
An edge in the dataflow graph representing a dependency.
DfgNode
A node in the dataflow graph representing a statement.

Enums§

DataflowError
Errors during dataflow analysis.
DependencyKind
The kind of dependency between two DFG nodes.
DfgNodeKind
The kind of a DFG node, indicating what type of statement it represents.