Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
dra_internal.h File Reference
#include "defs.h"
#include "wn_pragmas.h"
#include "cxx_memory.h"
#include "cxx_hash.h"
#include "cxx_base.h"
#include "mtypes.h"
#include "symtab.h"
Include dependency graph for dra_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RESHAPED_DIM
class  DRA_INFO
class  STRING_NODE
class  STRING_LIST
class  STRING_ITER
struct  MANGLED_FUNC
class  DRA_GLOBAL_INFO

Typedefs

typedef HASH_TABLE< ST
*, DRA_INFO * > 
DRA_HASH_TABLE
typedef HASH_TABLE< STR_IDX,
STRING_LIST * > 
STRING_LIST_TABLE
typedef HASH_TABLE< STR_IDX,
MANGLED_FUNC * > 
NAME_ST_TABLE
typedef HASH_TABLE_ITER
< STR_IDX, MANGLED_FUNC * > 
NAME_ST_TABLE_ITER
typedef HASH_TABLE< ST
*, DRA_GLOBAL_INFO * > 
DRA_GLOBAL_HASH_TABLE
typedef HASH_TABLE< ST_IDX, BOOLDRA_COMMON_HASH_TABLE

Functions

void DRA_Read_Pragmas (WN *func_nd, DRA_HASH_TABLE *dra_table)
void DRA_Mangle_All (WN *func_wn, DRA_HASH_TABLE *dra_table, struct pu_info *pu_info)
void DRA_EC_Declare_Types ()
void DRA_EC_Array_Portion_Parms (WN *func_nd, WN *entry_nd)
WNGet_Preamble_End (WN *pu_wn)
STFind_Return_Registers (TYPE_ID type, PREG_NUM *rreg1, PREG_NUM *rreg2)
void DRA_Open_And_Map_File ()
void DRA_Set_Write_Location ()
void DRA_Mem_Unmap_File ()
void DRA_Close_File ()
TY_IDX Get_Array_Type (ST *st)
TY_IDX Get_Original_Type (ST *st)

Variables

DRA_GLOBAL_HASH_TABLEdra_global
NAME_ST_TABLEDRA_func_table
DRA_HASH_TABLEDRA_array_table
struct mem_pool DRA_name_poolDRA_name_pool_ptr
INT DRA_file_desc
char * DRA_file_mmap
char DRA_file_name []
static const char * DRA_MANGLE_SIG = "__nn__"
static const INT DRA_MANGLE_SIG_LEN = strlen(DRA_MANGLE_SIG)
static const char DRA_STAR_CODE = 'S'
static const char DRA_BLOCK_CODE = 'B'
static const char DRA_CYCLIC_CODE = 'C'
static const char DRA_NDIMS_END = 'D'
static const char DRA_ESIZE_END = 'E'
static const char DRA_ARG_SEPARATOR = '_'
static const char * DRA_FILE_SEPARATOR = "----\n"

Typedef Documentation

typedef HASH_TABLE<ST_IDX, BOOL> DRA_COMMON_HASH_TABLE

Definition at line 349 of file dra_internal.h.

typedef HASH_TABLE<ST*, DRA_GLOBAL_INFO*> DRA_GLOBAL_HASH_TABLE

Definition at line 346 of file dra_internal.h.

typedef HASH_TABLE<ST*, DRA_INFO*> DRA_HASH_TABLE

Definition at line 315 of file dra_internal.h.

typedef HASH_TABLE<STR_IDX, MANGLED_FUNC*> NAME_ST_TABLE

Definition at line 331 of file dra_internal.h.

typedef HASH_TABLE_ITER<STR_IDX, MANGLED_FUNC*> NAME_ST_TABLE_ITER

Definition at line 333 of file dra_internal.h.

typedef HASH_TABLE<STR_IDX, STRING_LIST*> STRING_LIST_TABLE

Definition at line 320 of file dra_internal.h.


Function Documentation

void DRA_Close_File ( )

Definition at line 251 of file dra_file_util.cxx.

References close, and DRA_file_desc.

Referenced by DRA_Finalize().

Definition at line 233 of file dra_file_util.cxx.

References DRA_file_mmap, and DRA_file_size.

Referenced by DRA_Clone_Initialize().

void DRA_Read_Pragmas ( WN func_nd,
DRA_HASH_TABLE dra_table 
)

Definition at line 242 of file dra_mangle.cxx.

References block, DRA_Read_Pragmas_In_Block(), Get_Preamble_End(), Set_Error_Phase(), and WN_func_body.

Referenced by DRA_Processing().

Here is the call graph for this function:

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:

WN* Get_Preamble_End ( WN pu_wn)

Definition at line 342 of file dra_mangle.cxx.

References Is_True, NULL, OPC_ALTENTRY, OPC_FUNC_ENTRY, OPC_PRAGMA, wn, WN_entry_first, WN_next(), WN_opcode(), WN_pragma(), and WN_PRAGMA_PREAMBLE_END.

Referenced by DRA_EC_Array_Portion_Parms(), DRA_Read_Pragmas(), and Find_Insertion_Point().

Here is the call graph for this function:


Variable Documentation

const char DRA_ARG_SEPARATOR = '_' [static]

Definition at line 424 of file dra_internal.h.

const char DRA_BLOCK_CODE = 'B' [static]

Definition at line 420 of file dra_internal.h.

const char DRA_CYCLIC_CODE = 'C' [static]

Definition at line 421 of file dra_internal.h.

const char DRA_ESIZE_END = 'E' [static]

Definition at line 423 of file dra_internal.h.

const char* DRA_MANGLE_SIG = "__nn__" [static]

Definition at line 416 of file dra_internal.h.

Definition at line 417 of file dra_internal.h.

Definition at line 131 of file dra_clone.cxx.

Referenced by New_DRA().

const char DRA_NDIMS_END = 'D' [static]

Definition at line 422 of file dra_internal.h.

const char DRA_STAR_CODE = 'S' [static]

Definition at line 419 of file dra_internal.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines