Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
#define CALLSITE_call | ( | ci | ) | (ci)->call_wn |
Definition at line 182 of file PUinfo.h.
Referenced by Accumulate_Expr_PUinfo(), New_CallSite(), WN2C_call(), WN2F_call(), and WN2F_intrinsic_call().
#define CALLSITE_in_regs | ( | ci | ) | (ci)->in_regs |
Definition at line 188 of file PUinfo.h.
Referenced by Accumulate_Expr_PUinfo(), New_CallSite(), WN2C_Function_Call_Lhs(), and WN2F_Function_Call_Lhs().
#define CALLSITE_next | ( | ci | ) | (ci)->next |
Definition at line 189 of file PUinfo.h.
Referenced by Accumulate_Expr_PUinfo(), New_CallSite(), PUinfo_exit_pu(), PUinfo_finalize(), WN2C_call(), WN2F_call(), and WN2F_intrinsic_call().
#define CALLSITE_return_ty | ( | ci | ) | (ci)->return_ty |
Definition at line 183 of file PUinfo.h.
Referenced by New_CallSite().
#define CALLSITE_return_var | ( | ci | ) | (ci)->return_var |
Definition at line 186 of file PUinfo.h.
Referenced by New_CallSite(), WN2C_Function_Call_Lhs(), and WN2F_Function_Call_Lhs().
#define CALLSITE_store1 | ( | ci | ) | (ci)->store1 |
Definition at line 184 of file PUinfo.h.
Referenced by Accumulate_Expr_PUinfo(), New_CallSite(), WN2C_Function_Call_Lhs(), WN2C_Skip_Stmt(), WN2F_Function_Call_Lhs(), and WN2F_Skip_Stmt().
#define CALLSITE_store2 | ( | ci | ) | (ci)->store2 |
Definition at line 185 of file PUinfo.h.
Referenced by Accumulate_Expr_PUinfo(), New_CallSite(), WN2C_Skip_Stmt(), and WN2F_Skip_Stmt().
#define CALLSITE_var_offset | ( | ci | ) | (ci)->var_offset |
Definition at line 187 of file PUinfo.h.
Referenced by New_CallSite(), WN2C_Function_Call_Lhs(), and WN2F_Function_Call_Lhs().
Definition at line 241 of file PUinfo.h.
Referenced by ST2F_use_var(), and WN2F_End_Routine_Strings().
#define PUINFO_FUNC_ST WN_st(PUinfo_current_func) |
Definition at line 239 of file PUinfo.h.
Referenced by W2F_Outfile_Translate_Pu(), WN2C_Append_Purple_Funcinfo(), WN2C_block(), WN2F_Append_Purple_Funcinfo(), WN2F_End_Routine_Strings(), WN2F_Exit_PU_Block(), and WN2F_return().
Definition at line 238 of file PUinfo.h.
Referenced by WN2C_Append_Purple_Funcinfo().
#define PUINFO_FUNC_TY ST_pu_type(PUINFO_FUNC_ST) |
#define PUINFO_RETURN_CHARACTER W2X_Unparse_Target->Func_Return_Character(PUINFO_FUNC_TY) |
#define PUINFO_RETURN_PARAM WN_st(WN_formal(PUinfo_current_func, 0)) |
Definition at line 244 of file PUinfo.h.
Referenced by ST2F_decl_type(), ST2F_decl_var(), ST2F_use_var(), WN2C_Declare_Return_Parameter(), and WN2F_Offset_Symref().
#define PUINFO_RETURN_TO_PARAM W2X_Unparse_Target->Func_Return_To_Param(PUINFO_FUNC_TY) |
Definition at line 245 of file PUinfo.h.
Referenced by ST2C_func_header(), ST2F_decl_type(), ST2F_decl_var(), ST2F_use_var(), WN2C_block(), WN2C_Function_Return_Value(), WN2C_translate_purple_main(), WN2F_Offset_Symref(), and WN2F_return().
#define PUINFO_RETURN_TY W2X_Unparse_Target->Func_Return_Type(PUINFO_FUNC_TY) |
Definition at line 243 of file PUinfo.h.
Referenced by PUinfo_init_pu(), ST2F_use_var(), WN2C_Declare_Return_Variable(), WN2C_Function_Return_Value(), WN2C_return(), WN2C_Store_Return_Reg(), WN2C_translate_purple_main(), WN2F_End_Routine_Strings(), and WN2F_return().
#define RETURN_PREG_mtype | ( | rp, | |
i | |||
) | (rp)->mtype[(i)] |
Definition at line 224 of file PUinfo.h.
Referenced by Accumulate_Expr_PUinfo(), PUinfo_Get_ReturnPreg(), WN2C_Function_Call_Lhs(), WN2C_Function_Return_Value(), WN2C_return(), WN2F_Function_Call_Lhs(), and WN2F_return().
#define RETURN_PREG_num_pregs | ( | rp | ) | (rp)->num_pregs |
Definition at line 223 of file PUinfo.h.
Referenced by Accumulate_Expr_PUinfo(), Append_CallSite(), Append_ReturnSite(), PUinfo_Get_ReturnPreg(), WN2C_Function_Call_Lhs(), WN2C_Function_Return_Value(), WN2F_Function_Call_Lhs(), and WN2F_return().
#define RETURN_PREG_offset | ( | rp, | |
i | |||
) | (rp)->offset[(i)] |
Definition at line 225 of file PUinfo.h.
Referenced by Accumulate_Expr_PUinfo(), Append_CallSite(), Append_ReturnSite(), PUinfo_Get_ReturnPreg(), WN2C_Function_Call_Lhs(), WN2C_Function_Return_Value(), WN2F_Function_Call_Lhs(), and WN2F_return().
#define RETURNSITE_next | ( | ci | ) | (ci)->next |
Definition at line 210 of file PUinfo.h.
Referenced by New_ReturnSite(), PUinfo_exit_pu(), WN2C_return(), and WN2F_return().
#define RETURNSITE_return | ( | ci | ) | (ci)->return_wn |
Definition at line 205 of file PUinfo.h.
Referenced by New_ReturnSite(), WN2C_return(), and WN2F_return().
#define RETURNSITE_return_var | ( | ci | ) | (ci)->return_var |
Definition at line 208 of file PUinfo.h.
Referenced by New_ReturnSite(), WN2C_Function_Return_Value(), and WN2F_return().
#define RETURNSITE_store1 | ( | ci | ) | (ci)->store1 |
Definition at line 206 of file PUinfo.h.
Referenced by New_ReturnSite(), WN2C_Function_Return_Value(), WN2C_Skip_Stmt(), WN2F_return(), and WN2F_Skip_Stmt().
#define RETURNSITE_store2 | ( | ci | ) | (ci)->store2 |
Definition at line 207 of file PUinfo.h.
Referenced by New_ReturnSite(), WN2C_Skip_Stmt(), and WN2F_Skip_Stmt().
#define RETURNSITE_var_offset | ( | ci | ) | (ci)->var_offset |
Definition at line 209 of file PUinfo.h.
Referenced by New_ReturnSite(), WN2C_Function_Return_Value(), and WN2F_return().
typedef struct RETURN_PREG RETURN_PREG |
typedef struct ReturnSite RETURNSITE |
void PUinfo_exit_pu | ( | void | ) |
Definition at line 1197 of file PUinfo.cxx.
References CallSite_Free, CALLSITE_next, Free_Preg_Info, NULL, PREG_INFO_HASH_TABLE_SIZE, PREG_INFO_next, Reclaim_Token_Buffer(), ReturnSite_Free, RETURNSITE_next, and W2CF_Symtab_Pop().
Referenced by W2C_Pop_PU(), and W2F_Pop_PU().
void PUinfo_finalize | ( | void | ) |
Definition at line 1118 of file PUinfo.cxx.
References CallSite_Free, CALLSITE_next, FREE, NULL, and ReturnSite_Free.
Referenced by W2C_Fini(), and W2F_Fini().
CALLSITE* PUinfo_Get_CallSites | ( | void | ) |
Definition at line 1328 of file PUinfo.cxx.
References CallSite_First.
Referenced by Accumulate_Expr_PUinfo(), WN2C_call(), WN2F_call(), and WN2F_intrinsic_call().
RETURN_PREG PUinfo_Get_ReturnPreg | ( | TY_IDX | return_ty | ) |
Definition at line 1342 of file PUinfo.cxx.
References Fail_FmtAssertion(), Get_Return_Info(), Get_Return_Mtypes(), Get_Return_Pregs(), MTYPE_V, RETURN_INFO_count(), RETURN_INFO_mtype(), RETURN_INFO_preg(), RETURN_PREG_mtype, RETURN_PREG_num_pregs, RETURN_PREG_offset, Use_Simulated, and WHIRL_Return_Info_On.
Referenced by Append_CallSite(), PUinfo_init_pu(), WN2C_Function_Call_Lhs(), and WN2F_Function_Call_Lhs().
RETURNSITE* PUinfo_Get_ReturnSites | ( | void | ) |
Definition at line 1335 of file PUinfo.cxx.
References ReturnSite_First.
Referenced by WN2C_func_entry(), and WN2F_Enter_PU_Block().
void PUinfo_init_pu | ( | const WN * | wn, |
WN * | body_part_of_interest | ||
) |
Definition at line 1143 of file PUinfo.cxx.
References Accumulate_Expr_PUinfo(), Accumulate_Stmt_PUinfo(), Enter_Local_Syms_Into_Symtab(), Enter_Pregs_Into_Symtab(), Is_True, New_Token_Buffer(), NULL, OPCODE_is_expression(), OPR_FUNC_ENTRY, PUinfo_Get_ReturnPreg(), PUINFO_RETURN_TY, St_Table, W2CF_Symtab_Push(), WN_entry_name, WN_opcode(), and WN_operator().
Referenced by W2C_Push_PU(), and W2F_Push_PU().
void PUinfo_initialize | ( | void | ) |
Definition at line 1107 of file PUinfo.cxx.
Referenced by W2C_Init(), and W2F_Init().
BOOL PUinfo_Is_Preg_Declared | ( | TY_IDX | preg_ty, |
INT16 | preg_num | ||
) |
Definition at line 1295 of file PUinfo.cxx.
References Accumulate_Preg_Info(), Get_Preg_Info(), Mtype_to_Ukind(), NULL, PREG_INFO_decl, TRUE, and TY_mtype().
Referenced by ST2C_Use_Preg(), and ST2F_Use_Preg().
TY_IDX PUinfo_Preg_Type | ( | TY_IDX | preg_ty, |
INT16 | preg_num | ||
) |
Definition at line 1257 of file PUinfo.cxx.
References Accumulate_Preg_Info(), Get_Preg_Info(), LARGEST_iPREG_USAGE_KIND, Mtype_to_Ukind(), NULL, PREG_INFO_use, Stab_Mtype_To_Ty(), TY_Is_Integral(), TY_mtype(), and Ukind_to_Mtype.
Referenced by ST2C_Use_Preg(), ST2F_Use_Preg(), WN2C_Append_Preg(), WN2C_Function_Call_Lhs(), WN2C_Function_Return_Value(), WN2C_ldid(), WN2C_stid_lhs(), and WN2F_ldid().
void PUinfo_Set_Preg_Declared | ( | TY_IDX | preg_ty, |
INT16 | preg_num | ||
) |
Definition at line 1313 of file PUinfo.cxx.
References Accumulate_Preg_Info(), Get_Preg_Info(), Mtype_to_Ukind(), NULL, PREG_INFO_decl, TRUE, and TY_mtype().
Referenced by ST2C_Use_Preg(), and ST2F_Use_Preg().
Definition at line 86 of file PUinfo.cxx.
Referenced by Check_PU_Pushed(), W2C_Outfile_Translate_Pu(), W2F_Outfile_Translate_Pu(), WN2F_ldid(), WN2F_Offset_Symref(), and WN2F_return().
Definition at line 88 of file PUinfo.cxx.
Referenced by ST2C_Declare_Tempvar(), ST2C_Define_Preg(), ST2F_Declare_Tempvar(), ST2F_Define_Preg(), WN2C_block(), WN2F_Append_Block_Data(), and WN2F_Exit_PU_Block().
Definition at line 90 of file PUinfo.cxx.
Referenced by INIT2F_Implied_DoLoop(), ST2C_Declare_Tempvar(), ST2C_Define_Preg(), ST2F_Declare_Tempvar(), ST2F_Define_Preg(), TY2F_Translate_Structure(), WN2C_block(), and WN2F_func_entry().
Definition at line 89 of file PUinfo.cxx.
Referenced by Emit_To_PUinfo_Pragmas(), WN2C_block(), WN2C_func_entry(), WN2F_Exit_PU_Block(), and WN2F_func_entry().
Definition at line 87 of file PUinfo.cxx.
Referenced by WN2C_Function_Return_Value(), WN2C_return(), and WN2F_return().