osprey-gcc/gcc/tree-ssa-operands.c File Reference

#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
#include "flags.h"
#include "function.h"
#include "diagnostic.h"
#include "errors.h"
#include "tree-flow.h"
#include "tree-inline.h"
#include "tree-pass.h"
#include "ggc.h"
#include "timevar.h"
#include "langhooks.h"
#include "gt-tree-ssa-operands.h"

Include dependency graph for tree-ssa-operands.c:

Go to the source code of this file.

Defines

#define opf_none   0
#define opf_is_def   (1 << 0)
#define opf_kill_def   (1 << 1)
#define opf_no_vops   (1 << 2)

Functions/Subroutines

static GTY (())
static void note_addressable (tree, stmt_ann_t)
static void get_expr_operands (tree, tree *, int)
static void get_asm_expr_operands (tree)
static void get_indirect_ref_operands (tree, tree, int)
static void get_call_expr_operands (tree, tree)
static void append_def (tree *)
static void append_use (tree *)
static void append_v_may_def (tree)
static void append_v_must_def (tree)
static void add_call_clobber_ops (tree)
static void add_call_read_ops (tree)
static void add_stmt_operand (tree *, stmt_ann_t, int)
static def_optype allocate_def_optype (unsigned num)
static use_optype allocate_use_optype (unsigned num)
static v_may_def_optype allocate_v_may_def_optype (unsigned num)
static vuse_optype allocate_vuse_optype (unsigned num)
static v_must_def_optype allocate_v_must_def_optype (unsigned num)
static void free_uses (use_optype *uses)
static void free_defs (def_optype *defs)
static void free_vuses (vuse_optype *vuses)
static void free_v_may_defs (v_may_def_optype *v_may_defs)
static void free_v_must_defs (v_must_def_optype *v_must_defs)
void init_ssa_operands (void)
void fini_ssa_operands (void)
static def_optype finalize_ssa_defs (def_optype *old_ops_p, tree stmt ATTRIBUTE_UNUSED)
static use_optype finalize_ssa_uses (use_optype *old_ops_p, tree stmt ATTRIBUTE_UNUSED)
static v_may_def_optype finalize_ssa_v_may_defs (v_may_def_optype *old_ops_p)
static void cleanup_v_may_defs (void)
static vuse_optype finalize_ssa_vuses (vuse_optype *old_ops_p)
static v_must_def_optype finalize_ssa_v_must_defs (v_must_def_optype *old_ops_p, tree stmt ATTRIBUTE_UNUSED)
static void finalize_ssa_stmt_operands (tree stmt, stmt_operands_p old_ops, stmt_operands_p new_ops)
static void start_ssa_stmt_operands (void)
static void append_vuse (tree var)
static void build_ssa_operands (tree stmt, stmt_ann_t ann, stmt_operands_p old_ops, stmt_operands_p new_ops)
static void free_ssa_operands (stmt_operands_p ops)
void get_stmt_operands (tree stmt)
void copy_virtual_operands (tree dst, tree src)
void create_ssa_artficial_load_stmt (stmt_operands_p old_ops, tree new_stmt)

Variables

use_operand_p NULL_USE_OPERAND_P = { NULL }


Define Documentation

#define opf_is_def   (1 << 0)

#define opf_kill_def   (1 << 1)

#define opf_no_vops   (1 << 2)

Definition at line 102 of file tree-ssa-operands.c.

Referenced by add_stmt_operand(), add_virtual_operand(), and get_expr_operands().

#define opf_none   0


Function Documentation

static void add_call_clobber_ops ( tree  stmt  )  [static]

static void add_call_read_ops ( tree  stmt  )  [static]

static void add_stmt_operand ( tree var_p,
stmt_ann_t  s_ann,
int  flags 
) [static]

static def_optype allocate_def_optype ( unsigned  num  )  [inline, static]

Definition at line 155 of file tree-ssa-operands.c.

References ggc_alloc, and size.

Referenced by finalize_ssa_defs().

static use_optype allocate_use_optype ( unsigned  num  )  [inline, static]

Definition at line 169 of file tree-ssa-operands.c.

References ggc_alloc, and size.

Referenced by finalize_ssa_uses().

static v_may_def_optype allocate_v_may_def_optype ( unsigned  num  )  [inline, static]

Definition at line 183 of file tree-ssa-operands.c.

References ggc_alloc, and size.

Referenced by copy_virtual_operands(), and finalize_ssa_v_may_defs().

static v_must_def_optype allocate_v_must_def_optype ( unsigned  num  )  [inline, static]

Definition at line 212 of file tree-ssa-operands.c.

References ggc_alloc, and size.

Referenced by copy_virtual_operands(), and finalize_ssa_v_must_defs().

static vuse_optype allocate_vuse_optype ( unsigned  num  )  [inline, static]

Definition at line 198 of file tree-ssa-operands.c.

References ggc_alloc, and size.

Referenced by copy_virtual_operands(), and finalize_ssa_vuses().

static void append_def ( tree def_p  )  [inline, static]

Definition at line 785 of file tree-ssa-operands.c.

References VARRAY_PUSH_TREE_PTR.

Referenced by add_stmt_operand().

static void append_use ( tree use_p  )  [inline, static]

Definition at line 794 of file tree-ssa-operands.c.

References VARRAY_PUSH_TREE_PTR.

Referenced by add_stmt_operand().

static void append_v_may_def ( tree  var  )  [inline, static]

static void append_v_must_def ( tree  var  )  [inline, static]

static void append_vuse ( tree  var  )  [inline, static]

static void build_ssa_operands ( tree  stmt,
stmt_ann_t  ann,
stmt_operands_p  old_ops,
stmt_operands_p  new_ops 
) [static]

static void cleanup_v_may_defs ( void   )  [inline, static]

Definition at line 519 of file tree-ssa-operands.c.

References var_ann(), VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL, VARRAY_TREE, and x.

Referenced by finalize_ssa_vuses().

void copy_virtual_operands ( tree  dst,
tree  src 
)

Definition at line 1811 of file tree-ssa-operands.c.

Referenced by tree_duplicate_bb(), vectorizable_load(), and vectorizable_store().

void create_ssa_artficial_load_stmt ( stmt_operands_p  old_ops,
tree  new_stmt 
)

static def_optype finalize_ssa_defs ( def_optype old_ops_p,
tree stmt  ATTRIBUTE_UNUSED 
) [static]

static void finalize_ssa_stmt_operands ( tree  stmt,
stmt_operands_p  old_ops,
stmt_operands_p  new_ops 
) [inline, static]

static use_optype finalize_ssa_uses ( use_optype old_ops_p,
tree stmt  ATTRIBUTE_UNUSED 
) [static]

static v_may_def_optype finalize_ssa_v_may_defs ( v_may_def_optype old_ops_p  )  [static]

static v_must_def_optype finalize_ssa_v_must_defs ( v_must_def_optype old_ops_p,
tree stmt  ATTRIBUTE_UNUSED 
) [static]

static vuse_optype finalize_ssa_vuses ( vuse_optype old_ops_p  )  [static]

void fini_ssa_operands ( void   ) 

Definition at line 304 of file tree-ssa-operands.c.

Referenced by delete_tree_ssa(), and remove_ssa_form().

static void free_defs ( def_optype defs  )  [inline, static]

Definition at line 239 of file tree-ssa-operands.c.

References ggc_free(), and NULL.

Referenced by finalize_ssa_def_ops(), fini_ssa_operands(), and free_ssa_operands().

static void free_ssa_operands ( stmt_operands_p  ops  )  [static]

static void free_uses ( use_optype uses  )  [inline, static]

Definition at line 226 of file tree-ssa-operands.c.

References ggc_free(), and NULL.

Referenced by finalize_ssa_use_ops(), fini_ssa_operands(), and free_ssa_operands().

static void free_v_may_defs ( v_may_def_optype v_may_defs  )  [inline, static]

Definition at line 265 of file tree-ssa-operands.c.

References ggc_free(), and NULL.

Referenced by create_ssa_artficial_load_stmt(), and free_ssa_operands().

static void free_v_must_defs ( v_must_def_optype v_must_defs  )  [inline, static]

Definition at line 278 of file tree-ssa-operands.c.

References ggc_free(), and NULL.

Referenced by create_ssa_artficial_load_stmt(), and free_ssa_operands().

static void free_vuses ( vuse_optype vuses  )  [inline, static]

static void get_asm_expr_operands ( tree  stmt  )  [static]

static void get_call_expr_operands ( tree  stmt,
tree  expr 
) [static]

static void get_expr_operands ( tree  stmt,
tree expr_p,
int  flags 
) [static]

static void get_indirect_ref_operands ( tree  stmt,
tree  expr,
int  flags 
) [static]

void get_stmt_operands ( tree  stmt  ) 

static GTY ( ()   )  [static]

Definition at line 105 of file tree-ssa-operands.c.

References NULL.

void init_ssa_operands ( void   ) 

Definition at line 291 of file tree-ssa-operands.c.

Referenced by init_tree_ssa(), and rewrite_into_ssa().

static void note_addressable ( tree  var,
stmt_ann_t  s_ann 
) [static]

static void start_ssa_stmt_operands ( void   )  [inline, static]

Definition at line 772 of file tree-ssa-operands.c.

References gcc_assert, and VARRAY_ACTIVE_SIZE.

Referenced by build_ssa_operands(), and create_ssa_artficial_load_stmt().


Variable Documentation

Definition at line 137 of file tree-ssa-operands.c.


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