docc
0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
for_each.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <functional>
4
#include "
sdfg/structured_control_flow/block.h
"
5
#include "
sdfg/structured_control_flow/control_flow_node.h
"
6
7
namespace
sdfg
{
8
namespace
visitor
{
9
12
void
for_each_block
(
13
structured_control_flow::ControlFlowNode
& node,
const
std::function<
void
(
structured_control_flow::Block
&)>& fn
14
);
15
16
}
// namespace visitor
17
}
// namespace sdfg
block.h
sdfg::structured_control_flow::Block
A control flow node representing a basic block with dataflow computations.
Definition
block.h:42
sdfg::structured_control_flow::ControlFlowNode
Base class for all structured control flow nodes in a StructuredSDFG.
Definition
control_flow_node.h:44
control_flow_node.h
sdfg::visitor
Definition
control_flow_node.h:16
sdfg::visitor::for_each_block
void for_each_block(structured_control_flow::ControlFlowNode &node, const std::function< void(structured_control_flow::Block &)> &fn)
Visit every Block reachable under node (recursing through sequences, loops, and if-else branches).
sdfg
Definition
analysis.h:7
sdfg
include
sdfg
visitor
for_each.h
Generated by
1.15.0