Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
dra_clone.cxx File Reference
#include <alloca.h>
#include <unistd.h>
#include "pu_info.h"
#include "defs.h"
#include "wn.h"
#include "wn_map.h"
#include "wn_util.h"
#include "symtab.h"
#include "strtab.h"
#include "mempool.h"
#include "cxx_memory.h"
#include "erbe.h"
#include "errors.h"
#include "dwarf_DST_mem.h"
#include "clone.h"
#include "clone_DST_utils.h"
#include "dra_demangle.h"
#include "dra_internal.h"
Include dependency graph for dra_clone.cxx:

Go to the source code of this file.

Defines

#define ONST(x, y)   (y)

Functions

static BOOL DRA_Clone_Initialize (void)
static BOOL DRA_Process_Requests (char *tir_names)
static BOOL DRA_Parse_Clone_Name (char *clone_name)
static void DRA_Clone_Instantiate (PU_Info *orig_pu, BOOL pu_has_feedback, STRING_LIST *tir_list, DRA_HASH_TABLE *dra_table)
static char * DRA_New_Clone_Sig (WN *pu_wn, char *clone_name, DRA_HASH_TABLE *dra_table)
static void DRA_Add_Clone (PU_Info *orig_pu, MEM_POOL *mem_pool, STR_IDX clone_name, char *arg_sig, BOOL pu_has_feedback)
static void DRA_Insert_Pragmas (WN *pu_wn, char *arg_sig)
static void DRA_Process_Commons (DRA_HASH_TABLE *dra_table, DRA_COMMON_HASH_TABLE *)
static void DRA_Collect_Commons (WN *pu, DRA_COMMON_HASH_TABLE *dra_common_ht)
static void DRA_Process_Globals (DRA_HASH_TABLE *dra_table)
static BOOL DRA_Info_Matches_Encoding (DRA_INFO *dra, char *arg_sig)
TY_IDX Get_Original_Type (ST *st)
TY_IDX Get_Array_Type (ST *st)
void DRA_Initialize (void)
void DRA_Finalize (void)
void DRA_Processing (PU_Info *pu_info, WN *pu, BOOL pu_has_feedback)
static WNFind_Insertion_Point (WN *pu_wn, char *arg_sig)

Variables

BOOL Run_Dsm_Cloner = FALSE
BOOL Run_Dsm_Common_Check = FALSE
BOOL Run_Dsm_Check = FALSE
NAME_ST_TABLEDRA_func_table = NULL
MEM_POOL DRA_name_pool
MEM_POOLDRA_name_pool_ptr = NULL
DRA_GLOBAL_HASH_TABLEdra_global = NULL
static STRING_LIST_TABLEDRA_clone_table
static MEM_POOL DRA_clone_pool
static MEM_POOLDRA_clone_pool_ptr = NULL
static MEM_POOL DRA_check_pool
static MEM_POOLDRA_check_pool_ptr = NULL

Define Documentation

#define ONST (   x,
 
)    (y)

Function Documentation

static BOOL DRA_Clone_Initialize ( void  ) [static]
static void DRA_Clone_Instantiate ( PU_Info orig_pu,
BOOL  pu_has_feedback,
STRING_LIST tir_list,
DRA_HASH_TABLE dra_table 
) [static]
static void DRA_Collect_Commons ( WN pu,
DRA_COMMON_HASH_TABLE dra_common_ht 
) [static]
static BOOL DRA_Process_Requests ( char *  tir_names) [static]

Definition at line 165 of file dra_clone.cxx.

References CLASS_VAR, CXX_NEW, dra_global, DRA_GLOBAL_INFO::Get_TY(), GLOBAL_SYMTAB, Malloc_Mem_Pool, ONST, ST_class(), ST_is_reshaped(), ST_level(), and ST_type().

Referenced by DRA_Process_Globals(), and Get_Array_Type().

Here is the call graph for this function:


Variable Documentation

Definition at line 145 of file dra_clone.cxx.

Referenced by DRA_Initialize().

Definition at line 145 of file dra_clone.cxx.

Definition at line 143 of file dra_clone.cxx.

Referenced by DRA_Clone_Initialize().

Definition at line 143 of file dra_clone.cxx.

Definition at line 131 of file dra_clone.cxx.

Referenced by DRA_Processing().

Definition at line 131 of file dra_clone.cxx.

Referenced by New_DRA().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines