Polly 20.0.0git
printer.h
Go to the documentation of this file.
1#ifndef ISL_PRINTER_H
2#define ISL_PRINTER_H
3
4#include <stdio.h>
5#include <isl/ctx.h>
6#include <isl/printer_type.h>
7#include <isl/id_type.h>
8
9#if defined(__cplusplus)
10extern "C" {
11#endif
12
16
19
21
23 int indent);
25 int indent);
26
27#define ISL_FORMAT_ISL 0
28#define ISL_FORMAT_POLYLIB 1
29#define ISL_FORMAT_POLYLIB_CONSTRAINTS 2
30#define ISL_FORMAT_OMEGA 3
31#define ISL_FORMAT_C 4
32#define ISL_FORMAT_LATEX 5
33#define ISL_FORMAT_EXT_POLYLIB 6
35 int output_format);
37
38#define ISL_YAML_STYLE_BLOCK 0
39#define ISL_YAML_STYLE_FLOW 1
41 int yaml_style);
43
45 const char *prefix);
47 const char *prefix);
49 const char *suffix);
51 int width);
52
54 __isl_keep isl_id *id);
56 __isl_take isl_id *id);
59
63 double d);
66 const char *s);
67
77
79
80#if defined(__cplusplus)
81}
82#endif
83
84#endif
#define __isl_take
Definition: ctx.h:22
#define __isl_give
Definition: ctx.h:19
#define __isl_null
Definition: ctx.h:28
#define __isl_keep
Definition: ctx.h:25
isl_bool
Definition: ctx.h:89
const char * p
Definition: isl_test.c:8643
int isl_printer_get_yaml_style(__isl_keep isl_printer *p)
Definition: isl_printer.c:477
__isl_give isl_printer * isl_printer_yaml_start_mapping(__isl_take isl_printer *p)
Definition: isl_printer.c:707
__isl_give isl_printer * isl_printer_set_suffix(__isl_take isl_printer *p, const char *suffix)
Definition: isl_printer.c:361
__isl_give isl_printer * isl_printer_yaml_next(__isl_take isl_printer *p)
Definition: isl_printer.c:831
__isl_give isl_printer * isl_printer_set_prefix(__isl_take isl_printer *p, const char *prefix)
Definition: isl_printer.c:349
__isl_give isl_printer * isl_printer_print_int(__isl_take isl_printer *p, int i)
Definition: isl_printer.c:640
__isl_give isl_printer * isl_printer_set_indent(__isl_take isl_printer *p, int indent)
Definition: isl_printer.c:311
__isl_null isl_printer * isl_printer_free(__isl_take isl_printer *printer)
Definition: isl_printer.c:269
isl_bool isl_printer_has_note(__isl_keep isl_printer *p, __isl_keep isl_id *id)
Definition: isl_printer.c:393
__isl_give isl_printer * isl_printer_flush(__isl_take isl_printer *p)
Definition: isl_printer.c:690
__isl_give char * isl_printer_get_str(__isl_keep isl_printer *printer)
Definition: isl_printer.c:677
FILE * isl_printer_get_file(__isl_keep isl_printer *printer)
Definition: isl_printer.c:290
int isl_printer_get_output_format(__isl_keep isl_printer *p)
Definition: isl_printer.c:384
__isl_give isl_printer * isl_printer_set_note(__isl_take isl_printer *p, __isl_take isl_id *id, __isl_take isl_id *note)
Definition: isl_printer.c:427
__isl_give isl_printer * isl_printer_set_indent_prefix(__isl_take isl_printer *p, const char *prefix)
Definition: isl_printer.c:337
__isl_give isl_printer * isl_printer_yaml_end_mapping(__isl_take isl_printer *p)
Definition: isl_printer.c:740
__isl_give isl_printer * isl_printer_yaml_end_sequence(__isl_take isl_printer *p)
Definition: isl_printer.c:796
__isl_give isl_printer * isl_printer_yaml_start_sequence(__isl_take isl_printer *p)
Definition: isl_printer.c:768
__isl_give isl_printer * isl_printer_set_isl_int_width(__isl_take isl_printer *p, int width)
Definition: isl_printer.c:300
__isl_give isl_printer * isl_printer_to_file(isl_ctx *ctx, FILE *file)
Definition: isl_printer.c:217
__isl_give isl_printer * isl_printer_print_str(__isl_take isl_printer *p, const char *s)
Definition: isl_printer.c:617
__isl_give isl_printer * isl_printer_start_line(__isl_take isl_printer *p)
Definition: isl_printer.c:659
__isl_give isl_printer * isl_printer_indent(__isl_take isl_printer *p, int indent)
Definition: isl_printer.c:322
__isl_give isl_printer * isl_printer_set_yaml_style(__isl_take isl_printer *p, int yaml_style)
Definition: isl_printer.c:464
__isl_give isl_printer * isl_printer_to_str(isl_ctx *ctx)
Definition: isl_printer.c:240
isl_ctx * isl_printer_get_ctx(__isl_keep isl_printer *printer)
Definition: isl_printer.c:285
__isl_give isl_printer * isl_printer_end_line(__isl_take isl_printer *p)
Definition: isl_printer.c:667
__isl_give isl_id * isl_printer_get_note(__isl_keep isl_printer *p, __isl_take isl_id *id)
Definition: isl_printer.c:406
__isl_give isl_printer * isl_printer_set_output_format(__isl_take isl_printer *p, int output_format)
Definition: isl_printer.c:373
__isl_give isl_printer * isl_printer_print_double(__isl_take isl_printer *p, double d)
Definition: isl_printer.c:630