Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include "defs.h"
#include "config.h"
#include "erglob.h"
#include "strtab.h"
#include "stab.h"
#include "opcode.h"
#include "targ_const.h"
#include "const.h"
#include "wn_core.h"
#include "ttype.h"
Go to the source code of this file.
Functions | |
TY_IDX | TY_Of_Expr (const WN *expr) |
TY_IDX | TY_Of_Parameter (WN *expr) |
BOOL | Is_Float_Type (TY_IDX ty) |
BOOL | Equivalent_Types (TY_IDX t1, TY_IDX t2, QUAL_CHECK consider_qualifiers) |
Variables | |
TPDEF * | Global_Tpdefs = NULL |
BOOL Equivalent_Types | ( | TY_IDX | t1, |
TY_IDX | t2, | ||
QUAL_CHECK | consider_qualifiers | ||
) |
Definition at line 293 of file ttype.cxx.
References ARB_are_equivalent(), EC_Invalid_Case, Equivalent_Types(), ErrMsg(), FALSE, KIND_ARRAY, KIND_FUNCTION, KIND_INVALID, KIND_POINTER, KIND_SCALAR, KIND_STRUCT, KIND_VOID, QUAL_FULL, QUAL_IGNORE, t1, TRUE, TY_align_exp(), TY_arb(), TY_etype(), TY_fld(), TY_is_character(), TY_is_const(), TY_is_logical(), TY_is_restrict(), TY_is_volatile(), TY_kind(), TY_mtype(), TY_pointed(), TY_size(), Ty_Table, TY_tylist(), and Tylist_Table.
Referenced by Equivalent_Types().
BOOL Is_Float_Type | ( | TY_IDX | ty | ) |
Definition at line 196 of file ttype.cxx.
References FALSE, KIND_SCALAR, MTYPE_float, MTYPE_LAST, TY_kind(), and TY_mtype().
TY_IDX TY_Of_Expr | ( | const WN * | expr | ) |
Definition at line 131 of file ttype.cxx.
References MTYPE_is_complex, MTYPE_To_TY, OPR_IDNAME, OPR_MLOAD, OPR_PARM, TY_mtype(), TY_pointed(), Ty_Table, WN_operator(), WN_rtype(), WN_ty(), and WN_type.
Referenced by TY_Of_Parameter().
TY_IDX TY_Of_Parameter | ( | WN * | expr | ) |
Definition at line 169 of file ttype.cxx.
References Make_Pointer_Type(), SCLASS_FORMAL_REF, TY_Of_Expr(), WN_has_sym, and WN_sclass.
Referenced by Calc_Actual_Area(), and Calc_Formal_Area().