osprey-gcc/gcc/tree-mudflap.c File Reference

#include "config.h"
#include "errors.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "basic-block.h"
#include "flags.h"
#include "function.h"
#include "tree-inline.h"
#include "tree-gimple.h"
#include "tree-flow.h"
#include "tree-mudflap.h"
#include "tree-dump.h"
#include "tree-pass.h"
#include "hashtab.h"
#include "diagnostic.h"
#include <demangle.h>
#include "langhooks.h"
#include "ggc.h"
#include "cgraph.h"
#include "gt-tree-mudflap.h"

Include dependency graph for tree-mudflap.c:

Go to the source code of this file.

Data Types

type  mf_xform_decls_data

Defines

#define build_function_type_0(rtype)   build_function_type (rtype, void_list_node)
#define build_function_type_1(rtype, arg1)   build_function_type (rtype, tree_cons (0, arg1, void_list_node))
#define build_function_type_3(rtype, arg1, arg2, arg3)
#define build_function_type_4(rtype, arg1, arg2, arg3, arg4)

Functions/Subroutines

static tree mf_build_string (const char *string)
static tree mf_varname_tree (tree)
static tree mf_file_function_line_tree (location_t)
static void mf_decl_cache_locals (void)
static void mf_decl_clear_locals (void)
static void mf_xform_derefs (void)
static void execute_mudflap_function_ops (void)
static void mf_xform_decls (tree, tree)
static tree mx_xfn_xform_decls (tree *, int *, void *)
static void mx_register_decls (tree, tree *)
static void execute_mudflap_function_decls (void)
static GTY (())
static tree mf_make_mf_cache_struct_type (tree field_type)
void mudflap_init (void)
static void mf_build_check_statement_for (tree base, tree limit, block_stmt_iterator *instr_bsi, location_t *locus, tree dirflag)
static int mf_decl_eligible_p (tree decl)
static void mf_xform_derefs_1 (block_stmt_iterator *iter, tree *tp, location_t *locus, tree dirflag)
static GTY ((param_is(union tree_node)))
int mf_marked_p (tree t)
void mudflap_enqueue_decl (tree obj)
void mudflap_enqueue_constant (tree obj)
void mudflap_finish_file (void)
static bool gate_mudflap (void)

Variables

struct tree_opt_pass pass_mudflap_1
struct tree_opt_pass pass_mudflap_2


Define Documentation

#define build_function_type_0 ( rtype   )     build_function_type (rtype, void_list_node)

Definition at line 326 of file tree-mudflap.c.

Referenced by mudflap_init().

#define build_function_type_1 ( rtype,
arg1   )     build_function_type (rtype, tree_cons (0, arg1, void_list_node))

Definition at line 328 of file tree-mudflap.c.

Referenced by mudflap_init().

#define build_function_type_3 ( rtype,
arg1,
arg2,
arg3   ) 

Value:

build_function_type (rtype, tree_cons (0, arg1, tree_cons (0, arg2,   \
                                                             tree_cons (0, arg3, void_list_node))))

Definition at line 330 of file tree-mudflap.c.

Referenced by mudflap_init().

#define build_function_type_4 ( rtype,
arg1,
arg2,
arg3,
arg4   ) 

Value:

build_function_type (rtype, tree_cons (0, arg1, tree_cons (0, arg2,   \
                                                             tree_cons (0, arg3, tree_cons (0, arg4, \
                                                                                            void_list_node)))))

Definition at line 333 of file tree-mudflap.c.

Referenced by mudflap_init().


Function Documentation

static void execute_mudflap_function_decls ( void   )  [static]

static void execute_mudflap_function_ops ( void   )  [static]

static bool gate_mudflap ( void   )  [static]

Definition at line 1305 of file tree-mudflap.c.

static GTY ( (param_is(union tree_node))   )  [static]

static GTY ( ()   )  [static]

Definition at line 250 of file tree-mudflap.c.

References build_decl, DECL_EXTERNAL, get_identifier(), mf_mark(), and TREE_PUBLIC.

static void mf_build_check_statement_for ( tree  base,
tree  limit,
block_stmt_iterator instr_bsi,
location_t locus,
tree  dirflag 
) [static]

static tree mf_build_string ( const char *  string  )  [static]

static void mf_decl_cache_locals ( void   )  [static]

static void mf_decl_clear_locals ( void   )  [static]

Definition at line 484 of file tree-mudflap.c.

References NULL_TREE.

Referenced by execute_mudflap_function_ops().

static int mf_decl_eligible_p ( tree  decl  )  [static]

static tree mf_file_function_line_tree ( location_t  location  )  [static]

static tree mf_make_mf_cache_struct_type ( tree  field_type  )  [inline, static]

int mf_marked_p ( tree  ) 

static tree mf_varname_tree ( tree  decl  )  [static]

static void mf_xform_decls ( tree  fnbody,
tree  fnparams 
) [static]

static void mf_xform_derefs ( void   )  [static]

static void mf_xform_derefs_1 ( block_stmt_iterator iter,
tree tp,
location_t locus,
tree  dirflag 
) [static]

void mudflap_enqueue_constant ( tree obj   ) 

void mudflap_enqueue_decl ( tree obj   ) 

void mudflap_finish_file ( void   ) 

Definition at line 1238 of file tree-mudflap.c.

Referenced by compile_file().

void mudflap_init ( void   ) 

Definition at line 341 of file tree-mudflap.c.

Referenced by c_common_nodes_and_builtins().

static void mx_register_decls ( tree  decl,
tree stmt_list 
) [static]

static tree mx_xfn_xform_decls ( tree t,
int *  continue_p,
void data 
) [static]


Variable Documentation

Initial value:

 
{
  "mudflap1",                           
  gate_mudflap,                         
  execute_mudflap_function_decls,       
  NULL,                                 
  NULL,                                 
  0,                                    
  0,                                    
  PROP_gimple_any,                      
  0,                                    
  0,                                    
  0,                                    
  TODO_dump_func,                       
  0         
}

Definition at line 1310 of file tree-mudflap.c.

Referenced by init_optimization_passes(), and init_tree_optimization_passes().

Initial value:

Definition at line 1327 of file tree-mudflap.c.

Referenced by init_optimization_passes(), and init_tree_optimization_passes().


Generated on Wed Apr 8 14:22:24 2009 for Open64 by  doxygen 1.5.6