diff options
author | Ilia Mirkin <[email protected]> | 2014-09-19 01:21:52 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-09-25 22:15:49 -0400 |
commit | fca2216cedc631eec8d41763ab20a8a404b3af91 (patch) | |
tree | c84ea0e88897ae38b522f006ffcbff2e44819ec2 /src/gallium | |
parent | 1ae32e24ca0d03e739a39fa753a7e88cdd37681a (diff) |
nv50/ir: add some comments on edge classification
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_graph.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_graph.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_graph.cpp index 3f8d00a1c99..23414d54ab1 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_graph.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_graph.cpp @@ -336,6 +336,16 @@ IteratorRef Graph::safeIteratorCFG() return this->iteratorCFG(); } +/** + * Edge classification: + * + * We have a graph and want to classify the edges into one of four types: + * - TREE: edges that belong to a spanning tree of the graph + * - FORWARD: edges from a node to a descendent in the spanning tree + * - BACK: edges from a node to a parent (or itself) in the spanning tree + * - CROSS: all other edges (because they cross between branches in the + * spanning tree) + */ void Graph::classifyEdges() { int seq; |