osprey-gcc/gcc/et-forest.c File Reference

#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "et-forest.h"
#include "alloc-pool.h"

Include dependency graph for et-forest.c:

Go to the source code of this file.

Data Types

type  et_occ

Functions/Subroutines

static void set_depth (struct et_occ *occ, int d)
static void set_depth_add (struct et_occ *occ, int d)
static void set_prev (struct et_occ *occ, struct et_occ *t)
static void set_next (struct et_occ *occ, struct et_occ *t)
static void et_recomp_min (struct et_occ *occ)
static void et_splay (struct et_occ *occ)
static struct et_occet_new_occ (struct et_node *node)
struct et_nodeet_new_tree (void *data)
void et_free_tree (struct et_node *t)
void et_set_father (struct et_node *t, struct et_node *father)
void et_split (struct et_node *t)
struct et_nodeet_nca (struct et_node *n1, struct et_node *n2)
bool et_below (struct et_node *down, struct et_node *up)

Variables

static alloc_pool et_nodes
static alloc_pool et_occurrences


Function Documentation

bool et_below ( struct et_node down,
struct et_node up 
)

Definition at line 677 of file et-forest.c.

Referenced by dominated_by_p().

void et_free_tree ( struct et_node t  ) 

Definition at line 490 of file et-forest.c.

Referenced by delete_from_dominance_info().

struct et_node* et_nca ( struct et_node n1,
struct et_node n2 
) [read]

Definition at line 618 of file et-forest.c.

Referenced by nearest_common_dominator().

static struct et_occ* et_new_occ ( struct et_node node  )  [static, read]

struct et_node* et_new_tree ( void data  )  [read]

Definition at line 467 of file et-forest.c.

Referenced by add_to_dominance_info(), and calculate_dominance_info().

static void et_recomp_min ( struct et_occ occ  )  [inline, static]

Definition at line 116 of file et-forest.c.

References et_occ::depth, et_occ::min, et_occ::min_occ, et_occ::next, and et_occ::prev.

Referenced by et_set_father(), et_splay(), and et_split().

void et_set_father ( struct et_node t,
struct et_node father 
)

static void et_splay ( struct et_occ occ  )  [static]

void et_split ( struct et_node t  ) 

static void set_depth ( struct et_occ occ,
int  d 
) [inline, static]

Definition at line 64 of file et-forest.c.

References et_occ::depth, and et_occ::min.

Referenced by et_splay().

static void set_depth_add ( struct et_occ occ,
int  d 
) [inline, static]

Definition at line 76 of file et-forest.c.

References et_occ::depth, and et_occ::min.

Referenced by et_splay().

static void set_next ( struct et_occ occ,
struct et_occ t 
) [inline, static]

Definition at line 102 of file et-forest.c.

References gcc_assert, et_occ::next, and et_occ::parent.

Referenced by et_below(), et_nca(), et_set_father(), and et_splay().

static void set_prev ( struct et_occ occ,
struct et_occ t 
) [inline, static]

Definition at line 88 of file et-forest.c.

References gcc_assert, et_occ::parent, and et_occ::prev.

Referenced by et_below(), et_nca(), et_set_father(), et_splay(), and et_split().


Variable Documentation

alloc_pool et_nodes [static]

Definition at line 58 of file et-forest.c.

Definition at line 59 of file et-forest.c.


Generated on Wed Apr 8 15:31:57 2009 for Open64 by  doxygen 1.5.6