Polly
20.0.0git
llvm-project
polly
lib
External
isl
isl_printer_private.h
Go to the documentation of this file.
1
#ifndef ISL_PRINTER_PRIVATE_H
2
#define ISL_PRINTER_PRIVATE_H
3
4
#include <
isl/printer.h
>
5
#include <
isl_yaml.h
>
6
#include <
isl/id_to_id.h
>
7
8
struct
isl_printer_ops
;
9
10
/* A printer to a file or a string.
11
*
12
* "dump" is set if the printing is performed from an isl_*_dump function.
13
*
14
* yaml_style is the YAML style in which the next elements should
15
* be printed and may be either ISL_YAML_STYLE_BLOCK or ISL_YAML_STYLE_FLOW,
16
* with ISL_YAML_STYLE_FLOW being the default.
17
* yaml_state keeps track of the currently active YAML elements.
18
* yaml_size is the size of this arrays, while yaml_depth
19
* is the number of elements currently in use.
20
* yaml_state may be NULL if no YAML printing is being performed.
21
*
22
* notes keeps track of arbitrary notes as a mapping between
23
* name identifiers and note identifiers. It may be NULL
24
* if there are no notes yet.
25
*/
26
struct
isl_printer
{
27
struct
isl_ctx
*
ctx
;
28
struct
isl_printer_ops
*
ops
;
29
FILE *
file
;
30
int
buf_n
;
31
int
buf_size
;
32
char
*
buf
;
33
int
indent
;
34
int
output_format
;
35
int
dump
;
36
char
*
indent_prefix
;
37
char
*
prefix
;
38
char
*
suffix
;
39
int
width
;
40
41
int
yaml_style
;
42
int
yaml_depth
;
43
int
yaml_size
;
44
enum
isl_yaml_state
*
yaml_state
;
45
46
isl_id_to_id *
notes
;
47
};
48
49
__isl_give
isl_printer
*
isl_printer_set_dump
(
__isl_take
isl_printer
*
p
,
50
int
dump);
51
52
#endif
__isl_take
#define __isl_take
Definition:
ctx.h:22
__isl_give
#define __isl_give
Definition:
ctx.h:19
id_to_id.h
isl_printer_set_dump
__isl_give isl_printer * isl_printer_set_dump(__isl_take isl_printer *p, int dump)
Definition:
isl_printer.c:451
p
const char * p
Definition:
isl_test.c:8643
isl_yaml.h
isl_yaml_state
isl_yaml_state
Definition:
isl_yaml.h:6
printer.h
isl_ctx
Definition:
isl_ctx_private.h:11
isl_printer_ops
Definition:
isl_printer.c:184
isl_printer
Definition:
isl_printer_private.h:26
isl_printer::buf_size
int buf_size
Definition:
isl_printer_private.h:31
isl_printer::suffix
char * suffix
Definition:
isl_printer_private.h:38
isl_printer::prefix
char * prefix
Definition:
isl_printer_private.h:37
isl_printer::file
FILE * file
Definition:
isl_printer_private.h:29
isl_printer::ctx
struct isl_ctx * ctx
Definition:
isl_printer_private.h:27
isl_printer::indent_prefix
char * indent_prefix
Definition:
isl_printer_private.h:36
isl_printer::indent
int indent
Definition:
isl_printer_private.h:33
isl_printer::output_format
int output_format
Definition:
isl_printer_private.h:34
isl_printer::yaml_size
int yaml_size
Definition:
isl_printer_private.h:43
isl_printer::buf
char * buf
Definition:
isl_printer_private.h:32
isl_printer::width
int width
Definition:
isl_printer_private.h:39
isl_printer::yaml_state
enum isl_yaml_state * yaml_state
Definition:
isl_printer_private.h:44
isl_printer::ops
struct isl_printer_ops * ops
Definition:
isl_printer_private.h:28
isl_printer::buf_n
int buf_n
Definition:
isl_printer_private.h:30
isl_printer::notes
isl_id_to_id * notes
Definition:
isl_printer_private.h:46
isl_printer::dump
int dump
Definition:
isl_printer_private.h:35
isl_printer::yaml_depth
int yaml_depth
Definition:
isl_printer_private.h:42
isl_printer::yaml_style
int yaml_style
Definition:
isl_printer_private.h:41
Generated on Wed Nov 13 2024 03:17:26 for Polly by
1.9.6