Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
dra_ec.cxx File Reference
#include "defs.h"
#include "wn.h"
#include "wn_util.h"
#include "targ_const.h"
#include "symtab_idx.h"
#include "symtab.h"
#include "symtab_access.h"
#include "opcode.h"
#include "strtab.h"
#include "config_targ.h"
#include "const.h"
#include "dra_demangle.h"
#include "dra_export.h"
#include "dra_ec.h"
#include "dra_internal.h"
Include dependency graph for dra_ec.cxx:

Go to the source code of this file.

Defines

#define OPC_UNKNOWN   OPCODE_UNKNOWN

Functions

static WNGen_Malloc_Cart (WN *block, WN *insert_wn, INT32 size, ST *cart_st)
static void Gen_Free_Cart (WN *block, WN *prev_wn, WN *stid_wn, ST *cart_st)
static WNGen_Call_Array (WN *block, WN *prev_wn, WN *array_wn, ST *func_st, ST *retval_st)
static WNGet_Array_Dim_Size (TY &array_ty, INT dim)
static STCreate_Local_ST (char *name, TY_IDX ty)
static STDeclare_Func_N_Arg (char *ty_name, char *st_name, TY_IDX ret_ty, INT nargs, TY_IDX ty_array[])
void DRA_EC_Declare_Types ()
void DRA_EC_Array_Portion_Parms (WN *func_wn, WN *entry_wn)

Variables

TY_IDX DRA_EC_struct_ptr_ty = (TY_IDX) NULL
static OPCODE Ldid_Opcode [MTYPE_LAST+1]
static STECHT_Check = NULL
static STECHT_Compare = NULL

Define Documentation

Definition at line 74 of file dra_ec.cxx.


Function Documentation

static ST * Create_Local_ST ( char *  name,
TY_IDX  ty 
) [static]

Definition at line 637 of file dra_ec.cxx.

References CLASS_VAR, CURRENT_SYMTAB, EXPORT_LOCAL, New_ST(), Save_Str(), SCLASS_AUTO, Set_ST_is_temp_var(), and ST_Init().

Referenced by DRA_EC_Array_Portion_Parms().

Here is the call graph for this function:

static ST * Declare_Func_N_Arg ( char *  ty_name,
char *  st_name,
TY_IDX  ret_ty,
INT  nargs,
TY_IDX  ty_array[] 
) [static]
static WN * Gen_Call_Array ( WN block,
WN prev_wn,
WN array_wn,
ST func_st,
ST retval_st 
) [static]
static void Gen_Free_Cart ( WN block,
WN prev_wn,
WN stid_wn,
ST cart_st 
) [static]
static WN * Get_Array_Dim_Size ( TY array_ty,
INT  dim 
) [static]

Variable Documentation

ST* ECHT_Check = NULL [static]

Definition at line 143 of file dra_ec.cxx.

ST* ECHT_Compare = NULL [static]

Definition at line 144 of file dra_ec.cxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines