docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
stdlib_node.h
Go to the documentation of this file.
1#pragma once
3
4namespace sdfg::stdlib {
5
7protected:
21 size_t element_id,
22 const DebugInfo& debug_info,
26 const std::vector<std::string>& outputs,
27 const std::vector<std::string>& inputs,
28 const bool side_effect,
30 );
31
32public:
33 [[nodiscard]] symbolic::Expression flop() const override;
34};
35
36} // namespace sdfg::stdlib
Definition element.h:30
size_t element_id() const
const DebugInfo & debug_info() const
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).
bool side_effect() const override
Check if this node has side effects.
symbolic::Expression flop() const override
Calculate floating point operations for this node.
StdlibNode(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 bool side_effect, const data_flow::ImplementationType &implementation_type)
Protected constructor for library nodes.
SymEngine::RCP< const SymEngine::Basic > Expression
Reference-counted pointer to a symbolic expression (SymEngine Basic).
Definition symbolic.h:83
Library node definitions for calling functions beyond simple instructions.
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 alloca.h:10