GCC Middle and Back End API Reference
libfuncs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  libfunc_entry
 
struct  libfunc_hasher
 
struct  target_libfuncs
 

Macros

#define this_target_libfuncs   (&default_target_libfuncs)
 
#define libfunc_table    (this_target_libfuncs->x_libfunc_table)
 
#define unwind_sjlj_register_libfunc   (libfunc_table[LTI_unwind_sjlj_register])
 
#define unwind_sjlj_unregister_libfunc    (libfunc_table[LTI_unwind_sjlj_unregister])
 
#define synchronize_libfunc   (libfunc_table[LTI_synchronize])
 

Enumerations

enum  libfunc_index { LTI_unwind_sjlj_register , LTI_unwind_sjlj_unregister , LTI_synchronize , LTI_MAX }
 

Functions

void set_stack_check_libfunc (const char *)
 

Variables

struct target_libfuncs default_target_libfuncs
 

Macro Definition Documentation

◆ libfunc_table

#define libfunc_table    (this_target_libfuncs->x_libfunc_table)

◆ synchronize_libfunc

#define synchronize_libfunc   (libfunc_table[LTI_synchronize])

Referenced by expand_mem_thread_fence().

◆ this_target_libfuncs

#define this_target_libfuncs   (&default_target_libfuncs)

◆ unwind_sjlj_register_libfunc

#define unwind_sjlj_register_libfunc   (libfunc_table[LTI_unwind_sjlj_register])
Accessor macros for libfunc_table.   

Referenced by init_optabs(), and sjlj_emit_function_enter().

◆ unwind_sjlj_unregister_libfunc

#define unwind_sjlj_unregister_libfunc    (libfunc_table[LTI_unwind_sjlj_unregister])

Enumeration Type Documentation

◆ libfunc_index

Definitions for code generation pass of GNU compiler.
   Copyright (C) 2001-2024 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.

GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   
Enumeration of indexes into libfunc_table.   
Enumerator
LTI_unwind_sjlj_register 
LTI_unwind_sjlj_unregister 
LTI_synchronize 
LTI_MAX 

Function Documentation

◆ set_stack_check_libfunc()

Variable Documentation

◆ default_target_libfuncs

struct target_libfuncs default_target_libfuncs
extern
Mapping from optabs to underlying library functions
   Copyright (C) 1987-2024 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.