6 #ifndef naming_header_included
7 #define naming_header_included
35 #define MODULE_SEP ':'
36 #define MODULE_SEP_CHAR MODULE_SEP
38 #define MODULE_SEP_STRING ":"
39 #define LABEL_PREFIX "@"
40 #define MAIN_PREFIX "%"
41 #define MAIN_PREFIX_CHAR '%'
42 #define COMMON_PREFIX "~"
43 #define BLOCKDATA_PREFIX "&"
44 #define F95MODULE_PREFIX "\xa4"
46 #define FILE_SEP_CHAR '!'
47 #define FILE_SEP FILE_SEP_CHAR
49 #define FILE_SEP_STRING "!"
51 #define MODULE_NAME_CHARS \
52 ( "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
54 "abcdefghijklmnopqrstuvwxyz" \
55 FILE_SEP_STRING MODULE_SEP_STRING "|_#-." )
58 #define BLOCK_SEP_STRING "`"
59 #define BLOCK_SEP_CHAR '`'
61 #define MEMBER_SEP_STRING "^"
62 #define MEMBER_SEP_CHAR '^'
64 #define STRUCT_PREFIX "#"
65 #define STRUCT_PREFIX_CHAR '#'
66 #define UNION_PREFIX "'"
67 #define UNION_PREFIX_CHAR '\''
68 #define ENUM_PREFIX "?"
69 #define ENUM_PREFIX_CHAR '?'
70 #define TYPEDEF_PREFIX "$"
71 #define TYPEDEF_PREFIX_CHAR '$'
75 #define F95_USE_LOCAL_NAME "*USE*"
76 #define BLANK_COMMON_LOCAL_NAME "*BLANK*"
77 #define DYNAMIC_AREA_LOCAL_NAME "*DYNAMIC*"
78 #define STATIC_AREA_LOCAL_NAME "*STATIC*"
79 #define HEAP_AREA_LOCAL_NAME "*HEAP*"
80 #define STACK_AREA_LOCAL_NAME "*STACK*"
81 #define ALLOCATABLE_AREA_LOCAL_NAME "*ALLOCATABLE*"
84 #define FORMAL_AREA_LOCAL_NAME "*FORMAL*"
85 #define POINTER_DUMMY_TARGETS_AREA_LOCAL_NAME "*POINTER_DUMMY_TARGETS*"
91 #define ALL_MEMORY_ENTITY_NAME "TOP-LEVEL:*MEMORY*"
94 #define DUMMY_ENUM_PREFIX "_PIPS_ENUM_"
95 #define DUMMY_STRUCT_PREFIX "_PIPS_STRUCT_"
96 #define DUMMY_UNION_PREFIX "_PIPS_UNION_"
97 #define DUMMY_ABSTRACT_PREFIX "_PIPS_ABSTRACT_"
98 #define DUMMY_MEMBER_PREFIX "_PIPS_MEMBER_"
101 #define DUMMY_PARAMETER_PREFIX "DUMMY-PARAMETER-"
104 #define EMPTY_LABEL_NAME LABEL_PREFIX
105 #define LIST_DIRECTED_FORMAT_NAME "LIST-DIRECTED"
109 #define TOP_LEVEL_MODULE_NAME "TOP-LEVEL"
112 #define POINTS_TO_MODULE_NAME "*POINTS-TO-MODULE*"
114 #define RETURN_LABEL_NAME "00000"
120 #define MAXIMAL_MODULE_NAME_SIZE 100
123 #define C_PRAGMA_HEADER_STRING "#pragma"
124 #define FORTRAN_PRAGMA_HEADER_STRING "!$"
125 #define FORTRAN_OMP_CONTINUATION_STRING "\n!$omp& "
bool empty_global_label_p(const char *)
bool empty_string_p(const char *)
bool empty_label_p(const char *)
string string_codefilename(const char *)
file_names.c
string get_script_directory_name(void)
bool module_name_p(string)
Check if the given name is the name of a plain module and not of a compilation unit.
string string_predicat_fortranfilename(const char *)
bool main_module_name_p(const char *)
Argument "name" is a local name (not a user name)
const char * global_name_to_user_name(const char *)
functions on strings for entity names
bool return_local_label_name_p(const char *)
string string_par_codefilename(const char *)
string string_fortranfilename(const char *)
bool string_fortran_filename_p(const char *)
bool return_label_p(const char *)
bool blank_string_p(const char *)
bool main_module_global_name_p(const char *)
Argument "name" is a global name.
string string_pp_fortranfilename(const char *)
void set_script_directory_name(string)
bool static_module_name_p(const char *)
Check if the given name is a static module name.
const char * module_name(const char *)
Return the module part of an entity name.
string string_par_fortranfilename(const char *)
const char * local_name(const char *)
Does not take care of block scopes and returns a pointer.
string make_entity_fullname(const char *, const char *)
END_EOLE.
string string_entitiesfilename(const char *)
bool compilation_unit_p(const char *)
cproto-generated files