Polly 20.0.0git
|
#include <string.h>
#include <isl/id.h>
#include <isl/stream.h>
#include <isl/val.h>
#include <isl_ast_private.h>
#include <isl_list_templ.c>
#include "isl_ast_node_set_field_templ.c"
#include "extract_key.c"
#include <isl_list_read_yaml_templ.c>
Go to the source code of this file.
Classes | |
struct | isl_ast_node_preorder_data |
struct | isl_ast_node_postorder_data |
struct | isl_ast_expr_op_names |
struct | isl_ast_expr_op_printed |
Macros | |
#define | EL_BASE ast_expr |
#define | EL_BASE ast_node |
#define | NODE_TYPE for |
#define | FIELD_NAME init |
#define | FIELD_TYPE isl_ast_expr |
#define | FIELD u.f.init |
#define | NODE_TYPE for |
#define | FIELD_NAME cond |
#define | FIELD_TYPE isl_ast_expr |
#define | FIELD u.f.cond |
#define | NODE_TYPE for |
#define | FIELD_NAME inc |
#define | FIELD_TYPE isl_ast_expr |
#define | FIELD u.f.inc |
#define | NODE_TYPE for |
#define | FIELD_NAME body |
#define | FIELD_TYPE isl_ast_node |
#define | FIELD u.f.body |
#define | NODE_TYPE if |
#define | FIELD_NAME then |
#define | FIELD_TYPE isl_ast_node |
#define | FIELD u.i.then |
#define | NODE_TYPE if |
#define | FIELD_NAME else_node |
#define | FIELD_TYPE isl_ast_node |
#define | FIELD u.i.else_node |
#define | NODE_TYPE block |
#define | FIELD_NAME children |
#define | FIELD_TYPE isl_ast_node_list |
#define | FIELD u.b.children |
#define | NODE_TYPE mark |
#define | FIELD_NAME node |
#define | FIELD_TYPE isl_ast_node |
#define | FIELD u.m.node |
#define | NODE_TYPE any |
#define | FIELD_NAME annotation |
#define | FIELD_TYPE isl_id |
#define | FIELD annotation |
#define | isl_ast_expr_op_last isl_ast_expr_op_address_of |
#define | KEY enum isl_ast_expr_op_type |
#define | KEY_ERROR isl_ast_expr_op_error |
#define | KEY_END (isl_ast_expr_op_address_of + 1) |
#define | KEY_STR op_str |
#define | KEY_EXTRACT extract_op_type |
#define | KEY_GET get_op_type |
#define | EL_BASE ast_expr |
#define | KEY enum isl_ast_expr_type |
#define | KEY_ERROR isl_ast_expr_error |
#define | KEY_END (isl_ast_expr_int + 1) |
#define | KEY_STR expr_str |
#define | KEY_EXTRACT extract_expr_type |
#define | KEY_GET get_expr_type |
#define | EL_BASE ast_node |
#define | KEY enum isl_ast_node_type |
#define | KEY_ERROR isl_ast_node_error |
#define | KEY_END (isl_ast_node_user + 1) |
#define | KEY_STR node_first_str |
#define | KEY_EXTRACT extract_node_type |
#define | KEY_GET get_node_type |
#define | ISL_AST_MACRO_FDIV_Q (1 << 0) |
#define | ISL_AST_MACRO_MIN (1 << 1) |
#define | ISL_AST_MACRO_MAX (1 << 2) |
#define | ISL_AST_MACRO_ALL |
Variables | |
static char * | op_str_c [] |
static int | op_prec [] |
static int | op_left [] |
static char * | op_str [] |
static char * | expr_str [] |
static char * | node_first_str [] |
#define FIELD_TYPE isl_ast_expr |
#define FIELD_TYPE isl_ast_expr |
#define FIELD_TYPE isl_ast_expr |
#define FIELD_TYPE isl_ast_node |
#define FIELD_TYPE isl_ast_node |
#define FIELD_TYPE isl_ast_node |
#define FIELD_TYPE isl_ast_node |
#define isl_ast_expr_op_last isl_ast_expr_op_address_of |
#define ISL_AST_MACRO_ALL |
#define KEY enum isl_ast_expr_op_type |
#define KEY enum isl_ast_expr_type |
#define KEY enum isl_ast_node_type |
#define KEY_END (isl_ast_expr_op_address_of + 1) |
#define KEY_END (isl_ast_expr_int + 1) |
#define KEY_END (isl_ast_node_user + 1) |
#define KEY_ERROR isl_ast_expr_op_error |
#define KEY_ERROR isl_ast_expr_error |
#define KEY_ERROR isl_ast_node_error |
#define KEY_STR node_first_str |
|
static |
Definition at line 2215 of file isl_ast.c.
References alloc_note(), create_names(), free_names(), and p.
Referenced by isl_ast_expr_op_type_set_print_name().
|
static |
Definition at line 2183 of file isl_ast.c.
References isl_id_alloc(), isl_id_copy(), isl_id_set_free_user(), isl_printer_free(), isl_printer_get_ctx(), isl_printer_has_note(), isl_printer_set_note(), and p.
Referenced by alloc_names(), and alloc_printed().
|
static |
Definition at line 155 of file isl_ast.c.
References isl_ast_expr::ctx, isl_ast_expr_op, isl_calloc_type, isl_ctx_ref(), isl_ast_expr::op, op, isl_ast_expr::ref, isl_ast_expr::type, and isl_ast_expr::u.
Referenced by ast_expr_with_arguments(), isl_ast_expr_alloc_op(), isl_ast_expr_dup(), and read_op().
|
static |
Definition at line 3691 of file isl_ast.c.
References alloc_note(), create_printed(), free_printed(), and p.
Referenced by already_printed_once().
|
static |
Definition at line 3713 of file isl_ast.c.
References alloc_printed(), get_note(), id, isl_ast_expr_op_last, isl_bool_error, isl_bool_false, isl_bool_true, isl_die, isl_error_invalid, isl_id_free(), isl_options_get_ast_print_macro_once(), isl_printer_get_ctx(), p, isl_ast_expr_op_printed::printed, printed_id(), and type.
Referenced by isl_ast_expr_op_type_print_macro().
|
static |
Definition at line 3586 of file isl_ast.c.
References entry_required_macros(), isl_ast_expr_op, isl_ast_expr_op_fdiv_q, isl_ast_expr_op_max, isl_ast_expr_op_min, ISL_AST_MACRO_ALL, ISL_AST_MACRO_FDIV_Q, ISL_AST_MACRO_MAX, and ISL_AST_MACRO_MIN.
Referenced by ast_node_required_macros(), entry_required_macros(), and isl_ast_expr_foreach_ast_expr_op_type().
|
static |
Definition at line 821 of file isl_ast.c.
References alloc_op(), and type.
Referenced by isl_ast_expr_access(), and isl_ast_expr_call().
|
static |
Definition at line 3656 of file isl_ast.c.
References ast_node_required_macros().
Referenced by ast_node_required_macros().
|
static |
Definition at line 3613 of file isl_ast.c.
References ast_expr_required_macros(), ast_node_list_required_macros(), ast_node_required_macros(), ISL_AST_MACRO_ALL, isl_ast_node_block, isl_ast_node_error, isl_ast_node_for, isl_ast_node_if, isl_ast_node_mark, and isl_ast_node_user.
Referenced by ast_node_list_required_macros(), ast_node_required_macros(), and isl_ast_node_foreach_ast_expr_op_type().
|
static |
Definition at line 3866 of file isl_ast.c.
References isl_ast_expr_op_type_print_macro(), isl_stat_ok, p, type, and user.
Referenced by isl_ast_expr_print_macros(), and isl_ast_node_print_macros().
|
static |
|
static |
Definition at line 3677 of file isl_ast.c.
References isl_calloc_type.
Referenced by alloc_printed().
|
static |
Definition at line 2664 of file isl_ast.c.
References expected, isl_stat_error, isl_stat_ok, isl_stream_error(), isl_stream_yaml_next(), next_key(), isl_token::s, and str.
Referenced by read_body(), read_for(), read_if(), read_mark(), and read_op().
|
static |
Definition at line 3021 of file isl_ast.c.
References isl_printer_end_line(), isl_printer_indent(), isl_printer_print_str(), isl_printer_start_line(), and p.
Referenced by print_ast_node_c(), and print_for_c().
|
static |
Definition at line 3573 of file isl_ast.c.
References ast_expr_required_macros(), isl_ast_expr_free(), isl_stat_ok, and user.
Referenced by ast_expr_required_macros().
|
static |
Definition at line 3806 of file isl_ast.c.
References fn, isl_ast_expr_op_fdiv_q, isl_ast_expr_op_max, isl_ast_expr_op_min, ISL_AST_MACRO_FDIV_Q, ISL_AST_MACRO_MAX, ISL_AST_MACRO_MIN, isl_stat_error, isl_stat_ok, and user.
Referenced by isl_ast_expr_foreach_ast_expr_op_type(), and isl_ast_node_foreach_ast_expr_op_type().
|
static |
Definition at line 2158 of file isl_ast.c.
References isl_ast_expr_op_last, isl_ast_expr_op_names::op_str, and user.
Referenced by alloc_names().
|
static |
|
static |
Definition at line 2224 of file isl_ast.c.
References isl_id_copy(), isl_id_free(), isl_id_get_user(), isl_printer_get_note(), and p.
Referenced by already_printed_once(), get_op_str_c(), and isl_ast_expr_op_type_set_print_name().
|
static |
Definition at line 2280 of file isl_ast.c.
References get_note(), id, isl_id_free(), isl_printer_get_ctx(), isl_printer_has_note(), names_id(), isl_ast_expr_op_names::op_str, op_str_c, p, and type.
Referenced by isl_ast_expr_op_type_print_macro(), print_ast_expr_c(), and print_min_max_c().
|
static |
Definition at line 2055 of file isl_ast.c.
References isl_ast_expr_op_add, isl_ast_expr_op_sub, and op.
Referenced by sub_expr_need_parens().
|
static |
Definition at line 2045 of file isl_ast.c.
References isl_ast_expr_op_and, isl_ast_expr_op_and_then, and op.
Referenced by sub_expr_need_parens().
|
static |
Definition at line 2060 of file isl_ast.c.
References isl_ast_expr_op_div, isl_ast_expr_op_pdiv_r, isl_ast_expr_op_zdiv_r, and op.
Referenced by sub_expr_need_parens().
|
static |
Definition at line 2050 of file isl_ast.c.
References isl_ast_expr_op_or, isl_ast_expr_op_or_else, and op.
Referenced by sub_expr_need_parens().
__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 ast_expr_with_arguments(), and isl_ast_expr_op_access.
__isl_give isl_ast_expr * isl_ast_expr_add | ( | __isl_take isl_ast_expr * | expr1, |
__isl_take isl_ast_expr * | expr2 | ||
) |
Definition at line 694 of file isl_ast.c.
References isl_ast_expr_alloc_binary(), and isl_ast_expr_op_add.
Referenced by isl::ast_expr::add(), ast_expr_add(), and test_ast().
__isl_give isl_ast_expr * isl_ast_expr_address_of | ( | __isl_take isl_ast_expr * | expr | ) |
Definition at line 649 of file isl_ast.c.
References isl_ast_expr_alloc_unary(), isl_ast_expr_free(), isl_ast_expr_get_ctx(), isl_ast_expr_get_op_type(), isl_ast_expr_get_type(), isl_ast_expr_op, isl_ast_expr_op_access, isl_ast_expr_op_address_of, isl_die, and isl_error_invalid.
Referenced by isl::ast_expr::address_of(), polly::BlockGenerator::generateLocationAccessed(), and polly::IslNodeBuilder::preloadUnconditionally().
__isl_give isl_ast_expr * isl_ast_expr_alloc_binary | ( | enum isl_ast_expr_op_type | type, |
__isl_take isl_ast_expr * | expr1, | ||
__isl_take isl_ast_expr * | expr2 | ||
) |
Definition at line 666 of file isl_ast.c.
References isl_ast_expr_alloc_op(), isl_ast_expr_free(), isl_ast_expr_get_ctx(), isl_ast_expr_op_restore_args(), isl_ast_expr_op_take_args(), and type.
Referenced by construct_constraint_expr(), div_mod(), extract_stride_constraint(), isl_ast_build_from_multi_pw_aff_member(), isl_ast_expr_add(), isl_ast_expr_and(), isl_ast_expr_and_then(), isl_ast_expr_div(), isl_ast_expr_eq(), isl_ast_expr_ge(), isl_ast_expr_gt(), isl_ast_expr_le(), isl_ast_expr_lt(), isl_ast_expr_mul(), isl_ast_expr_or(), isl_ast_expr_or_else(), isl_ast_expr_pdiv_q(), isl_ast_expr_pdiv_r(), isl_ast_expr_sub(), isl_ast_node_for_get_cond(), and set_for_cond_from_list().
__isl_give isl_ast_expr * isl_ast_expr_alloc_int_si | ( | isl_ctx * | ctx, |
int | i | ||
) |
Definition at line 568 of file isl_ast.c.
References isl_ast_expr::ctx, isl_ast_expr_free(), isl_ast_expr_int, isl_calloc_type, isl_ctx_ref(), isl_val_int_from_si(), isl_ast_expr::ref, isl_ast_expr::type, isl_ast_expr::u, and isl_ast_expr::v.
Referenced by extract_stride_constraint(), for_inc(), isl_ast_build_expr_from_basic_set(), isl_ast_expr_from_aff(), isl_ast_expr_from_constraint_no_stride(), and isl_ast_node_for_get_inc().
__isl_give isl_ast_expr * isl_ast_expr_alloc_op | ( | isl_ctx * | ctx, |
enum isl_ast_expr_op_type | op, | ||
int | n_arg | ||
) |
Definition at line 186 of file isl_ast.c.
References alloc_op(), n_arg(), and op.
Referenced by add_intermediate_piece(), ast_expr_from_aff_list(), isl_ast_build_with_arguments(), isl_ast_expr_alloc_binary(), isl_ast_expr_alloc_unary(), and reduce_list().
__isl_give isl_ast_expr * isl_ast_expr_alloc_unary | ( | enum isl_ast_expr_op_type | type, |
__isl_take isl_ast_expr * | arg | ||
) |
Definition at line 620 of file isl_ast.c.
References arg, isl_ast_expr_alloc_op(), isl_ast_expr_get_ctx(), isl_ast_expr_op_restore_args(), isl_ast_expr_op_take_args(), and type.
Referenced by isl_ast_expr_address_of(), and isl_ast_expr_neg().
__isl_give isl_ast_expr * isl_ast_expr_and | ( | __isl_take isl_ast_expr * | expr1, |
__isl_take isl_ast_expr * | expr2 | ||
) |
Definition at line 746 of file isl_ast.c.
References isl_ast_expr_alloc_binary(), and isl_ast_expr_op_and.
Referenced by polly::IslAst::buildRunCondition(), and isl_ast_build_expr_from_basic_set().
__isl_give isl_ast_expr * isl_ast_expr_and_then | ( | __isl_take isl_ast_expr * | expr1, |
__isl_take isl_ast_expr * | expr2 | ||
) |
Definition at line 755 of file isl_ast.c.
References isl_ast_expr_alloc_binary(), and isl_ast_expr_op_and_then.
__isl_give isl_ast_expr * isl_ast_expr_call | ( | __isl_take isl_ast_expr * | function, |
__isl_take isl_ast_expr_list * | arguments | ||
) |
Definition at line 841 of file isl_ast.c.
References ast_expr_with_arguments(), function, and isl_ast_expr_op_call.
|
static |
Definition at line 320 of file isl_ast.c.
References isl_ast_expr_get_ctx(), isl_ast_expr_op, isl_die, isl_error_invalid, isl_stat_error, and isl_stat_ok.
Referenced by isl_ast_expr_op_get_arg(), isl_ast_expr_op_get_args(), isl_ast_expr_op_get_n_arg(), isl_ast_expr_op_get_type(), isl_ast_expr_op_restore_args(), and isl_ast_expr_op_take_args().
__isl_give isl_ast_expr * isl_ast_expr_copy | ( | __isl_keep isl_ast_expr * | expr | ) |
Definition at line 195 of file isl_ast.c.
References isl_ast_expr::ref.
Referenced by isl::ast_expr::copy(), polly::IslNodeBuilder::createSubstitutionsVector(), isl_ast_node_dup(), 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_if_get_cond(), isl_ast_node_user_get_expr(), set_for_cond_from_list(), and test_ast().
__isl_give isl_ast_expr * isl_ast_expr_cow | ( | __isl_take isl_ast_expr * | expr | ) |
Definition at line 232 of file isl_ast.c.
References isl_ast_expr_dup(), and isl_ast_expr::ref.
Referenced by isl_ast_expr_op_restore_args().
__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_ast_expr_alloc_binary(), and isl_ast_expr_op_div.
__isl_give isl_ast_expr * isl_ast_expr_dup | ( | __isl_keep isl_ast_expr * | expr | ) |
Definition at line 204 of file isl_ast.c.
References alloc_op(), dup(), isl_ast_expr_error, isl_ast_expr_from_id(), isl_ast_expr_from_val(), isl_ast_expr_id, isl_ast_expr_int, isl_ast_expr_op, isl_id_copy(), and isl_val_copy().
Referenced by isl_ast_expr_cow().
__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_ast_expr_alloc_binary(), and isl_ast_expr_op_eq.
Referenced by isl::ast_expr::eq().
isl_stat isl_ast_expr_foreach_ast_expr_op_type | ( | __isl_keep isl_ast_expr * | expr, |
isl_stat(*)(enum isl_ast_expr_op_type type, void *user) | fn, | ||
void * | user | ||
) |
Definition at line 3823 of file isl_ast.c.
References ast_expr_required_macros(), fn, foreach_ast_expr_op_type(), isl_stat_error, and user.
Referenced by isl_ast_expr_foreach_ast_op_type(), and isl_ast_expr_print_macros().
isl_stat isl_ast_expr_foreach_ast_op_type | ( | __isl_keep isl_ast_expr * | expr, |
isl_stat(*)(enum isl_ast_expr_op_type type, void *user) | fn, | ||
void * | user | ||
) |
Definition at line 3837 of file isl_ast.c.
References fn, isl_ast_expr_foreach_ast_expr_op_type(), and user.
__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_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_give isl_ast_expr * isl_ast_expr_from_id | ( | __isl_take isl_id * | id | ) |
Definition at line 541 of file isl_ast.c.
References isl_ast_expr::ctx, isl_ast_expr::id, id, isl_ast_expr_id, isl_calloc_type, isl_ctx_ref(), isl_id_free(), isl_id_get_ctx(), isl_ast_expr::ref, isl_ast_expr::type, and isl_ast_expr::u.
Referenced by isl_ast_build_from_multi_pw_aff_internal(), isl_ast_build_from_multi_pw_aff_member(), isl_ast_expr_dup(), isl_ast_node_alloc_for(), read_id(), test_ast(), and var().
__isl_give isl_ast_expr * isl_ast_expr_from_val | ( | __isl_take isl_val * | v | ) |
Definition at line 589 of file isl_ast.c.
References isl_ast_expr::ctx, isl_ast_expr_int, isl_calloc_type, isl_ctx_ref(), isl_die, isl_error_invalid, isl_val_free(), isl_val_get_ctx(), isl_val_is_int(), isl_ast_expr::ref, isl_ast_expr::type, isl_ast_expr::u, and isl_ast_expr::v.
Referenced by div_mod(), extract_stride_constraint(), for_inc(), isl::ast_expr::from_val(), isl_ast_build_expr_from_set_internal(), isl_ast_expr_add_int(), isl_ast_expr_dup(), isl_ast_expr_mod(), read_int(), and scale().
__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_ast_expr_alloc_binary(), and isl_ast_expr_op_ge.
isl_ctx * isl_ast_expr_get_ctx | ( | __isl_keep isl_ast_expr * | expr | ) |
Definition at line 271 of file isl_ast.c.
Referenced by isl::ast_expr::ctx(), isl::ast_expr_id::ctx(), isl::ast_expr_int::ctx(), isl::ast_expr_op::ctx(), isl::ast_expr_op_access::ctx(), isl::ast_expr_op_add::ctx(), isl::ast_expr_op_address_of::ctx(), isl::ast_expr_op_and::ctx(), isl::ast_expr_op_and_then::ctx(), isl::ast_expr_op_call::ctx(), isl::ast_expr_op_cond::ctx(), isl::ast_expr_op_div::ctx(), isl::ast_expr_op_eq::ctx(), isl::ast_expr_op_fdiv_q::ctx(), isl::ast_expr_op_ge::ctx(), isl::ast_expr_op_gt::ctx(), isl::ast_expr_op_le::ctx(), isl::ast_expr_op_lt::ctx(), isl::ast_expr_op_max::ctx(), isl::ast_expr_op_member::ctx(), isl::ast_expr_op_min::ctx(), isl::ast_expr_op_minus::ctx(), isl::ast_expr_op_mul::ctx(), isl::ast_expr_op_or::ctx(), isl::ast_expr_op_or_else::ctx(), isl::ast_expr_op_pdiv_q::ctx(), isl::ast_expr_op_pdiv_r::ctx(), isl::ast_expr_op_select::ctx(), isl::ast_expr_op_sub::ctx(), isl::ast_expr_op_zdiv_r::ctx(), isl_ast_expr_address_of(), isl_ast_expr_alloc_binary(), isl_ast_expr_alloc_unary(), isl_ast_expr_check_op(), isl_ast_expr_id_get_id(), isl_ast_expr_int_get_val(), isl_ast_expr_is_equal(), isl_ast_expr_to_C_str(), isl_ast_node_alloc_if(), and isl_ast_node_user_from_expr().
__isl_give isl_id * isl_ast_expr_get_id | ( | __isl_keep isl_ast_expr * | expr | ) |
Definition at line 313 of file isl_ast.c.
References isl_ast_expr_id_get_id().
Referenced by polly::IslExprBuilder::createAccessAddress(), polly::IslNodeBuilder::createForParallel(), polly::IslExprBuilder::createId(), polly::IslNodeBuilder::createUser(), isl::ast_expr::id(), print_ast_expr_isl(), and print_for_c().
__isl_give isl_ast_expr * isl_ast_expr_get_op_arg | ( | __isl_keep isl_ast_expr * | expr, |
int | pos | ||
) |
Definition at line 377 of file isl_ast.c.
References isl_ast_expr_op_get_arg(), and pos().
Referenced by polly::IslExprBuilder::createAccessAddress(), 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::createSubstitutions(), polly::IslNodeBuilder::createUser(), isl::ast_expr::op_arg(), and print_arguments().
isl_size isl_ast_expr_get_op_n_arg | ( | __isl_keep isl_ast_expr * | expr | ) |
Definition at line 359 of file isl_ast.c.
References isl_ast_expr_op_get_n_arg().
Referenced by polly::IslExprBuilder::createAccessAddress(), polly::IslExprBuilder::createOpAddressOf(), polly::IslExprBuilder::createOpBin(), polly::IslExprBuilder::createOpNAry(), polly::IslNodeBuilder::createSubstitutions(), polly::IslExprBuilder::hasLargeInts(), and print_arguments().
enum isl_ast_expr_op_type isl_ast_expr_get_op_type | ( | __isl_keep isl_ast_expr * | expr | ) |
Definition at line 342 of file isl_ast.c.
References isl_ast_expr_op_get_type().
Referenced by polly::IslExprBuilder::createAccessAddress(), polly::IslExprBuilder::createOp(), 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::createSubstitutions(), polly::IslNodeBuilder::getUpperBound(), isl_ast_expr_address_of(), print_ast_expr_isl(), and test_ast_expr().
enum isl_ast_expr_type isl_ast_expr_get_type | ( | __isl_keep isl_ast_expr * | expr | ) |
Definition at line 276 of file isl_ast.c.
References isl_ast_expr_error.
Referenced by construct_constraint_expr(), polly::IslExprBuilder::create(), polly::IslExprBuilder::createAccessAddress(), polly::IslExprBuilder::createId(), polly::IslExprBuilder::createInt(), polly::IslExprBuilder::createOp(), polly::IslExprBuilder::createOpAddressOf(), polly::IslExprBuilder::createOpBin(), polly::IslExprBuilder::createOpBoolean(), polly::IslExprBuilder::createOpBooleanConditional(), polly::IslExprBuilder::createOpICmp(), polly::IslExprBuilder::createOpNAry(), polly::IslNodeBuilder::createSubstitutions(), polly::IslNodeBuilder::getUpperBound(), polly::IslExprBuilder::hasLargeInts(), isl::ast_expr::isa_type(), isl_ast_expr_address_of(), print_ast_expr_isl(), and test_ast_expr().
__isl_give isl_val * isl_ast_expr_get_val | ( | __isl_keep isl_ast_expr * | expr | ) |
Definition at line 295 of file isl_ast.c.
References isl_ast_expr_int_get_val().
Referenced by polly::IslExprBuilder::createInt(), print_ast_expr_isl(), and isl::ast_expr::val().
__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_ast_expr_alloc_binary(), and isl_ast_expr_op_gt.
__isl_give isl_id * isl_ast_expr_id_get_id | ( | __isl_keep isl_ast_expr * | expr | ) |
Definition at line 300 of file isl_ast.c.
References isl_ast_expr_get_ctx(), isl_ast_expr_id, isl_die, isl_error_invalid, and isl_id_copy().
Referenced by isl::ast_expr_id::id(), isl_ast_expr_get_id(), and read_for().
__isl_give isl_val * isl_ast_expr_int_get_val | ( | __isl_keep isl_ast_expr * | expr | ) |
Definition at line 283 of file isl_ast.c.
References isl_ast_expr_get_ctx(), isl_ast_expr_int, isl_die, isl_error_invalid, and isl_val_copy().
Referenced by isl_ast_expr_get_val(), and isl::ast_expr_int::val().
isl_bool isl_ast_expr_is_equal | ( | __isl_keep isl_ast_expr * | expr1, |
__isl_keep isl_ast_expr * | expr2 | ||
) |
Definition at line 511 of file isl_ast.c.
References isl_ast_expr_error, isl_ast_expr_get_ctx(), isl_ast_expr_id, isl_ast_expr_int, isl_ast_expr_list_is_equal(), isl_ast_expr_op, isl_bool_error, isl_bool_false, isl_bool_ok(), isl_bool_true, isl_die, isl_error_internal, and isl_val_eq().
Referenced by isl_ast_expr_list_is_equal(), and test_ast().
__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_ast_expr_alloc_binary(), and isl_ast_expr_op_le.
Referenced by isl::ast_expr::le().
|
static |
Definition at line 476 of file isl_ast.c.
References equal, isl_ast_expr_free(), isl_ast_expr_is_equal(), isl_bool_error, isl_bool_false, and isl_bool_true.
Referenced by isl_ast_expr_is_equal().
__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_ast_expr_alloc_binary(), and isl_ast_expr_op_lt.
__isl_give isl_ast_expr * isl_ast_expr_mul | ( | __isl_take isl_ast_expr * | expr1, |
__isl_take isl_ast_expr * | expr2 | ||
) |
Definition at line 710 of file isl_ast.c.
References isl_ast_expr_alloc_binary(), and isl_ast_expr_op_mul.
Referenced by isl_ast_expr_mod(), isl::ast_expr::mul(), and scale().
__isl_give isl_ast_expr * isl_ast_expr_neg | ( | __isl_take isl_ast_expr * | arg | ) |
Definition at line 642 of file isl_ast.c.
References arg, isl_ast_expr_alloc_unary(), and isl_ast_expr_op_minus.
Referenced by ast_expr_sub(), scale(), and test_ast().
__isl_give isl_ast_expr * isl_ast_expr_op_add_arg | ( | __isl_take isl_ast_expr * | expr, |
__isl_take isl_ast_expr * | arg | ||
) |
Definition at line 448 of file isl_ast.c.
References arg, isl_ast_expr_op_restore_args(), and isl_ast_expr_op_take_args().
Referenced by add_intermediate_piece(), ast_expr_from_aff_list(), isl_ast_build_with_arguments(), and reduce_list().
__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_ast_expr_check_op(), and pos().
Referenced by isl::ast_expr_op::arg(), and isl_ast_expr_get_op_arg().
|
static |
Definition at line 385 of file isl_ast.c.
References isl_ast_expr_check_op().
Referenced by isl_ast_expr_op_take_args().
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_ast_expr_check_op(), and isl_size_error.
Referenced by isl_ast_expr_get_op_n_arg(), and isl::ast_expr_op::n_arg().
enum isl_ast_expr_op_type isl_ast_expr_op_get_type | ( | __isl_keep isl_ast_expr * | expr | ) |
Definition at line 332 of file isl_ast.c.
References isl_ast_expr_check_op(), and isl_ast_expr_op_error.
Referenced by isl::ast_expr_op::isa_type(), and isl_ast_expr_get_op_type().
|
static |
Definition at line 422 of file isl_ast.c.
References isl_ast_expr_check_op(), isl_ast_expr_cow(), and isl_ast_expr_free().
Referenced by isl_ast_expr_alloc_binary(), isl_ast_expr_alloc_unary(), isl_ast_expr_op_add_arg(), isl_ast_expr_set_op_arg(), and isl_ast_expr_substitute_ids().
|
static |
Definition at line 402 of file isl_ast.c.
References isl_ast_expr_check_op(), and isl_ast_expr_op_get_args().
Referenced by isl_ast_expr_alloc_binary(), isl_ast_expr_alloc_unary(), isl_ast_expr_op_add_arg(), isl_ast_expr_set_op_arg(), and isl_ast_expr_substitute_ids().
__isl_give isl_printer * isl_ast_expr_op_type_print_macro | ( | enum isl_ast_expr_op_type | type, |
__isl_take isl_printer * | p | ||
) |
Definition at line 3751 of file isl_ast.c.
References already_printed_once(), get_op_str_c(), isl_ast_expr_op_fdiv_q, isl_ast_expr_op_max, isl_ast_expr_op_min, isl_printer_end_line(), isl_printer_free(), isl_printer_print_str(), isl_printer_start_line(), p, and type.
Referenced by ast_op_type_print_macro(), and isl_ast_op_type_print_macro().
__isl_give isl_printer * isl_ast_expr_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 2240 of file isl_ast.c.
References alloc_names(), get_note(), id, isl_ast_expr_op_last, isl_die, isl_error_invalid, isl_id_free(), isl_printer_free(), isl_printer_get_ctx(), name, names_id(), isl_ast_expr_op_names::op_str, p, and type.
Referenced by isl_ast_op_type_set_print_name().
__isl_give isl_ast_expr * isl_ast_expr_or | ( | __isl_take isl_ast_expr * | expr1, |
__isl_take isl_ast_expr * | expr2 | ||
) |
Definition at line 763 of file isl_ast.c.
References isl_ast_expr_alloc_binary(), and isl_ast_expr_op_or.
Referenced by buildCondition(), and isl_ast_build_expr_from_set_internal().
__isl_give isl_ast_expr * isl_ast_expr_or_else | ( | __isl_take isl_ast_expr * | expr1, |
__isl_take isl_ast_expr * | expr2 | ||
) |
Definition at line 772 of file isl_ast.c.
References isl_ast_expr_alloc_binary(), and isl_ast_expr_op_or_else.
__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_ast_expr_alloc_binary(), and isl_ast_expr_op_pdiv_q.
__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_ast_expr_alloc_binary(), and isl_ast_expr_op_pdiv_r.
__isl_give isl_printer * isl_ast_expr_print_macros | ( | __isl_keep isl_ast_expr * | expr, |
__isl_take isl_printer * | p | ||
) |
Definition at line 3879 of file isl_ast.c.
References ast_op_type_print_macro(), isl_ast_expr_foreach_ast_expr_op_type(), isl_printer_free(), and p.
__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 | ||
) |
Definition at line 462 of file isl_ast.c.
References arg, isl_ast_expr_op_restore_args(), isl_ast_expr_op_take_args(), and pos().
__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_ast_expr_alloc_binary(), and isl_ast_expr_op_sub.
Referenced by ast_expr_sub(), and test_ast().
__isl_give isl_ast_expr * isl_ast_expr_substitute_ids | ( | __isl_take isl_ast_expr * | expr, |
__isl_take isl_id_to_ast_expr * | id2expr | ||
) |
Definition at line 863 of file isl_ast.c.
References isl_ast_expr_error, isl_ast_expr_free(), isl_ast_expr_id, isl_ast_expr_int, isl_ast_expr_op, isl_ast_expr_op_restore_args(), isl_ast_expr_op_take_args(), m, and substitute_ids().
Referenced by substitute_ids().
__isl_give char * isl_ast_expr_to_C_str | ( | __isl_keep isl_ast_expr * | expr | ) |
Definition at line 3902 of file isl_ast.c.
References isl_ast_expr_get_ctx(), ISL_FORMAT_C, isl_printer_free(), isl_printer_get_str(), isl_printer_print_ast_expr(), isl_printer_set_output_format(), isl_printer_to_str(), p, and str.
Referenced by test_ast(), and isl::ast_expr::to_C_str().
__isl_give isl_ast_node * isl_ast_node_alloc | ( | isl_ctx * | ctx, |
enum isl_ast_node_type | type | ||
) |
Definition at line 912 of file isl_ast.c.
References isl_ast_node::ctx, isl_calloc_type, isl_ctx_ref(), isl_ast_node::ref, isl_ast_node::type, and type.
Referenced by isl_ast_node_alloc_for(), isl_ast_node_alloc_if(), isl_ast_node_alloc_mark(), isl_ast_node_block_from_children(), isl_ast_node_dup(), and isl_ast_node_user_from_expr().
__isl_give isl_ast_node * isl_ast_node_alloc_block | ( | __isl_take isl_ast_node_list * | list | ) |
Definition at line 1061 of file isl_ast.c.
References isl_ast_node_block_from_children().
Referenced by ast_node_insert_if(), extend_body(), and isl_ast_node_from_ast_node_list().
__isl_give isl_ast_node * isl_ast_node_alloc_for | ( | __isl_take isl_id * | id | ) |
Definition at line 955 of file isl_ast.c.
References isl_ast_node::f, isl_ast_expr_from_id(), isl_ast_node_alloc(), isl_ast_node_for, isl_ast_node_free(), isl_id_free(), isl_id_get_ctx(), isl_ast_node::iterator, and isl_ast_node::u.
Referenced by create_for(), and read_for().
__isl_give isl_ast_node * isl_ast_node_alloc_if | ( | __isl_take isl_ast_expr * | guard | ) |
Definition at line 933 of file isl_ast.c.
References isl_ast_node::guard, isl_ast_node::i, isl_ast_expr_free(), isl_ast_expr_get_ctx(), isl_ast_node_alloc(), isl_ast_node_if, and isl_ast_node::u.
Referenced by ast_node_insert_if(), and read_if().
__isl_give isl_ast_node * isl_ast_node_alloc_mark | ( | __isl_take isl_id * | id, |
__isl_take isl_ast_node * | node | ||
) |
Definition at line 980 of file isl_ast.c.
References id, isl_ast_node_alloc(), isl_ast_node_free(), isl_ast_node_mark, isl_id_free(), isl_id_get_ctx(), isl_ast_node::m, isl_ast_node::mark, isl_ast_node::node, and isl_ast_node::u.
Referenced by isl_ast_graft_insert_mark(), and read_mark().
__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_ast_node_user_from_expr().
Referenced by isl_ast_build_call_from_executed(), and read_user().
__isl_give isl_ast_node * isl_ast_node_block_from_children | ( | __isl_take isl_ast_node_list * | list | ) |
Definition at line 1037 of file isl_ast.c.
References isl_ast_node::b, isl_ast_node::children, isl_ast_node_alloc(), isl_ast_node_block, and isl_ast_node::u.
Referenced by isl_ast_node_alloc_block(), and read_block().
__isl_give isl_ast_node_list * isl_ast_node_block_get_children | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1576 of file isl_ast.c.
References isl_ast_node_check_block().
Referenced by isl::ast_node_block::children(), polly::IslNodeBuilder::createBlock(), extend_body(), isl_ast_node_block_take_children(), and select_first().
|
static |
Definition at line 1623 of file isl_ast.c.
Referenced by traverse().
|
static |
Definition at line 1604 of file isl_ast.c.
References isl_ast_node_block_get_children(), and isl_ast_node_check_block().
Referenced by traverse().
|
static |
Definition at line 1712 of file isl_ast.c.
References isl_stat_non_null().
|
static |
Definition at line 1237 of file isl_ast.c.
References isl_ast_node_block, and isl_ast_node_check_type().
Referenced by isl_ast_node_block_get_children(), and isl_ast_node_block_take_children().
|
static |
Definition at line 1252 of file isl_ast.c.
References isl_ast_node_check_type(), and isl_ast_node_for.
Referenced by 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_ast_node_for_print(), and isl_ast_node_for_take_body().
|
static |
Definition at line 1245 of file isl_ast.c.
References isl_ast_node_check_type(), and isl_ast_node_if.
Referenced by isl_ast_node_if_get_cond(), isl_ast_node_if_get_else_node(), isl_ast_node_if_get_then_node(), isl_ast_node_if_has_else_node(), isl_ast_node_if_print(), isl_ast_node_if_take_else_node(), and isl_ast_node_if_take_then_node().
|
static |
Definition at line 1260 of file isl_ast.c.
References isl_ast_node_check_type(), and isl_ast_node_mark.
Referenced by isl_ast_node_mark_get_id(), isl_ast_node_mark_get_node(), and isl_ast_node_mark_take_node().
|
static |
Definition at line 1224 of file isl_ast.c.
References isl_ast_node_get_ctx(), isl_die, isl_error_invalid, isl_stat_error, isl_stat_ok, and type.
Referenced by isl_ast_node_check_block(), isl_ast_node_check_for(), isl_ast_node_check_if(), isl_ast_node_check_mark(), and isl_ast_node_check_user().
|
static |
Definition at line 1268 of file isl_ast.c.
References isl_ast_node_check_type(), and isl_ast_node_user.
Referenced by isl_ast_node_user_get_expr().
__isl_give isl_ast_node * isl_ast_node_copy | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1092 of file isl_ast.c.
References isl_ast_node::ref.
Referenced by isl::ast_node::copy(), graft_extend_body(), insert_if(), isl_ast_graft_get_node(), isl_ast_node_dup(), isl_ast_node_for_get_body(), isl_ast_node_foreach_descendant_top_down(), isl_ast_node_if_get_else_node(), isl_ast_node_if_get_then_node(), and isl_ast_node_mark_get_node().
__isl_give isl_ast_node * isl_ast_node_cow | ( | __isl_take isl_ast_node * | node | ) |
Definition at line 1169 of file isl_ast.c.
References isl_ast_node_dup(), and isl_ast_node::ref.
Referenced by FN(), and isl_ast_node_for_mark_degenerate().
__isl_give isl_ast_node * isl_ast_node_dup | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1106 of file isl_ast.c.
References dup(), isl_ast_expr_copy(), isl_ast_node_alloc(), isl_ast_node_block, isl_ast_node_copy(), isl_ast_node_error, isl_ast_node_for, isl_ast_node_free(), isl_ast_node_get_ctx(), isl_ast_node_if, isl_ast_node_mark, isl_ast_node_user, and isl_id_copy().
Referenced by isl_ast_node_cow().
__isl_give isl_ast_node * isl_ast_node_for_get_body | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1348 of file isl_ast.c.
References isl_ast_node_check_for(), and isl_ast_node_copy().
Referenced by isl::ast_node_for::body(), polly::IslNodeBuilder::createForParallel(), and isl_ast_node_for_take_body().
__isl_give isl_ast_expr * isl_ast_node_for_get_cond | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1398 of file isl_ast.c.
References isl_ast_expr_alloc_binary(), isl_ast_expr_copy(), isl_ast_expr_op_le, and isl_ast_node_check_for().
Referenced by isl::ast_node_for::cond().
__isl_give isl_ast_expr * isl_ast_node_for_get_inc | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1416 of file isl_ast.c.
References isl_ast_expr_alloc_int_si(), isl_ast_expr_copy(), isl_ast_node_check_for(), and isl_ast_node_get_ctx().
Referenced by polly::IslNodeBuilder::createForParallel(), and isl::ast_node_for::inc().
__isl_give isl_ast_expr * isl_ast_node_for_get_init | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1383 of file isl_ast.c.
References isl_ast_expr_copy(), and isl_ast_node_check_for().
Referenced by polly::IslNodeBuilder::createForParallel(), and isl::ast_node_for::init().
__isl_give isl_ast_expr * isl_ast_node_for_get_iterator | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1375 of file isl_ast.c.
References isl_ast_expr_copy(), and isl_ast_node_check_for().
Referenced by polly::IslNodeBuilder::createForParallel(), and isl::ast_node_for::iterator().
isl_bool isl_ast_node_for_is_degenerate | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1368 of file isl_ast.c.
References isl_ast_node_check_for(), isl_bool_error, and isl_bool_ok().
Referenced by isl::ast_node_for::is_degenerate().
__isl_give isl_ast_node * isl_ast_node_for_mark_degenerate | ( | __isl_take isl_ast_node * | node | ) |
Definition at line 1358 of file isl_ast.c.
References isl_ast_node_cow().
Referenced by create_for(), and read_for().
__isl_give isl_printer * isl_ast_node_for_print | ( | __isl_keep isl_ast_node * | node, |
__isl_take isl_printer * | p, | ||
__isl_take isl_ast_print_options * | options | ||
) |
Definition at line 3176 of file isl_ast.c.
References isl_ast_node_check_for(), isl_ast_print_options_free(), isl_printer_free(), p, and print_for_c().
Referenced by cbPrintFor().
|
static |
Definition at line 1342 of file isl_ast.c.
References isl_ast_node_for_set_body().
Referenced by traverse().
|
static |
Definition at line 1323 of file isl_ast.c.
References isl_ast_node::body, isl_ast_node::f, isl_ast_node_check_for(), isl_ast_node_for_get_body(), and isl_ast_node::u.
Referenced by traverse().
isl_stat isl_ast_node_foreach_ast_expr_op_type | ( | __isl_keep isl_ast_node * | node, |
isl_stat(*)(enum isl_ast_expr_op_type type, void *user) | fn, | ||
void * | user | ||
) |
Definition at line 3846 of file isl_ast.c.
References ast_node_required_macros(), fn, foreach_ast_expr_op_type(), isl_stat_error, and user.
Referenced by isl_ast_node_foreach_ast_op_type(), and isl_ast_node_print_macros().
isl_stat isl_ast_node_foreach_ast_op_type | ( | __isl_keep isl_ast_node * | node, |
isl_stat(*)(enum isl_ast_expr_op_type type, void *user) | fn, | ||
void * | user | ||
) |
Definition at line 3860 of file isl_ast.c.
References fn, isl_ast_node_foreach_ast_expr_op_type(), and user.
isl_stat isl_ast_node_foreach_descendant_top_down | ( | __isl_keep isl_ast_node * | node, |
isl_bool(*)(__isl_keep isl_ast_node *node, void *user) | fn, | ||
void * | user | ||
) |
Definition at line 1888 of file isl_ast.c.
References fn, isl_ast_node_copy(), isl_ast_node_free(), isl_stat_non_null(), preorder_enter(), preorder_leave(), traverse(), and user.
Referenced by test_ast_gen1(), and walkAstForStatistics().
__isl_null isl_ast_node * isl_ast_node_free | ( | __isl_take isl_ast_node * | node | ) |
Definition at line 1180 of file isl_ast.c.
References isl_ast_expr_free(), isl_ast_node_block, isl_ast_node_error, isl_ast_node_for, isl_ast_node_free(), isl_ast_node_if, isl_ast_node_mark, isl_ast_node_user, isl_ctx_deref(), and isl_id_free().
Referenced by after_for(), ast_node_insert_if(), before_each_for(), create_leaf(), polly::IslNodeBuilder::createBlock(), polly::IslNodeBuilder::createForParallel(), polly::IslNodeBuilder::createIf(), polly::IslNodeBuilder::createMark(), polly::IslNodeBuilder::createUser(), extend_body(), FN(), graft_alloc(), isl_ast_graft_free(), isl_ast_graft_insert_for(), isl_ast_node_alloc_for(), isl_ast_node_alloc_mark(), isl_ast_node_dup(), isl_ast_node_foreach_descendant_top_down(), isl_ast_node_free(), isl_stream_read_ast_graft(), isl_stream_read_ast_node(), main(), preorder_enter(), print_ast_node_list(), read_body(), read_for(), read_if(), read_mark(), read_user(), select_first(), test_ast_gen1(), test_ast_gen2(), test_ast_gen3(), test_ast_gen4(), test_ast_gen5(), traverse(), and isl::ast_node::~ast_node().
__isl_give isl_ast_node * isl_ast_node_from_ast_node_list | ( | __isl_take isl_ast_node_list * | list | ) |
Definition at line 1071 of file isl_ast.c.
References isl_ast_node_alloc_block(), and n.
Referenced by isl_ast_graft_alloc_from_children(), and isl_ast_node_from_graft_list().
__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_id_copy().
Referenced by after_for(), isl::ast_node::annotation(), astBuildAfterFor(), and AtEachDomain().
isl_ctx * isl_ast_node_get_ctx | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 902 of file isl_ast.c.
Referenced by after_for(), create_leaf(), isl::ast_node::ctx(), isl::ast_node_block::ctx(), isl::ast_node_for::ctx(), isl::ast_node_if::ctx(), isl::ast_node_mark::ctx(), isl::ast_node_user::ctx(), graft_alloc(), isl_ast_node_check_type(), isl_ast_node_dup(), isl_ast_node_for_get_inc(), isl_ast_node_print(), isl_ast_node_to_C_str(), and need_block().
enum isl_ast_node_type isl_ast_node_get_type | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 907 of file isl_ast.c.
References isl_ast_node_error.
Referenced by astBuildAfterMark(), count_for(), polly::IslNodeBuilder::create(), create_leaf(), polly::IslNodeBuilder::createMark(), polly::IslNodeBuilder::getNumberOfIterations(), isl::ast_node::isa_type(), IsLoopVectorizerDisabled(), select_first(), and test_ast_gen4().
__isl_give isl_ast_expr * isl_ast_node_if_get_cond | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1568 of file isl_ast.c.
References isl_ast_expr_copy(), and isl_ast_node_check_if().
Referenced by isl::ast_node_if::cond(), and polly::IslNodeBuilder::createIf().
__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_ast_node_if_get_else_node().
Referenced by polly::IslNodeBuilder::createIf().
__isl_give isl_ast_node * isl_ast_node_if_get_else_node | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1507 of file isl_ast.c.
References isl_ast_node_check_if(), and isl_ast_node_copy().
Referenced by isl::ast_node_if::else_node(), isl_ast_node_if_get_else(), and isl_ast_node_if_take_else_node().
__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_ast_node_if_get_then_node().
Referenced by polly::IslNodeBuilder::createIf().
__isl_give isl_ast_node * isl_ast_node_if_get_then_node | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1472 of file isl_ast.c.
References isl_ast_node_check_if(), and isl_ast_node_copy().
Referenced by isl_ast_node_if_get_then(), isl_ast_node_if_take_then_node(), and isl::ast_node_if::then_node().
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_ast_node_if_has_else_node().
Referenced by polly::IslNodeBuilder::createIf().
isl_bool isl_ast_node_if_has_else_node | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1490 of file isl_ast.c.
References isl_ast_node_check_if(), isl_bool_error, and isl_bool_ok().
Referenced by isl::ast_node_if::has_else_node(), isl_ast_node_if_has_else(), and traverse().
__isl_give isl_printer * isl_ast_node_if_print | ( | __isl_keep isl_ast_node * | node, |
__isl_take isl_printer * | p, | ||
__isl_take isl_ast_print_options * | options | ||
) |
Definition at line 3192 of file isl_ast.c.
References isl_ast_node_check_if(), isl_ast_print_options_free(), isl_printer_free(), p, and print_if_c().
|
static |
Definition at line 1562 of file isl_ast.c.
Referenced by traverse().
|
static |
Definition at line 1464 of file isl_ast.c.
References isl_ast_node_if_set_then().
Referenced by traverse().
|
static |
Definition at line 1543 of file isl_ast.c.
References isl_ast_node::else_node, isl_ast_node::i, isl_ast_node_check_if(), isl_ast_node_if_get_else_node(), and isl_ast_node::u.
Referenced by traverse().
|
static |
Definition at line 1445 of file isl_ast.c.
References isl_ast_node::i, isl_ast_node_check_if(), isl_ast_node_if_get_then_node(), isl_ast_node::then, and isl_ast_node::u.
Referenced by traverse().
__isl_give isl_printer * isl_ast_node_list_print | ( | __isl_keep isl_ast_node_list * | list, |
__isl_take isl_printer * | p, | ||
__isl_keep isl_ast_print_options * | options | ||
) |
Definition at line 3268 of file isl_ast.c.
References isl_printer_free(), p, and print_ast_node_c().
Referenced by print_ast_node_c().
__isl_give isl_ast_node * isl_ast_node_map_descendant_bottom_up | ( | __isl_take isl_ast_node * | node, |
__isl_give isl_ast_node *(*)(__isl_take isl_ast_node *node, void *user) | fn, | ||
void * | user | ||
) |
Definition at line 1944 of file isl_ast.c.
References fn, postorder_enter(), postorder_leave(), traverse(), and user.
Referenced by test_ast_gen1().
__isl_give isl_id * isl_ast_node_mark_get_id | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1640 of file isl_ast.c.
References isl_ast_node_check_mark(), and isl_id_copy().
Referenced by astBuildAfterMark(), polly::IslNodeBuilder::createMark(), and isl::ast_node_mark::id().
__isl_give isl_ast_node * isl_ast_node_mark_get_node | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1650 of file isl_ast.c.
References isl_ast_node_check_mark(), and isl_ast_node_copy().
Referenced by polly::IslNodeBuilder::createMark(), isl_ast_node_mark_take_node(), and isl::ast_node_mark::node().
|
static |
Definition at line 1698 of file isl_ast.c.
Referenced by traverse().
|
static |
Definition at line 1679 of file isl_ast.c.
References isl_ast_node_check_mark(), isl_ast_node_mark_get_node(), isl_ast_node::m, isl_ast_node::node, and isl_ast_node::u.
Referenced by traverse().
__isl_give isl_printer * isl_ast_node_print | ( | __isl_keep isl_ast_node * | node, |
__isl_take isl_printer * | p, | ||
__isl_take isl_ast_print_options * | options | ||
) |
Definition at line 3215 of file isl_ast.c.
References isl_ast_node_block, isl_ast_node_get_ctx(), isl_ast_print_options_free(), isl_options_get_ast_print_outermost_block(), isl_printer_free(), p, and print_ast_node_c().
Referenced by isl_printer_print_ast_node(), polly::IslAstInfo::print(), and print_body_c().
__isl_give isl_printer * isl_ast_node_print_macros | ( | __isl_keep isl_ast_node * | node, |
__isl_take isl_printer * | p | ||
) |
Definition at line 3891 of file isl_ast.c.
References ast_op_type_print_macro(), isl_ast_node_foreach_ast_expr_op_type(), isl_printer_free(), and p.
|
static |
__isl_give char * isl_ast_node_to_C_str | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 3923 of file isl_ast.c.
References isl_ast_node_get_ctx(), ISL_FORMAT_C, isl_printer_free(), isl_printer_get_str(), isl_printer_print_ast_node(), isl_printer_set_output_format(), isl_printer_to_str(), p, and str.
Referenced by isl::ast_node::to_C_str().
__isl_give isl_ast_node * isl_ast_node_user_from_expr | ( | __isl_take isl_ast_expr * | expr | ) |
Definition at line 1006 of file isl_ast.c.
References isl_ast_node::e, isl_ast_node::expr, isl_ast_expr_free(), isl_ast_expr_get_ctx(), isl_ast_node_alloc(), isl_ast_node_user, and isl_ast_node::u.
Referenced by isl_ast_node_alloc_user().
__isl_give isl_ast_expr * isl_ast_node_user_get_expr | ( | __isl_keep isl_ast_node * | node | ) |
Definition at line 1629 of file isl_ast.c.
References isl_ast_expr_copy(), and isl_ast_node_check_user().
Referenced by polly::IslNodeBuilder::createUser(), and isl::ast_node_user::expr().
__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_ast_expr_op_type_print_macro(), p, and type.
__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 | ||
) |
__isl_give isl_ast_print_options * isl_ast_print_options_alloc | ( | isl_ctx * | ctx | ) |
Definition at line 35 of file isl_ast.c.
References isl_calloc_type, and isl_ctx_ref().
Referenced by isl_ast_print_options_dup(), isl_printer_print_ast_node(), and polly::IslAstInfo::print().
__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.
Referenced by print_ast_node_c(), and print_body_c().
__isl_give isl_ast_print_options * isl_ast_print_options_cow | ( | __isl_take isl_ast_print_options * | options | ) |
Definition at line 72 of file isl_ast.c.
References isl_ast_print_options_dup().
Referenced by isl_ast_print_options_set_print_for(), and isl_ast_print_options_set_print_user().
__isl_give isl_ast_print_options * isl_ast_print_options_dup | ( | __isl_keep isl_ast_print_options * | options | ) |
Definition at line 50 of file isl_ast.c.
References dup(), isl_ast_print_options_alloc(), and isl_ast_print_options_get_ctx().
Referenced by isl_ast_print_options_cow().
__isl_null isl_ast_print_options * isl_ast_print_options_free | ( | __isl_take isl_ast_print_options * | options | ) |
Definition at line 94 of file isl_ast.c.
References isl_ctx_deref().
Referenced by cbPrintUser(), isl_ast_node_for_print(), isl_ast_node_if_print(), and isl_ast_node_print().
isl_ctx * isl_ast_print_options_get_ctx | ( | __isl_keep isl_ast_print_options * | options | ) |
Definition at line 29 of file isl_ast.c.
Referenced by isl_ast_print_options_dup().
__isl_give isl_ast_print_options * isl_ast_print_options_set_print_for | ( | __isl_take isl_ast_print_options * | options, |
__isl_give isl_printer *(*)(__isl_take isl_printer *p, __isl_take isl_ast_print_options *options, __isl_keep isl_ast_node *node, void *user) | print_for, | ||
void * | user | ||
) |
Definition at line 135 of file isl_ast.c.
References isl_ast_print_options_cow(), and user.
Referenced by polly::IslAstInfo::print().
__isl_give isl_ast_print_options * isl_ast_print_options_set_print_user | ( | __isl_take isl_ast_print_options * | options, |
__isl_give isl_printer *(*)(__isl_take isl_printer *p, __isl_take isl_ast_print_options *options, __isl_keep isl_ast_node *node, void *user) | print_user, | ||
void * | user | ||
) |
Definition at line 114 of file isl_ast.c.
References isl_ast_print_options_cow(), and user.
Referenced by polly::IslAstInfo::print().
__isl_give isl_printer * isl_printer_print_ast_expr | ( | __isl_take isl_printer * | p, |
__isl_keep isl_ast_expr * | expr | ||
) |
Definition at line 2600 of file isl_ast.c.
References isl_die, isl_error_unsupported, ISL_FORMAT_C, ISL_FORMAT_ISL, isl_printer_free(), isl_printer_get_ctx(), isl_printer_get_output_format(), p, print_ast_expr_c(), and print_ast_expr_isl().
Referenced by cbPrintUser(), isl_ast_expr_to_C_str(), polly::IslAstInfo::print(), print_ast_node_c(), print_ast_node_isl(), print_for_c(), print_if_c(), and print_pw_aff_c().
__isl_give isl_printer * isl_printer_print_ast_node | ( | __isl_take isl_printer * | p, |
__isl_keep isl_ast_node * | node | ||
) |
Definition at line 3239 of file isl_ast.c.
References isl_ast_node_print(), isl_ast_print_options_alloc(), isl_die, isl_error_unsupported, ISL_FORMAT_C, ISL_FORMAT_ISL, isl_printer_free(), isl_printer_get_ctx(), isl_printer_get_output_format(), p, and print_ast_node_isl().
Referenced by isl_ast_node_to_C_str(), isl_printer_print_ast_graft(), main(), and print_ast_node_isl().
__isl_give isl_ast_expr * isl_stream_read_ast_expr | ( | __isl_keep isl_stream * | s | ) |
Definition at line 2754 of file isl_ast.c.
References isl_ast_expr_error, isl_ast_expr_free(), isl_ast_expr_id, isl_ast_expr_int, isl_ast_expr_op, isl_stream_error(), isl_stream_yaml_next(), isl_stream_yaml_read_end_mapping(), isl_stream_yaml_read_start_mapping(), read_id(), read_int(), read_op(), isl_token::s, and type.
Referenced by read_for(), read_if(), and read_user().
__isl_give isl_ast_node * isl_stream_read_ast_node | ( | __isl_keep isl_stream * | s | ) |
Definition at line 3505 of file isl_ast.c.
References isl_ast_node_block, isl_ast_node_error, isl_ast_node_for, isl_ast_node_free(), isl_ast_node_if, isl_ast_node_mark, isl_ast_node_user, isl_die, isl_error_internal, isl_stream_error(), isl_stream_get_ctx(), isl_stream_yaml_next(), isl_stream_yaml_read_end_mapping(), isl_stream_yaml_read_start_mapping(), next_is_sequence(), read_block(), read_for(), read_if(), read_mark(), read_user(), isl_token::s, and type.
Referenced by isl_stream_read_ast_graft(), read_body(), read_if(), and read_mark().
|
static |
Definition at line 2174 of file isl_ast.c.
References isl_id_alloc().
Referenced by get_op_str_c(), and isl_ast_expr_op_type_set_print_name().
|
static |
Definition at line 2925 of file isl_ast.c.
References isl_ast_node_block, isl_ast_node_for, isl_ast_node_get_ctx(), isl_ast_node_if, isl_ast_node_mark, and isl_options_get_ast_always_print_block().
Referenced by print_body_c().
|
static |
Definition at line 3288 of file isl_ast.c.
References isl_bool_error, isl_bool_ok(), isl_stream_next_token(), isl_stream_push_token(), isl_token_get_type(), isl_token::s, and type.
Referenced by isl_stream_read_ast_node().
|
static |
Definition at line 2642 of file isl_ast.c.
References isl_stream_error(), isl_stream_get_ctx(), isl_stream_next_token(), isl_token_free(), isl_token_get_str(), isl_token::s, and str.
Referenced by eat_key(), and read_for().
|
static |
Definition at line 1915 of file isl_ast.c.
Referenced by isl_ast_node_map_descendant_bottom_up().
|
static |
Definition at line 1926 of file isl_ast.c.
References isl_ast_node_postorder_data::fn, user, and isl_ast_node_postorder_data::user.
Referenced by isl_ast_node_map_descendant_bottom_up().
|
static |
Definition at line 1853 of file isl_ast.c.
References isl_ast_node_preorder_data::fn, isl_ast_node_free(), m, user, and isl_ast_node_preorder_data::user.
Referenced by isl_ast_node_foreach_descendant_top_down().
|
static |
Definition at line 1872 of file isl_ast.c.
Referenced by isl_ast_node_foreach_descendant_top_down().
|
static |
Definition at line 2367 of file isl_ast.c.
References isl_printer_free(), isl_printer_print_str(), n, p, and print_at_c().
Referenced by print_ast_expr_c().
|
static |
Definition at line 2510 of file isl_ast.c.
References arg, isl_ast_expr_free(), isl_ast_expr_get_op_arg(), isl_ast_expr_get_op_n_arg(), isl_printer_free(), isl_printer_print_str(), isl_printer_yaml_end_sequence(), isl_printer_yaml_next(), isl_printer_yaml_start_sequence(), n, p, and print_ast_expr_isl().
Referenced by print_ast_expr_isl().
|
static |
Definition at line 2389 of file isl_ast.c.
References get_op_str_c(), isl_ast_expr_error, isl_ast_expr_id, isl_ast_expr_int, isl_ast_expr_op, isl_ast_expr_op_access, isl_ast_expr_op_call, isl_ast_expr_op_cond, isl_ast_expr_op_fdiv_q, isl_ast_expr_op_max, isl_ast_expr_op_member, isl_ast_expr_op_min, isl_ast_expr_op_select, isl_die, isl_error_internal, isl_id_get_name(), isl_printer_free(), isl_printer_get_ctx(), isl_printer_print_str(), isl_printer_print_val(), n, name, p, print_access_c(), print_at_c(), print_call_c(), print_min_max_c(), and print_sub_expr_c().
Referenced by isl_printer_print_ast_expr(), print_at_c(), and print_sub_expr_c().
|
static |
Definition at line 2550 of file isl_ast.c.
References expr_str, id, isl_ast_expr_error, isl_ast_expr_get_id(), isl_ast_expr_get_op_type(), isl_ast_expr_get_type(), isl_ast_expr_get_val(), isl_ast_expr_id, isl_ast_expr_int, isl_ast_expr_op, isl_ast_expr_op_error, isl_id_free(), isl_printer_free(), isl_printer_print_id(), isl_printer_print_str(), isl_printer_print_val(), isl_printer_yaml_end_mapping(), isl_printer_yaml_next(), isl_printer_yaml_start_mapping(), isl_val_free(), op, op_str, p, print_arguments(), and type.
Referenced by isl_printer_print_ast_expr(), and print_arguments().
|
static |
Definition at line 3129 of file isl_ast.c.
References end_block(), isl_ast_node_block, isl_ast_node_error, isl_ast_node_for, isl_ast_node_if, isl_ast_node_list_print(), isl_ast_node_mark, isl_ast_node_user, isl_ast_print_options_copy(), isl_id_get_name(), isl_printer_end_line(), isl_printer_print_ast_expr(), isl_printer_print_str(), isl_printer_start_line(), p, print_ast_node_c(), print_for_c(), print_if_c(), and start_block().
Referenced by isl_ast_node_list_print(), isl_ast_node_print(), print_ast_node_c(), print_body_c(), and print_for_c().
|
static |
Definition at line 2828 of file isl_ast.c.
References isl_ast_node_block, isl_ast_node_error, isl_ast_node_for, isl_ast_node_if, isl_ast_node_mark, isl_ast_node_user, isl_printer_print_ast_expr(), isl_printer_print_ast_node(), isl_printer_print_id(), isl_printer_print_str(), isl_printer_yaml_end_mapping(), isl_printer_yaml_next(), isl_printer_yaml_start_mapping(), p, and print_ast_node_list().
Referenced by isl_printer_print_ast_node(), and print_ast_node_list().
|
static |
Definition at line 2800 of file isl_ast.c.
References isl_ast_node_free(), isl_printer_free(), isl_printer_yaml_end_sequence(), isl_printer_yaml_next(), isl_printer_yaml_start_sequence(), n, p, and print_ast_node_isl().
Referenced by print_ast_node_isl().
|
static |
Definition at line 2299 of file isl_ast.c.
References isl_ast_expr_free(), p, pos(), and print_ast_expr_c().
Referenced by print_access_c(), print_ast_expr_c(), print_call_c(), and print_min_max_c().
|
static |
Definition at line 2970 of file isl_ast.c.
References isl_ast_node_if, isl_ast_node_print(), isl_ast_print_options_copy(), isl_printer_end_line(), isl_printer_free(), isl_printer_indent(), isl_printer_print_str(), isl_printer_start_line(), need_block(), p, print_ast_node_c(), print_body_c(), and print_if_c().
Referenced by print_body_c(), print_for_c(), and print_if_c().
|
static |
Definition at line 2341 of file isl_ast.c.
References isl_printer_free(), isl_printer_print_str(), n, p, and print_at_c().
Referenced by print_ast_expr_c().
|
static |
Definition at line 3050 of file isl_ast.c.
References end_block(), id, isl_ast_expr_get_id(), isl_id_free(), isl_id_get_name(), isl_options_get_ast_iterator_type(), isl_printer_end_line(), isl_printer_get_ctx(), isl_printer_print_ast_expr(), isl_printer_print_str(), isl_printer_start_line(), name, p, print_ast_node_c(), print_body_c(), start_block(), and type.
Referenced by isl_ast_node_for_print(), and print_ast_node_c().
|
static |
Definition at line 3104 of file isl_ast.c.
References isl_printer_print_ast_expr(), isl_printer_print_str(), isl_printer_start_line(), p, and print_body_c().
Referenced by isl_ast_node_if_print(), print_ast_node_c(), and print_body_c().
|
static |
Definition at line 2313 of file isl_ast.c.
References get_op_str_c(), isl_printer_free(), isl_printer_print_str(), n, p, and print_at_c().
Referenced by print_ast_expr_c().
|
static |
Definition at line 2114 of file isl_ast.c.
References arg, isl_ast_expr_free(), isl_printer_free(), isl_printer_print_str(), p, pos(), print_ast_expr_c(), and sub_expr_need_parens().
Referenced by print_ast_expr_c().
|
static |
Definition at line 3700 of file isl_ast.c.
References isl_id_alloc().
Referenced by already_printed_once().
|
static |
Definition at line 3311 of file isl_ast.c.
References isl_ast_node_block_from_children(), and isl_token::s.
Referenced by isl_stream_read_ast_node().
|
static |
Definition at line 3347 of file isl_ast.c.
References eat_key(), isl_ast_node_for_set_body(), isl_ast_node_free(), isl_stream_read_ast_node(), isl_stream_yaml_next(), and isl_token::s.
Referenced by read_for().
|
static |
Definition at line 3366 of file isl_ast.c.
References eat_key(), id, isl_ast_expr_free(), isl_ast_expr_id_get_id(), isl_ast_node_alloc_for(), isl_ast_node_for_mark_degenerate(), isl_ast_node_for_set_cond(), isl_ast_node_for_set_inc(), isl_ast_node_for_set_init(), isl_ast_node_free(), isl_die, isl_error_invalid, isl_id_free(), isl_stream_get_ctx(), isl_stream_read_ast_expr(), isl_stream_yaml_next(), key, next_key(), read_body(), and isl_token::s.
Referenced by isl_stream_read_ast_node().
|
static |
Definition at line 2718 of file isl_ast.c.
References isl_ast_expr_from_id(), isl_stream_read_id(), and isl_token::s.
Referenced by isl_stream_read_ast_expr().
|
static |
Definition at line 3464 of file isl_ast.c.
References eat_key(), isl_ast_node_alloc_if(), isl_ast_node_free(), isl_ast_node_if_set_then(), isl_stream_read_ast_expr(), isl_stream_read_ast_node(), isl_stream_yaml_next(), and isl_token::s.
Referenced by isl_stream_read_ast_node().
|
static |
Definition at line 2726 of file isl_ast.c.
References isl_ast_expr_from_val(), isl_stream_read_val(), and isl_token::s.
Referenced by isl_stream_read_ast_expr().
|
static |
Definition at line 3426 of file isl_ast.c.
References eat_key(), id, isl_ast_node_alloc_mark(), isl_ast_node_free(), isl_id_free(), isl_stream_read_ast_node(), isl_stream_read_id(), isl_stream_yaml_next(), and isl_token::s.
Referenced by isl_stream_read_ast_node().
|
static |
Definition at line 2697 of file isl_ast.c.
References alloc_op(), eat_key(), isl_stream_yaml_next(), op, and isl_token::s.
Referenced by isl_stream_read_ast_expr().
|
static |
Definition at line 3451 of file isl_ast.c.
References isl_ast_node_alloc_user(), isl_ast_node_free(), isl_stream_read_ast_expr(), isl_stream_yaml_next(), and isl_token::s.
Referenced by isl_stream_read_ast_node().
|
static |
Definition at line 3009 of file isl_ast.c.
References isl_printer_end_line(), isl_printer_indent(), isl_printer_print_str(), isl_printer_start_line(), and p.
Referenced by print_ast_node_c(), and print_for_c().
|
static |
Definition at line 2088 of file isl_ast.c.
References is_add_sub(), is_and(), is_div_mod(), is_or(), isl_ast_expr_op, isl_ast_expr_op_mul, op, op_left, and op_prec.
Referenced by print_sub_expr_c().
|
static |
Definition at line 850 of file isl_ast.c.
References isl_ast_expr_substitute_ids(), and user.
Referenced by isl_ast_expr_substitute_ids().
|
static |
Definition at line 1784 of file isl_ast.c.
References isl_ast_node_block, isl_ast_node_block_restore_children(), isl_ast_node_block_take_children(), isl_ast_node_error, isl_ast_node_for, isl_ast_node_for_restore_body(), isl_ast_node_for_take_body(), isl_ast_node_free(), isl_ast_node_if, isl_ast_node_if_has_else_node(), isl_ast_node_if_restore_else_node(), isl_ast_node_if_restore_then_node(), isl_ast_node_if_take_else_node(), isl_ast_node_if_take_then_node(), isl_ast_node_mark, isl_ast_node_mark_restore_node(), isl_ast_node_mark_take_node(), isl_ast_node_user, traverse(), traverse_list(), and user.
Referenced by isl_ast_node_foreach_descendant_top_down(), isl_ast_node_map_descendant_bottom_up(), traverse(), and traverse_list().
|
static |
Definition at line 1749 of file isl_ast.c.
References n, traverse(), and user.
Referenced by traverse().
|
static |
Definition at line 2540 of file isl_ast.c.
Referenced by print_ast_expr_isl().
|
static |
|
static |
Definition at line 2016 of file isl_ast.c.
Referenced by sub_expr_need_parens().
|
static |
Definition at line 1985 of file isl_ast.c.
Referenced by sub_expr_need_parens().
|
static |
Definition at line 2472 of file isl_ast.c.
Referenced by print_ast_expr_isl().
|
static |
Definition at line 1956 of file isl_ast.c.
Referenced by get_op_str_c().