0
|
1 /* Definition of functions in convert.c.
|
145
|
2 Copyright (C) 1993-2020 Free Software Foundation, Inc.
|
0
|
3
|
|
4 This file is part of GCC.
|
|
5
|
|
6 GCC is free software; you can redistribute it and/or modify it under
|
|
7 the terms of the GNU General Public License as published by the Free
|
|
8 Software Foundation; either version 3, or (at your option) any later
|
|
9 version.
|
|
10
|
|
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
14 for more details.
|
|
15
|
|
16 You should have received a copy of the GNU General Public License
|
|
17 along with GCC; see the file COPYING3. If not see
|
|
18 <http://www.gnu.org/licenses/>. */
|
|
19
|
|
20 #ifndef GCC_CONVERT_H
|
|
21 #define GCC_CONVERT_H
|
|
22
|
|
23 extern tree convert_to_integer (tree, tree);
|
111
|
24 extern tree convert_to_integer_maybe_fold (tree, tree, bool);
|
0
|
25 extern tree convert_to_pointer (tree, tree);
|
111
|
26 extern tree convert_to_pointer_maybe_fold (tree, tree, bool);
|
0
|
27 extern tree convert_to_real (tree, tree);
|
111
|
28 extern tree convert_to_real_maybe_fold (tree, tree, bool);
|
0
|
29 extern tree convert_to_fixed (tree, tree);
|
|
30 extern tree convert_to_complex (tree, tree);
|
111
|
31 extern tree convert_to_complex_maybe_fold (tree, tree, bool);
|
0
|
32 extern tree convert_to_vector (tree, tree);
|
|
33
|
111
|
34 extern inline tree convert_to_integer_nofold (tree t, tree x)
|
|
35 { return convert_to_integer_maybe_fold (t, x, false); }
|
|
36 extern inline tree convert_to_pointer_nofold (tree t, tree x)
|
|
37 { return convert_to_pointer_maybe_fold (t, x, false); }
|
|
38 extern inline tree convert_to_real_nofold (tree t, tree x)
|
|
39 { return convert_to_real_maybe_fold (t, x, false); }
|
|
40 extern inline tree convert_to_complex_nofold (tree t, tree x)
|
|
41 { return convert_to_complex_maybe_fold (t, x, false); }
|
|
42
|
145
|
43 extern tree preserve_any_location_wrapper (tree result, tree orig_expr);
|
|
44
|
0
|
45 #endif /* GCC_CONVERT_H */
|