calls.h 1.9 KB

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