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