Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
callutil.h File Reference

Go to the source code of this file.

Classes

struct  arg_ty_comp
struct  arg_ty_list

Defines

#define ATC_next(a)   ((a)->next)
#define ATC_ctype(a)   ((a)->ctype)
#define ATC_csize(a)   ((a)->csize)
#define ATC_cnd(a)   ((a)->cnd)
#define ATC_cnd(a)   ((a)->cnd)
#define ATC_tn(a)   ((a)->tn)
#define ATC_tn_val(a)   ((a)->tn_val)
#define ATC_mem_ofst(a)   ((a)->mem_ofst)
#define ATC_parm_reg(a)   ((a)->parm_reg)
#define ATC_op_store(a)   ((a)->op_store)
#define ATC_op_copy(a)   ((a)->op_copy )
#define ATL_IS_REF   0x01 /* Reference parameter */
#define ATL_IS_IN_TN   0x02 /* Argument is in TN (register) */
#define ATL_ON_COPIES   0x04 /* Argument is on copy list ... */
#define ATL_IS_VARARGS   0x08 /* Argument is from varargs ... */
#define ATL_DUP_FLOAT   0x10 /* Duplicate float varargs argument ... */
#define ATL_next(a)   ((a)+1)
#define ATL_sym(a)   ((a)->sym)
#define ATL_type(a)   ((a)->type)
#define ATL_pnd(a)   ((a)->pnd)
#define ATL_atc(a)   (&((a)->atc))
#define ATL_ctype(a)   (ATC_ctype(ATL_atc(a)))
#define ATL_csize(a)   (ATC_csize(ATL_atc(a)))
#define ATL_cnd(a)   (ATC_cnd(ATL_atc(a)))
#define ATL_tn(a)   (ATC_tn(ATL_atc(a)))
#define ATL_tn_val(a)   (ATC_tn_val(ATL_atc(a)))
#define ATL_mem_ofst(a)   (ATC_mem_ofst(ATL_atc(a)))
#define ATL_parm_reg(a)   (ATC_parm_reg(ATL_atc(a)))
#define ATL_op_store(a)   (ATC_op_store(ATL_atc(a)))
#define ATL_op_copy(a)   (ATC_op_copy(ATL_atc(a)))
#define ATL_flags(a)   ((a)->flags)
#define ATL_fstyle(a)   ((a)->fstyle)
#define ATL_cform(a)   ((a)->cform)
#define ATL_entry(a)   ((a)->entry)
#define ATL_copies(a)   ((a)->copies)
#define ATL_next_copy(a)   ((a)->next_copy)
#define ATL_is_ref(a)   (ATL_flags(a) & ATL_IS_REF)
#define Set_ATL_is_ref(a)   (ATL_flags(a) |= ATL_IS_REF)
#define Reset_ATL_is_ref(a)   (ATL_flags(a) &= ~ATL_IS_REF)
#define ATL_is_in_tn(a)   (ATL_flags(a) & ATL_IS_IN_TN)
#define Set_ATL_is_in_tn(a)   (ATL_flags(a) |= ATL_IS_IN_TN)
#define Reset_ATL_is_in_tn(a)   (ATL_flags(a) &= ~ATL_IS_IN_TN)
#define ATL_on_copies(a)   (ATL_flags(a) & ATL_ON_COPIES)
#define Set_ATL_on_copies(a)   (ATL_flags(a) |= ATL_ON_COPIES)
#define Reset_ATL_on_copies(a)   (ATL_flags(a) &= ~ATL_ON_COPIES)
#define ATL_is_varargs(a)   (ATL_flags(a) & ATL_IS_VARARGS)
#define Set_ATL_is_varargs(a)   (ATL_flags(a) |= ATL_IS_VARARGS)
#define ATL_dup_float(a)   (ATL_flags(a) & ATL_DUP_FLOAT)
#define Set_ATL_dup_float(a)   (ATL_flags(a) |= ATL_DUP_FLOAT)

Typedefs

typedef struct arg_ty_comp ARG_TY_COMP
typedef struct arg_ty_list ARG_TY_LIST

Functions

struct tn * Get_Return_Address_TN (struct bb *bb, BOOL gen_load)
struct insch * Find_Entry_TN_Adjustment_INSCH (struct bb *bb, struct tn *mod_tn)
struct insch * Find_Exit_TN_Adjustment_INSCH (struct bb *bb, struct tn *mod_tn)
struct op * Find_Entry_TN_Adjustment_OP (struct bb *bb, struct tn *mod_tn)
struct op * Find_Exit_TN_Adjustment_OP (struct bb *bb, struct tn *mod_tn)
void Mark_Nested_Reference (struct st *st)
BOOL No_Overlap (struct fld *f1, struct fld *f2)
struct ty * Identify_Callee_Type (struct nd *pu)
struct ty * Formal_Parameter_Type (struct st *parm)
struct st * Make_Formal_Base_Symbol (struct st *formal_sym)
ARG_TY_LISTPrepare_Atl_Of_Call (struct nd *t)
ARG_TY_LISTPrepare_Atl_Of_Formals (struct nd *t, struct stch *args)
void Trace_ATL (ARG_TY_LIST *atl)
void Trace_ATL_List (struct nd *t, ARG_TY_LIST *atl)

Define Documentation

#define ATC_cnd (   a)    ((a)->cnd)

Definition at line 168 of file callutil.h.

#define ATC_cnd (   a)    ((a)->cnd)

Definition at line 168 of file callutil.h.

#define ATC_csize (   a)    ((a)->csize)

Definition at line 166 of file callutil.h.

#define ATC_ctype (   a)    ((a)->ctype)

Definition at line 165 of file callutil.h.

#define ATC_mem_ofst (   a)    ((a)->mem_ofst)

Definition at line 171 of file callutil.h.

#define ATC_next (   a)    ((a)->next)

Definition at line 164 of file callutil.h.

#define ATC_op_copy (   a)    ((a)->op_copy )

Definition at line 174 of file callutil.h.

#define ATC_op_store (   a)    ((a)->op_store)

Definition at line 173 of file callutil.h.

#define ATC_parm_reg (   a)    ((a)->parm_reg)

Definition at line 172 of file callutil.h.

#define ATC_tn (   a)    ((a)->tn)

Definition at line 169 of file callutil.h.

#define ATC_tn_val (   a)    ((a)->tn_val)

Definition at line 170 of file callutil.h.

#define ATL_atc (   a)    (&((a)->atc))

Definition at line 205 of file callutil.h.

#define ATL_cform (   a)    ((a)->cform)

Definition at line 217 of file callutil.h.

#define ATL_cnd (   a)    (ATC_cnd(ATL_atc(a)))

Definition at line 208 of file callutil.h.

#define ATL_copies (   a)    ((a)->copies)

Definition at line 219 of file callutil.h.

#define ATL_csize (   a)    (ATC_csize(ATL_atc(a)))

Definition at line 207 of file callutil.h.

#define ATL_ctype (   a)    (ATC_ctype(ATL_atc(a)))

Definition at line 206 of file callutil.h.

#define ATL_DUP_FLOAT   0x10 /* Duplicate float varargs argument ... */

Definition at line 198 of file callutil.h.

#define ATL_dup_float (   a)    (ATL_flags(a) & ATL_DUP_FLOAT)

Definition at line 233 of file callutil.h.

#define ATL_entry (   a)    ((a)->entry)

Definition at line 218 of file callutil.h.

#define ATL_flags (   a)    ((a)->flags)

Definition at line 215 of file callutil.h.

#define ATL_fstyle (   a)    ((a)->fstyle)

Definition at line 216 of file callutil.h.

#define ATL_IS_IN_TN   0x02 /* Argument is in TN (register) */

Definition at line 195 of file callutil.h.

#define ATL_is_in_tn (   a)    (ATL_flags(a) & ATL_IS_IN_TN)

Definition at line 225 of file callutil.h.

#define ATL_IS_REF   0x01 /* Reference parameter */

Definition at line 194 of file callutil.h.

#define ATL_is_ref (   a)    (ATL_flags(a) & ATL_IS_REF)

Definition at line 222 of file callutil.h.

#define ATL_IS_VARARGS   0x08 /* Argument is from varargs ... */

Definition at line 197 of file callutil.h.

#define ATL_is_varargs (   a)    (ATL_flags(a) & ATL_IS_VARARGS)

Definition at line 231 of file callutil.h.

#define ATL_mem_ofst (   a)    (ATC_mem_ofst(ATL_atc(a)))

Definition at line 211 of file callutil.h.

#define ATL_next (   a)    ((a)+1)

Definition at line 201 of file callutil.h.

#define ATL_next_copy (   a)    ((a)->next_copy)

Definition at line 220 of file callutil.h.

#define ATL_ON_COPIES   0x04 /* Argument is on copy list ... */

Definition at line 196 of file callutil.h.

#define ATL_on_copies (   a)    (ATL_flags(a) & ATL_ON_COPIES)

Definition at line 228 of file callutil.h.

#define ATL_op_copy (   a)    (ATC_op_copy(ATL_atc(a)))

Definition at line 214 of file callutil.h.

#define ATL_op_store (   a)    (ATC_op_store(ATL_atc(a)))

Definition at line 213 of file callutil.h.

#define ATL_parm_reg (   a)    (ATC_parm_reg(ATL_atc(a)))

Definition at line 212 of file callutil.h.

#define ATL_pnd (   a)    ((a)->pnd)

Definition at line 204 of file callutil.h.

#define ATL_sym (   a)    ((a)->sym)

Definition at line 202 of file callutil.h.

#define ATL_tn (   a)    (ATC_tn(ATL_atc(a)))

Definition at line 209 of file callutil.h.

#define ATL_tn_val (   a)    (ATC_tn_val(ATL_atc(a)))

Definition at line 210 of file callutil.h.

#define ATL_type (   a)    ((a)->type)

Definition at line 203 of file callutil.h.

#define Reset_ATL_is_in_tn (   a)    (ATL_flags(a) &= ~ATL_IS_IN_TN)

Definition at line 227 of file callutil.h.

#define Reset_ATL_is_ref (   a)    (ATL_flags(a) &= ~ATL_IS_REF)

Definition at line 224 of file callutil.h.

#define Reset_ATL_on_copies (   a)    (ATL_flags(a) &= ~ATL_ON_COPIES)

Definition at line 230 of file callutil.h.

#define Set_ATL_dup_float (   a)    (ATL_flags(a) |= ATL_DUP_FLOAT)

Definition at line 234 of file callutil.h.

#define Set_ATL_is_in_tn (   a)    (ATL_flags(a) |= ATL_IS_IN_TN)

Definition at line 226 of file callutil.h.

#define Set_ATL_is_ref (   a)    (ATL_flags(a) |= ATL_IS_REF)

Definition at line 223 of file callutil.h.

#define Set_ATL_is_varargs (   a)    (ATL_flags(a) |= ATL_IS_VARARGS)

Definition at line 232 of file callutil.h.

#define Set_ATL_on_copies (   a)    (ATL_flags(a) |= ATL_ON_COPIES)

Definition at line 229 of file callutil.h.


Typedef Documentation

typedef struct arg_ty_comp ARG_TY_COMP
typedef struct arg_ty_list ARG_TY_LIST

Function Documentation

struct insch* Find_Entry_TN_Adjustment_INSCH ( struct bb *  bb,
struct tn *  mod_tn 
) [read]
struct op* Find_Entry_TN_Adjustment_OP ( struct bb *  bb,
struct tn *  mod_tn 
) [read]
struct insch* Find_Exit_TN_Adjustment_INSCH ( struct bb *  bb,
struct tn *  mod_tn 
) [read]
struct op* Find_Exit_TN_Adjustment_OP ( struct bb *  bb,
struct tn *  mod_tn 
) [read]
struct ty* Formal_Parameter_Type ( struct st *  parm) [read]
struct tn* Get_Return_Address_TN ( struct bb *  bb,
BOOL  gen_load 
) [read]
struct ty* Identify_Callee_Type ( struct nd *  pu) [read]
struct st* Make_Formal_Base_Symbol ( struct st *  formal_sym) [read]
void Mark_Nested_Reference ( struct st *  st)
BOOL No_Overlap ( struct fld *  f1,
struct fld *  f2 
)
ARG_TY_LIST* Prepare_Atl_Of_Call ( struct nd *  t)
ARG_TY_LIST* Prepare_Atl_Of_Formals ( struct nd *  t,
struct stch *  args 
)
void Trace_ATL ( ARG_TY_LIST atl)
void Trace_ATL_List ( struct nd *  t,
ARG_TY_LIST atl 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines