c++: only cache constexpr calls that are constant exprs
[official-gcc.git] / gcc / gimple-builder.h
blobf9dd9fb88ac5a0bbaf9d6e026f5954a5014a2e6d
1 /* Header file for high level statement building routines.
2 Copyright (C) 2013-2023 Free Software Foundation, Inc.
4 This file is part of GCC.
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.
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.
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/>. */
21 #ifndef GCC_GIMPLE_BUILDER_H
22 #define GCC_GIMPLE_BUILDER_H
24 /* ??? This API is legacy and should not be used in new code. */
26 gassign *build_assign (enum tree_code, tree, int, tree lhs = NULL_TREE);
27 gassign *build_assign (enum tree_code, gimple *, int, tree lhs = NULL_TREE);
28 gassign *build_assign (enum tree_code, tree, tree, tree lhs = NULL_TREE);
29 gassign *build_assign (enum tree_code, gimple *, tree, tree lhs = NULL_TREE);
30 gassign *build_assign (enum tree_code, tree, gimple *, tree lhs = NULL_TREE);
31 gassign *build_assign (enum tree_code, gimple *, gimple *,
32 tree lhs = NULL_TREE);
33 gassign *build_type_cast (tree, tree, tree lhs = NULL_TREE);
34 gassign *build_type_cast (tree, gimple *, tree lhs = NULL_TREE);
36 #endif /* GCC_GIMPLE_BUILDER_H */