Statement and control-flow syntax shared by the C family (C, C++, CUDA, HIP).
More...
|
| std::string | comment (const std::string &text) override |
| std::string | assignment (const std::string &lhs, const std::string &rhs) override |
| std::string | local_declaration (const std::string &name, const types::IType &type, const std::string &init="") override |
| | Declares a local, initialized if init is non-empty. Empty if the language needs no declaration.
|
| std::string | copy_bytes (const std::string &dst, const std::string &src, const std::string &size) override |
| std::string | break_statement () override |
| std::string | continue_statement () override |
| std::string | return_statement (const std::string &value) override |
| void | deallocation (PrettyPrinter &stream, const std::string &container, const types::IType &type) override |
| | Emits the release of a container the function owns, if its storage requires one.
|
| std::string | null_literal () override |
| std::string | address_of (const std::string &expr) override |
| std::string | dereference (const std::string &expr) override |
| std::string | size_of (const std::string &expr) override |
| std::string | reinterpret_cast_expr (const std::string &expr, const std::string &type) override |
| Body | begin_for (PrettyPrinter &stream, const structured_control_flow::StructuredLoop &loop, const LoopHints &hints) override |
| Body | begin_while (PrettyPrinter &stream) override |
| | An unconditional loop, left only through break or return.
|
| Body | begin_branch (PrettyPrinter &stream, size_t index, size_t count, const symbolic::Condition &condition) override |
| | Branch index of count branches of a conditional, guarded by condition.
|
| Body | begin_scope (PrettyPrinter &stream) override |
| void | end (PrettyPrinter &stream, const Body &body) override |
| | LanguageExtension (sdfg::Function &function, const std::string &external_prefix) |
| | LanguageExtension (sdfg::Function &function, const std::string &external_prefix) |
| virtual | ~LanguageExtension ()=default |
| const std::string & | external_prefix () const |
| virtual const std::string | language () const =0 |
| virtual std::string | primitive_type (const types::PrimitiveType prim_type)=0 |
| virtual std::string | declaration (const std::string &name, const types::IType &type, bool use_initializer=false, bool use_alignment=false)=0 |
| virtual std::string | type_cast (const std::string &name, const types::IType &type)=0 |
| virtual std::string | subset (const types::IType &type, const data_flow::Subset &subset)=0 |
| virtual std::string | expression (const symbolic::Expression expr)=0 |
| virtual std::string | access_node (const data_flow::AccessNode &node)=0 |
| virtual std::string | tasklet (const data_flow::Tasklet &tasklet)=0 |
| virtual std::string | zero (const types::PrimitiveType prim_type)=0 |
Statement and control-flow syntax shared by the C family (C, C++, CUDA, HIP).