1 #ifndef CLOOG_STRIDE_H
2 #define CLOOG_STRIDE_H
3 
4 #if defined(__cplusplus)
5 extern "C" {
6 #endif
7 
8 /**
9  * Information about strides.
10  */
11 struct cloogstride {
12   int references;
13   cloog_int_t stride;         /**< The actual stride. */
14   cloog_int_t offset;         /**< Offset of strided loop. */
15   cloog_int_t factor;
16   CloogConstraint *constraint;
17 };
18 typedef struct cloogstride CloogStride;
19 
20 CloogStride *cloog_stride_alloc(cloog_int_t stride, cloog_int_t offset);
21 CloogStride *cloog_stride_alloc_from_constraint(cloog_int_t stride,
22 	CloogConstraint *constraint, cloog_int_t factor);
23 CloogStride *cloog_stride_copy(CloogStride *stride);
24 void cloog_stride_free(CloogStride *stride);
25 
26 CloogConstraint *cloog_constraint_stride_lower_bound(CloogConstraint *c,
27 	int level, CloogStride *stride);
28 
29 #if defined(__cplusplus)
30 }
31 #endif
32 
33 #endif
34