Polly 20.0.0git
|
#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.
__isl_subclass | ( | isl_ast_expr | ) |
__isl_subclass | ( | isl_ast_expr_op | ) |
__isl_subclass | ( | isl_ast_node | ) |
__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_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.
__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_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.
void isl_ast_expr_dump | ( | __isl_keep isl_ast_expr * | expr | ) |
__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().
__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_export __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_export __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().
__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 * | expr | ) |
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_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_ast_expr_check_op(), and pos().
Referenced by isl::ast_expr_op::arg(), and isl_ast_expr_get_op_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_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_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_export __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 char * isl_ast_expr_to_str | ( | __isl_keep isl_ast_expr * | expr | ) |
Referenced by isl::operator<<().
__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_constructor __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_export __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().
__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().
void isl_ast_node_dump | ( | __isl_keep isl_ast_node * | node | ) |
__isl_export __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_export __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_export __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_export __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_export __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_export 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_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().
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_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().
__isl_export __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_export __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_export __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_export 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().
__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 *(*)(__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_export __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_export __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().
__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.
__isl_give isl_ast_node * isl_ast_node_set_annotation | ( | __isl_take isl_ast_node * | node, |
__isl_take isl_id * | annotation | ||
) |
Referenced by AtEachDomain(), and before_each_for().
__isl_export __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 char * isl_ast_node_to_str | ( | __isl_keep isl_ast_node * | node | ) |
Referenced by isl::operator<<().
__isl_constructor __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_export __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_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().
int isl_options_get_ast_always_print_block | ( | isl_ctx * | ctx | ) |
Referenced by need_block().
const char * isl_options_get_ast_iterator_type | ( | isl_ctx * | ctx | ) |
Referenced by print_for_c().
int isl_options_get_ast_print_macro_once | ( | isl_ctx * | ctx | ) |
Referenced by already_printed_once().
int isl_options_get_ast_print_outermost_block | ( | isl_ctx * | ctx | ) |
Referenced by isl_ast_node_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().