Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include "targ_const.h"
Go to the source code of this file.
Functions | |
ST * | New_Const_Sym (TCON_IDX tcon, TY_IDX ty) |
ST * | Gen_String_Sym (TCON *val, TY_IDX ty, BOOL unique) |
TCON | Const_Val (WN *n) |
WN * | Make_Const (TCON c) |
WN * | Make_Reduction_Identity (INT32 opr, TYPE_ID mtype) |
Variables | |
static const INT32 | MAX_SYMBOLIC_CONST_NAME_LEN = 1024 |
Definition at line 188 of file const.cxx.
References WN_val().
Referenced by TCON_from_stack().
ST* Gen_String_Sym | ( | TCON * | val, |
TY_IDX | ty, | ||
BOOL | unique | ||
) |
Definition at line 169 of file const.cxx.
References Enter_tcon(), and New_Const_Sym().
Referenced by cwh_create_str_st(), DRA_EC_Array_Portion_Parms(), fei_pattern_con(), MemCtr_Add_Common(), MemCtr_Add_Global(), MemCtr_Add_Local(), and WN_LdaString().
WN* Make_Const | ( | TCON | c | ) |
Definition at line 204 of file const.cxx.
References Be_Type_Tbl, Check_TCON(), Enter_tcon(), FALSE, Is_True, MTYPE_C4, MTYPE_C8, MTYPE_CQ, MTYPE_F4, MTYPE_F8, MTYPE_FQ, MTYPE_I4, MTYPE_I8, Mtype_Name(), MTYPE_U4, MTYPE_U8, New_Const_Sym(), NULL, OPC_C4CONST, OPC_C8CONST, OPC_CQCONST, OPC_F4CONST, OPC_F8CONST, OPC_FQCONST, OPC_I4CONST, OPC_I8CONST, OPC_U4CONST, OPC_U8CONST, TCON_ty, and WN_CreateConst().
Referenced by Make_Reduction_Identity(), WN_ConstPowerOf2(), WN_Floatconst(), WN_UVConst(), and WN_Zerocon().
WN* Make_Reduction_Identity | ( | INT32 | opr, |
TYPE_ID | mtype | ||
) |
Definition at line 330 of file const.cxx.
References Fail_FmtAssertion(), Host_To_Targ_Float(), Is_True, Make_Const(), MTYPE_C4, MTYPE_C8, MTYPE_CQ, MTYPE_F4, MTYPE_F8, MTYPE_FQ, MTYPE_I1, MTYPE_I2, MTYPE_I4, MTYPE_I8, MTYPE_U1, MTYPE_U2, MTYPE_U4, MTYPE_U8, MTYPE_V, OPR_ADD, OPR_BAND, OPR_BIOR, OPR_BXOR, OPR_CAND, OPR_CIOR, OPR_DIV, OPR_EQ, OPR_INTCONST, OPR_LAND, OPR_LIOR, OPR_MAX, OPR_MIN, OPR_MPY, OPR_NE, OPR_SUB, and WN_CreateIntconst().
ST* New_Const_Sym | ( | TCON_IDX | tcon, |
TY_IDX | ty | ||
) |
Definition at line 140 of file const.cxx.
References CLASS_CONST, EXPORT_LOCAL, stlCompatibility::HashTable< Key, Value, KeyHash, KeyEq >::find(), GLOBAL_SYMTAB, stlCompatibility::HashTable< Key, Value, KeyHash, KeyEq >::insert(), Is_True, New_ST(), SCLASS_FSTATIC, Set_ST_is_initialized(), Set_ST_tcon(), ST_class(), ST_export(), ST_Init(), ST_is_initialized(), ST_sclass(), and Tcon_Table.
Referenced by cwh_stab_const_ST(), fei_addr_con(), fei_arith_con(), Gen_String_Sym(), and Make_Const().
const INT32 MAX_SYMBOLIC_CONST_NAME_LEN = 1024 [static] |