osprey-gcc-4.2.0/gcc/tree-object-size.c File Reference

#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
#include "diagnostic.h"
#include "tree-flow.h"
#include "tree-pass.h"
#include "tree-ssa-propagate.h"

Include dependency graph for tree-object-size.c:

Go to the source code of this file.

Data Types

type  object_size_info

Functions/Subroutines

static tree compute_object_offset (tree, tree)
static unsigned HOST_WIDE_INT addr_object_size (tree, int)
static unsigned HOST_WIDE_INT alloc_object_size (tree, int)
static tree pass_through_call (tree)
static void collect_object_sizes_for (struct object_size_info *, tree)
static void expr_object_size (struct object_size_info *, tree, tree)
static bool merge_object_sizes (struct object_size_info *, tree, tree, unsigned HOST_WIDE_INT)
static bool plus_expr_object_size (struct object_size_info *, tree, tree)
static unsigned int compute_object_sizes (void)
static void init_offset_limit (void)
static void check_for_plus_in_loops (struct object_size_info *, tree)
static void check_for_plus_in_loops_1 (struct object_size_info *, tree, unsigned int)
unsigned HOST_WIDE_INT compute_builtin_object_size (tree ptr, int object_size_type)
void init_object_sizes (void)
void fini_object_sizes (void)

Variables

static unsigned HOST_WIDE_INT unknown [4] = { -1, -1, 0, 0 }
static unsigned HOST_WIDE_INT * object_sizes [4]
static bitmap computed [4]
static unsigned HOST_WIDE_INT offset_limit
struct tree_opt_pass pass_object_sizes


Function Documentation

static unsigned HOST_WIDE_INT addr_object_size ( tree  ptr,
int  object_size_type 
) [static]

static unsigned HOST_WIDE_INT alloc_object_size ( tree  call,
int  object_size_type 
) [static]

static void check_for_plus_in_loops ( struct object_size_info osi,
tree  var 
) [static]

static void check_for_plus_in_loops_1 ( struct object_size_info osi,
tree  var,
unsigned int  depth 
) [static]

static void collect_object_sizes_for ( struct object_size_info osi,
tree  var 
) [static]

unsigned HOST_WIDE_INT compute_builtin_object_size ( tree  ptr,
int  object_size_type 
)

static tree compute_object_offset ( tree  expr,
tree  var 
) [static]

static unsigned int compute_object_sizes ( void   )  [static]

static void expr_object_size ( struct object_size_info osi,
tree  ptr,
tree  value 
) [static]

void fini_object_sizes ( void   ) 

void init_object_sizes ( void   ) 

static void init_offset_limit ( void   )  [static]

static bool merge_object_sizes ( struct object_size_info osi,
tree  dest,
tree  orig,
unsigned HOST_WIDE_INT  offset 
) [static]

static tree pass_through_call ( tree  call  )  [static]

static bool plus_expr_object_size ( struct object_size_info osi,
tree  var,
tree  value 
) [static]


Variable Documentation

bitmap computed[4] [static]

unsigned HOST_WIDE_INT* object_sizes[4] [static]

unsigned HOST_WIDE_INT offset_limit [static]

Initial value:

Definition at line 1060 of file tree-object-size.c.

Referenced by init_optimization_passes().

unsigned HOST_WIDE_INT unknown[4] = { -1, -1, 0, 0 } [static]

Definition at line 42 of file tree-object-size.c.


Generated on Wed Apr 8 14:19:12 2009 for Open64 by  doxygen 1.5.6