#include "lego_pragma.h"#include "lego_util.h"


Go to the source code of this file.
Functions/Subroutines | |
| void | Generate_Runtime_Stuff () |
| void | Lower_Distr_Pragmas (WN *func_nd) |
| WN * | Get_Array_Dimension_Size (TY *array_ty, INT i) |
| void | Init_Special_Lego_Mp_Call () |
| BOOL | Special_Lego_Or_Mp_Call (ST *st_call) |
| ST * | Create_Local_Array_ST (char *array_name, TY_IDX ty, INT num) |
| void | Rewrite_Reshaped_Commons (WN *wn) |
Definition at line 2200 of file lego_gen.cxx.
| void Generate_Runtime_Stuff | ( | ) |
Definition at line 2984 of file lego_gen.cxx.
Definition at line 1380 of file lego_gen.cxx.
References AWN_Add, AWN_Div_Safe, AWN_Sub, DevWarn, INT, LWN_Copy_Tree(), LWN_Make_Icon(), MTYPE_I8, NULL, OPCODE_make_op(), OPR_LDID, Promote_Type(), ST_ptr(), ST_type, TY_AR_const_lbnd, TY_AR_const_stride, TY_AR_const_ubnd, TY_AR_etype, TY_AR_lbnd_tree, TY_AR_lbnd_val, TY_AR_lbnd_var(), TY_AR_stride_tree, TY_AR_stride_val, TY_AR_stride_var(), TY_AR_ubnd_tree, TY_AR_ubnd_val, TY_AR_ubnd_var(), TY_mtype, TY_size, TYPE_ID, and WN_CreateLdid.
| void Init_Special_Lego_Mp_Call | ( | ) |
Definition at line 2813 of file lego_gen.cxx.
References Be_Type_Tbl, CLASS_VAR, Copy_TY(), Declare_Func_N_Arg(), Declare_Func_Zero_Arg(), Dynamic_Affinity_Bounds, EXPORT_PREEMPTIBLE, GLOBAL_SYMTAB, Make_Pointer_Type(), mp_cur_numthreads, mp_cur_numthreads_func, mp_my_threadnum, mp_numthreads_fn, mp_sug_numthreads, MTYPE_I4, MTYPE_I8, MTYPE_V, New_ST(), Pointer_type, Processor_Coordinates, Processor_Layout, Save_Str(), SCLASS_EXTERN, Set_ST_not_gprel(), Set_TY_is_volatile, Simple_Bounds, ST_Init(), and TRUE.
Referenced by Mp_File_Init().
Definition at line 892 of file lego_gen.cxx.
References da_hash, EC_LNO_Generic2String, HASH_TABLE< SIG_TYPE, DATA_TYPE >::Find(), INT, DISTR_INFO::IsReshaped(), DISTR_INFO::Load_New_Distr_Array(), LWN_Get_Linenum(), OPC_BLOCK, OPCODE_is_load(), OPCODE_is_store(), OPR_ILOAD, OPR_ISTORE, OPR_LDA, OPR_LDID, Replace_WN(), Rewrite_Reshaped_Commons(), SCLASS_BASED, SCLASS_COMMON, ST_base, ST_base_idx(), ST_name, ST_sclass, ST_st_idx, WN_first(), WN_kid(), WN_kid_count(), WN_next(), WN_opcode(), WN_operator(), and WN_st().
Referenced by Lego_Lower_Pragmas(), and Rewrite_Reshaped_Commons().
Definition at line 2965 of file lego_gen.cxx.
References Cyclic_Bounds, Dynamic_Affinity_Bounds, FALSE, mp_my_threadnum, Processor_Coordinates, Processor_Layout, Simple_Bounds, and TRUE.
Referenced by Hoist_Place(), Sinkable_Into_Loop(), and Sinkable_Out_Of_Loop().
1.5.6