PIPS
flint.h
Go to the documentation of this file.
1 /* Warning! Do not modify this file that is automatically generated! */
2 /* Modify src/Libs/flint/flint-local.h instead, to add your own modifications. */
3 
4 /* header file built by cproto */
5 
6 #ifndef flint_header_included
7 #define flint_header_included
8 /* flint-local.h */
9 /*
10 
11  $Id: flint-local.h 23065 2016-03-02 09:05:50Z coelho $
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 */
33 /* cproto-generated files */
34 /* flint.c */
36 extern bool flinter(const string /*module_name*/);
37 extern void flint_message(char */*fun*/, char */*fmt*/, ...);
38 extern void flint_message_2(char */*fun*/, char */*fmt*/, ...);
39 extern void raw_flint_message(bool /*count*/, char */*fmt*/, ...);
40 /* flint_walk.c */
41 extern void flint_cons_dimension(list /*pc*/);
42 extern dimension flint_dimension(dimension /*d*/);
43 extern call flint_call(call /*c*/);
44 extern range flint_range(range /*r*/);
45 extern reference flint_reference(reference /*r*/);
46 extern void flint_syntax(syntax /*s*/);
47 extern void flint_cons_expression(list /*pc*/);
48 extern void flint_cons_actual_argument(list /*pc*/);
50 extern loop flint_loop(loop /*l*/);
51 extern test flint_test(test /*t*/);
53 extern void flint_unstructured(unstructured /*u*/);
54 extern void flint_cons_statement(list /*pc*/);
55 extern statement flint_statement(statement /*s*/);
56 /* flint_check.c */
57 extern bool check_procedure(call /*c*/);
58 extern bool check_the_call(call /*c*/);
59 extern bool check_call_intrinsic(list /*la*/, list /*lt*/, call /*c*/);
60 extern bool check_call_args_number(list /*la*/, list /*lt*/, call /*c*/);
61 extern bool check_call_types_compatibility(list /*la*/, list /*lt*/, call /*c*/);
62 extern bool check_call_one_type(expression /*exp*/, parameter /*param*/, call /*c*/, int /*i*/);
63 extern bool check_call_basic(basic /*be*/, basic /*bp*/, call /*c*/, int /*i*/);
64 extern bool check_call_dim(list /*de*/, list /*dp*/, call /*c*/, int /*i*/);
65 extern bool check_call_basic_and_dim(expression /*exp*/, parameter /*param*/, call /*c*/, int /*i*/);
66 extern void check_the_reference(reference /*ref*/);
67 extern bool check_call_mode_consistency(list /*la*/, list /*lt*/, entity /*the_fnct*/);
68 extern bool check_call_one_mode(expression /*exp*/, parameter /*param*/, entity /*the_fnct*/, list /*sefs_list*/, int /*i*/);
69 extern bool look_at_the_commons(entity /*module*/);
70 extern bool position_in_the_area(entity /*the_var*/, intptr_t */*inf*/, intptr_t */*sup*/);
71 extern bool check_commons(entity /*module*/);
72 extern void check_one_common(entity /*local*/, entity /*module*/);
73 extern bool check_overlap_in_common(entity /*the_common*/, entity /*e1*/, int /*inf1*/, int /*sup1*/, entity /*e2*/, int /*inf2*/, int /*sup2*/);
74 /* flint_utils.c */
75 extern bool number_of_elements(list /*ld*/, intptr_t */*the_result*/);
76 extern bool size_of_dimension(dimension /*d*/, intptr_t */*the_int*/);
77 extern bool control_type_in_expression(enum basic_utype /*a_basic*/, int /*a_dim*/, expression /*exp*/);
78 extern bool find_bd_parameter(parameter /*param*/, basic */*base*/, list */*dims*/);
79 extern bool find_bd_type_variable(type /*tp*/, basic */*base*/, list */*dims*/);
80 extern bool find_bd_expression(expression /*exp*/, basic */*base*/, list */*dims*/);
81 extern bool find_bd_reference(reference /*ref*/, basic */*base*/, list */*dims*/);
82 extern bool find_bd_call(call /*c*/, basic */*base*/, list */*dims*/);
83 /* uninitialized_variables.c */
84 extern void flint_uninitialized_variables(graph /*dependence_graph*/, statement /*module_stat*/);
85 #endif /* flint_header_included */
void flint_syntax(syntax)
verification of syntaxes
Definition: flint_walk.c:121
bool find_bd_type_variable(type, basic *, list *)
Definition: flint_utils.c:125
void flint_message_2(char *, char *,...)
Same as flint_message but without the function name
Definition: flint.c:183
void raw_flint_message(bool, char *,...)
Same as flint_message but a bare bones version
Definition: flint.c:211
void check_one_common(entity, entity)
Definition: flint_check.c:660
bool check_commons(entity)
Definition: flint_check.c:632
loop flint_loop(loop)
Recursive verification of a loop as (range)+(expression)
Definition: flint_walk.c:186
bool look_at_the_commons(entity)
Definition: flint_check.c:543
instruction flint_instruction(instruction)
Verification of an instruction with branching according
Definition: flint_walk.c:217
void flint_uninitialized_variables(graph, statement)
uninitialized_variables.c
void flint_unstructured(unstructured)
Definition: flint_walk.c:257
void flint_cons_actual_argument(list)
Definition: flint_walk.c:158
bool find_bd_parameter(parameter, basic *, list *)
Definition: flint_utils.c:116
void flint_cons_statement(list)
Definition: flint_walk.c:269
bool size_of_dimension(dimension, intptr_t *)
this function computes the size of a dimension.
Definition: flint_utils.c:71
bool check_call_basic_and_dim(expression, parameter, call, int)
Definition: flint_check.c:367
bool check_overlap_in_common(entity, entity, int, int, entity, int, int)
Definition: flint_check.c:735
bool check_procedure(call)
flint_check.c
Definition: flint_check.c:88
bool check_call_one_mode(expression, parameter, entity, list, int)
This function checks that a reference to a constant in a call may not be modified,...
Definition: flint_check.c:499
bool check_call_one_type(expression, parameter, call, int)
Definition: flint_check.c:287
bool find_bd_reference(reference, basic *, list *)
Definition: flint_utils.c:167
bool flinter(const string)
Routine of global module verification
Definition: flint.c:54
bool check_call_mode_consistency(list, list, entity)
Definition: flint_check.c:454
bool check_call_args_number(list, list, call)
Definition: flint_check.c:222
call flint_call(call)
This function checks the syntax of a call and recursively.
Definition: flint_walk.c:74
void flint_message(char *, char *,...)
Definition: flint.c:147
reference flint_reference(reference)
A reference is used when given a function the address of.
Definition: flint_walk.c:107
bool check_call_intrinsic(list, list, call)
void check_the_reference(reference)
Definition: flint_check.c:396
statement flint_statement(statement)
Definition: flint_walk.c:278
bool find_bd_call(call, basic *, list *)
Definition: flint_utils.c:191
bool position_in_the_area(entity, intptr_t *, intptr_t *)
Definition: flint_check.c:580
void flint_cons_dimension(list)
flint_walk.c
Definition: flint_walk.c:52
test flint_test(test)
A test is taken as (expression)+(statement)+(statement)
Definition: flint_walk.c:200
bool check_call_basic(basic, basic, call, int)
Definition: flint_check.c:305
bool control_type_in_expression(enum basic_utype, int, expression)
statement flint_current_statement
Warning! Do not modify this file that is automatically generated!
Definition: flint.h:35
expression flint_expression(expression)
Definition: flint_walk.c:174
bool find_bd_expression(expression, basic *, list *)
Definition: flint_utils.c:141
range flint_range(range)
This function verifies that incremented or decremented
Definition: flint_walk.c:90
bool check_the_call(call)
Definition: flint_check.c:130
void flint_cons_expression(list)
These two functions operate on the list of expressions
Definition: flint_walk.c:150
dimension flint_dimension(dimension)
Definition: flint_walk.c:58
bool check_call_dim(list, list, call, int)
loose version
Definition: flint_check.c:336
bool number_of_elements(list, intptr_t *)
flint_utils.c
Definition: flint_utils.c:50
bool check_call_types_compatibility(list, list, call)
Definition: flint_check.c:254
basic_utype
Definition: ri.h:570
#define intptr_t
Definition: stdint.in.h:294
The structure used to build lists in NewGen.
Definition: newgen_list.h:41