cloog_domain_from_isl_set: turn parameter sets into regular sets
[cloog/uuh.git] / include / cloog / stride.h
blobf93dc4e3f867c724c7b47c097f7c2894387853da
1 #ifndef CLOOG_STRIDE_H
2 #define CLOOG_STRIDE_H
4 #if defined(__cplusplus)
5 extern "C" {
6 #endif
8 /**
9 * Information about strides.
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;
18 typedef struct cloogstride CloogStride;
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);
26 CloogConstraint *cloog_constraint_stride_lower_bound(CloogConstraint *c,
27 int level, CloogStride *stride);
29 #if defined(__cplusplus)
31 #endif
33 #endif