souffle
2.0.2-371-g6315b36
|
Parallel block of statements. More...
#include <Parallel.h>
Public Member Functions | |
Parallel * | clone () const override |
Create a clone (i.e. More... | |
Parallel () | |
template<typename... Stmts> | |
Parallel (Own< Statement > first, Own< Stmts >... rest) | |
Parallel (VecOwn< Statement > statements) | |
Public Member Functions inherited from souffle::ram::ListStatement | |
void | apply (const NodeMapper &map) override |
Apply the mapper to all child nodes. More... | |
std::vector< const Node * > | getChildNodes () const override |
Obtain list of all embedded child nodes. More... | |
std::vector< Statement * > | getStatements () const |
Get statements. More... | |
ListStatement ()=default | |
template<typename... Stmts> | |
ListStatement (Own< Stmts > &&... stmts) | |
ListStatement (VecOwn< Statement > statements) | |
Public Member Functions inherited from souffle::ram::Node | |
bool | operator!= (const Node &other) const |
Inequality check for two RAM nodes. More... | |
bool | operator== (const Node &other) const |
Equivalence check for two RAM nodes. More... | |
virtual void | rewrite (const Node *oldNode, Own< Node > newNode) |
Rewrite a child node. More... | |
virtual | ~Node ()=default |
Protected Member Functions | |
void | print (std::ostream &os, int tabpos) const override |
Pretty print with indentation. More... | |
Protected Member Functions inherited from souffle::ram::ListStatement | |
bool | equal (const Node &node) const override |
Equality check for two RAM nodes. More... | |
Protected Member Functions inherited from souffle::ram::Statement | |
void | print (std::ostream &os) const override |
Print RAM node. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from souffle::ram::Statement | |
static void | print (const Statement *statement, std::ostream &os, int tabpos) |
Pretty print jump-bed. More... | |
Protected Attributes inherited from souffle::ram::ListStatement | |
VecOwn< Statement > | statements |
Ordered list of RAM statements. More... | |
Parallel block of statements.
Execute statements in parallel and wait until all statements have completed their execution before completing the execution of the parallel block.
For example:
Definition at line 49 of file Parallel.h.
Definition at line 51 of file Parallel.h.
|
inline |
Definition at line 52 of file Parallel.h.
|
inline |
Definition at line 54 of file Parallel.h.
|
inlineoverridevirtual |
Create a clone (i.e.
deep copy) of this node
Implements souffle::ram::Statement.
Definition at line 57 of file Parallel.h.
|
inlineoverrideprotectedvirtual |
Pretty print with indentation.
Implements souffle::ram::Statement.
Definition at line 66 of file Parallel.h.