25 #include "pips_config.h"
244 long int l = strtol(s,&endptr,10);
251 float f = strtof(s,&endptr);
void print_homogeneous_arguments(list args, const char *variable_name(entity))
Functions dealing with entity lists.
entity float_to_entity(float c)
entity int_to_entity(_int c)
string compilation_unit_of_module(const char *)
The output is undefined if the module is referenced but not defined in the workspace,...
bool compilation_unit_p(const char *module_name)
The names of PIPS entities carry information about their nature.
bool empty_string_p(const char *s)
const char * module_name(const char *s)
Return the module part of an entity name.
entity get_current_module_entity(void)
Get the entity of the current module.
#define list_undefined_p(c)
Return if a list is undefined.
list gen_nreverse(list cp)
reverse a list in place
#define NIL
The empty list (nil in Lisp)
void gen_map(gen_iter_func_t fp, const list l)
#define CONS(_t_, _i_, _l_)
List element cell constructor (insert an element at the beginning of a list)
void gen_free_list(list l)
free the spine of the list
bool gen_in_list_p(const void *vo, const list lx)
tell whether vo belongs to lx
#define FOREACH(_fe_CASTER, _fe_item, _fe_list)
Apply/map an instruction block on all the elements of a list.
#define list_undefined
Undefined list definition :-)
#define pips_assert(what, predicate)
common macros, two flavors depending on NDEBUG
#define DUMMY_PARAMETER_PREFIX
For dmmmy parameters in functions declarations.
#define TOP_LEVEL_MODULE_NAME
Module containing the global variables in Fortran and C.
#define POINTS_TO_MODULE_NAME
Module containing stub variables used to initialize intraprocedural points-to in C.
const char * entity_module_unambiguous_user_name(entity e, entity m)
Functions using simultaneously pipsdbm, which is based on strings, and ri-util, which contains basic ...
entity string_to_entity(const char *s, entity module)
very simple conversion from string to expression only handles entities and numeric values at the time...
const char * entity_unambiguous_user_name(entity e)
static const char * entity_more_or_less_minimal_name(entity e, bool strict_p)
In interprocedural context, returns the shortest non-ambiguous name for a variable.
const char * entity_minimal_user_name(entity e)
Do not preserve scope information.
list string_to_entities(const char *str, const char *seed, entity module)
split a string using seed as separator and call string_to_entity on each chunk
const char * entity_minimal_name(entity e)
Do preserve scope informations.
void print_arguments(list args)
list strsplit(const char *, const char *)
#define same_string_p(s1, s2)
int f(int off1, int off2, int n, float r[n], float a[n], float b[n])
#define REGIONS_MODULE_NAME
Already defined.
#define entity_declarations(e)
MISC: newgen shorthands.
const char * entity_user_name(entity e)
Since entity_local_name may contain PIPS special characters such as prefixes (label,...
entity FindEntity(const char *package, const char *name)
Retrieve an entity from its package/module name and its local name.
const char * entity_local_name(entity e)
entity_local_name modified so that it does not core when used in vect_fprint, since someone thought t...
bool entity_formal_p(entity p)
is p a formal parameter?
bool c_module_p(entity m)
Test if a module "m" is written in C.
bool entity_field_p(entity e)
e is the field of a structure
const char * module_local_name(entity e)
Returns the module local user name.
const char * entity_module_name(entity e)
See comments about module_name().
#define code_declarations(x)
#define entity_undefined_p(x)
#define entity_initial(x)
The structure used to build lists in NewGen.
list module_entities(entity m)
Return a list of all variables and functions accessible somewhere in a module.