Polly 22.0.0git
ast.h File Reference
#include <isl/ctx.h>
#include <isl/ast_type.h>
#include <isl/id_type.h>
#include <isl/id_to_ast_expr.h>
#include <isl/val_type.h>
#include <isl/list.h>
#include <isl/printer.h>

Go to the source code of this file.

Functions

isl_stat isl_options_set_ast_iterator_type (isl_ctx *ctx, const char *val)
const char * isl_options_get_ast_iterator_type (isl_ctx *ctx)
isl_stat isl_options_set_ast_always_print_block (isl_ctx *ctx, int val)
int isl_options_get_ast_always_print_block (isl_ctx *ctx)
isl_stat isl_options_set_ast_print_outermost_block (isl_ctx *ctx, int val)
int isl_options_get_ast_print_outermost_block (isl_ctx *ctx)
__isl_give isl_ast_exprisl_ast_expr_from_val (__isl_take isl_val *v)
__isl_give isl_ast_exprisl_ast_expr_from_id (__isl_take isl_id *id)
__isl_give isl_ast_exprisl_ast_expr_neg (__isl_take isl_ast_expr *expr)
__isl_give isl_ast_exprisl_ast_expr_add (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_sub (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_mul (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_div (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_pdiv_q (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_pdiv_r (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_and (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_and_then (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_or (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_or_else (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_le (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_lt (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_ge (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_gt (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_eq (__isl_take isl_ast_expr *expr1, __isl_take isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_access (__isl_take isl_ast_expr *array, __isl_take isl_ast_expr_list *indices)
__isl_give isl_ast_exprisl_ast_expr_call (__isl_take isl_ast_expr *function, __isl_take isl_ast_expr_list *arguments)
__isl_give isl_ast_exprisl_ast_expr_address_of (__isl_take isl_ast_expr *expr)
__isl_give isl_ast_exprisl_ast_expr_copy (__isl_keep isl_ast_expr *expr)
__isl_null isl_ast_exprisl_ast_expr_free (__isl_take isl_ast_expr *expr)
isl_ctxisl_ast_expr_get_ctx (__isl_keep isl_ast_expr *expr)
 __isl_subclass (isl_ast_expr) enum isl_ast_expr_type isl_ast_expr_get_type(__isl_keep isl_ast_expr *expr)
__isl_export __isl_give isl_valisl_ast_expr_int_get_val (__isl_keep isl_ast_expr *expr)
__isl_give isl_valisl_ast_expr_get_val (__isl_keep isl_ast_expr *expr)
__isl_export __isl_give isl_idisl_ast_expr_id_get_id (__isl_keep isl_ast_expr *expr)
__isl_give isl_idisl_ast_expr_get_id (__isl_keep isl_ast_expr *expr)
 __isl_subclass (isl_ast_expr_op) enum isl_ast_expr_op_type isl_ast_expr_op_get_type(__isl_keep isl_ast_expr *expr)
enum isl_ast_expr_op_type isl_ast_expr_get_op_type (__isl_keep isl_ast_expr *expr)
__isl_export isl_size isl_ast_expr_op_get_n_arg (__isl_keep isl_ast_expr *expr)
isl_size isl_ast_expr_get_op_n_arg (__isl_keep isl_ast_expr *expr)
__isl_export __isl_give isl_ast_exprisl_ast_expr_op_get_arg (__isl_keep isl_ast_expr *expr, int pos)
__isl_give isl_ast_exprisl_ast_expr_get_op_arg (__isl_keep isl_ast_expr *expr, int pos)
__isl_give isl_ast_exprisl_ast_expr_set_op_arg (__isl_take isl_ast_expr *expr, int pos, __isl_take isl_ast_expr *arg)
isl_bool isl_ast_expr_is_equal (__isl_keep isl_ast_expr *expr1, __isl_keep isl_ast_expr *expr2)
__isl_give isl_ast_exprisl_ast_expr_substitute_ids (__isl_take isl_ast_expr *expr, __isl_take isl_id_to_ast_expr *id2expr)
__isl_give isl_printerisl_printer_print_ast_expr (__isl_take isl_printer *p, __isl_keep isl_ast_expr *expr)
void isl_ast_expr_dump (__isl_keep isl_ast_expr *expr)
__isl_give char * isl_ast_expr_to_str (__isl_keep isl_ast_expr *expr)
__isl_export __isl_give char * isl_ast_expr_to_C_str (__isl_keep isl_ast_expr *expr)
__isl_constructor __isl_give isl_ast_nodeisl_ast_node_user_from_expr (__isl_take isl_ast_expr *expr)
__isl_give isl_ast_nodeisl_ast_node_alloc_user (__isl_take isl_ast_expr *expr)
__isl_give isl_ast_nodeisl_ast_node_copy (__isl_keep isl_ast_node *node)
__isl_null isl_ast_nodeisl_ast_node_free (__isl_take isl_ast_node *node)
isl_ctxisl_ast_node_get_ctx (__isl_keep isl_ast_node *node)
 __isl_subclass (isl_ast_node) enum isl_ast_node_type isl_ast_node_get_type(__isl_keep isl_ast_node *node)
__isl_give isl_ast_nodeisl_ast_node_set_annotation (__isl_take isl_ast_node *node, __isl_take isl_id *annotation)
__isl_give isl_idisl_ast_node_get_annotation (__isl_keep isl_ast_node *node)
__isl_export __isl_give isl_ast_exprisl_ast_node_for_get_iterator (__isl_keep isl_ast_node *node)
__isl_export __isl_give isl_ast_exprisl_ast_node_for_get_init (__isl_keep isl_ast_node *node)
__isl_export __isl_give isl_ast_exprisl_ast_node_for_get_cond (__isl_keep isl_ast_node *node)
__isl_export __isl_give isl_ast_exprisl_ast_node_for_get_inc (__isl_keep isl_ast_node *node)
__isl_export __isl_give isl_ast_nodeisl_ast_node_for_get_body (__isl_keep isl_ast_node *node)
__isl_export isl_bool isl_ast_node_for_is_degenerate (__isl_keep isl_ast_node *node)
__isl_export __isl_give isl_ast_exprisl_ast_node_if_get_cond (__isl_keep isl_ast_node *node)
__isl_export __isl_give isl_ast_nodeisl_ast_node_if_get_then_node (__isl_keep isl_ast_node *node)
__isl_give isl_ast_nodeisl_ast_node_if_get_then (__isl_keep isl_ast_node *node)
__isl_export isl_bool isl_ast_node_if_has_else_node (__isl_keep isl_ast_node *node)
isl_bool isl_ast_node_if_has_else (__isl_keep isl_ast_node *node)
__isl_export __isl_give isl_ast_nodeisl_ast_node_if_get_else_node (__isl_keep isl_ast_node *node)
__isl_give isl_ast_nodeisl_ast_node_if_get_else (__isl_keep isl_ast_node *node)
__isl_constructor __isl_give isl_ast_nodeisl_ast_node_block_from_children (__isl_take isl_ast_node_list *list)
__isl_export __isl_give isl_ast_node_list * isl_ast_node_block_get_children (__isl_keep isl_ast_node *node)
__isl_export __isl_give isl_idisl_ast_node_mark_get_id (__isl_keep isl_ast_node *node)
__isl_export __isl_give isl_ast_nodeisl_ast_node_mark_get_node (__isl_keep isl_ast_node *node)
__isl_export __isl_give isl_ast_exprisl_ast_node_user_get_expr (__isl_keep isl_ast_node *node)
isl_stat isl_ast_node_foreach_descendant_top_down (__isl_keep isl_ast_node *node, isl_bool(*fn)(__isl_keep isl_ast_node *node, void *user), void *user)
__isl_export __isl_give isl_ast_nodeisl_ast_node_map_descendant_bottom_up (__isl_take isl_ast_node *node, __isl_give isl_ast_node *(*fn)(__isl_take isl_ast_node *node, void *user), void *user)
__isl_give isl_printerisl_printer_print_ast_node (__isl_take isl_printer *p, __isl_keep isl_ast_node *node)
void isl_ast_node_dump (__isl_keep isl_ast_node *node)
__isl_give char * isl_ast_node_to_str (__isl_keep isl_ast_node *node)
__isl_give isl_ast_print_optionsisl_ast_print_options_alloc (isl_ctx *ctx)
__isl_give isl_ast_print_optionsisl_ast_print_options_copy (__isl_keep isl_ast_print_options *options)
__isl_null isl_ast_print_optionsisl_ast_print_options_free (__isl_take isl_ast_print_options *options)
isl_ctxisl_ast_print_options_get_ctx (__isl_keep isl_ast_print_options *options)
__isl_give isl_ast_print_optionsisl_ast_print_options_set_print_user (__isl_take isl_ast_print_options *options, __isl_give isl_printer *(*print_user)(__isl_take isl_printer *p, __isl_take isl_ast_print_options *options, __isl_keep isl_ast_node *node, void *user), void *user)
__isl_give isl_ast_print_optionsisl_ast_print_options_set_print_for (__isl_take isl_ast_print_options *options, __isl_give isl_printer *(*print_for)(__isl_take isl_printer *p, __isl_take isl_ast_print_options *options, __isl_keep isl_ast_node *node, void *user), void *user)
isl_stat isl_options_set_ast_print_macro_once (isl_ctx *ctx, int val)
int isl_options_get_ast_print_macro_once (isl_ctx *ctx)
isl_stat isl_ast_expr_foreach_ast_expr_op_type (__isl_keep isl_ast_expr *expr, isl_stat(*fn)(enum isl_ast_expr_op_type type, void *user), void *user)
isl_stat isl_ast_expr_foreach_ast_op_type (__isl_keep isl_ast_expr *expr, isl_stat(*fn)(enum isl_ast_expr_op_type type, void *user), void *user)
isl_stat isl_ast_node_foreach_ast_expr_op_type (__isl_keep isl_ast_node *node, isl_stat(*fn)(enum isl_ast_expr_op_type type, void *user), void *user)
isl_stat isl_ast_node_foreach_ast_op_type (__isl_keep isl_ast_node *node, isl_stat(*fn)(enum isl_ast_expr_op_type type, void *user), void *user)
__isl_give isl_printerisl_ast_expr_op_type_set_print_name (__isl_take isl_printer *p, enum isl_ast_expr_op_type type, __isl_keep const char *name)
__isl_give isl_printerisl_ast_op_type_set_print_name (__isl_take isl_printer *p, enum isl_ast_expr_op_type type, __isl_keep const char *name)
__isl_give isl_printerisl_ast_expr_op_type_print_macro (enum isl_ast_expr_op_type type, __isl_take isl_printer *p)
__isl_give isl_printerisl_ast_op_type_print_macro (enum isl_ast_expr_op_type type, __isl_take isl_printer *p)
__isl_give isl_printerisl_ast_expr_print_macros (__isl_keep isl_ast_expr *expr, __isl_take isl_printer *p)
__isl_give isl_printerisl_ast_node_print_macros (__isl_keep isl_ast_node *node, __isl_take isl_printer *p)
__isl_give isl_printerisl_ast_node_print (__isl_keep isl_ast_node *node, __isl_take isl_printer *p, __isl_take isl_ast_print_options *options)
__isl_give isl_printerisl_ast_node_for_print (__isl_keep isl_ast_node *node, __isl_take isl_printer *p, __isl_take isl_ast_print_options *options)
__isl_give isl_printerisl_ast_node_if_print (__isl_keep isl_ast_node *node, __isl_take isl_printer *p, __isl_take isl_ast_print_options *options)
__isl_export __isl_give char * isl_ast_node_to_C_str (__isl_keep isl_ast_node *node)

Function Documentation

◆ __isl_subclass() [1/3]

__isl_subclass ( isl_ast_expr )

References __isl_export, __isl_give, and __isl_keep.

◆ __isl_subclass() [2/3]

◆ __isl_subclass() [3/3]

__isl_subclass ( isl_ast_node )

References __isl_keep.

◆ isl_ast_expr_access()

__isl_give isl_ast_expr * isl_ast_expr_access ( __isl_take isl_ast_expr * array,
__isl_take isl_ast_expr_list * indices )

Definition at line 832 of file isl_ast.c.

References __isl_give, __isl_take, ast_expr_with_arguments(), and isl_ast_expr_op_access.

◆ isl_ast_expr_add()

◆ isl_ast_expr_address_of()

◆ isl_ast_expr_and()

◆ isl_ast_expr_and_then()

__isl_give isl_ast_expr * isl_ast_expr_and_then ( __isl_take isl_ast_expr * expr1,
__isl_take isl_ast_expr * expr2 )

◆ isl_ast_expr_call()

__isl_give isl_ast_expr * isl_ast_expr_call ( __isl_take isl_ast_expr * function,
__isl_take isl_ast_expr_list * arguments )

◆ isl_ast_expr_copy()

◆ isl_ast_expr_div()

__isl_give isl_ast_expr * isl_ast_expr_div ( __isl_take isl_ast_expr * expr1,
__isl_take isl_ast_expr * expr2 )

Definition at line 718 of file isl_ast.c.

References __isl_give, __isl_take, isl_ast_expr_alloc_binary(), and isl_ast_expr_op_div.

◆ isl_ast_expr_dump()

void isl_ast_expr_dump ( __isl_keep isl_ast_expr * expr)

References __isl_keep.

◆ isl_ast_expr_eq()

__isl_give isl_ast_expr * isl_ast_expr_eq ( __isl_take isl_ast_expr * expr1,
__isl_take isl_ast_expr * expr2 )

Definition at line 812 of file isl_ast.c.

References __isl_give, __isl_take, isl_ast_expr_alloc_binary(), and isl_ast_expr_op_eq.

Referenced by isl::ast_expr::eq().

◆ isl_ast_expr_foreach_ast_expr_op_type()

isl_stat isl_ast_expr_foreach_ast_expr_op_type ( __isl_keep isl_ast_expr * expr,
isl_stat(* fn )(enum isl_ast_expr_op_type type, void *user),
void * user )

◆ isl_ast_expr_foreach_ast_op_type()

isl_stat isl_ast_expr_foreach_ast_op_type ( __isl_keep isl_ast_expr * expr,
isl_stat(* fn )(enum isl_ast_expr_op_type type, void *user),
void * user )

Definition at line 3837 of file isl_ast.c.

References __isl_keep, fn, isl_ast_expr_foreach_ast_expr_op_type(), type, and user.

◆ isl_ast_expr_free()

__isl_null isl_ast_expr * isl_ast_expr_free ( __isl_take isl_ast_expr * expr)

Definition at line 243 of file isl_ast.c.

References __isl_null, __isl_take, isl_ast_expr_error, isl_ast_expr_id, isl_ast_expr_int, isl_ast_expr_op, isl_ctx_deref(), isl_id_free(), and isl_val_free().

Referenced by add_terms(), ast_expr_add(), ast_expr_from_aff_list(), ast_expr_sub(), polly::IslExprBuilder::createAccessAddress(), polly::IslNodeBuilder::createForParallel(), polly::IslExprBuilder::createId(), polly::IslExprBuilder::createInt(), polly::IslExprBuilder::createOpAddressOf(), polly::IslExprBuilder::createOpBin(), polly::IslExprBuilder::createOpBoolean(), polly::IslExprBuilder::createOpBooleanConditional(), polly::IslExprBuilder::createOpICmp(), polly::IslExprBuilder::createOpNAry(), polly::IslExprBuilder::createOpSelect(), polly::IslExprBuilder::createOpUnary(), polly::IslNodeBuilder::createRTC(), polly::IslNodeBuilder::createSubstitutions(), polly::IslNodeBuilder::createSubstitutionsVector(), polly::IslNodeBuilder::createUser(), entry_required_macros(), isl_ast_expr_add_int(), isl_ast_expr_address_of(), isl_ast_expr_alloc_binary(), isl_ast_expr_alloc_int_si(), isl_ast_expr_from_constraint_no_stride(), isl_ast_expr_list_is_equal(), isl_ast_expr_op_restore_args(), isl_ast_expr_substitute_ids(), isl_ast_node_alloc_if(), isl_ast_node_free(), isl_ast_node_user_from_expr(), isl_stream_read_ast_expr(), print_arguments(), print_at_c(), print_pw_aff_c(), print_sub_expr_c(), read_for(), reduce_list(), scale(), test_ast(), test_ast_build(), test_ast_expr(), and isl::ast_expr::~ast_expr().

◆ isl_ast_expr_from_id()

◆ isl_ast_expr_from_val()

◆ isl_ast_expr_ge()

__isl_give isl_ast_expr * isl_ast_expr_ge ( __isl_take isl_ast_expr * expr1,
__isl_take isl_ast_expr * expr2 )

Definition at line 796 of file isl_ast.c.

References __isl_give, __isl_take, isl_ast_expr_alloc_binary(), and isl_ast_expr_op_ge.

◆ isl_ast_expr_get_ctx()

◆ isl_ast_expr_get_id()

◆ isl_ast_expr_get_op_arg()

◆ isl_ast_expr_get_op_n_arg()

◆ isl_ast_expr_get_op_type()

◆ isl_ast_expr_get_val()

◆ isl_ast_expr_gt()

__isl_give isl_ast_expr * isl_ast_expr_gt ( __isl_take isl_ast_expr * expr1,
__isl_take isl_ast_expr * expr2 )

Definition at line 804 of file isl_ast.c.

References __isl_give, __isl_take, isl_ast_expr_alloc_binary(), and isl_ast_expr_op_gt.

◆ isl_ast_expr_id_get_id()

◆ isl_ast_expr_int_get_val()

◆ isl_ast_expr_is_equal()

◆ isl_ast_expr_le()

__isl_give isl_ast_expr * isl_ast_expr_le ( __isl_take isl_ast_expr * expr1,
__isl_take isl_ast_expr * expr2 )

Definition at line 780 of file isl_ast.c.

References __isl_give, __isl_take, isl_ast_expr_alloc_binary(), and isl_ast_expr_op_le.

Referenced by isl::ast_expr::le().

◆ isl_ast_expr_lt()

__isl_give isl_ast_expr * isl_ast_expr_lt ( __isl_take isl_ast_expr * expr1,
__isl_take isl_ast_expr * expr2 )

Definition at line 788 of file isl_ast.c.

References __isl_give, __isl_take, isl_ast_expr_alloc_binary(), and isl_ast_expr_op_lt.

◆ isl_ast_expr_mul()

◆ isl_ast_expr_neg()

__isl_give isl_ast_expr * isl_ast_expr_neg ( __isl_take isl_ast_expr * expr)

Definition at line 642 of file isl_ast.c.

References __isl_give, __isl_take, arg, isl_ast_expr_alloc_unary(), and isl_ast_expr_op_minus.

Referenced by ast_expr_sub(), scale(), and test_ast().

◆ isl_ast_expr_op_get_arg()

__isl_export __isl_give isl_ast_expr * isl_ast_expr_op_get_arg ( __isl_keep isl_ast_expr * expr,
int pos )

Definition at line 366 of file isl_ast.c.

References __isl_give, __isl_keep, isl_ast_expr_check_op(), and pos().

Referenced by isl::ast_expr_op::arg(), and isl_ast_expr_get_op_arg().

◆ isl_ast_expr_op_get_n_arg()

__isl_export isl_size isl_ast_expr_op_get_n_arg ( __isl_keep isl_ast_expr * expr)

Definition at line 350 of file isl_ast.c.

References __isl_keep, isl_ast_expr_check_op(), and isl_size_error.

Referenced by isl_ast_expr_get_op_n_arg(), and isl::ast_expr_op::n_arg().

◆ isl_ast_expr_op_type_print_macro()

◆ isl_ast_expr_op_type_set_print_name()

◆ isl_ast_expr_or()

◆ isl_ast_expr_or_else()

__isl_give isl_ast_expr * isl_ast_expr_or_else ( __isl_take isl_ast_expr * expr1,
__isl_take isl_ast_expr * expr2 )

◆ isl_ast_expr_pdiv_q()

__isl_give isl_ast_expr * isl_ast_expr_pdiv_q ( __isl_take isl_ast_expr * expr1,
__isl_take isl_ast_expr * expr2 )

Definition at line 728 of file isl_ast.c.

References __isl_give, __isl_take, isl_ast_expr_alloc_binary(), and isl_ast_expr_op_pdiv_q.

◆ isl_ast_expr_pdiv_r()

__isl_give isl_ast_expr * isl_ast_expr_pdiv_r ( __isl_take isl_ast_expr * expr1,
__isl_take isl_ast_expr * expr2 )

Definition at line 738 of file isl_ast.c.

References __isl_give, __isl_take, isl_ast_expr_alloc_binary(), and isl_ast_expr_op_pdiv_r.

◆ isl_ast_expr_print_macros()

◆ isl_ast_expr_set_op_arg()

__isl_give isl_ast_expr * isl_ast_expr_set_op_arg ( __isl_take isl_ast_expr * expr,
int pos,
__isl_take isl_ast_expr * arg )

◆ isl_ast_expr_sub()

__isl_give isl_ast_expr * isl_ast_expr_sub ( __isl_take isl_ast_expr * expr1,
__isl_take isl_ast_expr * expr2 )

Definition at line 702 of file isl_ast.c.

References __isl_give, __isl_take, isl_ast_expr_alloc_binary(), and isl_ast_expr_op_sub.

Referenced by ast_expr_sub(), and test_ast().

◆ isl_ast_expr_substitute_ids()

◆ isl_ast_expr_to_C_str()

◆ isl_ast_expr_to_str()

◆ isl_ast_node_alloc_user()

__isl_give isl_ast_node * isl_ast_node_alloc_user ( __isl_take isl_ast_expr * expr)

Definition at line 1030 of file isl_ast.c.

References __isl_give, __isl_take, and isl_ast_node_user_from_expr().

Referenced by isl_ast_build_call_from_executed(), and read_user().

◆ isl_ast_node_block_from_children()

__isl_constructor __isl_give isl_ast_node * isl_ast_node_block_from_children ( __isl_take isl_ast_node_list * list)

◆ isl_ast_node_block_get_children()

◆ isl_ast_node_copy()

◆ isl_ast_node_dump()

void isl_ast_node_dump ( __isl_keep isl_ast_node * node)

References __isl_keep.

◆ isl_ast_node_for_get_body()

◆ isl_ast_node_for_get_cond()

◆ isl_ast_node_for_get_inc()

◆ isl_ast_node_for_get_init()

◆ isl_ast_node_for_get_iterator()

◆ isl_ast_node_for_is_degenerate()

__isl_export isl_bool isl_ast_node_for_is_degenerate ( __isl_keep isl_ast_node * node)

◆ isl_ast_node_for_print()

◆ isl_ast_node_foreach_ast_expr_op_type()

isl_stat isl_ast_node_foreach_ast_expr_op_type ( __isl_keep isl_ast_node * node,
isl_stat(* fn )(enum isl_ast_expr_op_type type, void *user),
void * user )

◆ isl_ast_node_foreach_ast_op_type()

isl_stat isl_ast_node_foreach_ast_op_type ( __isl_keep isl_ast_node * node,
isl_stat(* fn )(enum isl_ast_expr_op_type type, void *user),
void * user )

Definition at line 3860 of file isl_ast.c.

References __isl_keep, fn, isl_ast_node_foreach_ast_expr_op_type(), type, and user.

◆ isl_ast_node_foreach_descendant_top_down()

isl_stat isl_ast_node_foreach_descendant_top_down ( __isl_keep isl_ast_node * node,
isl_bool(* fn )(__isl_keep isl_ast_node *node, void *user),
void * user )

◆ isl_ast_node_free()

◆ isl_ast_node_get_annotation()

__isl_give isl_id * isl_ast_node_get_annotation ( __isl_keep isl_ast_node * node)

Definition at line 1704 of file isl_ast.c.

References __isl_give, __isl_keep, and isl_id_copy().

Referenced by after_for(), isl::ast_node::annotation(), astBuildAfterFor(), and AtEachDomain().

◆ isl_ast_node_get_ctx()

◆ isl_ast_node_if_get_cond()

◆ isl_ast_node_if_get_else()

__isl_give isl_ast_node * isl_ast_node_if_get_else ( __isl_keep isl_ast_node * node)

Definition at line 1517 of file isl_ast.c.

References __isl_give, __isl_keep, and isl_ast_node_if_get_else_node().

Referenced by polly::IslNodeBuilder::createIf().

◆ isl_ast_node_if_get_else_node()

◆ isl_ast_node_if_get_then()

__isl_give isl_ast_node * isl_ast_node_if_get_then ( __isl_keep isl_ast_node * node)

Definition at line 1482 of file isl_ast.c.

References __isl_give, __isl_keep, and isl_ast_node_if_get_then_node().

Referenced by polly::IslNodeBuilder::createIf().

◆ isl_ast_node_if_get_then_node()

◆ isl_ast_node_if_has_else()

isl_bool isl_ast_node_if_has_else ( __isl_keep isl_ast_node * node)

Definition at line 1499 of file isl_ast.c.

References __isl_keep, and isl_ast_node_if_has_else_node().

Referenced by polly::IslNodeBuilder::createIf().

◆ isl_ast_node_if_has_else_node()

◆ isl_ast_node_if_print()

◆ isl_ast_node_map_descendant_bottom_up()

__isl_export __isl_give isl_ast_node * isl_ast_node_map_descendant_bottom_up ( __isl_take isl_ast_node * node,
__isl_give isl_ast_node *(* fn )(__isl_take isl_ast_node *node, void *user),
void * user )

Definition at line 1944 of file isl_ast.c.

References __isl_give, __isl_take, fn, postorder_enter(), postorder_leave(), traverse(), and user.

Referenced by test_ast_gen1().

◆ isl_ast_node_mark_get_id()

◆ isl_ast_node_mark_get_node()

◆ isl_ast_node_print()

◆ isl_ast_node_print_macros()

◆ isl_ast_node_set_annotation()

__isl_give isl_ast_node * isl_ast_node_set_annotation ( __isl_take isl_ast_node * node,
__isl_take isl_id * annotation )

◆ isl_ast_node_to_C_str()

◆ isl_ast_node_to_str()

◆ isl_ast_node_user_from_expr()

◆ isl_ast_node_user_get_expr()

◆ isl_ast_op_type_print_macro()

__isl_give isl_printer * isl_ast_op_type_print_macro ( enum isl_ast_expr_op_type type,
__isl_take isl_printer * p )

Definition at line 3797 of file isl_ast.c.

References __isl_give, __isl_take, isl_ast_expr_op_type_print_macro(), p, and type.

◆ isl_ast_op_type_set_print_name()

__isl_give isl_printer * isl_ast_op_type_set_print_name ( __isl_take isl_printer * p,
enum isl_ast_expr_op_type type,
__isl_keep const char * name )

Definition at line 2267 of file isl_ast.c.

References __isl_give, __isl_keep, __isl_take, isl_ast_expr_op_type_set_print_name(), name, p, and type.

◆ isl_ast_print_options_alloc()

__isl_give isl_ast_print_options * isl_ast_print_options_alloc ( isl_ctx * ctx)

◆ isl_ast_print_options_copy()

__isl_give isl_ast_print_options * isl_ast_print_options_copy ( __isl_keep isl_ast_print_options * options)

Definition at line 84 of file isl_ast.c.

References __isl_give, and __isl_keep.

Referenced by print_ast_node_c(), and print_body_c().

◆ isl_ast_print_options_free()

◆ isl_ast_print_options_get_ctx()

isl_ctx * isl_ast_print_options_get_ctx ( __isl_keep isl_ast_print_options * options)

Definition at line 29 of file isl_ast.c.

References __isl_keep.

Referenced by isl_ast_print_options_dup().

◆ isl_ast_print_options_set_print_for()

__isl_give isl_ast_print_options * isl_ast_print_options_set_print_for ( __isl_take isl_ast_print_options * options,
__isl_give isl_printer *(* print_for )(__isl_take isl_printer *p, __isl_take isl_ast_print_options *options, __isl_keep isl_ast_node *node, void *user),
void * user )

Definition at line 135 of file isl_ast.c.

References __isl_give, __isl_keep, __isl_take, isl_ast_print_options_cow(), p, and user.

Referenced by polly::IslAstInfo::print().

◆ isl_ast_print_options_set_print_user()

__isl_give isl_ast_print_options * isl_ast_print_options_set_print_user ( __isl_take isl_ast_print_options * options,
__isl_give isl_printer *(* print_user )(__isl_take isl_printer *p, __isl_take isl_ast_print_options *options, __isl_keep isl_ast_node *node, void *user),
void * user )

Definition at line 114 of file isl_ast.c.

References __isl_give, __isl_keep, __isl_take, isl_ast_print_options_cow(), p, and user.

Referenced by polly::IslAstInfo::print().

◆ isl_options_get_ast_always_print_block()

int isl_options_get_ast_always_print_block ( isl_ctx * ctx)

Referenced by need_block().

◆ isl_options_get_ast_iterator_type()

const char * isl_options_get_ast_iterator_type ( isl_ctx * ctx)

Referenced by print_for_c().

◆ isl_options_get_ast_print_macro_once()

int isl_options_get_ast_print_macro_once ( isl_ctx * ctx)

◆ isl_options_get_ast_print_outermost_block()

int isl_options_get_ast_print_outermost_block ( isl_ctx * ctx)

◆ isl_options_set_ast_always_print_block()

isl_stat isl_options_set_ast_always_print_block ( isl_ctx * ctx,
int val )

References val.

◆ isl_options_set_ast_iterator_type()

isl_stat isl_options_set_ast_iterator_type ( isl_ctx * ctx,
const char * val )

References val.

◆ isl_options_set_ast_print_macro_once()

isl_stat isl_options_set_ast_print_macro_once ( isl_ctx * ctx,
int val )

References val.

◆ isl_options_set_ast_print_outermost_block()

isl_stat isl_options_set_ast_print_outermost_block ( isl_ctx * ctx,
int val )

References val.

Referenced by main().

◆ isl_printer_print_ast_expr()

◆ isl_printer_print_ast_node()