Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
init2c.cxx File Reference
#include "whirl2c_common.h"
#include "st2c.h"
#include "ty2c.h"
#include "tcon2c.h"
#include "init2c.h"
Include dependency graph for init2c.cxx:

Go to the source code of this file.

Defines

#define INITV_repeat(x)

Functions

TCON TCON_For_Initv (INITV_IDX initv)
static void INIT2C_Next_Initv (INITV_IDX *inv, INT *inv_repeat)
static void INITV2C_translate (TOKEN_BUFFER tokens, TY_IDX ty, INITV_IDX initv)
static void INITV2C_symoff (TOKEN_BUFFER tokens, TY_IDX ty, INITV_IDX initv)
static void INITV2C_symoff_help (TOKEN_BUFFER tokens, TY_IDX ty, INITV_IDX initv)
static void INITV2C_val (TOKEN_BUFFER tokens, TY_IDX ty, INITV_IDX initv)
static void INITV2C_array_dimension (TOKEN_BUFFER tokens, TY_IDX etype, INITV_IDX next_initv, INT this_dim, INT num_dims)
static void INITV2C_block_array (TOKEN_BUFFER tokens, TY_IDX ty, INITV_IDX initv)
static void INITV2C_struct_fill (TOKEN_BUFFER tokens, INITV_IDX *current_inv, INT *inv_repeat, INT64 *current_offset, INT64 desired_offset)
static void INITV2C_block_struct (TOKEN_BUFFER tokens, TY_IDX ty, INITV_IDX initv)
static void INITV2C_block_union (TOKEN_BUFFER tokens, TY_IDX ty, INITV_IDX initv)
void INITO2C_translate (TOKEN_BUFFER tokens, INITO_IDX inito)

Define Documentation

#define INITV_repeat (   x)
Value:

Definition at line 66 of file init2c.cxx.

Referenced by INIT2C_Next_Initv(), INITV2C_array_dimension(), and INITV2C_block_struct().


Function Documentation

static void INIT2C_Next_Initv ( INITV_IDX inv,
INT inv_repeat 
) [static]

Definition at line 96 of file init2c.cxx.

References INITV_next(), and INITV_repeat.

Referenced by INITV2C_block_struct(), and INITV2C_struct_fill().

Here is the call graph for this function:

void INITO2C_translate ( TOKEN_BUFFER  tokens,
INITO_IDX  inito 
)
static void INITV2C_array_dimension ( TOKEN_BUFFER  tokens,
TY_IDX  etype,
INITV_IDX  next_initv,
INT  this_dim,
INT  num_dims 
) [static]

Definition at line 384 of file init2c.cxx.

References Append_Token_Special(), INITV2C_translate(), INITV_blk(), INITV_kind(), INITV_next(), INITV_repeat, Initv_Table, INITVKIND_BLOCK, and INITVKIND_PAD.

Referenced by INITV2C_block_array().

Here is the call graph for this function:

static void INITV2C_block_union ( TOKEN_BUFFER  tokens,
TY_IDX  ty,
INITV_IDX  initv 
) [static]

Definition at line 736 of file init2c.cxx.

References Append_Token_Special(), FLD_type(), INITV2C_translate(), INITV_blk(), INITV_kind(), INITV_next(), Initv_Table, INITVKIND_PAD, Is_True, TY_flist(), and Ty_Table.

Referenced by INITV2C_translate().

Here is the call graph for this function:

static void INITV2C_symoff_help ( TOKEN_BUFFER  tokens,
TY_IDX  ty,
INITV_IDX  initv 
) [static]
TCON TCON_For_Initv ( INITV_IDX  initv) [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines