#include <ipa_section.h>

Definition at line 769 of file ipa_section.h.
| PROJECTED_REGION::PROJECTED_REGION | ( | ACCESS_ARRAY * | ar, | |
| MEM_POOL * | mem_pool, | |||
| LOOPINFO * | loop, | |||
| BOOL | in_ipl = TRUE, |
|||
| IPA_LNO_READ_FILE * | IPA_LNO_File = NULL | |||
| ) |
Definition at line 1135 of file ipa_section.cxx.
References Access_vector_is_too_messy(), CXX_NEW, FALSE, DYN_ARRAY< T >::Force_Alloc_array(), PROJECTED_KERNEL::Get_depth(), LOOPINFO::Get_kernels(), PROJECTED_KERNEL::Get_linex(), PROJECTED_NODE::Get_lower_linex(), LOOPINFO::Get_nest_level(), PROJECTED_KERNEL::Get_num_dims(), Get_projected_array(), Get_projected_kernel(), Get_projected_node(), PROJECTED_KERNEL::Init(), PROJECTED_NODE::Init(), INT, IPL_Access_Array_Map, DYN_ARRAY< T >::Lastidx(), LINEX::Loop_coeff_terms_equal(), LINEX::Map_access_vector(), MESSY_REGION, DYN_ARRAY< T >::Newidx(), NON_MESSY_REGION, NULL, Set_depth(), PROJECTED_KERNEL::Set_Difference(), Set_Mem_Pool(), Set_num_dims(), Set_projected_array(), Set_projected_kernel(), Set_type(), PROJECTED_NODE::Set_unprojected(), Set_unprojected(), DYN_ARRAY< T >::Setidx(), and TRUE.

| PROJECTED_REGION::PROJECTED_REGION | ( | PROJECTED_REGION * | p | ) |
Definition at line 284 of file ipa_section_main.cxx.
References Copy_projected_node(), CXX_NEW, Get_depth(), Get_num_dims(), Get_projected_kernel(), Get_projected_node(), Get_type(), INT, Mem_Pool(), Set_depth(), Set_Mem_Pool(), Set_num_dims(), Set_projected_array(), Set_projected_kernel(), and Set_type().

| INT PROJECTED_REGION::Compare | ( | PROJECTED_REGION * | b | ) |
Definition at line 1246 of file ipa_section.cxx.
References Add_to_SOE(), CXX_DELETE, CXX_NEW, CXX_NEW_ARRAY, PROJECTED_NODE::Equivalent(), FALSE, fprintf(), Get_depth(), ARRAY_SUMMARY::Get_local_pool(), Get_num_dims(), Get_projected_array(), Get_type(), INT, MEM_POOL_Pop, MEM_POOL_Push, Print(), result, TFile, Trace_Sections, and TRUE.

Definition at line 1000 of file ipa_section_main.cxx.
References _num_dims, FALSE, Get_projected_node(), PROJECTED_NODE::Get_upper_linex(), INT, LINEX::Is_const(), and TRUE.
Referenced by RESHAPE::Constant_Type_Reshape().

| void PROJECTED_REGION::Copy_projected_node | ( | PROJECTED_NODE * | node | ) |
Definition at line 275 of file ipa_section_main.cxx.
References PROJECTED_NODE::Copy(), Get_projected_array(), and Get_projected_node().
Referenced by PROJECTED_REGION().

| void PROJECTED_REGION::Copy_write | ( | PROJECTED_REGION * | p_in | ) |
Definition at line 974 of file ipa_section_main.cxx.
References Get_actual_id(), Get_callsite_id(), Get_depth(), Get_num_dims(), Get_type(), Is_passed(), Set_actual_id(), Set_callsite_id(), Set_depth(), Set_num_dims(), and Set_type().

| BOOL PROJECTED_REGION::Equivalent | ( | PROJECTED_REGION * | p | ) |
Definition at line 716 of file ipa_section_main.cxx.
References PROJECTED_NODE::Equivalent(), FALSE, Get_num_dims(), Get_projected_node(), INT, Is_messy_region(), Is_True, p1, p2, and TRUE.

| void PROJECTED_REGION::Fill_Out | ( | ) |
Definition at line 1161 of file ipa_section_main.cxx.
References PROJECTED_NODE::Fill_Out(), Get_num_dims(), Get_projected_node(), INT, Is_messy_region(), and Reset_is_unprojected().

| INT16 PROJECTED_REGION::Get_actual_id | ( | ) | const [inline] |
Definition at line 825 of file ipa_section.h.
References u2.
Referenced by Copy_write(), IPA_LNO_Print_File(), Print(), Print_file(), and WB_Print().
| INT16 PROJECTED_REGION::Get_callsite_id | ( | ) | const [inline] |
Definition at line 822 of file ipa_section.h.
References u2.
Referenced by Copy_write(), IPA_LNO_Print_File(), Print(), Print_file(), and WB_Print().
| mUINT8 PROJECTED_REGION::Get_depth | ( | ) | const [inline] |
Definition at line 837 of file ipa_section.h.
References _depth.
Referenced by Compare(), Copy_write(), IPA_LNO_Print_File(), May_Union(), Print(), Print_file(), PROJECTED_REGION(), RESHAPE::Reshape_Callee_To_Caller(), RESHAPE::Reshape_Constant_Shape(), Set_region(), and WB_Print().
| INT32 PROJECTED_REGION::Get_id | ( | ) | const [inline] |
Definition at line 828 of file ipa_section.h.
References u1.
Referenced by IPA_LNO_Print_File(), Print_file(), and WB_Print().
| mUINT8 PROJECTED_REGION::Get_num_dims | ( | ) | const [inline] |
Definition at line 834 of file ipa_section.h.
References _num_dims.
Referenced by Add_to_SOE(), Compare(), Copy_write(), Equivalent(), Fill_Out(), Has_Important_Messy_Bounds(), Has_Messy_Bounds(), IPA_LNO_Print_File(), Linearize_Shape(), Matching_Segment_Stride(), May_Union(), Print(), Print_file(), Project(), PROJECTED_REGION(), RESHAPE::Reshape_Callee_To_Caller(), RESHAPE::Reshape_Constant_Shape(), RESHAPE::Reshape_Passed_Section(), RESHAPE::Reshapeable_Passed_Section(), Set_region(), Simplify(), and WB_Print().
| PROJECTED_ARRAY* PROJECTED_REGION::Get_projected_array | ( | ) | const [inline] |
Definition at line 881 of file ipa_section.h.
References u1.
Referenced by Add_to_SOE(), Compare(), Copy_projected_node(), PROJECTED_KERNEL::Init(), Map_to_linex_array(), Print(), Project(), PROJECTED_REGION(), Projected_Region_From_St(), and Set_region().
| PROJECTED_KERNEL* PROJECTED_REGION::Get_projected_kernel | ( | ) | const [inline] |
Definition at line 842 of file ipa_section.h.
References u2.
Referenced by Print(), Project(), and PROJECTED_REGION().
| mINT32 PROJECTED_REGION::Get_projected_kernel_id | ( | ) | const [inline] |
Definition at line 839 of file ipa_section.h.
References u2.
| PROJECTED_NODE* PROJECTED_REGION::Get_projected_node | ( | INT | i | ) | [inline] |
Definition at line 871 of file ipa_section.h.
References u1.
Referenced by Constant_bounds(), Copy_projected_node(), Delinearize_Shape(), Dim_Length(), Equivalent(), Fill_Out(), Has_Important_Messy_Bounds(), Has_Messy_Bounds(), Linearize_Shape(), Matching_Segment_Stride(), May_Union(), Print(), PROJECTED_KERNEL::Project(), Project(), PROJECTED_REGION(), RESHAPE::Reshape_Constant_Shape(), RESHAPE::Reshape_Passed_Section(), RESHAPE::Reshapeable_Passed_Section(), PROJECTED_KERNEL::Set_Difference(), and Simplify().
| mINT16 PROJECTED_REGION::Get_type | ( | ) | const [inline] |
Definition at line 831 of file ipa_section.h.
References _type.
Referenced by Compare(), Copy_write(), and PROJECTED_REGION().
| BOOL PROJECTED_REGION::Has_Important_Messy_Bounds | ( | ) |
Definition at line 1151 of file ipa_section_main.cxx.
References FALSE, Get_num_dims(), Get_projected_node(), PROJECTED_NODE::Has_a_messy_bound(), INT, and TRUE.
Referenced by RESHAPE::Reshape_Callee_To_Caller().

| BOOL PROJECTED_REGION::Has_Messy_Bounds | ( | ) |
Definition at line 1141 of file ipa_section_main.cxx.
References FALSE, Get_num_dims(), Get_projected_node(), PROJECTED_NODE::Has_a_messy_bound(), INT, and TRUE.
Referenced by RESHAPE::Reshape_Callee_To_Caller().

| void PROJECTED_REGION::IPA_LNO_Print | ( | FILE * | fp = stderr, |
|
| IPA_LNO_READ_FILE * | IPA_LNO_File = NULL | |||
| ) |
| void PROJECTED_REGION::IPA_LNO_Print_File | ( | FILE * | fp = stderr, |
|
| INT | pr_index = -1 | |||
| ) |
Definition at line 768 of file ipa_section_print.cxx.
References fprintf(), Get_actual_id(), Get_callsite_id(), Get_depth(), Get_id(), Get_num_dims(), Is_formal(), Is_may_kill(), Is_may_use(), Is_messy_region(), Is_passed(), and Is_unprojected_region().

| BOOL PROJECTED_REGION::Is_formal | ( | ) | const [inline] |
Definition at line 865 of file ipa_section.h.
References _type, and IS_FORMAL.
Referenced by IPA_LNO_Print_File(), and WB_Print().
| BOOL PROJECTED_REGION::Is_may_kill | ( | ) | const [inline] |
Definition at line 856 of file ipa_section.h.
References _type, and IS_MAY_KILL.
Referenced by IPA_LNO_Print_File(), and WB_Print().
| BOOL PROJECTED_REGION::Is_may_use | ( | ) | const [inline] |
Definition at line 859 of file ipa_section.h.
References _type, and IS_MAY_USE.
Referenced by IPA_LNO_Print_File(), and WB_Print().
| BOOL PROJECTED_REGION::Is_messy_region | ( | ) | const [inline] |
Definition at line 851 of file ipa_section.h.
References _type, and MESSY_REGION.
Referenced by Equivalent(), Fill_Out(), IPA_LNO_Print_File(), Matching_Segment_Stride(), May_Union(), Print(), Print_file(), Project(), RESHAPE::Reshape_Callee_To_Caller(), RESHAPE::Reshapeable_Passed_Section(), Simplify(), and WB_Print().
| BOOL PROJECTED_REGION::Is_passed | ( | ) | const [inline] |
Definition at line 862 of file ipa_section.h.
References _type, and IS_PASSED.
Referenced by Copy_write(), IPA_LNO_Print_File(), Print(), Print_file(), and WB_Print().
| BOOL PROJECTED_REGION::Is_unprojected_region | ( | ) | const [inline] |
Definition at line 845 of file ipa_section.h.
References _type, and UNPROJECTED_REGION.
Referenced by IPA_LNO_Print_File(), Print(), Print_file(), Project(), RESHAPE::Reshapeable_Passed_Section(), and WB_Print().
| void PROJECTED_REGION::LNO_Simplify | ( | IPA_LNO_READ_FILE * | IPA_LNO_File, | |
| WN * | wn_call | |||
| ) |
| LINEX_ARRAY * PROJECTED_REGION::Map_to_linex_array | ( | ) |
Definition at line 411 of file ipa_section.cxx.
References LINEX::Copy(), CXX_NEW, DYN_ARRAY< T >::Elements(), FmtAssert, PROJECTED_NODE::Get_lower_linex(), Get_projected_array(), INT, PROJECTED_NODE::Is_messy_lb(), PROJECTED_NODE::Is_unprojected(), Mem_Pool(), and DYN_ARRAY< T >::Newidx().
Referenced by PROJECTED_KERNEL::Init().

| BOOL PROJECTED_REGION::Matching_Segment_Stride | ( | PROJECTED_REGION * | pr | ) |
Definition at line 1187 of file ipa_section_main.cxx.
References FALSE, Get_num_dims(), Get_projected_node(), INT, Is_messy_region(), PROJECTED_NODE::Matching_Segment_Stride(), NULL, and TRUE.

| BOOL PROJECTED_REGION::May_Union | ( | PROJECTED_REGION & | b, | |
| BOOL | trace | |||
| ) |
Definition at line 756 of file ipa_section_main.cxx.
References Add_to_SOE(), CONST_DESC, CXX_NEW, CXX_NEW_ARRAY, LINEX::Equivalent(), FALSE, PROJECTED_NODE::Fill_Out(), fprintf(), LINEX::Free_terms(), Gcd(), TERM::Get_coeff(), LINEX::Get_constant_term(), Get_depth(), PROJECTED_NODE::Get_lower_linex(), Get_num_dims(), Get_projected_node(), PROJECTED_NODE::Get_segment_length_linex(), PROJECTED_NODE::Get_segment_stride_linex(), PROJECTED_NODE::Get_step_linex(), LINEX::Get_term(), PROJECTED_NODE::Get_upper_linex(), PROJECTED_NODE::Has_all_messy_bounds(), INT, LINEX::Is_const(), PROJECTED_NODE::Is_messy_lb(), Is_messy_region(), PROJECTED_NODE::Is_messy_ub(), LTKIND_CONST, PROJECTED_NODE::Matching_Segment_Stride(), Mem_Pool(), NULL, Print(), PROJECTED_NODE::Set_all_messy_bounds(), TERM::Set_coeff(), Set_messy_region(), PROJECTED_NODE::Set_segment_length_linex(), PROJECTED_NODE::Set_segment_stride_linex(), LINEX::Set_term(), LINEX::Simplify(), LINEX::Subtract(), and TRUE.

| MEM_POOL* PROJECTED_REGION::Mem_Pool | ( | ) | [inline] |
Definition at line 819 of file ipa_section.h.
References _mem_pool.
Referenced by PROJECTED_KERNEL::Init(), Map_to_linex_array(), May_Union(), PROJECTED_REGION(), and Set_region().
| void PROJECTED_REGION::Print | ( | FILE * | fp = stderr |
) |
Definition at line 727 of file ipa_section_print.cxx.
References fprintf(), Get_actual_id(), Get_callsite_id(), Get_depth(), Get_num_dims(), Get_projected_array(), Get_projected_kernel(), Get_projected_node(), INT, Is_messy_region(), Is_passed(), Is_unprojected_region(), PROJECTED_KERNEL::Print(), and PROJECTED_NODE::Print().
Referenced by Compare(), May_Union(), PROJECTED_REGION_INFO::Print(), PROJECTED_KERNEL::Project(), RESHAPE::RESHAPE(), RESHAPE::Reshape_Callee_To_Caller(), and RESHAPE::Reshape_Passed_Section().

| void PROJECTED_REGION::Print_file | ( | FILE * | fp = stderr |
) |
Definition at line 264 of file ipa_section_print.cxx.
References fprintf(), Get_actual_id(), Get_callsite_id(), Get_depth(), Get_id(), Get_num_dims(), Is_messy_region(), Is_passed(), and Is_unprojected_region().

Definition at line 540 of file ipa_section.cxx.
References FmtAssert, PROJECTED_KERNEL::Get_Difference(), PROJECTED_NODE::Get_lower_linex(), Get_num_dims(), Get_projected_array(), Get_projected_kernel(), PROJECTED_KERNEL::Get_projected_level(), Get_projected_node(), PROJECTED_KERNEL::Get_region(), PROJECTED_NODE::Get_upper_linex(), LINEX::Has_loop_coeff(), INT, PROJECTED_KERNEL::Is_independent(), Is_messy_region(), Is_unprojected_region(), PROJECTED_KERNEL::Project(), DYN_ARRAY< T >::Resetidx(), Set_messy_region(), and PROJECTED_NODE::Set_to_kernel_image().

| void PROJECTED_REGION::Reset_is_unprojected | ( | ) | [inline] |
Definition at line 849 of file ipa_section.h.
References _type, and UNPROJECTED_REGION.
Referenced by Fill_Out(), and Projected_Region_From_St().
| void PROJECTED_REGION::Reset_messy_region | ( | ) | [inline] |
Definition at line 854 of file ipa_section.h.
References _type, and MESSY_REGION.
| void PROJECTED_REGION::Set_actual_id | ( | INT16 | id | ) | [inline] |
Definition at line 824 of file ipa_section.h.
References u2.
Referenced by CFG_NODE_INFO::Add_array_param(), and Copy_write().
| void PROJECTED_REGION::Set_callsite_id | ( | INT16 | id | ) | [inline] |
Definition at line 821 of file ipa_section.h.
References u2.
Referenced by CFG_NODE_INFO::Add_array_param(), and Copy_write().
| void PROJECTED_REGION::Set_depth | ( | mUINT8 | depth | ) | [inline] |
Definition at line 836 of file ipa_section.h.
References _depth.
Referenced by Copy_write(), and PROJECTED_REGION().
| void PROJECTED_REGION::Set_id | ( | INT32 | i | ) | [inline] |
Definition at line 827 of file ipa_section.h.
References u1.
| void PROJECTED_REGION::Set_is_formal | ( | ) | [inline] |
Definition at line 866 of file ipa_section.h.
References _type, and IS_FORMAL.
Referenced by CFG_NODE_INFO::Add_formal_array(), and Projected_Region_From_St().
| void PROJECTED_REGION::Set_is_may_kill | ( | ) | [inline] |
Definition at line 857 of file ipa_section.h.
References _type, and IS_MAY_KILL.
Referenced by CFG_NODE_INFO::Add_may_def_array().
| void PROJECTED_REGION::Set_is_may_use | ( | ) | [inline] |
Definition at line 860 of file ipa_section.h.
References _type, and IS_MAY_USE.
Referenced by CFG_NODE_INFO::Add_may_use_array().
| void PROJECTED_REGION::Set_is_passed | ( | ) | [inline] |
Definition at line 863 of file ipa_section.h.
References _type, and IS_PASSED.
Referenced by CFG_NODE_INFO::Add_array_param().
| void PROJECTED_REGION::Set_Mem_Pool | ( | MEM_POOL * | mem_pool | ) | [inline] |
Definition at line 818 of file ipa_section.h.
References _mem_pool.
Referenced by PROJECTED_REGION().
| void PROJECTED_REGION::Set_Messy_If_Local_Symbol | ( | ) |
| void PROJECTED_REGION::Set_messy_region | ( | ) | [inline] |
Definition at line 852 of file ipa_section.h.
References _type, and MESSY_REGION.
Referenced by May_Union(), Project(), and Set_region().
| void PROJECTED_REGION::Set_num_dims | ( | mUINT8 | num_dims | ) | [inline] |
Definition at line 833 of file ipa_section.h.
References _num_dims.
Referenced by Copy_write(), and PROJECTED_REGION().
| void PROJECTED_REGION::Set_projected_array | ( | PROJECTED_ARRAY * | region | ) | [inline] |
Definition at line 880 of file ipa_section.h.
References u1.
Referenced by PROJECTED_REGION(), and Set_region().
| void PROJECTED_REGION::Set_projected_kernel | ( | PROJECTED_KERNEL * | p | ) | [inline] |
| void PROJECTED_REGION::Set_projected_kernel_id | ( | mINT32 | id | ) | [inline] |
Definition at line 840 of file ipa_section.h.
References u2.
| void PROJECTED_REGION::Set_projected_node | ( | PROJECTED_NODE * | node | ) | [inline] |
Definition at line 868 of file ipa_section.h.
References u1.
| void PROJECTED_REGION::Set_region | ( | SYSTEM_OF_EQUATIONS * | soe, | |
| LOOP_SYMBOL_ARRAY * | syms, | |||
| INT | stride[], | |||
| INT | pivot_row, | |||
| INT | pos, | |||
| INT | loop_step, | |||
| INT | projected_axle | |||
| ) |
Definition at line 753 of file ipa_section.cxx.
References CXX_NEW, FALSE, FmtAssert, DYN_ARRAY< T >::Force_Alloc_array(), fprintf(), Get_depth(), ARRAY_SUMMARY::Get_local_pool(), Get_num_dims(), Get_projected_array(), INT, Mem_Pool(), NON_MESSY_REGION, Set_messy_region(), Set_projected_array(), Set_type(), DYN_ARRAY< T >::Setidx(), TFile, Trace_Sections, and TRUE.
Referenced by PROJECTED_KERNEL::Project().

| void PROJECTED_REGION::Set_type | ( | mINT16 | type | ) | [inline] |
Definition at line 830 of file ipa_section.h.
References _type.
Referenced by Copy_write(), PROJECTED_REGION(), and Set_region().
| void PROJECTED_REGION::Set_unprojected | ( | ) | [inline] |
Definition at line 847 of file ipa_section.h.
References _type, and UNPROJECTED_REGION.
Referenced by PROJECTED_REGION().
| void PROJECTED_REGION::Simplify | ( | ) |
Definition at line 1131 of file ipa_section_main.cxx.
References Get_num_dims(), Get_projected_node(), INT, Is_messy_region(), and PROJECTED_NODE::Simplify().

| PROJECTED_REGION* PROJECTED_REGION::Union | ( | PROJECTED_REGION & | b, | |
| const LOOPINFO & | l | |||
| ) |
| void PROJECTED_REGION::WB_Print | ( | FILE * | fp, | |
| INT | proj_region_index | |||
| ) |
Definition at line 599 of file wb_summary.cxx.
References fprintf(), Get_actual_id(), Get_callsite_id(), Get_depth(), Get_id(), Get_num_dims(), Is_formal(), Is_may_kill(), Is_may_use(), Is_messy_region(), Is_passed(), and Is_unprojected_region().
Referenced by WB_BROWSER::Summary_Projected_Region().

Definition at line 796 of file ipa_section.h.
Definition at line 795 of file ipa_section.h.
mUINT8 PROJECTED_REGION::_depth [private] |
Definition at line 787 of file ipa_section.h.
Referenced by Get_depth(), and Set_depth().
Definition at line 782 of file ipa_section.h.
MEM_POOL* PROJECTED_REGION::_mem_pool [private] |
Definition at line 800 of file ipa_section.h.
Referenced by Mem_Pool(), and Set_Mem_Pool().
mUINT8 PROJECTED_REGION::_num_dims [private] |
Definition at line 786 of file ipa_section.h.
Referenced by Constant_bounds(), Get_num_dims(), and Set_num_dims().
Definition at line 793 of file ipa_section.h.
Definition at line 792 of file ipa_section.h.
Definition at line 781 of file ipa_section.h.
mINT16 PROJECTED_REGION::_type [private] |
Definition at line 785 of file ipa_section.h.
Referenced by Get_type(), Is_formal(), Is_may_kill(), Is_may_use(), Is_messy_region(), Is_passed(), Is_unprojected_region(), Reset_is_unprojected(), Reset_messy_region(), Set_is_formal(), Set_is_may_kill(), Set_is_may_use(), Set_is_passed(), Set_messy_region(), Set_type(), and Set_unprojected().
union { ... } PROJECTED_REGION::u1 [private] |
Referenced by Get_id(), Get_projected_array(), Get_projected_node(), PROJECTED_REGION(), Set_id(), Set_projected_array(), and Set_projected_node().
union { ... } PROJECTED_REGION::u2 [private] |
| struct { ... } PROJECTED_REGION::u22 |
1.6.1