osprey/ipa/local/loop_info.cxx File Reference

#include <stdint.h>
#include <elf.h>
#include "defs.h"
#include "tracing.h"
#include "loop_info.h"
#include "if_info.h"
#include "soe.h"
#include "opt_alias_interface.h"
#include "ipl_main.h"
#include "ir_reader.h"
#include "cxx_hash.h"
#include "lwn_util.h"
#include "be_util.h"
#include "ipl_summary.h"
#include "ipl_summarize.h"

Include dependency graph for loop_info.cxx:

Go to the source code of this file.

Defines

#define __STDC_LIMIT_MACROS

Typedefs

typedef HASH_TABLE< char *, ST * > ST_TBL

Functions/Subroutines

static void Mark_Code (WN *wn, STACK_OF_WN *stack, DLI_BASE_STACK *dlistack, IF_STACK *if_stack, mUINT8 depth)
static void IPL_Build_Access_Vectors (WN *wn, DOLOOP_STACK *stack, MEM_POOL *pool)
static WNFind_Match (WN *store, OPCODE rhs_opcode, WN *rhs)
static BOOL Self_Dependent_Store (WN *store)
static void Check_Reduction (WN *store)
static BOOL Match (WN *store, WN *value)
static BOOL Equiv (WN *wn1, WN *wn2)
static void IPL_Print_One_Access (FILE *fp, WN *wn)
static void IPL_Print_Access (FILE *fp, WN *wn)
void Mark_formal_summary_symbol (ST *s)
static BOOL Opcode_Match (OPCODE op1, OPCODE op2)
WNUBvar (WN *end)
void IPL_Initialize_Par_Code ()
void IPL_Finalize_Par_Code ()
void IPL_Mark_Code (WN *func_nd)
void IPL_Build_Access_Vectors (WN *func_nd)
static void IPL_Build_Do_Access (WN *wn, DOLOOP_STACK *stack)
static void IPL_Build_Access_Array (WN *wn, DOLOOP_STACK *stack, MEM_POOL *pool)
static void IPL_Build_If_Access (WN *wn, DOLOOP_STACK *stack)
static void Mark_Formals_In_Tree (WN *wn_tree)
static void Mark_Formals_In_Reduction_Increment (WN *wn_stid, WN *wn_ldid)
BOOL Record_scalar_flow (WN *stid)
void Print_DO_LOOP_INFO_BASE (FILE *fp, DO_LOOP_INFO_BASE *b)

Variables

struct ALIAS_MANAGERIpl_Al_Mgr
struct DU_MANAGERIpl_Du_Mgr
MEM_POOL IPL_loop_pool
MEM_POOL IPL_local_pool
WN_MAP IPL_info_map
WN_MAP IPL_reduc_map
static BOOL trace_section = FALSE
ST_TBLST_node_tbl
static BOOL Loop_pool_initialized = FALSE


Define Documentation

#define __STDC_LIMIT_MACROS

Definition at line 57 of file loop_info.cxx.


Typedef Documentation

typedef HASH_TABLE<char*, ST*> ST_TBL

Definition at line 95 of file loop_info.cxx.


Function Documentation

static void Check_Reduction ( WN store  )  [static]

static BOOL Equiv ( WN wn1,
WN wn2 
) [static]

Definition at line 857 of file loop_info.cxx.

References FALSE, INT, TRUE, WN_Equiv(), WN_kid(), and WN_kid_count().

Referenced by lower_bit_field_id(), and Match().

static WN * Find_Match ( WN store,
OPCODE  rhs_opcode,
WN rhs 
) [static]

Definition at line 784 of file loop_info.cxx.

References Match(), NULL, Opcode_Match(), OPCODE_operator(), OPR_SUB, result, WN_kid0(), WN_kid1(), and WN_opcode().

Referenced by Check_Reduction().

static void IPL_Build_Access_Array ( WN wn,
DOLOOP_STACK stack,
MEM_POOL pool 
) [static]

void IPL_Build_Access_Vectors ( WN func_nd  ) 

static void IPL_Build_Access_Vectors ( WN wn,
DOLOOP_STACK stack,
MEM_POOL pool 
) [static]

static void IPL_Build_Do_Access ( WN wn,
DOLOOP_STACK stack 
) [static]

static void IPL_Build_If_Access ( WN wn,
DOLOOP_STACK stack 
) [static]

void IPL_Finalize_Par_Code (  ) 

void IPL_Initialize_Par_Code (  ) 

void IPL_Mark_Code ( WN func_nd  ) 

Definition at line 223 of file loop_info.cxx.

References CXX_NEW, Mark_Code(), mUINT8, and stack.

Referenced by SUMMARIZE< program >::Process_procedure().

static void IPL_Print_Access ( FILE fp,
WN wn 
) [static]

static void IPL_Print_One_Access ( FILE fp,
WN wn 
) [static]

static void Mark_Code ( WN wn,
STACK_OF_WN stack,
DLI_BASE_STACK dlistack,
IF_STACK if_stack,
mUINT8  depth 
) [static]

void Mark_formal_summary_symbol ( ST s  ) 

static void Mark_Formals_In_Reduction_Increment ( WN wn_stid,
WN wn_ldid 
) [static]

static void Mark_Formals_In_Tree ( WN wn_tree  )  [static]

static BOOL Match ( WN store,
WN value 
) [static]

static BOOL Opcode_Match ( OPCODE  op1,
OPCODE  op2 
) [static]

Definition at line 143 of file loop_info.cxx.

References FALSE, OPCODE_desc(), OPCODE_operator(), OPCODE_rtype(), OPR_ADD, OPR_SUB, and TRUE.

Referenced by Find_Match().

void Print_DO_LOOP_INFO_BASE ( FILE fp,
DO_LOOP_INFO_BASE b 
)

Definition at line 983 of file loop_info.cxx.

References DO_LOOP_INFO_BASE::Print().

BOOL Record_scalar_flow ( WN stid  ) 

static BOOL Self_Dependent_Store ( WN store  )  [static]

WN* UBvar ( WN end  ) 


Variable Documentation

Definition at line 86 of file loop_info.cxx.

Definition at line 87 of file loop_info.cxx.

Definition at line 90 of file loop_info.cxx.

Definition at line 89 of file loop_info.cxx.

BOOL Loop_pool_initialized = FALSE [static]

Definition at line 181 of file loop_info.cxx.

Referenced by IPL_Initialize_Par_Code().

Definition at line 96 of file loop_info.cxx.

BOOL trace_section = FALSE [static]


Generated on Wed Apr 8 15:10:02 2009 for Open64 by  doxygen 1.5.6