osprey/crayf90/sgi/cwh_defines.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  W_node
type  blist
type  clist

Defines

#define cast_to_TY(x)   ((TY_IDX) (INTPTR)(void *)x)
#define cast_to_WN(x)   ((WN *) (void *)x)
#define cast_to_ST(x)   ((ST *) (void *)x)
#define cast_to_LB(x)   ((LABEL_IDX) (INTPTR) (void *)x)
#define cast_to_uint(x)   ((unsigned long) (INTPTR) (void *)x)
#define cast_to_int(x)   ((long ) (void *)x)
#define cast_to_long(x)   ((long)(void*)x)
#define cast_to_void(x)   ((void *)x)
#define cast_to_STB(x)   ((STB_pkt *) (void *)x)
#define DUMP_TY(ty)   dump_ty(ty)
#define DUMP_ST(st)   dump_st(st)
#define DUMP_LB(lb)   dump_label(lb)
#define DUMP_WN(wn)   fdump_tree(stdout,wn);
#define DUMP_STK   cwh_stk_dump()
#define bit_to_byte(a)   (a >> 3)
#define bit_to_byte_WN(a)   (cwh_expr_bincalc(OPR_DIV,WN_COPY_Tree(a),WN_CreateIntconst (OPC_U4INTCONST,8)))
#define byte_to_bit(a)   (a << 3)
#define test_flag(f, sh)   ((INT32)((f >> sh) & 1))
#define GLOBAL_LEVEL   1
#define HOST_LEVEL   GLOBAL_LEVEL + 1
#define INTERNAL_LEVEL   HOST_LEVEL + 1
#define WNOPR(w)   (WN_operator(w))
#define WNRTY(w)   (WN_rtype(w))
#define IS_GLOBAL_SYMTAB(s)   (SYMTAB_level(s) == GLOBAL_LEVEL)
#define IN_HOST_PU   (CURRENT_SYMTAB == HOST_LEVEL)
#define IN_NESTED_PU   (CURRENT_SYMTAB >= INTERNAL_LEVEL)
#define RESULT_SIZE   16
#define RESULT_ALIGN   8
#define W_wn(a)   (a.wn)
#define W_ty(a)   (a.ty)
#define iW_wn(a)   (a->wn)
#define iW_ty(a)   (a->ty)
#define I_element(i)   ((i)->element)
#define I_next(i)   ((i)->nxt)
#define L_first(l)   ((l)->first)
#define L_last(l)   ((l)->last)
#define L_num(l)   ((l)->nitems)
#define OPC_UNKNOWN   0
#define MAX_ARY_DIMS   7
#define NUM_LOG_KINDS   4
#define ANULL   -1
#define STRUCT_BY_VALUE(ty)

Typedefs

typedef INT64 OFFSET_64
typedef unsigned long ULONG
typedef long SLONG
typedef struct blist ITEM
typedef struct clist LIST

Functions/Subroutines

void dump_ty (TY_IDX ty)
void dump_st (ST *st)
void dump_label (LABEL_IDX lb)

Variables

MEM_POOLFE_Mempool


Define Documentation

#define ANULL   -1

Definition at line 181 of file cwh_defines.h.

Referenced by fei_descriptor().

#define bit_to_byte ( a   )     (a >> 3)

#define bit_to_byte_WN ( a   )     (cwh_expr_bincalc(OPR_DIV,WN_COPY_Tree(a),WN_CreateIntconst (OPC_U4INTCONST,8)))

Definition at line 110 of file cwh_defines.h.

Referenced by cwh_types_mk_basic_TY().

#define byte_to_bit ( a   )     (a << 3)

#define cast_to_int (  )     ((long ) (void *)x)

Definition at line 87 of file cwh_defines.h.

Referenced by cwh_addr_do_bounds_check(), fei_label(), fei_next_type_idx(), and fei_seg().

#define cast_to_LB (  )     ((LABEL_IDX) (INTPTR) (void *)x)

#define cast_to_long (  )     ((long)(void*)x)

#define cast_to_ST (  )     ((ST *) (void *)x)

#define cast_to_STB (  )     ((STB_pkt *) (void *)x)

#define cast_to_TY (  )     ((TY_IDX) (INTPTR)(void *)x)

#define cast_to_uint (  )     ((unsigned long) (INTPTR) (void *)x)

Definition at line 86 of file cwh_defines.h.

Referenced by cwh_addr_stid(), and cwh_types_fill_type().

#define cast_to_void (  )     ((void *)x)

#define cast_to_WN (  )     ((WN *) (void *)x)

Definition at line 83 of file cwh_defines.h.

Referenced by cwh_types_mk_basic_TY(), fei_constant(), and fei_smt_parameter().

#define DUMP_LB ( lb   )     dump_label(lb)

Definition at line 98 of file cwh_defines.h.

Referenced by cwh_stk_dump().

#define DUMP_ST ( st   )     dump_st(st)

Definition at line 97 of file cwh_defines.h.

Referenced by cwh_auxst_dump_list(), and cwh_stk_dump().

#define DUMP_STK   cwh_stk_dump()

Definition at line 100 of file cwh_defines.h.

#define DUMP_TY ( ty   )     dump_ty(ty)

Definition at line 96 of file cwh_defines.h.

Referenced by cwh_types_array_TY(), and cwh_types_scalar_TY().

#define DUMP_WN ( wn   )     fdump_tree(stdout,wn);

Definition at line 99 of file cwh_defines.h.

Referenced by cwh_stk_dump().

#define GLOBAL_LEVEL   1

Definition at line 116 of file cwh_defines.h.

#define HOST_LEVEL   GLOBAL_LEVEL + 1

Definition at line 117 of file cwh_defines.h.

#define I_element ( i   )     ((i)->element)

#define I_next ( i   )     ((i)->nxt)

#define IN_HOST_PU   (CURRENT_SYMTAB == HOST_LEVEL)

Definition at line 125 of file cwh_defines.h.

#define IN_NESTED_PU   (CURRENT_SYMTAB >= INTERNAL_LEVEL)

#define INTERNAL_LEVEL   HOST_LEVEL + 1

Definition at line 118 of file cwh_defines.h.

#define IS_GLOBAL_SYMTAB (  )     (SYMTAB_level(s) == GLOBAL_LEVEL)

Definition at line 124 of file cwh_defines.h.

#define iW_ty ( a   )     (a->ty)

Definition at line 146 of file cwh_defines.h.

#define iW_wn ( a   )     (a->wn)

Definition at line 145 of file cwh_defines.h.

#define L_first (  )     ((l)->first)

#define L_last (  )     ((l)->last)

Definition at line 171 of file cwh_defines.h.

Referenced by cwh_auxst_add_to_list(), and cwh_stab_full_split().

#define L_num (  )     ((l)->nitems)

#define MAX_ARY_DIMS   7

#define NUM_LOG_KINDS   4

Definition at line 179 of file cwh_defines.h.

Referenced by cwh_types_mk_logical_TY().

#define OPC_UNKNOWN   0

Definition at line 177 of file cwh_defines.h.

#define RESULT_ALIGN   8

Definition at line 129 of file cwh_defines.h.

Referenced by cwh_types_mk_result_temp_TY().

#define RESULT_SIZE   16

Definition at line 128 of file cwh_defines.h.

Referenced by cwh_types_mk_result_temp_TY().

#define STRUCT_BY_VALUE ( ty   ) 

#define test_flag ( f,
sh   )     ((INT32)((f >> sh) & 1))

#define W_ty ( a   )     (a.ty)

#define W_wn ( a   )     (a.wn)

#define WNOPR (  )     (WN_operator(w))

Definition at line 122 of file cwh_defines.h.

#define WNRTY (  )     (WN_rtype(w))


Typedef Documentation

typedef struct blist ITEM

typedef struct clist LIST

typedef INT64 OFFSET_64

Definition at line 68 of file cwh_defines.h.

typedef long SLONG

Definition at line 70 of file cwh_defines.h.

typedef unsigned long ULONG

Definition at line 69 of file cwh_defines.h.


Function Documentation

void dump_label ( LABEL_IDX  lb  ) 

Definition at line 2295 of file symtab.cxx.

void dump_st ( ST st  ) 

Definition at line 2246 of file symtab.cxx.

void dump_ty ( TY_IDX  ty  ) 

Definition at line 2275 of file symtab.cxx.


Variable Documentation


Generated on Wed Apr 8 14:45:41 2009 for Open64 by  doxygen 1.5.6