]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/fortran/dependency.h
Update copyright years.
[thirdparty/gcc.git] / gcc / fortran / dependency.h
CommitLineData
6de9cd9a 1/* Header for dependency analysis
85ec4feb 2 Copyright (C) 2000-2018 Free Software Foundation, Inc.
6de9cd9a
DN
3 Contributed by Paul Brook
4
9fc4d79b 5This file is part of GCC.
6de9cd9a 6
9fc4d79b
TS
7GCC is free software; you can redistribute it and/or modify it under
8the terms of the GNU General Public License as published by the Free
d234d788 9Software Foundation; either version 3, or (at your option) any later
9fc4d79b 10version.
6de9cd9a 11
9fc4d79b
TS
12GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13WARRANTY; without even the implied warranty of MERCHANTABILITY or
14FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15for more details.
6de9cd9a
DN
16
17You should have received a copy of the GNU General Public License
d234d788
NC
18along with GCC; see the file COPYING3. If not see
19<http://www.gnu.org/licenses/>. */
6de9cd9a 20
2b0bd714 21/****************************** Enums *********************************/
a79683d5 22enum gfc_dep_check
2b0bd714
MM
23{
24 NOT_ELEMENTAL, /* Not elemental case: normal dependency check. */
25 ELEM_CHECK_VARIABLE, /* Test whether variables overlap. */
26 ELEM_DONT_CHECK_VARIABLE /* Test whether variables overlap only if used
27 in an expression. */
a79683d5 28};
6de9cd9a 29
2b0bd714
MM
30/*********************** Functions prototypes **************************/
31
7a70c12d 32bool gfc_ref_needs_temporary_p (gfc_ref *);
a61a36ab 33bool gfc_full_array_ref_p (gfc_ref *, bool *);
1524f80b
RS
34gfc_expr *gfc_get_noncopying_intrinsic_argument (gfc_expr *);
35int gfc_check_fncall_dependency (gfc_expr *, sym_intent, gfc_symbol *,
2b0bd714 36 gfc_actual_arglist *, gfc_dep_check);
3ded6210 37int gfc_check_dependency (gfc_expr *, gfc_expr *, bool);
6de9cd9a
DN
38int gfc_expr_is_one (gfc_expr *, int);
39
3d03ead0 40int gfc_dep_resolver(gfc_ref *, gfc_ref *, gfc_reverse *);
61321991 41int gfc_are_equivalenced_arrays (gfc_expr *, gfc_expr *);
73b44fa4
TK
42
43gfc_expr * gfc_discard_nops (gfc_expr *);