Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
symtab_idx.h File Reference
#include "errors.h"
Include dependency graph for symtab_idx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TABLE_INDEXED_BY_LEVEL8_AND_INDEX24< ENTRY_TYPE, INDEX_TYPE, LEVEL_INDEX_TYPE, LEVEL_CONTAINER_TYPE, level_container_ptr, LEVEL_MEMBER_ACCESSOR >

Typedefs

typedef mUINT32 ST_IDX
typedef mUINT32 TY_IDX
typedef mUINT32 FLD_IDX
typedef mUINT32 ARB_IDX
typedef mUINT32 TYLIST_IDX
typedef mUINT32 PU_IDX
typedef mUINT32 TARGET_INFO_IDX
typedef mUINT32 TCON_IDX
typedef mUINT32 LABEL_IDX
typedef mUINT32 PREG_IDX
typedef mUINT32 ST_ATTR_IDX
typedef mUINT32 BLK_IDX
typedef mUINT32 INITO_IDX
typedef mUINT32 INITV_IDX
typedef mUINT32 STR_IDX
typedef mUINT8 SYMTAB_IDX

Functions

template<class INDEX_TYPE , class LEVEL_INDEX_TYPE >
LEVEL_INDEX_TYPE Extract_level8 (INDEX_TYPE idx, LEVEL_INDEX_TYPE *)
template<class INDEX_TYPE >
UINT32 Extract_index24 (INDEX_TYPE idx)
SYMTAB_IDX ST_IDX_level (ST_IDX st_idx)
UINT32 ST_IDX_index (ST_IDX st_idx)
ST_IDX make_ST_IDX (UINT index, SYMTAB_IDX level)
SYMTAB_IDX INITO_IDX_level (INITO_IDX inito_idx)
UINT32 INITO_IDX_index (INITO_IDX inito_idx)
INITO_IDX make_INITO_IDX (UINT index, SYMTAB_IDX level)
UINT32 TY_IDX_index (TY_IDX ty_idx)
void Set_TY_IDX_index (TY_IDX &ty_idx, UINT32 index)
TY_IDX make_TY_IDX (UINT32 index)
BOOL TY_is_const (TY_IDX ty_idx)
void Set_TY_is_const (TY_IDX &ty_idx)
void Clear_TY_is_const (TY_IDX &ty_idx)
BOOL TY_is_volatile (TY_IDX ty_idx)
void Set_TY_is_volatile (TY_IDX &ty_idx)
void Clear_TY_is_volatile (TY_IDX &ty_idx)
BOOL TY_is_restrict (TY_IDX ty_idx)
void Set_TY_is_restrict (TY_IDX &ty_idx)
void Clear_TY_is_restrict (TY_IDX &ty_idx)
UINT TY_align_exp (TY_IDX ty_idx)
void Set_TY_align_exp (TY_IDX &ty_idx, UINT exp)
UINT TY_align (TY_IDX ty_idx)
void Set_TY_align (TY_IDX &ty_idx, UINT32 align)

Variables

static const ST_IDX ST_IDX_ZERO = 0
static const TY_IDX TY_IDX_ZERO = 0
static const FLD_IDX FLD_IDX_ZERO = 0
static const ARB_IDX ARB_IDX_ZERO = 0
static const TYLIST_IDX TYLIST_IDX_ZERO = 0
static const PU_IDX PU_IDX_ZERO = 0
static const TARGET_INFO_IDX TARGET_INFO_IDX_ZERO = 0
static const TCON_IDX TCON_IDX_ZERO = 0
static const LABEL_IDX LABEL_IDX_ZERO = 0
static const PREG_IDX PREG_IDX_ZERO = 0
static const ST_ATTR_IDX ST_ATTR_IDX_ZERO = 0
static const BLK_IDX BLK_IDX_ZERO = 0
static const INITO_IDX INITO_IDX_ZERO = 0
static const INITV_IDX INITV_IDX_ZERO = 0
static const STR_IDX STR_IDX_ZERO = 0
static const SYMTAB_IDX SYMTAB_IDX_ZERO = 0
const UINT32 TY_RESTRICT = 0x00000080
const UINT32 TY_VOLATILE = 0x00000040
const UINT32 TY_CONST = 0x00000020
const UINT32 TY_ALIGN = 0x0000001f

Typedef Documentation

typedef mUINT32 ARB_IDX

Definition at line 50 of file symtab_idx.h.

typedef mUINT32 BLK_IDX

Definition at line 58 of file symtab_idx.h.

typedef mUINT32 FLD_IDX

Definition at line 49 of file symtab_idx.h.

typedef mUINT32 INITO_IDX

Definition at line 59 of file symtab_idx.h.

typedef mUINT32 INITV_IDX

Definition at line 60 of file symtab_idx.h.

typedef mUINT32 LABEL_IDX

Definition at line 55 of file symtab_idx.h.

typedef mUINT32 PREG_IDX

Definition at line 56 of file symtab_idx.h.

typedef mUINT32 PU_IDX

Definition at line 52 of file symtab_idx.h.

Definition at line 57 of file symtab_idx.h.

typedef mUINT32 ST_IDX

Definition at line 47 of file symtab_idx.h.

typedef mUINT32 STR_IDX

Definition at line 61 of file symtab_idx.h.

typedef mUINT8 SYMTAB_IDX

Definition at line 62 of file symtab_idx.h.

Definition at line 53 of file symtab_idx.h.

typedef mUINT32 TCON_IDX

Definition at line 54 of file symtab_idx.h.

typedef mUINT32 TY_IDX

Definition at line 48 of file symtab_idx.h.

Definition at line 51 of file symtab_idx.h.


Function Documentation

void Clear_TY_is_const ( TY_IDX ty_idx) [inline]

Definition at line 240 of file symtab_idx.h.

References TY_CONST.

void Clear_TY_is_restrict ( TY_IDX ty_idx) [inline]

Definition at line 248 of file symtab_idx.h.

References TY_RESTRICT.

void Clear_TY_is_volatile ( TY_IDX ty_idx) [inline]

Definition at line 244 of file symtab_idx.h.

References TY_VOLATILE.

UINT32 INITO_IDX_index ( INITO_IDX  inito_idx) [inline]

Definition at line 142 of file symtab_idx.h.

References Extract_index24().

Referenced by IPO_SYMTAB::Get_INITO(), IPO_SYMTAB::Get_INITO_IDX(), ir_put_wn(), and Make_inito_iter().

Here is the call graph for this function:

SYMTAB_IDX INITO_IDX_level ( INITO_IDX  inito_idx) [inline]

Definition at line 136 of file symtab_idx.h.

References Extract_level8().

Referenced by IPO_SYMTAB::Get_INITO(), and Make_inito_iter().

Here is the call graph for this function:

INITO_IDX make_INITO_IDX ( UINT  index,
SYMTAB_IDX  level 
) [inline]

Definition at line 145 of file symtab_idx.h.

Referenced by IPO_SYMTAB::Get_INITO_IDX(), and New_INITO().

void Set_TY_align_exp ( TY_IDX ty_idx,
UINT  exp 
) [inline]

Definition at line 253 of file symtab_idx.h.

References TY_ALIGN.

Referenced by Set_TY_align().

void Set_TY_IDX_index ( TY_IDX ty_idx,
UINT32  index 
) [inline]

Definition at line 217 of file symtab_idx.h.

Referenced by Copy_TY(), cwh_addr_mk_ldid(), and TY_is_unique_op().

void Set_TY_is_const ( TY_IDX ty_idx) [inline]

Definition at line 239 of file symtab_idx.h.

References TY_CONST.

void Set_TY_is_restrict ( TY_IDX ty_idx) [inline]

Definition at line 247 of file symtab_idx.h.

References TY_RESTRICT.

void Set_TY_is_volatile ( TY_IDX ty_idx) [inline]

Definition at line 243 of file symtab_idx.h.

References TY_VOLATILE.

Referenced by fei_seg().

UINT TY_align_exp ( TY_IDX  ty_idx) [inline]

Definition at line 252 of file symtab_idx.h.

References TY_ALIGN.

Referenced by Equivalent_Types(), Get_Parameter_Location(), and TY_are_equivalent().


Variable Documentation

const ARB_IDX ARB_IDX_ZERO = 0 [static]

Definition at line 69 of file symtab_idx.h.

const BLK_IDX BLK_IDX_ZERO = 0 [static]

Definition at line 77 of file symtab_idx.h.

const FLD_IDX FLD_IDX_ZERO = 0 [static]

Definition at line 68 of file symtab_idx.h.

Definition at line 78 of file symtab_idx.h.

Referenced by Rename_INITV_Labels().

Definition at line 79 of file symtab_idx.h.

Referenced by Append_INITV(), and Rename_INITV_Labels().

Definition at line 74 of file symtab_idx.h.

Definition at line 75 of file symtab_idx.h.

const PU_IDX PU_IDX_ZERO = 0 [static]

Definition at line 71 of file symtab_idx.h.

Definition at line 76 of file symtab_idx.h.

const ST_IDX ST_IDX_ZERO = 0 [static]

Definition at line 66 of file symtab_idx.h.

Referenced by IVAR::IVAR().

const STR_IDX STR_IDX_ZERO = 0 [static]

Definition at line 80 of file symtab_idx.h.

Definition at line 81 of file symtab_idx.h.

Referenced by Init_ST_formal_info_for_PU().

Definition at line 72 of file symtab_idx.h.

Referenced by PU_Init(), and PU::Verify().

Definition at line 73 of file symtab_idx.h.

const UINT32 TY_ALIGN = 0x0000001f

Definition at line 213 of file symtab_idx.h.

Referenced by Set_TY_align_exp(), STB_align(), TY_align(), and TY_align_exp().

const UINT32 TY_CONST = 0x00000020

Definition at line 212 of file symtab_idx.h.

Referenced by Clear_TY_is_const(), Set_TY_is_const(), and TY_is_const().

const TY_IDX TY_IDX_ZERO = 0 [static]

Definition at line 67 of file symtab_idx.h.

Referenced by ST2C_func_header(), ST2F_decl_var(), WN2C_call(), and WN2C_parm().

const UINT32 TY_RESTRICT = 0x00000080

Definition at line 210 of file symtab_idx.h.

Referenced by Clear_TY_is_restrict(), Set_TY_is_restrict(), and TY_is_restrict().

const UINT32 TY_VOLATILE = 0x00000040

Definition at line 211 of file symtab_idx.h.

Referenced by Clear_TY_is_volatile(), Set_TY_is_volatile(), and TY_is_volatile().

Definition at line 70 of file symtab_idx.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines