PIPS
workspace-util.h
Go to the documentation of this file.
1 /* Warning! Do not modify this file that is automatically generated! */
2 /* Modify src/Libs/workspace-util/workspace-util-local.h instead, to add your own modifications. */
3 
4 /* header file built by cproto */
5 
6 #ifndef workspace_util_header_included
7 #define workspace_util_header_included
8 /* workspace_util-local.h */
9 /*
10 
11  $Id$
12 
13  Copyright 1989-2016 MINES ParisTech
14 
15  This file is part of PIPS.
16 
17  PIPS is free software: you can redistribute it and/or modify it
18  under the terms of the GNU General Public License as published by
19  the Free Software Foundation, either version 3 of the License, or
20  any later version.
21 
22  PIPS is distributed in the hope that it will be useful, but WITHOUT ANY
23  WARRANTY; without even the implied warranty of MERCHANTABILITY or
24  FITNESS FOR A PARTICULAR PURPOSE.
25 
26  See the GNU General Public License for more details.
27 
28  You should have received a copy of the GNU General Public License
29  along with PIPS. If not, see <http://www.gnu.org/licenses/>.
30 
31 */
32 /* WORKSPACE-UTIL Library: Functions dealing with the internal
33  representation at the workspace level, mixing calls to pipsdbm,
34  naming-util and ri-util.
35  */
36 
37 #include "linear.h"
38 #include "genC.h"
39 
40 #include "ri.h"
41 #include "text.h"
42 #include "cloning.h"
43 
44 #include "newgen.h"
45 
46 #include "naming.h"
47 #include "ri-util.h"
48 #include "pipsdbm.h"
49 /* cproto-generated files */
50 /* naming.c */
51 extern const char *entity_module_unambiguous_user_name(entity /*e*/, entity /*m*/);
52 extern const char *entity_unambiguous_user_name(entity /*e*/);
53 extern const char *entity_minimal_name(entity /*e*/);
54 extern const char *entity_minimal_user_name(entity /*e*/);
55 extern void print_arguments(list /*args*/);
56 extern entity string_to_entity(const char */*s*/, entity /*module*/);
57 extern list string_to_entities(const char */*str*/, const char */*seed*/, entity /*module*/);
58 /* expressions.c */
59 extern expression string_to_expression(const char */*s*/, entity /*module*/);
60 extern list string_to_expressions(const char */*str*/, const char */*seed*/, entity /*module*/);
61 /* misc_paf_utils.c */
62 extern list base_to_list(Pbase /*b*/);
63 extern Pbase list_to_base(list /*l*/);
64 extern expression make_max_exp(entity /*ent*/, expression /*exp1*/, expression /*exp2*/);
65 extern entity make_nlc_entity(int */*Gcount_nlc*/);
66 extern int Gcount_nsp;
67 extern int Gcount_nub;
68 extern entity make_nsp_entity(void);
69 extern entity make_nub_entity(void);
70 extern entity current_module(entity /*mod*/);
71 extern bool undefined_statement_list_p(list /*l*/);
73 extern entity scalar_assign_call(call /*c*/);
74 extern void scalar_written_in_call(call /*the_call*/, list */*ell*/, list */*etl*/, list */*swfl*/);
75 /* module.c */
76 extern list module_declarations(entity /*m*/);
78 extern list module_entities(entity /*m*/);
80 extern bool language_module_p(entity /*m*/, string /*lid*/);
81 extern void AddEntityToCompilationUnit(entity /*e*/, entity /*cu*/);
82 extern void RemoveEntityFromCompilationUnit(entity /*e*/, entity /*cu*/);
83 extern void AddEntityToModuleCompilationUnit(entity /*e*/, entity /*module*/);
85 extern string compilation_unit_of_module(const char */*module_name*/);
86 extern string module_name_to_input_file_name(const char */*module_name*/);
87 #endif /* workspace_util_header_included */
le type des coefficients dans les vecteurs: Value est defini dans le package arithmetique
Definition: vecteur-local.h:89
The structure used to build lists in NewGen.
Definition: newgen_list.h:41
void print_arguments(list)
Definition: naming.c:228
int Gcount_nsp
================================================================
list module_entities(entity)
Return a list of all variables and functions accessible somewhere in a module.
Definition: module.c:85
list base_to_list(Pbase)
misc_paf_utils.c
Pbase list_to_base(list)
Pbase list_to_base(list l): returns the Pbase that contains the variables of list "l",...
list module_declarations(entity)
module.c
Definition: module.c:58
const char * entity_minimal_name(entity)
Do preserve scope informations.
Definition: naming.c:214
entity module_entity_to_compilation_unit_entity(entity)
Retrieve the compilation unit containing a module definition.
Definition: module.c:116
list string_to_entities(const char *, const char *, entity)
split a string using seed as separator and call string_to_entity on each chunk
Definition: naming.c:276
void AddEntityToModuleCompilationUnit(entity, entity)
Definition: module.c:301
void RemoveEntityFromCompilationUnit(entity, entity)
Remove an entity from the current's module compilation unit declarations.
Definition: module.c:265
const char * entity_module_unambiguous_user_name(entity, entity)
Warning! Do not modify this file that is automatically generated!
Definition: naming.c:68
expression string_to_expression(const char *, entity)
expressions.c
Definition: expressions.c:50
entity make_nub_entity(void)
================================================================
void AddEntityToCompilationUnit(entity, entity)
Add an entity to the current's module compilation unit declarations we have to generate its statement...
Definition: module.c:198
list module_to_all_declarations(entity)
Definition: module.c:323
list string_to_expressions(const char *, const char *, entity)
split a string using seed as separator and call string_to_expression on each chunk
Definition: expressions.c:98
string module_name_to_input_file_name(const char *)
To be checked for static functions...
Definition: module.c:376
list current_module_declarations(void)
Definition: module.c:78
entity string_to_entity(const char *, entity)
very simple conversion from string to expression only handles entities and numeric values at the time...
Definition: naming.c:237
int Gcount_nub
const char * entity_minimal_user_name(entity)
Do not preserve scope information.
Definition: naming.c:223
string compilation_unit_of_module(const char *)
The output is undefined if the module is referenced but not defined in the workspace,...
Definition: module.c:350
entity current_module(entity)
================================================================
expression make_max_exp(entity, expression, expression)
================================================================
bool language_module_p(entity, string)
Definition: module.c:166
entity make_nlc_entity(int *)
================================================================
entity expression_int_scalar(expression)
================================================================
const char * entity_unambiguous_user_name(entity)
Definition: naming.c:91
void scalar_written_in_call(call, list *, list *, list *)
scalar_written_in_call((call) the_call) Detects and puts a scalar written in an assignement call,...
entity make_nsp_entity(void)
entity make_nsp_entity() Makes a new NSP (for New Structural Parameter) .
bool undefined_statement_list_p(list)
=================================================================
entity scalar_assign_call(call)
entity scalar_assign_call((call) c) Detects if the call is an assignement and if the value assigned i...