]> gcc.gnu.org Git - gcc.git/blame - gcc/libfuncs.h
c-decl.c, [...]: Don't check TARGET_MEM_FUNCTIONS.
[gcc.git] / gcc / libfuncs.h
CommitLineData
e78d8e51
ZW
1/* Definitions for code generation pass of GNU compiler.
2 Copyright (C) 2001 Free Software Foundation, Inc.
3
40803cd5 4This file is part of GCC.
e78d8e51 5
40803cd5 6GCC is free software; you can redistribute it and/or modify
e78d8e51
ZW
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
40803cd5 11GCC is distributed in the hope that it will be useful,
e78d8e51
ZW
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
40803cd5 17along with GCC; see the file COPYING. If not, write to
e78d8e51
ZW
18the Free Software Foundation, 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
20
21#ifndef GCC_LIBFUNCS_H
22#define GCC_LIBFUNCS_H
23
24/* Enumeration of indexes into libfunc_table. */
25enum libfunc_index
26{
9602f5a0 27 LTI_abort,
e78d8e51
ZW
28 LTI_memcpy,
29 LTI_memmove,
e78d8e51 30 LTI_memcmp,
e78d8e51 31 LTI_memset,
68d28100 32 LTI_setbits,
e78d8e51
ZW
33
34 LTI_unwind_resume,
35 LTI_eh_personality,
36 LTI_setjmp,
37 LTI_longjmp,
38 LTI_unwind_sjlj_register,
39 LTI_unwind_sjlj_unregister,
40
e78d8e51
ZW
41 LTI_profile_function_entry,
42 LTI_profile_function_exit,
43
68d28100 44 LTI_gcov_flush,
68d28100 45
e78d8e51
ZW
46 LTI_MAX
47};
48
49/* SYMBOL_REF rtx's for the library functions that are called
50 implicitly and not via optabs. */
e2500fed 51extern GTY(()) rtx libfunc_table[LTI_MAX];
e78d8e51
ZW
52
53/* Accessor macros for libfunc_table. */
e78d8e51 54
9602f5a0 55#define abort_libfunc (libfunc_table[LTI_abort])
e78d8e51
ZW
56#define memcpy_libfunc (libfunc_table[LTI_memcpy])
57#define memmove_libfunc (libfunc_table[LTI_memmove])
e78d8e51 58#define memcmp_libfunc (libfunc_table[LTI_memcmp])
e78d8e51 59#define memset_libfunc (libfunc_table[LTI_memset])
68d28100 60#define setbits_libfunc (libfunc_table[LTI_setbits])
e78d8e51
ZW
61
62#define unwind_resume_libfunc (libfunc_table[LTI_unwind_resume])
63#define eh_personality_libfunc (libfunc_table[LTI_eh_personality])
64#define setjmp_libfunc (libfunc_table[LTI_setjmp])
65#define longjmp_libfunc (libfunc_table[LTI_longjmp])
66#define unwind_sjlj_register_libfunc (libfunc_table[LTI_unwind_sjlj_register])
67#define unwind_sjlj_unregister_libfunc \
68 (libfunc_table[LTI_unwind_sjlj_unregister])
69
e78d8e51
ZW
70#define profile_function_entry_libfunc (libfunc_table[LTI_profile_function_entry])
71#define profile_function_exit_libfunc (libfunc_table[LTI_profile_function_exit])
72
68d28100 73#define gcov_flush_libfunc (libfunc_table[LTI_gcov_flush])
68d28100 74
e78d8e51 75#endif /* GCC_LIBFUNCS_H */
This page took 1.175062 seconds and 5 git commands to generate.