Polly 20.0.0git
|
#include <string.h>
#include <isl_ctx_private.h>
#include <isl_id_private.h>
#include <isl_list_templ.c>
#include <isl_list_read_templ.c>
#include "isl_read_from_str_templ.c"
#include <isl_multi_no_domain_templ.c>
#include <isl_multi_no_explicit_domain.c>
#include <isl_multi_templ.c>
Go to the source code of this file.
Classes | |
struct | isl_name_and_user |
Macros | |
#define | EL_BASE id |
#define | TYPE_BASE id |
#define | BASE id |
Variables | |
isl_id | isl_id_none |
void(*)(void *user) | isl_id_get_free_user (__isl_keep isl_id *id) |
|
static |
Definition at line 46 of file isl_id.c.
References id, isl_calloc_type, isl_ctx_ref(), isl_hash_builtin, isl_hash_init, isl_hash_string(), name, and user.
Referenced by isl_id_alloc().
uint32_t isl_hash_id | ( | uint32_t | hash, |
__isl_keep isl_id * | id | ||
) |
Definition at line 173 of file isl_id.c.
References id, and isl_hash_hash.
Referenced by isl_hash_params(), isl_hash_tuples(), and isl_hash_tuples_domain().
__isl_give isl_id * isl_id_alloc | ( | isl_ctx * | ctx, |
const char * | name, | ||
void * | user | ||
) |
Definition at line 100 of file isl_id.c.
References isl_hash_table_entry::data, id_alloc(), isl_ctx::id_table, isl_hash_builtin, isl_hash_init, isl_hash_string(), isl_hash_table_find(), isl_id_copy(), isl_id_has_name_and_user(), isl_hash_table::n, name, and user.
Referenced by isl_stream_read_id().
int isl_id_cmp | ( | __isl_keep isl_id * | id1, |
__isl_keep isl_id * | id2 | ||
) |
Definition at line 147 of file isl_id.c.
References cmp().
Referenced by isl_space_cmp(), and isl_space_cmp_type().
__isl_give isl_id * isl_id_copy | ( | isl_id * | id | ) |
Definition at line 129 of file isl_id.c.
References id.
Referenced by aff_bind_id(), alloc_note(), bind_id(), collect_cluster_map(), isl::id::copy(), copy_ids(), get_note(), isl_aff_bind_id(), isl_ast_expr_dup(), isl_ast_expr_id_get_id(), isl_ast_node_dup(), isl_ast_node_get_annotation(), isl_ast_node_mark_get_id(), isl_id_alloc(), isl_morph_set_ran_tuple_id(), isl_pw_aff_param_on_domain_id(), isl_schedule_tree_dup(), isl_schedule_tree_mark_get_id(), isl_space_domain_factor_domain(), isl_space_domain_factor_range(), isl_space_dup(), isl_space_get_dim_id(), isl_space_get_tuple_id(), isl_space_join(), isl_space_map_from_set(), isl_space_set_dim_id(), isl_union_pw_aff_param_on_domain_id(), range_factor_domain(), and range_factor_range().
|
static |
Definition at line 168 of file isl_id.c.
References isl_bool_ok(), and name.
Referenced by isl_id_free().
__isl_null isl_id * isl_id_free | ( | __isl_take isl_id * | id | ) |
Definition at line 207 of file isl_id.c.
References id, isl_ctx_deref(), isl_die, isl_error_unknown, isl_hash_table_entry_none, isl_hash_table_find(), isl_hash_table_remove(), and isl_id_eq().
Referenced by polly::ScopBuilder::addUserAssumptions(), after_for(), already_printed_once(), astBuildAfterFor(), astBuildAfterMark(), build_ast_from_mark(), check_fresh_params(), collect_cluster_map(), polly::IslExprBuilder::createAccessAddress(), polly::IslNodeBuilder::createForParallel(), polly::IslExprBuilder::createId(), polly::IslNodeBuilder::createMark(), polly::IslNodeBuilder::createSubstitutionsVector(), polly::IslNodeBuilder::createUser(), equate_params(), extract_node(), FN(), get_note(), get_op_str_c(), graph_find_compressed_node(), importAccesses(), isl_aff_param_on_domain_space_id(), isl_aff_set_dim_id(), isl_aff_set_tuple_id(), isl_ast_expr_free(), isl_ast_expr_from_id(), isl_ast_expr_op_type_set_print_name(), isl_ast_graft_insert_mark(), isl_ast_node_alloc_for(), isl_ast_node_alloc_mark(), isl_ast_node_free(), isl_local_space_set_dim_id(), isl_local_space_set_tuple_id(), isl_parameter_alignment_reordering(), isl_printer_get_note(), isl_printer_set_note(), isl_pw_aff_bind_id(), isl_reordering_unbind_params_insert_domain(), isl_schedule_node_group(), isl_schedule_tree_free(), isl_schedule_tree_from_mark(), isl_space_add_param_id(), isl_space_drop_dims(), isl_space_free(), isl_space_map_from_set(), isl_space_reset(), isl_space_reset_dim_id(), isl_space_reset_tuple_id(), isl_space_reset_user(), isl_space_set_dim_id(), isl_space_set_tuple_id(), isl_space_unbind_params_insert_domain(), isl_space_underlying(), isl_union_pw_aff_bind_id(), map_equate_params(), polly::IslNodeBuilder::materializeValue(), polly::IslNodeBuilder::preloadInvariantEquivClass(), print_ast_expr_isl(), print_for_c(), read_for(), read_mark(), set_id(), test_list(), and isl::id::~id().
isl_ctx * isl_id_get_ctx | ( | __isl_keep isl_id * | id | ) |
Definition at line 31 of file isl_id.c.
Referenced by isl::id::ctx(), isl_ast_expr_from_id(), isl_ast_node_alloc_for(), isl_ast_node_alloc_mark(), and isl_schedule_tree_from_mark().
uint32_t isl_id_get_hash | ( | __isl_keep isl_id * | id | ) |
const char * isl_id_get_name | ( | __isl_keep isl_id * | id | ) |
Definition at line 41 of file isl_id.c.
Referenced by after_for(), astBuildAfterMark(), astBuildBeforeMark(), polly::IslExprBuilder::createAccessAddress(), polly::IslNodeBuilder::createMark(), importAccesses(), isl_printer_print_schedule_tree_mark(), isl_space_reset_user(), isl::id::name(), print_ast_expr_c(), print_ast_node_c(), and print_for_c().
void * isl_id_get_user | ( | __isl_keep isl_id * | id | ) |
Definition at line 36 of file isl_id.c.
Referenced by polly::ScopBuilder::addUserAssumptions(), astBuildAfterFor(), polly::IslNodeBuilder::createUser(), get_note(), polly::ZoneAlgorithm::getScalarReachingDefinition(), graph_find_compressed_node(), isl_space_reset_user(), polly::IslNodeBuilder::materializeValue(), and isl::id::user().
|
static |
Definition at line 85 of file isl_id.c.
References id, isl_bool_false, isl_bool_ok(), isl_bool_true, isl_name_and_user::name, isl_name_and_user::user, and val.
Referenced by isl_id_alloc().
|
static |
Definition at line 295 of file isl_id.c.
References isl_bool_error.
__isl_give isl_id * isl_id_set_free_user | ( | __isl_take isl_id * | id, |
void(*)(void *user) | free_user | ||
) |
Definition at line 183 of file isl_id.c.
References free_user(), isl_id::free_user, and id.
Referenced by alloc_note(), astBuildBeforeFor(), AtEachDomain(), and polly::getIslLoopAttr().
__isl_give isl_printer * isl_printer_print_id | ( | __isl_take isl_printer * | p, |
__isl_keep isl_id * | id | ||
) |
Definition at line 240 of file isl_id.c.
References id, isl_printer_free(), isl_printer_print_str(), and p.
Referenced by print_ast_expr_isl(), print_ast_node_isl(), and print_dim_mi().
__isl_give isl_id * isl_stream_read_id | ( | __isl_keep isl_stream * | s | ) |
Definition at line 261 of file isl_id.c.
References id, isl_id_alloc(), 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 read_id(), and read_mark().
void(*)(void *user) isl_id_get_free_user(__isl_keep isl_id *id) | ( | __isl_keep isl_id * | id | ) |
isl_id isl_id_none |
Definition at line 24 of file isl_id.c.
Referenced by isl_hash_tuples_domain(), isl_space_is_map(), isl_space_is_params(), isl_space_is_set(), mark_as_params(), and mark_as_set().