1/* Declarations and data types for RTL call insn generation.
2 Copyright (C) 2013-2017 Free Software Foundation, Inc.
4This file is part of GCC.
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
8Software Foundation; either version 3, or (at your option) any later
11GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or
13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14for more details.
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
20#ifndef GCC_CALLS_H
21#define GCC_CALLS_H
23extern int flags_from_decl_or_type (const_tree);
24extern int call_expr_flags (const_tree);
25extern int setjmp_call_p (const_tree);
26extern bool gimple_maybe_alloca_call_p (const gimple *);
27extern bool gimple_alloca_call_p (const gimple *);
28extern bool alloca_call_p (const_tree);
29extern bool must_pass_in_stack_var_size (machine_mode, const_tree);
30extern bool must_pass_in_stack_var_size_or_pad (machine_mode, const_tree);
31extern rtx prepare_call_address (tree, rtx, rtx, rtx *, int, int);
32extern bool shift_return_value (machine_mode, bool, rtx);
33extern rtx expand_call (tree, rtx, int);
34extern void fixup_tail_calls (void);
36extern bool pass_by_reference (CUMULATIVE_ARGS *, machine_mode,
37 tree, bool);
38extern bool reference_callee_copied (CUMULATIVE_ARGS *, machine_mode,
39 tree, bool);
40extern void maybe_warn_alloc_args_overflow (tree, tree, tree[2], int[2]);
41extern bool get_size_range (tree, tree[2]);
42extern tree get_attr_nonstring_decl (tree, tree * = NULL);
43extern void maybe_warn_nonstring_arg (tree, tree);
45#endif // GCC_CALLS_H