36 |
STMT_LIST, |
STMT_LIST, |
37 |
STMT_BRANCH, |
STMT_BRANCH, |
38 |
STMT_LOOP, |
STMT_LOOP, |
39 |
|
STMT_SYNC, |
40 |
}; |
}; |
41 |
|
|
42 |
class Node { |
class Node { |
496 |
bool isPolyphonic() const { return m_condition->isPolyphonic() || m_statements->isPolyphonic(); } |
bool isPolyphonic() const { return m_condition->isPolyphonic() || m_statements->isPolyphonic(); } |
497 |
}; |
}; |
498 |
|
|
499 |
|
class SyncBlock : public Statement { |
500 |
|
StatementsRef m_statements; |
501 |
|
public: |
502 |
|
SyncBlock(StatementsRef statements) : m_statements(statements) {} |
503 |
|
StmtType_t statementType() const { return STMT_SYNC; } |
504 |
|
void dump(int level = 0); |
505 |
|
Statements* statements() const; |
506 |
|
bool isPolyphonic() const { return m_statements->isPolyphonic(); } |
507 |
|
}; |
508 |
|
typedef Ref<SyncBlock,Node> SyncBlockRef; |
509 |
|
|
510 |
class Neg : public IntExpr { |
class Neg : public IntExpr { |
511 |
IntExprRef expr; |
IntExprRef expr; |
512 |
public: |
public: |