Home | History | Annotate | Download | only in cloog
      1 #ifndef CLOOG_STATE_H
      2 #define CLOOG_STATE_H
      3 
      4 struct cloogbackend;
      5 typedef struct cloogbackend CloogBackend;
      6 
      7 #if defined(__cplusplus)
      8 extern "C" {
      9 #endif
     10 
     11 struct cloogstate {
     12   CloogBackend *backend;
     13 
     14   cloog_int_t zero;
     15   cloog_int_t one;
     16   cloog_int_t negone;
     17 
     18   int block_allocated;
     19   int block_freed;
     20   int block_max;
     21 
     22   int domain_allocated;
     23   int domain_freed;
     24   int domain_max;
     25 
     26   int loop_allocated;
     27   int loop_freed;
     28   int loop_max;
     29 
     30   int statement_allocated;
     31   int statement_freed;
     32   int statement_max;
     33 };
     34 typedef struct cloogstate CloogState;
     35 
     36 CloogState *cloog_core_state_malloc(void);
     37 CloogState *cloog_state_malloc(void);
     38 
     39 void cloog_core_state_free(CloogState *state);
     40 void cloog_state_free(CloogState *state);
     41 
     42 #if defined(__cplusplus)
     43 }
     44 #endif
     45 
     46 #endif
     47