cloog_loop_from_domain: call cloog_loop_malloc
[cloog.git] / include / cloog / stride.h
blob88fe1e61b59aab98cbe2a9380335187e1be50537
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 #if defined(__cplusplus)
28 #endif
30 #endif