blob: d5441c8802dbfec445dc8accf08f00b0f3aeb1e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef CLAUSES_HH
#define CLAUSES_HH
#include <iostream>
#include <cctk.h>
#include <cctki_Schedule.h>
#include <clause.hh>
namespace Requirements {
using namespace std;
struct clauses_t {
vector<clause_t> reads, writes;
clauses_t() {}
void setup(cFunctionData const* function_data);
// Input/Output helpers
void input (istream& is);
void output (ostream& os) const;
};
inline ostream& operator<< (ostream& os, const clauses_t& a) {
a.output(os);
return os;
}
};
#endif
|