docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
math_node.h
Go to the documentation of this file.
1
36
37#pragma once
38
43
44namespace sdfg {
45
46namespace analysis {
47class AnalysisManager;
48}
49
50namespace builder {
52}
53
54namespace math {
55
69public:
82 size_t element_id,
83 const DebugInfo& debug_info,
87 const std::vector<std::string>& outputs,
88 const std::vector<std::string>& inputs,
90 bool side_effects = false
91 );
92
108};
109
110} // namespace math
111} // namespace sdfg
Definition element.h:30
size_t element_id() const
const DebugInfo & debug_info() const
Definition analysis.h:53
Note: Even though the class references unique_ptr, it will never delete an SDFG it has a reference to...
Definition structured_sdfg_builder.h:44
const std::vector< std::string > & outputs() const
Get output connector names (const).
const std::vector< std::string > & inputs() const
Get input connector names (const).
Definition data_flow_graph.h:29
graph::Vertex vertex() const
Get the graph vertex for this node.
Base class for all library nodes in the dataflow graph.
Definition library_node.h:106
const LibraryNodeCode & code() const
Get the operation code.
const ImplementationType & implementation_type() const
Get the implementation type (const).
virtual passes::LibNodeExpander::ExpandOutcome expand(passes::LibNodeExpander::ExpandContext &context, structured_control_flow::Block &block)=0
Expand this node into its internal operations.
MathNode(size_t element_id, const DebugInfo &debug_info, const graph::Vertex vertex, data_flow::DataFlowGraph &parent, const data_flow::LibraryNodeCode &code, const std::vector< std::string > &outputs, const std::vector< std::string > &inputs, const data_flow::ImplementationType &implementation_type, bool side_effects=false)
Construct a mathematical library node.
Definition lib_node_expander.h:122
A control flow node representing a basic block with dataflow computations.
Definition block.h:42
Library node definitions for calling functions beyond simple instructions.
Definition analysis.h:8
Definition function_builder.h:10
StringEnum ImplementationType
Implementation type identifier for library nodes.
Definition library_node.h:75
StringEnum LibraryNodeCode
Definition library_node.h:65
boost::graph_traits< Graph >::vertex_descriptor Vertex
Definition graph.h:25
Definition batched_gemm_node.h:12
Definition analysis.h:7
Definition lib_node_expander.h:12