GCC Middle and Back End API Reference
langhooks.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  lang_hooks_for_tree_inlining
struct  lang_hooks_for_tree_dump
struct  lang_hooks_for_types
struct  lang_hooks_for_cilkplus
struct  lang_hooks_for_decls
struct  lang_hooks_for_lto
struct  lang_hooks

Typedefs

typedef void(* lang_print_tree_hook )(FILE *, tree, int indent)

Enumerations

enum  classify_record { RECORD_IS_STRUCT, RECORD_IS_CLASS, RECORD_IS_INTERFACE }

Functions

tree add_builtin_function (const char *name, tree type, int function_code, enum built_in_class cl, const char *library_name, tree attrs)
tree add_builtin_function_ext_scope (const char *name, tree type, int function_code, enum built_in_class cl, const char *library_name, tree attrs)
tree add_builtin_type (const char *name, tree type)

Variables

struct lang_hooks lang_hooks

Typedef Documentation

typedef void(* lang_print_tree_hook)(FILE *, tree, int indent)
   A print hook for print_tree ().  

Enumeration Type Documentation

Enumerator:
RECORD_IS_STRUCT 
RECORD_IS_CLASS 
RECORD_IS_INTERFACE 

Function Documentation

tree add_builtin_function ( const char *  name,
tree  type,
int  function_code,
enum built_in_class  cl,
const char *  library_name,
tree  attrs 
)
   Create a builtin function.  
tree add_builtin_function_ext_scope ( const char *  name,
tree  type,
int  function_code,
enum built_in_class  cl,
const char *  library_name,
tree  attrs 
)
   Like add_builtin_function, but make sure the scope is the external scope.
   This is used to delay putting in back end builtin functions until the ISA
   that defines the builtin is declared via function specific target options,
   which can save memory for machines like the x86_64 that have multiple ISAs.
   If this points to the same function as builtin_function, the backend must
   add all of the builtins at program initialization time.  
tree add_builtin_type ( const char *  name,
tree  type 
)

Variable Documentation

   Each front end provides its own.