STACK< T > Module Template Reference

#include <cxx_template.h>


Public Member Functions

 STACK (MEM_POOL *pool)
 ~STACK (void)
void Push (const T &val)
void Settop (const T &val)
INT32 Topidx (void)
T Pop (void)
TTop_nth (const INT32 n) const
TBottom_nth (const INT32 n) const
TTop (void) const
BOOL Is_Empty (void) const
void Clear (void)
void Free ()
void Alloc (const INT32 n)
mINT32 Elements () const
 STACK (MEM_POOL *pool)
 ~STACK (void)
void Push (const T &val)
void Settop (const T &val)
INT32 Topidx (void)
T Pop (void)
TTop_nth (const INT32 n) const
TBottom_nth (const INT32 n) const
TTop (void) const
BOOL Is_Empty (void) const
void Clear (void)
void Free ()
void Alloc (const INT32 n)
mINT32 Elements () const

Private Member Functions

 STACK (const STACK &)
STACKoperator= (const STACK &)
 STACK (const STACK &)
STACKoperator= (const STACK &)

Private Attributes

DYN_ARRAY< T_stack


Detailed Description

template<class T>
module STACK< T >

Description:

class STACK is a simple extension of DYN_ARRAY with stack specific methods.

Reserved Prefix:

None.

Exported Types:

None.

Exported Funcitons:

STACK(MEM_POOL *pool)

Construct a stack using space from *pool.

~STACK(void)

Destruct the stack.

void Push(const T& val)

Push a 'val' to the top of the stack.

void Settop(const T& val)

Set 'val' as the top of the stack (no push and pop involved) if the stack has allocated space (size >= 1).

T Pop(void)

Pop the stack.

T& Top_nth(const INT32 n) const

Get the top 'n'-th element of the stack. Stack top is Nth(0).

T& Bottom_nth(const INT32 n) const

Get the bottom 'n'-th element of the stack. Stack bottom is Nth(0).

T& Top(void) const

Same as Nth(0).

void Clear(void)

Wipe out the entire stack.

void Alloc(const INT32 n)

Allocate space for 'n' element in the stack.

mINT32 Elements() const

How many elements are on the stack.

Description:

class STACK is a simple extension of DYN_ARRAY with stack specific methods.

Reserved Prefix:

None.

Exported Types:

None.

Exported Funcitons:

STACK(MEM_POOL *pool)

Construct a stack using space from *pool.

~STACK(void)

Destruct the stack.

void Push(const T& val)

Push a 'val' to the top of the stack.

void Settop(const T& val)

Set 'val' as the top of the stack (no push and pop involved) if the stack has allocated space (size >= 1).

T Pop(void)

Pop the stack.

T& Top_nth(const INT32 n) const

Get the top 'n'-th element of the stack. Stack top is Nth(0).

T& Bottom_nth(const INT32 n) const

Get the bottom 'n'-th element of the stack. Stack bottom is Nth(0).

T& Top(void) const

Same as Nth(0).

void Clear(void)

Wipe out the entire stack.

void Alloc(const INT32 n)

Allocate space for 'n' element in the stack.

mINT32 Elements() const

How many elements are on the stack.

Definition at line 298 of file cxx_template.h.


Constructor & Destructor Documentation

template<class T>
STACK< T >::STACK ( const STACK< T > &   )  [private]

template<class T>
STACK< T >::STACK ( MEM_POOL pool  )  [inline]

Definition at line 306 of file cxx_template.h.

template<class T>
STACK< T >::~STACK ( void   )  [inline]

Definition at line 307 of file cxx_template.h.

template<class T>
STACK< T >::STACK ( const STACK< T > &   )  [private]

template<class T>
STACK< T >::STACK ( MEM_POOL pool  )  [inline]

Definition at line 309 of file cxx_template.h.

template<class T>
STACK< T >::~STACK ( void   )  [inline]

Definition at line 310 of file cxx_template.h.


Member Function/Subroutine Documentation

template<class T>
STACK& STACK< T >::operator= ( const STACK< T > &   )  [private]

template<class T>
void STACK< T >::Push ( const T val  )  [inline]

Definition at line 308 of file cxx_template.h.

Referenced by AEQUIV::Add_CFG_Vertex(), PF_LOOPNODE::Add_Child(), ARRAY_LOWER_LOOP::Add_Child(), ARA_LOOP_INFO::Add_Child(), PF_LG::Add_Group(), Add_Helper(), PROMPF_INFO::Add_Id(), ARA_LOOP_INFO::Add_Invariant(), PROMPF_LINES::Add_Line(), PROMPF_TRANS::Add_New_Lines(), PROMPF_TRANS::Add_Old_Lines(), ARA_LOOP_INFO::Add_Processed(), ARA_LOOP_INFO::Add_Reduction(), PF_LG::Add_Ref(), PF_UGS::Add_Ref(), PF_LOOPNODE::Add_Ref(), LEGO_UGS::Add_Ref(), ARRAY_LOWER_LOOP::Add_Ref(), PF_BASE_ARRAY::Add_Ref(), ARRAY_SNL_INFO::Add_Reference(), SNL_STREAM::Add_SNL(), REGISTER_MODEL::Add_Statement(), Add_To_Lego_UGS_Stack(), ETABLE::Add_to_occ_freelist(), PROMPF_INFO::Add_Trans(), Analyse_Dependencies(), Append_Wn_Pair(), ARA_LOOP_INFO::ARA_LOOP_INFO(), Array_Defs(), ARA_LOOP_INFO::Bad_Array_Dependence(), BS_Collect_Array(), PF_UGS::Build_Base_LGs(), AEQUIV::Build_CFG_Loop(), AEQUIV::Build_CFG_Rec(), Build_DLI_Stack(), Build_Doloop_Stack(), Build_Doloop_Stack_Rec(), ARRAY_LOWER_LOOP::Build_Loop(), Build_Ordered_Stack_Traverse(), Build_Parent_Stack(), GOTO_TABLE::Build_Rec(), GTABLE::Build_Rec(), ARRAY_REF::Build_Rec(), Build_St_Stack_And_Skip(), PF_UGS::BuildLG(), Collect_Labels_Gotos(), Compute_Footprint(), Constant_Propogate(), SSU::Construct(), Convert_Section_To_Pdo(), Copy_Array_Section(), Copy_Doloop_Stack(), Copy_Dostack(), Copy_Non_MP_Tree_Rec(), Count_Invariant(), ESSA::Create_new_version(), Create_Vertices(), Cross_Loop_Cache_Analysis(), ARA_LOOP_INFO::Determine_Last_Value(), ARA_LOOP_INFO::Determine_Peel(), Dismantle_Do_Walk(), AEQUIV::Do_Dataflow(), Do_Loops(), Doacross_Init(), Du_Sanity_Check_r(), EETARG_Generate_PIC_Entry_Code(), AEQUIV::Enter_Locals_Stack(), Expand_onto_stack(), Find_Enter_Symbol(), Find_Kernel_Stack_Nest_Traverse(), Find_Nodes(), Fission_DU_Update(), FS_Array_Worthwhile(), DISTRIBUTION::Gather_Arrays(), Gather_Intrinsic_Ops(), Gather_Invar(), Gather_Scalar_References(), Gather_Vectorizable_Ops(), Get_IOL_Reshaped_Array_Ref(), HAB_Copy_Array_Deps(), Handle_ASM(), Has_Io(), HMB_Copy_Array_Deps(), HMB_Has_Messy_Subscript(), HMB_Hoist_Messy_Subscripts(), HMB_Push_Messy_Expressions(), HMB_Replace_Messy_Bounds_Loop(), HMB_Similar_Group(), Hoist_Inner_Invar(), HoistIf_Optimize(), EXP_PHI::Identity_assignment(), Infer_Reduction_Operators(), Initialize_Symbols(), Inliner_Read_PUs(), Instrument_Mem_Sim(), IPA_LNO_Make_Pstatic_List(), IPA_LNO_Read_Projected_Region(), IPL_Build_Access_Vectors(), IPL_Build_Do_Access(), Is_Unconditional(), Iterations(), IV_Loop_Stmt_Check_X(), Lego_Find_Nodes(), Lego_Skew_Loop(), LEGO_UGS::LEGO_UGS(), Lego_Update_Skew_Count(), LNO_Build_Access(), LNO_Build_Do_Access(), LINEX::LNO_Simplify(), Localize_All_INITVKIND_SYMOFFs(), Locate_Sym(), Loop_Statement(), lower_bit_field_id(), Lower_Distr_Pragmas(), Lowered_Doacross_Loops(), Lowered_Parallel_Regions(), LRANGE_Spill(), LUNIT_Spill(), Mark_Code(), DCE::Mark_cr_munode_live(), DCE::Mark_sr_munode_live(), ARA_LOOP_INFO::Merge_Info(), merge_scc_to_form_new_loop(), ARA_LOOP_INFO::Merge_then_else(), MIR_Hoistable_Ref(), MIR_Update_Dependences(), Mp_Coordinate_Copy_Out_Coordinates(), Mp_Extract_Bogus_Do_Acrosses(), Mp_Layout_Copy_In_Onto(), Mp_Layout_Copy_Out_Layout(), Mp_Layout_Lego_Layout(), Mp_Remove_Nested_Region(), New_Gather_References(), OMP_Prelower(), Parallelize_Doacross_Loop(), PF_LG::PF_LG(), PF_UGS::PF_UGS(), Prepend_Wn_Pair(), Print_Prompf_Preopt_Transaction_Log(), Process_Exception_Region(), DISTRIBUTION::Process_Memory(), Process_Pair(), SUMMARIZE< program >::Process_procedure(), PF_LOOPNODE::Process_Refs(), Prompf_Assign_Ids_Traverse(), Prompf_Collect_Ids(), Prompf_Mp_Version(), ARRAY_REF::Push(), TRACK_CUR_VERSION::Push(), CFG::Push_bb_region(), OPT_STAB::Push_coderep(), OPTIONS_STACK::Push_Current_Options(), EXC::Push_exc_scope(), SD_INFO::Push_Memory_Nodes(), CFG::Push_mp_type(), Push_region(), RVI_EMIT::Push_region(), Read_Pragma_Distribute(), Read_Pragma_Distribute_Reshape(), Read_Pragma_Redistribute(), REGION::REGION(), Region_Intersect(), Region_Union(), Remark_Depth(), ESSA::Rename(), SSU::Rename(), Rename_INITV_Labels(), Rename_Labels_Gotos(), Rename_Privatized_COMMON(), Repair_Bad_Dependences(), SA_Set_SimdOps_Info1(), SA_Set_SimdOps_Info2(), SA_Version_F90_Loops_For_Contiguous(), ETABLE::Save_replace_rhs_by_preg(), Scalar_Defs(), Scalar_Equivalence_Class(), Scalar_Expand(), Scan_Parameters(), ETABLE::Schedule_for_ocopy(), SE_Prune_Stack_Elements(), separate_loop_and_scalar_expand(), AEQUIV::Set_Acyclic(), AEQUIV::Set_Array_Bit_Vector(), STR_RED::Set_repaired(), Set_Up_Equivalence_Class(), ARA_REF::Set_Whole_Array(), simd_fis_separate_loop_and_scalar_expand(), Simd_Vectorize_Load_And_Equilvalent(), SNL_DEP_INFO::SNL_DEP_INFO(), SNL_Distribute(), SNL_Distribute_By_Splitting(), SNL_Distribute_For_Permutation(), SNL_Finalizable_Loops(), SNL_Find_Traverse(), SNL_Parallelization_Costs(), SNL_SPL_Build_Loop_List(), SNL_SPL_Copy_Inner_Tile_Stack(), SNL_SPL_Get_Tile_Loops(), SNL_SPL_Split_Inner_Tile_Loop(), Sort_Equivalence_Class(), Sort_Equivalence_Class_Rec(), CROSS_SNL_INFO::Sort_Parallel_Options(), Test_Alias_Scalar_Node_Array(), Test_Alias_Scalar_Node_Scalar(), Transform_Code(), Transform_Expression(), Unrolled_DU_Update_V(), Update_Sync_Length_Ldid_DU(), Update_Sync_Length_Stid_DU(), Update_Sync_Offset_Ldid_DU(), Update_Sync_Offset_Stid_DU(), vintr_fis_separate_loop_and_scalar_expand(), Vintrinsic_Fission(), ARA_LOOP_INFO::Walk_Loop(), Walk_Loop_Dependence(), Walk_Projected_Region(), WB_Parent_Search(), CROSS_SNL_INFO::Weed_Out_Inner(), and CROSS_SNL_INFO::Weed_Out_Minimum().

template<class T>
void STACK< T >::Settop ( const T val  )  [inline]

Definition at line 487 of file cxx_template.h.

References STACK< T >::_stack, idx, INT32, and Is_True.

template<class T>
INT32 STACK< T >::Topidx ( void   )  [inline]

Definition at line 310 of file cxx_template.h.

template<class T>
T STACK< T >::Pop ( void   )  [inline]

Definition at line 311 of file cxx_template.h.

Referenced by PROMPF_LINES::Add_Line(), ETABLE::Alloc_occurs_node(), ARRAY_REF::Build_Rec(), SD_INFO::Closure(), Dismantle_Do_Walk(), fission_is_better(), DISTRIBUTION::Gather_Arrays(), HMB_Compound_Guard_And_Hoist(), HMB_Has_Messy_Subscript(), HMB_Similar_Group(), Infer_Reduction_Operators(), IPL_Build_Access_Vectors(), IPL_Build_Do_Access(), IV_Loop_Stmt_Check_X(), LNO_Build_Access(), LNO_Build_Do_Access(), Localize_All_INITVKIND_SYMOFFs(), lower_bit_field_id(), Mark_Code(), DCE::Mark_cr_munode_live(), DCE::Mark_sr_munode_live(), New_Gather_References(), LEAF_ITER< NODE_TYPE >::Next(), Parallelize_Doacross_Loop(), ETABLE::Perform_deferred_cfold(), ETABLE::Perform_deferred_ocopy_and_get_new_exprs(), STR_RED::Perform_per_expr_cleanup(), TRACK_CUR_VERSION::Pop(), CFG::Pop_bb_region(), OPT_STAB::Pop_coderep(), OPTIONS_STACK::Pop_Current_Options(), EXC::Pop_exc_scope(), CFG::Pop_mp_type(), ML_WHIRL_EMITTER::Pop_region(), RVI_EMIT::Pop_region(), Pop_region(), Process_Exception_Region(), SUMMARIZE< program >::Process_procedure(), Prune_Invar_Memops(), Remark_Depth(), PROMPF_INFO::Remove_Id(), Remove_Invar_Duplicates(), PROMPF_INFO::Remove_Trans(), ESSA::Rename(), SSU::Rename(), Rename_INITV_Labels(), Rename_Privatized_COMMON(), Scalar_Expansion_Not_Necessary(), separate_loop_and_scalar_expand(), simd_fis_separate_loop_and_scalar_expand(), SNL_SPL_Get_Tile_Loops(), vintr_fis_separate_loop_and_scalar_expand(), WB_Parent_Search(), ARRAY_LOWER_LOOP::~ARRAY_LOWER_LOOP(), LEGO_AFFINITY::~LEGO_AFFINITY(), PF_BASE_ARRAY::~PF_BASE_ARRAY(), PF_LG::~PF_LG(), and PF_LOOPNODE::~PF_LOOPNODE().

template<class T>
T & STACK< T >::Top_nth ( const INT32  n  )  const [inline]

template<class T>
T & STACK< T >::Bottom_nth ( const INT32  n  )  const [inline]

Definition at line 507 of file cxx_template.h.

References STACK< T >::_stack, idx, INT32, and Is_True.

Referenced by AEQUIV::Add_CFG_Vertex(), Add_Doacross_Comments(), PF_LG::Add_Group(), Add_Helper(), Add_Invariant_Deps(), ACCESS_VECTOR::Add_Nonlin(), Add_Parallel_Region_Comments(), PF_LG::Add_Ref(), PF_LOOPNODE::Add_Ref(), LEGO_UGS::Add_Ref(), PF_BASE_ARRAY::Add_Ref(), Add_References(), ACCESS_VECTOR::Add_Symbol(), Add_To_Lego_UGS_Stack(), Already_On_Stack(), SX_INFO::Analyze_Reduction(), WB_BROWSER::Ancestors(), ARA_LOOP_INFO::Annotate_Invariant_Def(), ARA_LOOP_INFO::Annotate_Invariant_Pri(), REGION_UN::Any_Wn(), ARA_LOOP_INFO::ARA_LOOP_INFO(), ARA_Print_Loops(), ARA_Walk_Loops(), ARRAY_REF::Array_Ref_List(), AS_Traverse(), Assign_Doacross_Mpnums(), Assign_Parallel_Region_Mpnums(), GOTO_TABLE::Backpatch(), GTABLE::Backpatch(), AEQUIV::Backpatch_CFG(), ARA_LOOP_INFO::Bad_Array_Dependence(), Both_Invariant(), EXC::Bottom_nth_exc_scope(), Bound_Exists(), ARA_LOOP_INFO::Bounds_Depend_On_Index(), BS_Crosses_MP_Region(), BS_Find_Region(), BS_Has_If_In_Region(), BS_Has_Use_In_Subscript(), BS_Is_Index_Variable(), BS_Loop_Within_Equivalence_Class(), BS_Substitute(), PF_UGS::Build_Base_LGs(), PF_BASE_ARRAY::Build_Base_LGs(), PF_LOOPNODE::Build_Base_LGs(), Build_Ordered_Stack_Traverse(), PF_UGS::BuildLG(), Cache_Model(), SNL_BOUNDS_INFO::Canonicize(), PF_LG::Check(), PF_LG::Check_Ref(), ARA_LOOP_INFO::CI_Print(), Common_Ancestor(), Common_Loop_Ancestor(), DEPV_COMPUTE::Common_Nest(), DEPV_COMPUTE::Compute(), Compute_Footprint(), LEGO_UGS::Compute_Offset(), PF_UGS::ComputePFVec(), COND_Do_Info(), COND_If_Info(), SNL_ANAL_INFO::CONST_BOUNDS_INFO::CONST_BOUNDS_INFO(), Constant_Propogate(), Contains(), REGION::Contains(), Convert_Section_To_Pdo(), Convex_Peeling_Depth(), DEPV_COMPUTE::Copy_Bounds_To_Work(), Copy_Doloop_Stack(), Copy_Dostack(), Copy_Non_MP_Tree(), REGISTER_MODEL::Count_Op(), ARA_LOOP_INFO::Create_Live_Use(), Cross_Loop_Cache_Analysis(), Dealloc_HashTable_Entries(), ARA_LOOP_INFO::Def_Is_Whole_Array(), ARA_LOOP_INFO::Default_For_Bad_Loop(), Delete_All_Distr_Pragmas(), DEPV_LIST::DEPV_LIST(), ARA_LOOP_INFO::Determine_Last_Value(), ARA_LOOP_INFO::Determine_Peel(), Dismantle_Do_Walk(), Dismantle_Dos(), PAR_STAT::Distribute(), DISTRIBUTION::Distribute_Arrays(), PAR_STAT::Distribute_By_Splitting(), PAR_STAT::Distribute_For_Permutation(), Do_Automatic_Transformation(), AEQUIV::Do_Color(), AEQUIV::Do_Dataflow(), Du_Sanity_Check_Matching_Du(), Eliminate_Dead_Do(), Eliminate_Dead_If(), AEQUIV::Enter_Locals_Hash(), AEQUIV::Equivalence_Arrays(), Est_Num_Iters_Suspect(), REGISTER_MODEL::Evaluate(), Find_Average(), Find_Buddy(), Find_Enter_Symbol(), Find_Kernel_Stack_Nest_Traverse(), PF_LOOPNODE::Find_Loc_Loops(), PF_BASE_ARRAY::Find_Loc_Space(), PF_LOOPNODE::Find_Split_Vector(), PF_BASE_ARRAY::Find_Split_Vector(), Fission(), Fission_DU_Update(), Fix_Blockable_Dependences(), Fusion_Du_Update(), PF_UGS::Gen_Prefetch(), PF_BASE_ARRAY::Gen_Prefetch(), PF_LOOPNODE::Gen_Prefetch(), ARA_LOOP_INFO::Generate_Copyout_Loop(), ARA_LOOP_INFO::Generate_Parallel_Pragma(), Generate_Scalar_Dependence_For_Statement_Dependence_Graph(), PF_LOOPNODE::Get_Child(), CROSS_SNL_INFO::Get_Parallel_Option(), PF_UGS::Get_Ref(), SNL_STREAM::Get_SNL(), HAB_Copy_Array_Deps(), AEQUIV::Handle_Call(), AEQUIV::Handle_Lhs(), SX_INFO::Handle_Other_Def(), AEQUIV::Handle_Rhs(), AEQUIV::Handle_Store(), Has_Cutset(), CALL_INFO::Has_Formal_Parameter(), ARA_LOOP_INFO::Has_Matching(), HMB_Copy_Array_Deps(), HMB_Has_Messy_Subscript(), HMB_Hoist_Expressions(), HMB_Hoist_Messy_Subscripts(), HMB_Push_Messy_Expressions(), HMB_Replace_Messy_Bounds_Loop(), Hoist_Outer_Invar(), PROMPF_INFO::Id(), Inner_Loop_Is_Trapezoidal(), PAR_STAT::Innermost_Sandwiched_Code(), Insert_Call(), Inter_Iteration_Cses_Loop(), Intersect_References(), Inv_Dep_Info(), Invariant_Loops(), IPA_LNO_Annotate_Array_Call(), IPA_LNO_Annotate_Scalar_Call(), IPA_LNO_Evaluate_Array_Formals(), ARA_LOOP_INFO::Is_Covered(), Is_In_Namelist_Stack(), ARA_LOOP_INFO::Is_Invariant(), Is_Unconditional(), IV_Loop_Stmt_Check_X(), COND_BOUNDS_INFO::Kill_Written_Symbols(), Lego_Interchange(), Lego_Loop_Want_Skew(), Lego_Skew_Loop(), Lego_Update_Skew_Count(), LNO_FB_Inv_Interchange(), LINEX::LNO_Simplify(), LNO_Update_Indx_Range(), Loop_Invariant_Access(), Lower_Distr_Pragmas(), PF_LG::LR_Compare(), SX_INFO::Make_Sx_Info(), Mark_Code(), Max_Non_Const_Loop(), Maybe_Assigned(), ARA_LOOP_INFO::Merge_Info(), ARA_LOOP_INFO::Merge_then_else(), MIR_Hoistable_Ref(), MIR_Update_Dependences(), Mp_Collapse_Loop_Heads(), Mp_Collapse_Loop_Statements(), Mp_Coordinate_Copy_Out_Coordinates(), Mp_Extract_Bogus_Do_Acrosses(), MP_Fix_Dependence_Graph(), Mp_Fix_Deps(), Mp_Layout_Copy_Out_Layout(), Mp_Layout_Lego_Layout(), ARA_LOOP_INFO::Need_Copyin(), ARA_LOOP_INFO::Overlap_Exposed_Array(), ARA_LOOP_INFO::Overlap_Local_Array(), ARA_LOOP_INFO::Overlap_Reduction_Scalar(), Parallel_Directive_Class(), PAR_STAT::Parallel_Interchange(), Parallel_Loop(), Parallelizable_At_Depth(), WB_BROWSER::Parent(), GTABLE::Patch_Do_While(), Perform_ARA_and_Parallelization(), PAR_STAT::Permute_Loops(), PF_LG::PF_LG(), LEGO_AFFINITY::Pick_Affinity(), Post_loop_peeling(), Pre_loop_peeling(), Prepend_Wn_Pair(), PROMPF_INFO::Print(), ARRAY_SNL_INFO::Print(), GOTO_TABLE::Print(), ARA_LOOP_INFO::Print(), PF_LOOPNODE::Print(), PF_UGS::Print(), GTABLE::Print(), CROSS_SNL_INFO::Print(), SNL_STREAM::Print(), PF_LG::Print(), PROMPF_TRANS::Print(), PF_BASE_ARRAY::Print(), ACCESS_VECTOR::Print_Analysis_Info(), ARA_LOOP_INFO::Print_Analysis_Info(), PROMPF_TRANS::Print_Compact(), Print_Distribution(), Print_Do_Stack(), AEQUIV::Print_Graph(), ARA_LOOP_INFO::Print_Loop_Property(), Print_Prompf_Doacross_Log(), Print_Prompf_Msgs(), Print_Prompf_Parallel_Region_Log(), Print_Prompf_Preopt_Transaction_Log(), Print_Prompl_Msgs(), PF_LOOPNODE::Print_Splits(), PF_LOOPNODE::Print_Structure(), PF_LOOPNODE::Print_Volume(), Process_Alt_Entries_Formal(), Process_Alt_Entries_Local(), Process_Load(), PF_LOOPNODE::Process_Loc_Loops(), ARRAY_LOWER_LOOP::Process_Loop(), PF_LOOPNODE::Process_Loop(), DISTRIBUTION::Process_Memory(), Process_Pair(), PF_LOOPNODE::Process_Prefetch(), PF_LOOPNODE::Process_PU_Volume(), ARRAY_LOWER_LOOP::Process_Refs(), ARA_LOOP_INFO::Processed(), Processor_Update_Inner_Tile(), Processor_Update_Outer_Tile(), KERNEL_IMAGE::Project(), ARA_LOOP_INFO::Projection(), Prompf_Collect_Ids(), Prompf_Interchange(), Prompf_Interchanges(), Prompf_Mp_Version(), Prompf_Tile_Split(), Prune_Invar_Memops(), Red_Dep_Info(), ARA_LOOP_INFO::Reduction_List(), Redundant_Condition(), REGION::REGION(), Region_Intersect(), Region_Union(), GTABLE::Remove_Gotos(), GOTO_TABLE::Remove_Gotos(), Remove_Invar_Duplicates(), Rename_Labels_Gotos(), Rewrite_Bounds(), SA_Version_F90_Loops_For_Contiguous(), DEPV_COMPUTE::Same_Monotonic(), DEPV_COMPUTE::Same_Permutation(), Scalar_Dependence_Prevent_Fusion(), Scalar_Equivalence_Class(), Scalar_Expand(), Scalar_Expandable(), SE_CT_New_Tile_Infos(), SE_Find_Stid(), SE_Guard_Tests(), SE_Prune_Stack_Elements(), AEQUIV::Set_Acyclic(), AEQUIV::Set_Array_Bit_Vector(), DEPV_COMPUTE::Set_Step(), ARA_LOOP_INFO::Set_Whole_Array(), ARA_REF::Set_Whole_Array(), Simd_Copy_Def_Use_For_Loop_Stmt(), Simd_Unroll_Statement(), Simd_Update_Index_Def_Use(), Sink_Out_Sandwiched_Statement(), SNL_ANAL_INFO::SNL_ANAL_INFO(), SNL_Auto_Parallelization(), SNL_Bad_Scalars_Are_Distributable(), SNL_DEP_INFO::SNL_DEP_INFO(), SNL_Depv_Is_Permutable(), SNL_Dir_Cannot_Interchange(), SNL_Distribute(), SNL_Distribute_For_Permutation(), SNL_Finalize_Index_Variables(), SNL_Finalize_Loops(), SNL_Find_Traverse(), SNL_GEN_2D_Regtile(), SNL_GEN_Distribute(), SNL_GEN_Permute_Loops(), SNL_GEN_Protect_Nest_With_Conditionals(), SNL_GEN_Scalar_Expand(), SNL_GEN_U_Ctiling(), SNL_Good_Perm_Loops(), SNL_Inner_Cache_Cost(), SNL_INV_Compact_Scalar_Expand(), SNL_INV_Distribute(), SNL_INV_Distribute_Block_Of_Loops(), SNL_INV_Get_Dist_Limits(), SNL_INV_Local_Permute_Loops(), SNL_INV_Permute_Loops(), SNL_INV_Scalar_Expand(), SNL_INV_Scalar_Expand_Tile(), SNL_INV_Shift_Loops(), SNL_INV_Transforms(), SNL_Is_Distributable(), SNL_Is_Invariant(), SNL_Kernel_Section(), SNL_Legal_Perm_Bounds(), SNL_Legal_Perm_Scalar(), SNL_Legal_Permutation(), SNL_Lift_Lego_Tile_Loops_Once(), SNL_Lift_Lego_Tile_Loops_Shifts(), SNL_Min_Parallel_Overhead_Cost(), SNL_NEST_INFO::SNL_NEST_INFO(), SNL_Parallel_Serial_Order_OK(), SNL_Parallelization_Costs(), SNL_Peel_Iteration(), SNL_Permutation_Is_Distributable(), SNL_Permutation_Needs_Distribution(), SNL_Permute_Loops(), SNL_Scalar_Expand(), SNL_Scalar_Expand_For_Splitting(), SNL_SPL_Fix_Inner_Loop_Limits(), SNL_SPL_Make_Inner_Tile_Stack(), SNL_SPL_Sort_Stack(), SNL_SPL_Split_Tile_Sets(), SNL_TRANS_INDEX_DATA::SNL_TRANS_INDEX_DATA(), SNL_Transform(), SNL_Upper_Bound_Standardize(), Sort_Equivalence_Class(), Sort_Invar_Stack(), CROSS_SNL_INFO::Sort_Parallel_Options(), Sort_Refvecs(), AEQUIV::Sort_Stack(), Split_Depth(), PF_LG::Split_LG(), PF_LOOPNODE::Split_Loops(), Splittable(), REGISTER_MODEL::Statement(), Statement_Sinkable_Out_Of_Loop(), Stream_Analysis(), SNL_STREAM::Stream_Init(), SNL_STREAM::Stream_Next(), ARA_LOOP_INFO::Test_Alias(), Test_Alias_Ara_Ref_Array(), Test_Alias_Scalar_Node_Array(), ARA_LOOP_INFO::Tlog_CI_Print(), PROMPF_INFO::Trans(), Transform_Code(), Unrolled_DU_Update_E(), PROMPF_INFO::Update_Id(), ACCESS_VECTOR::Update_Non_Const_Loops(), ACCESS_ARRAY::Update_Non_Const_Loops(), ACCESS_VECTOR::Update_Non_Const_Loops_Nonlinear(), SX_INFO::Update_Reduction_Loop_Stmts(), Update_Symbol_Use_Def(), UT_Body_Imperfect(), UT_Generate_Imperfect_If_Code(), ARA_LOOP_INFO::Variable_Load(), PF_UGS::Volume(), PF_BASE_ARRAY::Volume(), PF_LOOPNODE::Volume(), PF_LOOPNODE::Volume_For_Outer(), PF_LOOPNODE::Volume_Within_While(), Vote_Affinity(), ARA_LOOP_INFO::Walk_Loop(), Walk_Loop_Dependence(), ARRAY_SNL_INFO::Walk_SNL(), WB_ancestors(), WB_parent(), ARA_LOOP_INFO::WB_Print(), WBT_DOLOOP_STACK(), CROSS_SNL_INFO::Weed_Out_Inner(), CROSS_SNL_INFO::Weed_Out_Minimum(), Weird_Triangular(), Which_Loop_Inside(), and Wind_Down().

template<class T>
T & STACK< T >::Top ( void   )  const [inline]

template<class T>
BOOL STACK< T >::Is_Empty ( void   )  const [inline]

template<class T>
void STACK< T >::Clear ( void   )  [inline]

template<class T>
void STACK< T >::Free (  )  [inline]

Definition at line 325 of file cxx_template.h.

Referenced by scalar_rename().

template<class T>
void STACK< T >::Alloc ( const INT32  n  )  [inline]

Definition at line 326 of file cxx_template.h.

template<class T>
mINT32 STACK< T >::Elements (  )  const [inline]

Definition at line 327 of file cxx_template.h.

Referenced by COND_BOUNDS_INFO::Add_Access(), AEQUIV::Add_CFG_Vertex(), Add_Doacross_Comments(), PF_LG::Add_Group(), Add_Helper(), Add_Invariant_Deps(), ACCESS_VECTOR::Add_Nonlin(), Add_Parallel_Region_Comments(), PF_LG::Add_Ref(), PF_LOOPNODE::Add_Ref(), LEGO_UGS::Add_Ref(), PF_BASE_ARRAY::Add_Ref(), Add_References(), ACCESS_VECTOR::Add_Symbol(), Add_To_Lego_UGS_Stack(), Already_On_Stack(), Analyse_Dependencies(), SX_INFO::Analyze_Reduction(), WB_BROWSER::Ancestors(), ARA_LOOP_INFO::Annotate_Invariant_Def(), ARA_LOOP_INFO::Annotate_Invariant_Pri(), REGION_UN::Any_Wn(), ap_tlog_info(), ARA_LOOP_INFO::ARA_LOOP_INFO(), ARA_Print_Loops(), ARA_Walk_Loops(), AS_Traverse(), Assign_Doacross_Mpnums(), Assign_Parallel_Region_Mpnums(), GOTO_TABLE::Backpatch(), GTABLE::Backpatch(), AEQUIV::Backpatch_CFG(), ARA_LOOP_INFO::Bad_Array_Dependence(), Bound_Exists(), ARA_LOOP_INFO::Bounds_Depend_On_Index(), BS_Crosses_MP_Region(), BS_Find_Region(), BS_Has_If_In_Region(), BS_Has_Use_In_Subscript(), BS_Is_Index_Variable(), BS_Loop_Within_Equivalence_Class(), BS_Substitute(), PF_UGS::Build_Base_LGs(), PF_BASE_ARRAY::Build_Base_LGs(), PF_LOOPNODE::Build_Base_LGs(), PF_UGS::BuildLG(), PF_LG::Check(), PF_LG::Check_Ref(), ARA_LOOP_INFO::CI_Print(), SD_INFO::Closure(), Common_Ancestor(), Common_Loop_Ancestor(), DEPV_COMPUTE::Common_Nest(), DEPV_COMPUTE::Compute(), Compute_Footprint(), LEGO_UGS::Compute_Offset(), PF_UGS::ComputePFVec(), COND_Do_Info(), COND_If_Info(), SNL_ANAL_INFO::CONST_BOUNDS_INFO::CONST_BOUNDS_INFO(), Constant_Propogate(), Contains(), REGION::Contains(), Convert_Section_To_Pdo(), Copy_Array_Section(), Copy_Doloop_Stack(), Copy_Dostack(), Copy_Non_MP_Tree(), Count_Invariant(), REGISTER_MODEL::Count_Op(), ARA_LOOP_INFO::Create_Live_Use(), Cross_Loop_Cache_Analysis(), Dealloc_HashTable_Entries(), ARA_LOOP_INFO::Def_Is_Whole_Array(), ARA_LOOP_INFO::Default_For_Bad_Loop(), Delete_All_Distr_Pragmas(), DEPV_LIST::DEPV_LIST(), ARA_LOOP_INFO::Determine_Last_Value(), ARA_LOOP_INFO::Determine_Peel(), Dismantle_Do_Walk(), Dismantle_Dos(), DISTRIBUTION::Distribute_Arrays(), Do_Automatic_Transformation(), AEQUIV::Do_Dataflow(), Du_Sanity_Check_Matching_Du(), ARRAY_REF::Elements(), EXC::Elements(), OPT_STAB::Elements_coderep(), Eliminate_Dead_Do(), Eliminate_Dead_If(), ML_WHIRL_EMITTER::Emit(), SNL_ANAL_INFO::Enter_Deps(), AEQUIV::Enter_Locals_Hash(), AEQUIV::Equivalence_Arrays(), Est_Num_Iters_Suspect(), REGISTER_MODEL::Evaluate(), Find_Buddy(), Find_Enter_Symbol(), Find_Kernel_Stack_Nest_Traverse(), PF_LOOPNODE::Find_Loc_Loops(), PF_UGS::Find_Loc_Space(), PF_BASE_ARRAY::Find_Loc_Space(), Find_Simd_Kind(), PF_LOOPNODE::Find_Split_Vector(), PF_BASE_ARRAY::Find_Split_Vector(), Fission(), Fission_DU_Update(), Fix_Blockable_Dependences(), FS_Array_Worthwhile(), Fusion_Du_Update(), Gather_Invar(), PF_LG::Gen_Pref_Node(), PF_LG::Gen_Prefetch(), PF_UGS::Gen_Prefetch(), PF_BASE_ARRAY::Gen_Prefetch(), PF_LOOPNODE::Gen_Prefetch(), ARA_LOOP_INFO::Generate_Copyout_Loop(), ARA_LOOP_INFO::Generate_Parallel_Pragma(), Generate_Scalar_Dependence_For_Statement_Dependence_Graph(), HAB_Copy_Array_Deps(), SX_INFO::Handle_Other_Def(), AEQUIV::Handle_Store(), Has_Cutset(), CALL_INFO::Has_Formal_Parameter(), ARA_LOOP_INFO::Has_Matching(), HMB_Compound_Guard_And_Hoist(), HMB_Copy_Array_Deps(), HMB_Find_and_Hoist_Messy_Subscripts(), HMB_Has_Messy_Subscript(), HMB_Hoist_Expressions(), HMB_Hoist_Messy_Bounds(), HMB_Hoist_Messy_Subscripts(), HMB_Push_Messy_Expressions(), HMB_Similar_Group(), Hoist_Iload_Ldid_Upper_Bound_One_Level(), Hoist_Lower_Bound(), Hoist_Outer_Invar(), Hoist_Upper_Bound(), HoistIf(), Infer_Reduction_Operators(), Inner_Loop_Is_Trapezoidal(), Insert_Call(), Inter_Iteration_Cses_Loop(), Intersect_References(), Inv_Dep_Info(), IPA_LNO_Annotate_Array_Call(), IPA_LNO_Annotate_Scalar_Call(), IPA_LNO_Evaluate_Array_Formals(), IPL_Build_Access_Array(), IPL_Build_Do_Access(), IPL_Build_If_Access(), ARA_LOOP_INFO::Is_Covered(), Is_In_Namelist_Stack(), ARA_LOOP_INFO::Is_Invariant(), Is_Unconditional(), IV_Loop_Stmt_Check_X(), PROMPF_INFO::Last_Id(), PROMPF_INFO::Last_Trans(), Lego_Interchange(), Lego_Loop_Want_Skew(), Lego_Skew_Loop(), Lego_Update_Skew_Count(), LNO_Build_Access_Array(), LNO_Build_Do_Access(), LNO_Build_If_Access(), LINEX::LNO_Simplify(), Localize_All_INITVKIND_SYMOFFs(), Loop_Statement(), lower_bit_field_id(), Lower_Distr_Pragmas(), DCE::Mark_chinode_live(), Mark_Code(), Max_Non_Const_Loop(), Maybe_Assigned(), ARA_LOOP_INFO::Merge_Info(), merge_scc_to_form_new_loop(), ARA_LOOP_INFO::Merge_then_else(), MIR_Hoistable_Ref(), MIR_Update_Dependences(), Mp_Collapse_Loop_Heads(), Mp_Collapse_Loop_Statements(), Mp_Compress_Nested_Loop(), Mp_Coordinate_Copy_Out_Coordinates(), Mp_Extract_Bogus_Do_Acrosses(), MP_Fix_Dependence_Graph(), Mp_Fix_Deps(), Mp_Layout_Copy_Out_Layout(), Mp_Layout_Lego_Layout(), ARA_LOOP_INFO::Need_Copyin(), LEAF_ITER< NODE_TYPE >::Next(), AEQUIV::Num_Arrays(), PF_LOOPNODE::Num_Children(), CROSS_SNL_INFO::Num_Parallel_Options(), SNL_STREAM::Num_SNL(), REGISTER_MODEL::Num_Statements(), OMP_Prelower(), ARA_LOOP_INFO::Overlap_Exposed_Array(), ARA_LOOP_INFO::Overlap_Local_Array(), ARA_LOOP_INFO::Overlap_Reduction_Scalar(), PAR_STAT::Parallel_Interchange(), Parallel_Loop(), WB_BROWSER::Parent(), GTABLE::Patch_Do_While(), Perform_ARA_and_Parallelization(), PF_LG::PF_LG(), LEGO_AFFINITY::Pick_Affinity(), OPTIONS_STACK::Pop_Current_Options(), Post_loop_peeling(), Pre_loop_peeling(), Prepend_Wn_Pair(), PROMPF_INFO::Print(), ARRAY_SNL_INFO::Print(), GOTO_TABLE::Print(), ARA_LOOP_INFO::Print(), PF_LOOPNODE::Print(), PF_UGS::Print(), GTABLE::Print(), CROSS_SNL_INFO::Print(), SNL_STREAM::Print(), PF_LG::Print(), PROMPF_TRANS::Print(), PF_BASE_ARRAY::Print(), ACCESS_VECTOR::Print_Analysis_Info(), ARA_LOOP_INFO::Print_Analysis_Info(), PROMPF_TRANS::Print_Compact(), Print_Do_Stack(), ARA_LOOP_INFO::Print_Loop_Property(), Print_Parallel_Loop(), Print_Prompf_Msgs(), Print_Prompf_Preopt_Transaction_Log(), Print_Prompl_Msgs(), PF_LOOPNODE::Print_Splits(), TRACK_CUR_VERSION::Print_stack(), PF_LOOPNODE::Print_Structure(), Print_version_stack(), PF_LOOPNODE::Print_Volume(), Process_Alt_Entries_Formal(), Process_Alt_Entries_Local(), Process_Load(), PF_LOOPNODE::Process_Loc_Loops(), ARRAY_LOWER_LOOP::Process_Loop(), PF_LOOPNODE::Process_Loop(), PF_LOOPNODE::Process_Prefetch(), SUMMARIZE< program >::Process_procedure(), PF_LOOPNODE::Process_PU_Volume(), ARRAY_LOWER_LOOP::Process_Refs(), ARA_LOOP_INFO::Processed(), Processor_Update_Inner_Tile(), Processor_Update_Outer_Tile(), KERNEL_IMAGE::Project(), ARA_LOOP_INFO::Projection(), Prompf_Assign_Ids_Traverse(), Prompf_Collect_Ids(), Prompf_Mp_Version(), Prompf_Tile_Split(), Prune_Invar_Memops(), OPTIONS_STACK::Push_Current_Options(), Red_Dep_Info(), ARA_LOOP_INFO::Reduction_List(), Redundant_Condition(), REGION::REGION(), Region_Intersect(), Region_Union(), GTABLE::Remove_Gotos(), GOTO_TABLE::Remove_Gotos(), Remove_Invar_Duplicates(), Rename_INITV_Labels(), Rename_Labels_Gotos(), Rename_Privatized_COMMON(), Repair_Bad_Dependences(), RVI_EMIT::RVI_EMIT(), SA_Set_SimdOps_Info1(), SA_Set_SimdOps_Info2(), SA_Version_F90_Loops_For_Contiguous(), DEPV_COMPUTE::Same_Permutation(), Scalar_Dependence_Prevent_Fusion(), Scalar_Expand(), Scalar_Expandable(), scalar_rename(), Scalar_Variable_Renaming(), SE_Find_Stid(), SE_Prune_Stack_Elements(), AEQUIV::Set_Acyclic(), ACCESS_ARRAY::Set_Array(), SNL_STREAM::Set_Min_Path(), DEPV_COMPUTE::Set_Step(), ARA_LOOP_INFO::Set_Whole_Array(), ARA_REF::Set_Whole_Array(), Simd(), Simd_Align_Array_References(), Simd_Align_Best_Peel(), Simd_Analysis(), Simd_Copy_Def_Use_For_Loop_Stmt(), Simd_Count_Good_Vector(), Simd_Finalize_Loops(), simd_fis_separate_loop_and_scalar_expand(), Simd_Unroll_Statement(), Simd_Update_Index_Def_Use(), Simd_Vectorize_Induction_Variables(), Simd_Vectorize_Load_And_Equilvalent(), Sink_Out_Sandwiched_Statement(), TRACK_CUR_VERSION::Size(), SNL_Auto_Parallelization(), SNL_Distribute(), SNL_Finalize_Loops(), SNL_Find_Traverse(), SNL_GEN_2D_Regtile(), SNL_GEN_Protect_Nest_With_Conditionals(), SNL_GEN_U_Ctiling(), SNL_Good_Perm_Loops(), SNL_INV_Distribute_Block_Of_Loops(), SNL_INV_Local_Permute_Loops(), SNL_INV_Transforms(), SNL_Kernel_Section(), SNL_Legal_Perm_Bounds(), SNL_Legal_Perm_Scalar(), SNL_Lift_Lego_Tile_Loops_Once(), SNL_NEST_INFO::SNL_NEST_INFO(), SNL_Parallel_Serial_Order_OK(), SNL_Peel_Iteration(), SNL_SPL_Copy_Inner_Tile_Stack(), SNL_SPL_Fix_Inner_Loop_Limits(), SNL_SPL_Get_Tile_Loops(), SNL_SPL_Make_Inner_Tile_Stack(), SNL_SPL_Sort_Stack(), SNL_SPL_Split_Inner_Tile_Loops(), SNL_SPL_Split_Tile_Sets(), SNL_Transform(), Sort_Equivalence_Class(), Sort_Invar_Stack(), CROSS_SNL_INFO::Sort_Parallel_Options(), Sort_Refvecs(), AEQUIV::Sort_Stack(), Split_Depth(), PF_LG::Split_LG(), PF_LOOPNODE::Split_Loops(), OPT_STAB::Stack_elements(), Statement_Sinkable_Out_Of_Loop(), Stream_Analysis(), SNL_STREAM::Stream_Init(), SNL_STREAM::Stream_Next(), ARA_LOOP_INFO::Test_Alias(), Test_Alias_Ara_Ref_Array(), Test_Alias_Scalar_Node_Array(), ARA_LOOP_INFO::Tlog_CI_Print(), Transform_Code(), Unrolled_DU_Update_E(), ACCESS_VECTOR::Update_Non_Const_Loops(), ACCESS_ARRAY::Update_Non_Const_Loops(), SX_INFO::Update_Reduction_Loop_Stmts(), Update_Symbol_Use_Def(), Update_Sync_Length_Ldid_DU(), Update_Sync_Length_Stid_DU(), Update_Sync_Offset_Ldid_DU(), Update_Sync_Offset_Stid_DU(), ARA_LOOP_INFO::Variable_Load(), vintr_fis_separate_loop_and_scalar_expand(), Vintrinsic_Fission(), PF_UGS::Volume(), PF_BASE_ARRAY::Volume(), PF_LOOPNODE::Volume(), PF_LOOPNODE::Volume_For_Outer(), PF_LOOPNODE::Volume_Within_While(), Vote_Affinity(), Walk_and_Localize(), ARA_LOOP_INFO::Walk_Loop(), Walk_Loop_Dependence(), ARRAY_SNL_INFO::Walk_SNL(), WB_ancestors(), WB_parent(), ARA_LOOP_INFO::WB_Print(), WBT_DOLOOP_STACK(), CROSS_SNL_INFO::Weed_Out_Inner(), CROSS_SNL_INFO::Weed_Out_Minimum(), Which_Loop_Inside(), Wind_Down(), ARRAY_LOWER_LOOP::~ARRAY_LOWER_LOOP(), LEGO_AFFINITY::~LEGO_AFFINITY(), PF_BASE_ARRAY::~PF_BASE_ARRAY(), PF_LG::~PF_LG(), and PF_LOOPNODE::~PF_LOOPNODE().

template<class T>
STACK& STACK< T >::operator= ( const STACK< T > &   )  [private]

template<class T>
void STACK< T >::Push ( const T val  )  [inline]

Definition at line 311 of file cxx_template.h.

template<class T>
void STACK< T >::Settop ( const T val  ) 

template<class T>
INT32 STACK< T >::Topidx ( void   )  [inline]

Definition at line 313 of file cxx_template.h.

template<class T>
T STACK< T >::Pop ( void   )  [inline]

Definition at line 314 of file cxx_template.h.

template<class T>
T& STACK< T >::Top_nth ( const INT32  n  )  const

template<class T>
T& STACK< T >::Bottom_nth ( const INT32  n  )  const

template<class T>
T& STACK< T >::Top ( void   )  const

template<class T>
BOOL STACK< T >::Is_Empty ( void   )  const

template<class T>
void STACK< T >::Clear ( void   )  [inline]

Definition at line 327 of file cxx_template.h.

template<class T>
void STACK< T >::Free (  )  [inline]

Definition at line 328 of file cxx_template.h.

template<class T>
void STACK< T >::Alloc ( const INT32  n  )  [inline]

Definition at line 329 of file cxx_template.h.

template<class T>
mINT32 STACK< T >::Elements ( void   )  const [inline]

Definition at line 330 of file cxx_template.h.


Field Documentation

template<class T>
DYN_ARRAY< T > STACK< T >::_stack [private]


The documentation for this module was generated from the following files:

Generated on Wed Apr 8 17:08:27 2009 for Open64 by  doxygen 1.5.6