OpenScop 0.8.1
|
Go to the source code of this file.
Defines | |
#define | OSL_DEBUG 0 |
#define | OSL_TAG_START_SCOP "<OpenScop>" |
#define | OSL_TAG_END_SCOP "</OpenScop>" |
#define | OSL_PRECISION_ENV "OSL_PRECISION" |
#define | OSL_PRECISION_ENV_SP "32" |
#define | OSL_PRECISION_ENV_DP "64" |
#define | OSL_PRECISION_ENV_MP "0" |
#define | OSL_PRECISION_SP 32 |
#define | OSL_PRECISION_DP 64 |
#define | OSL_PRECISION_MP 0 |
#define | OSL_FMT_SP "%4ld" |
#define | OSL_FMT_DP "%4lld" |
#define | OSL_FMT_MP "%4s" |
#define | OSL_FMT_LENGTH 4 |
#define | OSL_FMT_TXT_SP "%ld" |
#define | OSL_FMT_TXT_DP "%lld" |
#define | OSL_FMT_TXT_MP "%s" |
#define | OSL_BACKEND_C 0 |
#define | OSL_BACKEND_FORTRAN 1 |
#define | OSL_UNDEFINED -1 |
#define | OSL_MAX_STRING 2048 |
#define | OSL_MAX_ARRAYS 128 |
#define | OSL_TYPE_GENERIC 0 |
#define | OSL_TYPE_STRING 1 |
#define | OSL_TYPE_CONTEXT 2 |
#define | OSL_TYPE_DOMAIN 3 |
#define | OSL_TYPE_SCATTERING 4 |
#define | OSL_TYPE_ACCESS 5 |
#define | OSL_TYPE_READ 6 |
#define | OSL_TYPE_WRITE 7 |
#define | OSL_TYPE_MAY_WRITE 8 |
#define | OSL_FAKE_ARRAY "fakearray" |
#define | OSL_STRING_UNDEFINED "UNDEFINED" |
#define | OSL_STRING_CONTEXT "CONTEXT" |
#define | OSL_STRING_DOMAIN "DOMAIN" |
#define | OSL_STRING_SCATTERING "SCATTERING" |
#define | OSL_STRING_READ "READ" |
#define | OSL_STRING_WRITE "WRITE" |
#define | OSL_STRING_MAY_WRITE "MAY_WRITE" |
#define | OSL_coucou(n) |
#define | OSL_debug(msg) |
#define | OSL_info(msg) |
#define | OSL_warning(msg) |
#define | OSL_error(msg) |
#define | OSL_malloc(ptr, type, size) |
#define | OSL_realloc(ptr, type, size) |
#define | OSL_strdup(destination, source) |
#define | OSL_max(x, y) ((x) > (y)? (x) : (y)) |
#define | OSL_min(x, y) ((x) < (y)? (x) : (y)) |
#define OSL_coucou | ( | n | ) |
#define OSL_debug | ( | msg | ) |
do { \ if (OSL_DEBUG) \ fprintf(stderr,"[osl] Debug: "msg" (%s).\n", __func__); \ } while (0)
Definition at line 125 of file macros.h.
Referenced by osl_arrays_sread(), osl_comment_sread(), osl_generic_read_one(), osl_irregular_sread(), osl_lines_sread(), osl_relation_integrity_check(), osl_relation_sprint_comment(), osl_relation_strings(), osl_scatnames_sread(), osl_scop_get_nb_parameters(), osl_scop_pread(), and osl_util_read_uptotag().
#define OSL_error | ( | msg | ) |
do { \ fprintf(stderr,"[osl] Error: "msg" (%s).\n", __func__); \ exit(1); \ } while (0)
Definition at line 141 of file macros.h.
Referenced by osl_arrays_clone(), osl_arrays_generate_names(), osl_arrays_sread(), osl_comment_sread(), osl_generic_add(), osl_int_add(), osl_int_add_si(), osl_int_address(), osl_int_assign(), osl_int_clear(), osl_int_decrement(), osl_int_divisible(), osl_int_eq(), osl_int_get_si(), osl_int_increment(), osl_int_init(), osl_int_init_set_si(), osl_int_malloc(), osl_int_mone(), osl_int_mul(), osl_int_mul_si(), osl_int_neg(), osl_int_one(), osl_int_oppose(), osl_int_pos(), osl_int_set_si(), osl_int_sizeof(), osl_int_sprint(), osl_int_sprint_txt(), osl_int_sread(), osl_int_sub(), osl_int_zero(), osl_interface_add(), osl_irregular_sread(), osl_lines_sread(), osl_relation_add_vector(), osl_relation_concat_constraints(), osl_relation_extend_output(), osl_relation_insert_blank_column(), osl_relation_insert_columns(), osl_relation_insert_constraints(), osl_relation_is_simple_output(), osl_relation_list_pread(), osl_relation_nclone(), osl_relation_pread(), osl_relation_read_type(), osl_relation_replace_constraints(), osl_relation_replace_vector(), osl_relation_sub_vector(), osl_scop_pread(), osl_statement_dispatch(), osl_strings_clone(), osl_strings_generate(), osl_util_read_int(), osl_util_read_tag(), osl_vector_add(), osl_vector_add_scalar(), osl_vector_sub(), osl_vector_tag_equality(), and osl_vector_tag_inequality().
#define OSL_FMT_DP "%4lld" |
Definition at line 81 of file macros.h.
Referenced by osl_int_sprint().
#define OSL_FMT_LENGTH 4 |
Definition at line 83 of file macros.h.
Referenced by osl_relation_column_string().
#define OSL_FMT_MP "%4s" |
Definition at line 82 of file macros.h.
Referenced by osl_int_sprint().
#define OSL_FMT_SP "%4ld" |
Definition at line 80 of file macros.h.
Referenced by osl_int_sprint().
#define OSL_FMT_TXT_DP "%lld" |
Definition at line 85 of file macros.h.
Referenced by osl_int_sprint_txt(), and osl_int_sread().
#define OSL_FMT_TXT_MP "%s" |
Definition at line 86 of file macros.h.
Referenced by osl_int_sprint_txt().
#define OSL_FMT_TXT_SP "%ld" |
Definition at line 84 of file macros.h.
Referenced by osl_int_sprint_txt(), and osl_int_sread().
#define OSL_info | ( | msg | ) |
do { \ fprintf(stderr,"[osl] Info: "msg" (%s).\n", __func__); \ } while (0)
Definition at line 131 of file macros.h.
Referenced by osl_body_equal(), osl_scop_equal(), and osl_statement_equal().
#define OSL_malloc | ( | ptr, | |
type, | |||
size | |||
) |
Definition at line 147 of file macros.h.
Referenced by osl_arrays_clone(), osl_arrays_generate_names(), osl_arrays_malloc(), osl_arrays_sprint(), osl_body_malloc(), osl_body_sprint(), osl_comment_malloc(), osl_comment_sprint(), osl_generic_malloc(), osl_interface_malloc(), osl_irregular_malloc(), osl_irregular_sprint(), osl_irregular_sread(), osl_lines_malloc(), osl_lines_sprint(), osl_names_malloc(), osl_relation_column_string(), osl_relation_expression_element(), osl_relation_list_malloc(), osl_relation_pmalloc(), osl_relation_spprint(), osl_relation_spprint_polylib(), osl_relation_sprint_comment(), osl_relation_sprint_type(), osl_relation_strings(), osl_relation_subexpression(), osl_scatnames_malloc(), osl_scop_malloc(), osl_statement_malloc(), osl_strings_clone(), osl_strings_encapsulate(), osl_strings_generate(), osl_strings_malloc(), osl_strings_sprint(), osl_strings_sread(), osl_textual_malloc(), osl_util_identifier_substitution(), osl_util_read_tag(), osl_util_read_uptotag(), osl_util_tag_content(), and osl_vector_pmalloc().
#define OSL_max | ( | x, | |
y | |||
) | ((x) > (y)? (x) : (y)) |
Definition at line 171 of file macros.h.
Referenced by osl_relation_extend_output(), osl_relation_get_attributes(), osl_relation_list_get_attributes(), osl_scop_get_attributes(), osl_scop_normalize_scattering(), and osl_statement_get_attributes().
#define OSL_MAX_STRING 2048 |
Definition at line 92 of file macros.h.
Referenced by osl_arrays_sprint(), osl_arrays_sread(), osl_body_sprint(), osl_comment_sprint(), osl_comment_sread(), osl_int_print(), osl_irregular_sprint(), osl_irregular_sread(), osl_lines_sprint(), osl_lines_sread(), osl_relation_column_string(), osl_relation_expression_element(), osl_relation_pread(), osl_relation_spprint(), osl_relation_spprint_polylib(), osl_relation_sprint_comment(), osl_relation_sprint_type(), osl_relation_strings(), osl_relation_subexpression(), osl_strings_read(), osl_strings_sprint(), osl_strings_sread(), osl_util_identifier_substitution(), osl_util_read_int(), osl_util_read_tag(), osl_util_read_uptotag(), osl_util_safe_strcat(), and osl_util_skip_blank_and_comments().
#define OSL_PRECISION_DP 64 |
Definition at line 77 of file macros.h.
Referenced by osl_int_add(), osl_int_add_si(), osl_int_address(), osl_int_assign(), osl_int_clear(), osl_int_decrement(), osl_int_divisible(), osl_int_dump_precision(), osl_int_eq(), osl_int_get_si(), osl_int_increment(), osl_int_init(), osl_int_init_set_si(), osl_int_malloc(), osl_int_mone(), osl_int_mul(), osl_int_mul_si(), osl_int_neg(), osl_int_one(), osl_int_oppose(), osl_int_pos(), osl_int_set_si(), osl_int_sizeof(), osl_int_sprint(), osl_int_sprint_txt(), osl_int_sread(), osl_int_sub(), osl_int_zero(), and osl_util_get_precision().
#define OSL_PRECISION_ENV "OSL_PRECISION" |
Definition at line 72 of file macros.h.
Referenced by osl_util_get_precision().
#define OSL_PRECISION_ENV_DP "64" |
Definition at line 74 of file macros.h.
Referenced by osl_util_get_precision().
#define OSL_PRECISION_ENV_MP "0" |
Definition at line 75 of file macros.h.
Referenced by osl_util_get_precision().
#define OSL_PRECISION_ENV_SP "32" |
Definition at line 73 of file macros.h.
Referenced by osl_util_get_precision().
#define OSL_PRECISION_MP 0 |
Definition at line 78 of file macros.h.
Referenced by osl_int_add(), osl_int_add_si(), osl_int_address(), osl_int_assign(), osl_int_clear(), osl_int_decrement(), osl_int_divisible(), osl_int_dump_precision(), osl_int_eq(), osl_int_get_si(), osl_int_increment(), osl_int_init(), osl_int_init_set_si(), osl_int_malloc(), osl_int_mone(), osl_int_mul(), osl_int_mul_si(), osl_int_neg(), osl_int_one(), osl_int_oppose(), osl_int_pos(), osl_int_set_si(), osl_int_sizeof(), osl_int_sprint(), osl_int_sprint_txt(), osl_int_sread(), osl_int_sub(), osl_int_zero(), and osl_util_get_precision().
#define OSL_PRECISION_SP 32 |
Definition at line 76 of file macros.h.
Referenced by osl_int_add(), osl_int_add_si(), osl_int_address(), osl_int_assign(), osl_int_clear(), osl_int_decrement(), osl_int_divisible(), osl_int_dump_precision(), osl_int_eq(), osl_int_get_si(), osl_int_increment(), osl_int_init(), osl_int_init_set_si(), osl_int_malloc(), osl_int_mone(), osl_int_mul(), osl_int_mul_si(), osl_int_neg(), osl_int_one(), osl_int_oppose(), osl_int_pos(), osl_int_set_si(), osl_int_sizeof(), osl_int_sprint(), osl_int_sprint_txt(), osl_int_sread(), osl_int_sub(), osl_int_zero(), and osl_util_get_precision().
#define OSL_realloc | ( | ptr, | |
type, | |||
size | |||
) |
do { \ if (((ptr) = (type)realloc(ptr, size)) == NULL) \ OSL_error("memory overflow"); \ } while (0)
Definition at line 153 of file macros.h.
Referenced by osl_arrays_sprint(), osl_comment_sprint(), osl_irregular_sprint(), osl_lines_sprint(), osl_util_read_uptotag(), and osl_util_safe_strcat().
#define OSL_strdup | ( | destination, | |
source | |||
) |
do { \ if (source != NULL) { \ if (((destination) = strdup(source)) == NULL) \ OSL_error("memory overflow"); \ } \ else { \ destination = NULL; \ OSL_warning("strdup of a NULL string"); \ } \ } while (0)
Definition at line 159 of file macros.h.
Referenced by osl_comment_clone(), osl_comment_sread(), osl_interface_nclone(), osl_relation_strings(), osl_strings_sread(), osl_textual_clone(), and osl_textual_sread().
#define OSL_STRING_CONTEXT "CONTEXT" |
Definition at line 108 of file macros.h.
Referenced by osl_relation_read_type(), and osl_relation_sprint_type().
#define OSL_STRING_DOMAIN "DOMAIN" |
Definition at line 109 of file macros.h.
Referenced by osl_relation_read_type(), and osl_relation_sprint_type().
#define OSL_STRING_MAY_WRITE "MAY_WRITE" |
Definition at line 113 of file macros.h.
Referenced by osl_relation_read_type(), and osl_relation_sprint_type().
#define OSL_STRING_READ "READ" |
Definition at line 111 of file macros.h.
Referenced by osl_relation_read_type(), and osl_relation_sprint_type().
#define OSL_STRING_SCATTERING "SCATTERING" |
Definition at line 110 of file macros.h.
Referenced by osl_relation_read_type(), and osl_relation_sprint_type().
#define OSL_STRING_UNDEFINED "UNDEFINED" |
Definition at line 107 of file macros.h.
Referenced by osl_relation_read_type(), and osl_relation_sprint_type().
#define OSL_STRING_WRITE "WRITE" |
Definition at line 112 of file macros.h.
Referenced by osl_relation_read_type(), and osl_relation_sprint_type().
#define OSL_TAG_END_SCOP "</OpenScop>" |
Definition at line 70 of file macros.h.
Referenced by osl_generic_read(), and osl_scop_print().
#define OSL_TAG_START_SCOP "<OpenScop>" |
Definition at line 69 of file macros.h.
Referenced by osl_scop_pread(), and osl_scop_print().
#define OSL_TYPE_ACCESS 5 |
Definition at line 100 of file macros.h.
Referenced by osl_relation_get_attributes(), osl_relation_integrity_check(), osl_relation_is_access(), osl_relation_list_filter(), osl_statement_dispatch(), and osl_statement_integrity_check().
#define OSL_TYPE_CONTEXT 2 |
Definition at line 97 of file macros.h.
Referenced by osl_relation_get_attributes(), osl_relation_integrity_check(), osl_relation_read_type(), osl_relation_sprint_type(), and osl_scop_integrity_check().
#define OSL_TYPE_DOMAIN 3 |
Definition at line 98 of file macros.h.
Referenced by osl_relation_get_attributes(), osl_relation_integrity_check(), osl_relation_read_type(), osl_relation_sprint_type(), osl_statement_dispatch(), and osl_statement_integrity_check().
#define OSL_TYPE_MAY_WRITE 8 |
Definition at line 103 of file macros.h.
Referenced by osl_relation_is_access(), osl_relation_read_type(), and osl_relation_sprint_type().
#define OSL_TYPE_READ 6 |
Definition at line 101 of file macros.h.
Referenced by osl_relation_is_access(), osl_relation_read_type(), and osl_relation_sprint_type().
#define OSL_TYPE_SCATTERING 4 |
Definition at line 99 of file macros.h.
Referenced by osl_relation_get_attributes(), osl_relation_read_type(), osl_relation_sprint_type(), osl_relation_strings(), osl_statement_dispatch(), and osl_statement_integrity_check().
#define OSL_TYPE_WRITE 7 |
Definition at line 102 of file macros.h.
Referenced by osl_relation_is_access(), osl_relation_read_type(), and osl_relation_sprint_type().
#define OSL_UNDEFINED -1 |
Definition at line 91 of file macros.h.
Referenced by osl_lines_malloc(), osl_relation_check_attribute(), osl_relation_check_nb_columns(), osl_relation_get_array_id(), osl_relation_get_attributes(), osl_relation_integrity_check(), osl_relation_list_get_attributes(), osl_relation_names(), osl_relation_pmalloc(), osl_relation_read_type(), osl_relation_sprint_type(), osl_scop_get_attributes(), osl_scop_integrity_check(), osl_scop_names(), osl_statement_get_attributes(), osl_statement_integrity_check(), and osl_statement_names().
#define OSL_warning | ( | msg | ) |
do { \ fprintf(stderr,"[osl] Warning: "msg" (%s).\n", __func__); \ } while (0)
Definition at line 136 of file macros.h.
Referenced by osl_generic_clone(), osl_generic_equal(), osl_generic_free(), osl_generic_read_one(), osl_relation_check_attribute(), osl_relation_check_nb_columns(), osl_relation_concat_constraints(), osl_relation_get_array_id(), osl_relation_integrity_check(), osl_relation_read_type(), osl_relation_sprint_type(), osl_scop_pread(), osl_scop_print(), osl_statement_get_nb_iterators(), osl_statement_integrity_check(), and osl_util_get_precision().