docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::codegen::ForDispatcher Class Reference

#include <sdfg/codegen/dispatchers/for_dispatcher.h>

Inheritance diagram for sdfg::codegen::ForDispatcher:
[legend]

Public Member Functions

 ForDispatcher (LanguageExtension &language_extension, StructuredSDFG &sdfg, analysis::AnalysisManager &analysis_manager, structured_control_flow::For &node, InstrumentationPlan &instrumentation_plan, ArgCapturePlan &arg_capture_plan)
void dispatch_node (PrettyPrinter &main_stream, PrettyPrinter &globals_stream, CodeSnippetFactory &library_snippet_factory) override
InstrumentationInfo instrumentation_info () const override
 Bad design.
Public Member Functions inherited from sdfg::codegen::NodeDispatcher
 NodeDispatcher (LanguageExtension &language_extension, StructuredSDFG &sdfg, analysis::AnalysisManager &analysis_manager, structured_control_flow::ControlFlowNode &node, InstrumentationPlan &instrumentation_plan, ArgCapturePlan &arg_capture_plan)
virtual ~NodeDispatcher ()=default
InstrumentationInfo instrumentation_info_for_group () const
virtual void dispatch (PrettyPrinter &main_stream, PrettyPrinter &globals_stream, CodeSnippetFactory &library_snippet_factory)

Additional Inherited Members

Protected Member Functions inherited from sdfg::codegen::NodeDispatcher
virtual bool begin_node (PrettyPrinter &stream)
virtual void end_node (PrettyPrinter &stream, bool has_declaration)
Protected Attributes inherited from sdfg::codegen::NodeDispatcher
LanguageExtension & language_extension_
StructuredSDFG & sdfg_
InstrumentationPlan & instrumentation_plan_
ArgCapturePlan & arg_capture_plan_
analysis::AnalysisManager & analysis_manager_

Constructor & Destructor Documentation

◆ ForDispatcher()

sdfg::codegen::ForDispatcher::ForDispatcher ( LanguageExtension & language_extension,
StructuredSDFG & sdfg,
analysis::AnalysisManager & analysis_manager,
structured_control_flow::For & node,
InstrumentationPlan & instrumentation_plan,
ArgCapturePlan & arg_capture_plan )

Member Function Documentation

◆ dispatch_node()

void sdfg::codegen::ForDispatcher::dispatch_node ( PrettyPrinter & main_stream,
PrettyPrinter & globals_stream,
CodeSnippetFactory & library_snippet_factory )
overridevirtual

◆ instrumentation_info()

InstrumentationInfo sdfg::codegen::ForDispatcher::instrumentation_info ( ) const
overridevirtual

Bad design.

We already have fields in this class and have to bind an instance to a single node. Just set a field to sth. of the instrumentation plan where the node can register more details. But this is a breaking change

Reimplemented from sdfg::codegen::NodeDispatcher.


The documentation for this class was generated from the following file: