Polly 20.0.0git
Classes | Macros | Enumerations | Functions | Variables
isl_schedule_constraints.c File Reference
#include <isl_schedule_constraints.h>
#include <isl/schedule.h>
#include <isl/space.h>
#include <isl/set.h>
#include <isl/map.h>
#include <isl/union_set.h>
#include <isl/union_map.h>
#include <isl/stream.h>
#include "print_yaml_field_templ.c"
#include <print_templ_yaml.c>
#include "extract_key.c"
#include "read_in_string_templ.c"
#include "isl_read_from_str_templ.c"

Go to the source code of this file.

Classes

struct  isl_schedule_constraints
 

Macros

#define BASE   set
 
#define BASE   union_set
 
#define BASE   union_map
 
#define BASE   schedule_constraints
 
#define KEY   enum isl_sc_key
 
#define KEY_ERROR   isl_sc_key_error
 
#define KEY_END   isl_sc_key_end
 
#define KEY_STR   key_str
 
#define KEY_EXTRACT   extract_key
 
#define KEY_GET   get_key
 
#define BASE   set
 
#define BASE   union_set
 
#define BASE   union_map
 
#define TYPE_BASE   schedule_constraints
 

Enumerations

enum  isl_sc_key {
  isl_sc_key_error = -1 , isl_sc_key_validity = isl_edge_validity , isl_sc_key_coincidence = isl_edge_coincidence , isl_sc_key_condition = isl_edge_condition ,
  isl_sc_key_conditional_validity = isl_edge_conditional_validity , isl_sc_key_proximity = isl_edge_proximity , isl_sc_key_domain , isl_sc_key_context ,
  isl_sc_key_end
}
 

Functions

__isl_give isl_schedule_constraintsisl_schedule_constraints_copy (__isl_keep isl_schedule_constraints *sc)
 
static __isl_give isl_schedule_constraintsisl_schedule_constraints_alloc (isl_ctx *ctx)
 
static __isl_give isl_schedule_constraintsisl_schedule_constraints_init (__isl_take isl_schedule_constraints *sc)
 
__isl_give isl_schedule_constraintsisl_schedule_constraints_on_domain (__isl_take isl_union_set *domain)
 
static __isl_give isl_schedule_constraintsisl_schedule_constraints_set_domain (__isl_take isl_schedule_constraints *sc, __isl_take isl_union_set *domain)
 
__isl_give isl_schedule_constraintsisl_schedule_constraints_set_context (__isl_take isl_schedule_constraints *sc, __isl_take isl_set *context)
 
static __isl_give isl_schedule_constraintsisl_schedule_constraints_set (__isl_take isl_schedule_constraints *sc, enum isl_edge_type type, __isl_take isl_union_map *c)
 
__isl_give isl_schedule_constraintsisl_schedule_constraints_set_validity (__isl_take isl_schedule_constraints *sc, __isl_take isl_union_map *validity)
 
__isl_give isl_schedule_constraintsisl_schedule_constraints_set_coincidence (__isl_take isl_schedule_constraints *sc, __isl_take isl_union_map *coincidence)
 
__isl_give isl_schedule_constraintsisl_schedule_constraints_set_proximity (__isl_take isl_schedule_constraints *sc, __isl_take isl_union_map *proximity)
 
__isl_give isl_schedule_constraintsisl_schedule_constraints_set_conditional_validity (__isl_take isl_schedule_constraints *sc, __isl_take isl_union_map *condition, __isl_take isl_union_map *validity)
 
__isl_null isl_schedule_constraintsisl_schedule_constraints_free (__isl_take isl_schedule_constraints *sc)
 
isl_ctxisl_schedule_constraints_get_ctx (__isl_keep isl_schedule_constraints *sc)
 
__isl_give isl_union_setisl_schedule_constraints_get_domain (__isl_keep isl_schedule_constraints *sc)
 
__isl_give isl_setisl_schedule_constraints_get_context (__isl_keep isl_schedule_constraints *sc)
 
__isl_give isl_union_mapisl_schedule_constraints_get (__isl_keep isl_schedule_constraints *sc, enum isl_edge_type type)
 
__isl_give isl_union_mapisl_schedule_constraints_get_validity (__isl_keep isl_schedule_constraints *sc)
 
__isl_give isl_union_mapisl_schedule_constraints_get_coincidence (__isl_keep isl_schedule_constraints *sc)
 
__isl_give isl_union_mapisl_schedule_constraints_get_proximity (__isl_keep isl_schedule_constraints *sc)
 
__isl_give isl_union_mapisl_schedule_constraints_get_conditional_validity (__isl_keep isl_schedule_constraints *sc)
 
__isl_give isl_union_mapisl_schedule_constraints_get_conditional_validity_condition (__isl_keep isl_schedule_constraints *sc)
 
__isl_give isl_schedule_constraintsisl_schedule_constraints_add (__isl_take isl_schedule_constraints *sc, enum isl_edge_type type, __isl_take isl_union_map *c)
 
static int may_be_tagged (enum isl_edge_type type)
 
static __isl_give isl_union_mapapply_factor_domain (__isl_take isl_union_map *c, __isl_keep isl_union_map *umap)
 
static __isl_give isl_union_mapapply (__isl_take isl_union_map *c, __isl_keep isl_union_map *umap, int tag)
 
__isl_give isl_schedule_constraintsisl_schedule_constraints_apply (__isl_take isl_schedule_constraints *sc, __isl_take isl_union_map *umap)
 
static __isl_give isl_printerprint_constraint (__isl_take isl_printer *p, __isl_keep isl_schedule_constraints *sc, enum isl_edge_type type)
 
__isl_give isl_printerisl_printer_print_schedule_constraints (__isl_take isl_printer *p, __isl_keep isl_schedule_constraints *sc)
 
__isl_give isl_schedule_constraintsisl_stream_read_schedule_constraints (isl_stream *s)
 
__isl_give isl_schedule_constraintsisl_schedule_constraints_read_from_file (isl_ctx *ctx, FILE *input)
 
__isl_give isl_schedule_constraintsisl_schedule_constraints_align_params (__isl_take isl_schedule_constraints *sc)
 
static isl_stat add_n_basic_map (__isl_take isl_map *map, void *user)
 
int isl_schedule_constraints_n_basic_map (__isl_keep isl_schedule_constraints *sc)
 
isl_size isl_schedule_constraints_n_map (__isl_keep isl_schedule_constraints *sc)
 

Variables

static char * key_str []
 

Macro Definition Documentation

◆ BASE [1/7]

#define BASE   set

Definition at line 581 of file isl_schedule_constraints.c.

◆ BASE [2/7]

#define BASE   union_set

Definition at line 581 of file isl_schedule_constraints.c.

◆ BASE [3/7]

#define BASE   union_map

Definition at line 581 of file isl_schedule_constraints.c.

◆ BASE [4/7]

#define BASE   schedule_constraints

Definition at line 581 of file isl_schedule_constraints.c.

◆ BASE [5/7]

#define BASE   set

Definition at line 581 of file isl_schedule_constraints.c.

◆ BASE [6/7]

#define BASE   union_set

Definition at line 581 of file isl_schedule_constraints.c.

◆ BASE [7/7]

#define BASE   union_map

Definition at line 581 of file isl_schedule_constraints.c.

◆ KEY

#define KEY   enum isl_sc_key

Definition at line 559 of file isl_schedule_constraints.c.

◆ KEY_END

#define KEY_END   isl_sc_key_end

Definition at line 563 of file isl_schedule_constraints.c.

◆ KEY_ERROR

#define KEY_ERROR   isl_sc_key_error

Definition at line 561 of file isl_schedule_constraints.c.

◆ KEY_EXTRACT

#define KEY_EXTRACT   extract_key

Definition at line 567 of file isl_schedule_constraints.c.

◆ KEY_GET

#define KEY_GET   get_key

Definition at line 569 of file isl_schedule_constraints.c.

◆ KEY_STR

#define KEY_STR   key_str

Definition at line 565 of file isl_schedule_constraints.c.

◆ TYPE_BASE

#define TYPE_BASE   schedule_constraints

Definition at line 678 of file isl_schedule_constraints.c.

Enumeration Type Documentation

◆ isl_sc_key

enum isl_sc_key
Enumerator
isl_sc_key_error 
isl_sc_key_validity 
isl_sc_key_coincidence 
isl_sc_key_condition 
isl_sc_key_conditional_validity 
isl_sc_key_proximity 
isl_sc_key_domain 
isl_sc_key_context 
isl_sc_key_end 

Definition at line 463 of file isl_schedule_constraints.c.

Function Documentation

◆ add_n_basic_map()

static isl_stat add_n_basic_map ( __isl_take isl_map map,
void *  user 
)
static

◆ apply()

static __isl_give isl_union_map * apply ( __isl_take isl_union_map c,
__isl_keep isl_union_map umap,
int  tag 
)
static

◆ apply_factor_domain()

static __isl_give isl_union_map * apply_factor_domain ( __isl_take isl_union_map c,
__isl_keep isl_union_map umap 
)
static

◆ isl_printer_print_schedule_constraints()

__isl_give isl_printer * isl_printer_print_schedule_constraints ( __isl_take isl_printer p,
__isl_keep isl_schedule_constraints sc 
)

◆ isl_schedule_constraints_add()

__isl_give isl_schedule_constraints * isl_schedule_constraints_add ( __isl_take isl_schedule_constraints sc,
enum isl_edge_type  type,
__isl_take isl_union_map c 
)

◆ isl_schedule_constraints_align_params()

__isl_give isl_schedule_constraints * isl_schedule_constraints_align_params ( __isl_take isl_schedule_constraints sc)

◆ isl_schedule_constraints_alloc()

static __isl_give isl_schedule_constraints * isl_schedule_constraints_alloc ( isl_ctx ctx)
static

◆ isl_schedule_constraints_apply()

__isl_give isl_schedule_constraints * isl_schedule_constraints_apply ( __isl_take isl_schedule_constraints sc,
__isl_take isl_union_map umap 
)

◆ isl_schedule_constraints_copy()

__isl_give isl_schedule_constraints * isl_schedule_constraints_copy ( __isl_keep isl_schedule_constraints sc)

◆ isl_schedule_constraints_free()

__isl_null isl_schedule_constraints * isl_schedule_constraints_free ( __isl_take isl_schedule_constraints sc)

◆ isl_schedule_constraints_get()

__isl_give isl_union_map * isl_schedule_constraints_get ( __isl_keep isl_schedule_constraints sc,
enum isl_edge_type  type 
)

◆ isl_schedule_constraints_get_coincidence()

__isl_give isl_union_map * isl_schedule_constraints_get_coincidence ( __isl_keep isl_schedule_constraints sc)

◆ isl_schedule_constraints_get_conditional_validity()

__isl_give isl_union_map * isl_schedule_constraints_get_conditional_validity ( __isl_keep isl_schedule_constraints sc)

◆ isl_schedule_constraints_get_conditional_validity_condition()

__isl_give isl_union_map * isl_schedule_constraints_get_conditional_validity_condition ( __isl_keep isl_schedule_constraints sc)

◆ isl_schedule_constraints_get_context()

__isl_give isl_set * isl_schedule_constraints_get_context ( __isl_keep isl_schedule_constraints sc)

◆ isl_schedule_constraints_get_ctx()

isl_ctx * isl_schedule_constraints_get_ctx ( __isl_keep isl_schedule_constraints sc)

◆ isl_schedule_constraints_get_domain()

__isl_give isl_union_set * isl_schedule_constraints_get_domain ( __isl_keep isl_schedule_constraints sc)

◆ isl_schedule_constraints_get_proximity()

__isl_give isl_union_map * isl_schedule_constraints_get_proximity ( __isl_keep isl_schedule_constraints sc)

◆ isl_schedule_constraints_get_validity()

__isl_give isl_union_map * isl_schedule_constraints_get_validity ( __isl_keep isl_schedule_constraints sc)

◆ isl_schedule_constraints_init()

static __isl_give isl_schedule_constraints * isl_schedule_constraints_init ( __isl_take isl_schedule_constraints sc)
static

◆ isl_schedule_constraints_n_basic_map()

int isl_schedule_constraints_n_basic_map ( __isl_keep isl_schedule_constraints sc)

◆ isl_schedule_constraints_n_map()

isl_size isl_schedule_constraints_n_map ( __isl_keep isl_schedule_constraints sc)

◆ isl_schedule_constraints_on_domain()

__isl_give isl_schedule_constraints * isl_schedule_constraints_on_domain ( __isl_take isl_union_set domain)

◆ isl_schedule_constraints_read_from_file()

__isl_give isl_schedule_constraints * isl_schedule_constraints_read_from_file ( isl_ctx ctx,
FILE *  input 
)

◆ isl_schedule_constraints_set()

static __isl_give isl_schedule_constraints * isl_schedule_constraints_set ( __isl_take isl_schedule_constraints sc,
enum isl_edge_type  type,
__isl_take isl_union_map c 
)
static

◆ isl_schedule_constraints_set_coincidence()

__isl_give isl_schedule_constraints * isl_schedule_constraints_set_coincidence ( __isl_take isl_schedule_constraints sc,
__isl_take isl_union_map coincidence 
)

◆ isl_schedule_constraints_set_conditional_validity()

__isl_give isl_schedule_constraints * isl_schedule_constraints_set_conditional_validity ( __isl_take isl_schedule_constraints sc,
__isl_take isl_union_map condition,
__isl_take isl_union_map validity 
)

◆ isl_schedule_constraints_set_context()

__isl_give isl_schedule_constraints * isl_schedule_constraints_set_context ( __isl_take isl_schedule_constraints sc,
__isl_take isl_set context 
)

◆ isl_schedule_constraints_set_domain()

static __isl_give isl_schedule_constraints * isl_schedule_constraints_set_domain ( __isl_take isl_schedule_constraints sc,
__isl_take isl_union_set domain 
)
static

◆ isl_schedule_constraints_set_proximity()

__isl_give isl_schedule_constraints * isl_schedule_constraints_set_proximity ( __isl_take isl_schedule_constraints sc,
__isl_take isl_union_map proximity 
)

◆ isl_schedule_constraints_set_validity()

__isl_give isl_schedule_constraints * isl_schedule_constraints_set_validity ( __isl_take isl_schedule_constraints sc,
__isl_take isl_union_map validity 
)

◆ isl_stream_read_schedule_constraints()

__isl_give isl_schedule_constraints * isl_stream_read_schedule_constraints ( isl_stream s)

◆ may_be_tagged()

static int may_be_tagged ( enum isl_edge_type  type)
static

◆ print_constraint()

static __isl_give isl_printer * print_constraint ( __isl_take isl_printer p,
__isl_keep isl_schedule_constraints sc,
enum isl_edge_type  type 
)
static

Variable Documentation

◆ key_str

char* key_str[]
static
Initial value:
= {
[isl_sc_key_validity] = "validity",
[isl_sc_key_coincidence] = "coincidence",
[isl_sc_key_condition] = "condition",
[isl_sc_key_conditional_validity] = "conditional_validity",
[isl_sc_key_proximity] = "proximity",
[isl_sc_key_domain] = "domain",
[isl_sc_key_context] = "context",
}
@ isl_sc_key_context
@ isl_sc_key_coincidence
@ isl_sc_key_validity
@ isl_sc_key_condition
@ isl_sc_key_proximity
@ isl_sc_key_conditional_validity

Definition at line 478 of file isl_schedule_constraints.c.

Referenced by isl_printer_print_schedule_constraints(), and print_constraint().