Polly 20.0.0git
Macros | Enumerations | Functions | Variables
isl_schedule_read.c File Reference
#include <isl/id.h>
#include <isl/val.h>
#include <isl/schedule.h>
#include <isl/stream.h>
#include <isl_schedule_private.h>
#include <isl_schedule_tree.h>
#include "extract_key.c"
#include <isl_list_read_yaml_templ.c>
#include "isl_read_from_str_templ.c"

Go to the source code of this file.

Macros

#define KEY   enum isl_schedule_key
 
#define KEY_ERROR   isl_schedule_key_error
 
#define KEY_END   isl_schedule_key_end
 
#define KEY_STR   key_str
 
#define KEY_EXTRACT   extract_key
 
#define KEY_GET   get_key
 
#define EL_BASE   val
 
#define EL_BASE   schedule_tree
 
#define TYPE_BASE   schedule
 

Enumerations

enum  isl_schedule_key {
  isl_schedule_key_error = -1 , isl_schedule_key_child , isl_schedule_key_coincident , isl_schedule_key_context ,
  isl_schedule_key_contraction , isl_schedule_key_domain , isl_schedule_key_expansion , isl_schedule_key_extension ,
  isl_schedule_key_filter , isl_schedule_key_guard , isl_schedule_key_leaf , isl_schedule_key_mark ,
  isl_schedule_key_options , isl_schedule_key_permutable , isl_schedule_key_schedule , isl_schedule_key_sequence ,
  isl_schedule_key_set , isl_schedule_key_end
}
 

Functions

static __isl_give isl_schedule_treeisl_stream_read_schedule_tree (__isl_keep isl_stream *s)
 
static __isl_give isl_schedule_treeread_context (__isl_keep isl_stream *s)
 
static __isl_give isl_schedule_treeread_domain (__isl_keep isl_stream *s)
 
static __isl_give isl_schedule_treeread_expansion (isl_stream *s)
 
static __isl_give isl_schedule_treeread_extension (isl_stream *s)
 
static __isl_give isl_schedule_treeread_filter (__isl_keep isl_stream *s)
 
static __isl_give isl_schedule_treeread_guard (isl_stream *s)
 
static __isl_give isl_schedule_treeread_mark (isl_stream *s)
 
static __isl_give isl_val_list * read_coincident (__isl_keep isl_stream *s)
 
static __isl_give isl_schedule_bandset_coincident (__isl_take isl_schedule_band *band, __isl_take isl_val_list *coincident)
 
static __isl_give isl_schedule_treeread_band (isl_stream *s)
 
static __isl_give isl_schedule_treeread_children (isl_stream *s, enum isl_schedule_node_type type)
 
static __isl_give isl_schedule_treeread_sequence (isl_stream *s)
 
static __isl_give isl_schedule_treeread_set (isl_stream *s)
 
static __isl_give isl_schedule_treeisl_stream_read_schedule_tree (struct isl_stream *s)
 
__isl_give isl_scheduleisl_stream_read_schedule (isl_stream *s)
 
__isl_give isl_scheduleisl_schedule_read_from_file (isl_ctx *ctx, FILE *input)
 

Variables

static char * key_str []
 

Macro Definition Documentation

◆ EL_BASE [1/2]

#define EL_BASE   val

Definition at line 593 of file isl_schedule_read.c.

◆ EL_BASE [2/2]

#define EL_BASE   schedule_tree

Definition at line 593 of file isl_schedule_read.c.

◆ KEY

#define KEY   enum isl_schedule_key

Definition at line 54 of file isl_schedule_read.c.

◆ KEY_END

#define KEY_END   isl_schedule_key_end

Definition at line 58 of file isl_schedule_read.c.

◆ KEY_ERROR

#define KEY_ERROR   isl_schedule_key_error

Definition at line 56 of file isl_schedule_read.c.

◆ KEY_EXTRACT

#define KEY_EXTRACT   extract_key

Definition at line 62 of file isl_schedule_read.c.

◆ KEY_GET

#define KEY_GET   get_key

Definition at line 64 of file isl_schedule_read.c.

◆ KEY_STR

#define KEY_STR   key_str

Definition at line 60 of file isl_schedule_read.c.

◆ TYPE_BASE

#define TYPE_BASE   schedule

Definition at line 743 of file isl_schedule_read.c.

Enumeration Type Documentation

◆ isl_schedule_key

Enumerator
isl_schedule_key_error 
isl_schedule_key_child 
isl_schedule_key_coincident 
isl_schedule_key_context 
isl_schedule_key_contraction 
isl_schedule_key_domain 
isl_schedule_key_expansion 
isl_schedule_key_extension 
isl_schedule_key_filter 
isl_schedule_key_guard 
isl_schedule_key_leaf 
isl_schedule_key_mark 
isl_schedule_key_options 
isl_schedule_key_permutable 
isl_schedule_key_schedule 
isl_schedule_key_sequence 
isl_schedule_key_set 
isl_schedule_key_end 

Definition at line 11 of file isl_schedule_read.c.

Function Documentation

◆ isl_schedule_read_from_file()

__isl_give isl_schedule * isl_schedule_read_from_file ( isl_ctx ctx,
FILE *  input 
)

◆ isl_stream_read_schedule()

__isl_give isl_schedule * isl_stream_read_schedule ( isl_stream s)

◆ isl_stream_read_schedule_tree() [1/2]

static __isl_give isl_schedule_tree * isl_stream_read_schedule_tree ( __isl_keep isl_stream s)
static

◆ isl_stream_read_schedule_tree() [2/2]

static __isl_give isl_schedule_tree * isl_stream_read_schedule_tree ( struct isl_stream s)
static

◆ read_band()

static __isl_give isl_schedule_tree * read_band ( isl_stream s)
static

◆ read_children()

static __isl_give isl_schedule_tree * read_children ( isl_stream s,
enum isl_schedule_node_type  type 
)
static

◆ read_coincident()

static __isl_give isl_val_list * read_coincident ( __isl_keep isl_stream s)
static

Definition at line 460 of file isl_schedule_read.c.

References isl_token::s.

Referenced by read_band().

◆ read_context()

static __isl_give isl_schedule_tree * read_context ( __isl_keep isl_stream s)
static

◆ read_domain()

static __isl_give isl_schedule_tree * read_domain ( __isl_keep isl_stream s)
static

◆ read_expansion()

static __isl_give isl_schedule_tree * read_expansion ( isl_stream s)
static

◆ read_extension()

static __isl_give isl_schedule_tree * read_extension ( isl_stream s)
static

◆ read_filter()

static __isl_give isl_schedule_tree * read_filter ( __isl_keep isl_stream s)
static

◆ read_guard()

static __isl_give isl_schedule_tree * read_guard ( isl_stream s)
static

◆ read_mark()

static __isl_give isl_schedule_tree * read_mark ( isl_stream s)
static

◆ read_sequence()

static __isl_give isl_schedule_tree * read_sequence ( isl_stream s)
static

◆ read_set()

static __isl_give isl_schedule_tree * read_set ( isl_stream s)
static

◆ set_coincident()

static __isl_give isl_schedule_band * set_coincident ( __isl_take isl_schedule_band band,
__isl_take isl_val_list *  coincident 
)
static

Variable Documentation

◆ key_str

char* key_str[]
static
Initial value:
= {
[isl_schedule_key_coincident] = "coincident",
[isl_schedule_key_context] = "context",
[isl_schedule_key_contraction] = "contraction",
[isl_schedule_key_expansion] = "expansion",
[isl_schedule_key_extension] = "extension",
[isl_schedule_key_options] = "options",
[isl_schedule_key_permutable] = "permutable",
[isl_schedule_key_schedule] = "schedule",
[isl_schedule_key_sequence] = "sequence",
}
@ isl_schedule_key_expansion
@ isl_schedule_key_domain
@ isl_schedule_key_sequence
@ isl_schedule_key_filter
@ isl_schedule_key_coincident
@ isl_schedule_key_extension
@ isl_schedule_key_guard
@ isl_schedule_key_options
@ isl_schedule_key_permutable
@ isl_schedule_key_set
@ isl_schedule_key_leaf
@ isl_schedule_key_context
@ isl_schedule_key_child
@ isl_schedule_key_contraction
@ isl_schedule_key_mark
@ isl_schedule_key_schedule

Definition at line 34 of file isl_schedule_read.c.