osprey/kgccfe/gnu/ssa-ccp.c File Reference

#include "config.h"
#include "system.h"
#include "rtl.h"
#include "hard-reg-set.h"
#include "basic-block.h"
#include "ssa.h"
#include "insn-config.h"
#include "recog.h"
#include "output.h"
#include "errors.h"
#include "ggc.h"
#include "df.h"
#include "function.h"

Include dependency graph for ssa-ccp.c:

Go to the source code of this file.

Data Types

type  value

Defines

#define SSA_NAME(x)   REGNO (SET_DEST (x))
#define EIE(x, y)   EDGE_INDEX (edges, x, y)

Enumerations

enum  latticevalue {
  UNDEFINED, CONSTANT, VARYING, UNDEFINED,
  CONSTANT, VARYING, UNINITIALIZED = 0, UNDEFINED,
  UNKNOWN_VAL, CONSTANT, VARYING
}

Functions/Subroutines

static void visit_phi_node PARAMS ((rtx, basic_block))
static void defs_to_undefined PARAMS ((rtx))
static void examine_flow_edges PARAMS ((void))
static int mark_references PARAMS ((rtx *, void *))
static void
optimize_unexecutable_edges 
PARAMS ((struct edge_list *, sbitmap))
static void ssa_fast_dce PARAMS ((struct df *))
static void visit_phi_node (rtx phi_node, basic_block block)
static void defs_to_undefined (rtx insn)
static void defs_to_varying (rtx insn)
static void visit_expression (rtx insn, basic_block block)
static void examine_flow_edges ()
static void follow_def_use_chains ()
static void optimize_unexecutable_edges (struct edge_list *edges, sbitmap executable_edges)
static void ssa_ccp_substitute_constants ()
static void ssa_ccp_df_delete_unreachable_insns ()
void ssa_const_prop ()
static int mark_references (rtx *current_rtx, void *data)
static void ssa_fast_dce (struct df *df)

Variables

static valuevalues
static sbitmap executable_blocks
static sbitmap executable_edges
static edgeedge_info
static struct edge_listedges
static struct dfdf_analyzer
static edge flow_edges
static sbitmap ssa_edges


Define Documentation

#define EIE ( x,
 )     EDGE_INDEX (edges, x, y)

Definition at line 123 of file ssa-ccp.c.

#define SSA_NAME (  )     REGNO (SET_DEST (x))

Definition at line 122 of file ssa-ccp.c.


Enumeration Type Documentation

Enumerator:
UNDEFINED 
CONSTANT 
VARYING 
UNDEFINED 
CONSTANT 
VARYING 
UNINITIALIZED 
UNDEFINED 
UNKNOWN_VAL 
CONSTANT 
VARYING 

Definition at line 79 of file ssa-ccp.c.


Function Documentation

static void defs_to_undefined ( rtx  insn  )  [static]

static void defs_to_varying ( rtx  insn  )  [static]

static void examine_flow_edges (  )  [static]

static void follow_def_use_chains (  )  [static]

static int mark_references ( rtx current_rtx,
void data 
) [static]

Definition at line 1094 of file ssa-ccp.c.

References dest, for_each_rtx(), GET_CODE, mark_references(), NULL_RTX, REG, REGNO, SET, SET_BIT, SET_DEST, SET_SRC, worklist, x, and XEXP.

static void optimize_unexecutable_edges ( struct edge_list edges,
sbitmap  executable_edges 
) [static]

static void ssa_fast_dce PARAMS ( (struct df *)   )  [static]

static void optimize_unexecutable_edges PARAMS ( (struct edge_list *, sbitmap  )  [static]

static int mark_references PARAMS ( (rtx *, void *)   )  [static]

static void examine_flow_edges PARAMS ( (void  )  [static, read]

Definition at line 77 of file cplus-dem.c.

static void defs_to_undefined PARAMS ( (rtx  )  [static]

static void visit_phi_node PARAMS ( (rtx, basic_block  )  [static]

static void ssa_ccp_df_delete_unreachable_insns (  )  [static]

static void ssa_ccp_substitute_constants (  )  [static]

void ssa_const_prop (  ) 

static void ssa_fast_dce ( struct df df  )  [static]

static void visit_expression ( rtx  insn,
basic_block  block 
) [static]

static void visit_phi_node ( rtx  phi_node,
basic_block  block 
) [static]


Variable Documentation

struct df* df_analyzer [static]

Definition at line 112 of file ssa-ccp.c.

edge* edge_info [static]

Definition at line 106 of file ssa-ccp.c.

struct edge_list* edges [static]

Definition at line 109 of file ssa-ccp.c.

Definition at line 100 of file ssa-ccp.c.

Definition at line 103 of file ssa-ccp.c.

edge flow_edges [static]

Definition at line 115 of file ssa-ccp.c.

sbitmap ssa_edges [static]

Definition at line 119 of file ssa-ccp.c.

value* values [static]

Definition at line 97 of file ssa-ccp.c.


Generated on Wed Apr 8 15:44:49 2009 for Open64 by  doxygen 1.5.6