docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
node_dispatcher.h File Reference

Dispatcher base class for code generation from control flow nodes. More...

Go to the source code of this file.

Classes

class  sdfg::codegen::NodeDispatcher
 Base class for dispatching control flow nodes to code. More...

Namespaces

namespace  sdfg
namespace  sdfg::codegen

Detailed Description

Dispatcher base class for code generation from control flow nodes.

Dispatchers are responsible for generating code from SDFG control flow nodes. Each control flow node type (Block, Map, For, While, etc.) has a corresponding dispatcher that knows how to generate the appropriate code.

The dispatcher pattern allows separation of code generation logic from the SDFG representation, making it easier to support multiple target languages and platforms.

See also
node_dispatcher_registry.h for dispatcher registration
block_dispatcher.h for dataflow and library node dispatching