osprey/common/util/mempool.h File Reference

#include "defs.h"

Include dependency graph for mempool.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  mem_pool

Defines

#define TYPE_ALLOCA(type)   ((type *)alloca(sizeof(type)))
#define TYPE_ALLOCA_N(type, n)   ((type *)alloca(sizeof(type) * (n)))
#define Malloc_Mem_Pool   (MEM_POOL *) 1
#define Default_Mem_Pool   (MEM_POOL *) 0
#define MEM_STAT_ARGS(line, file)   ,INT32 line, const char *file
#define MEM_POOL_Zeroed(pool)   ((pool)->bz)
#define MEM_POOL_Alloc(pool, size)   MEM_POOL_Alloc_P(pool,size,0,NULL)
#define MEM_POOL_Realloc(pool, o, os, ns)   MEM_POOL_Realloc_P((pool),(o),(os),(ns),0,NULL)
#define MEM_POOL_Push(pool)   MEM_POOL_Push_P(pool,0,NULL)
#define MEM_POOL_Push_Freeze(pool)   MEM_POOL_Push_Freeze_P(pool,0,NULL)
#define MEM_POOL_Pop(pool)   MEM_POOL_Pop_P(pool,0,NULL)
#define MEM_POOL_Pop_Unfreeze(pool)   MEM_POOL_Pop_Unfreeze_P(pool,0,NULL)
#define MEM_POOL_Initialize(pool, name, bz)   MEM_POOL_Initialize_P(pool,name,bz,0,NULL)
#define TYPE_MEM_POOL_ALLOC(type, pool)   ((type *) MEM_POOL_Alloc(pool,sizeof(type)))
#define TYPE_MEM_POOL_ALLOC_N(type, pool, n)   ((type *) MEM_POOL_Alloc(pool,sizeof(type) * (n)))
#define TYPE_MEM_POOL_REALLOC_N(type, pool, old_block, old_n, new_n)
#define L_Save()   MEM_POOL_Push(MEM_local_pool_ptr)
#define L_Alloc(x)   MEM_POOL_Alloc(MEM_local_pool_ptr,(x))
#define L_Free()   MEM_POOL_Pop(MEM_local_pool_ptr)
#define P_Alloc(x)   MEM_POOL_Alloc(MEM_phase_pool_ptr,(x))
#define Src_Alloc(x)   MEM_POOL_Alloc(MEM_src_pool_ptr,(x))
#define Pu_Alloc(x)   MEM_POOL_Alloc(MEM_pu_pool_ptr,(x))
#define TYPE_L_ALLOC(type)   ((type*)L_Alloc(sizeof(type)))
#define TYPE_L_ALLOC_N(type, n)   ((type*)L_Alloc(sizeof(type)*(n)))
#define TYPE_P_ALLOC(type)   ((type*)P_Alloc(sizeof(type)))
#define TYPE_P_ALLOC_N(type, n)   ((type*)P_Alloc(sizeof(type)*(n)))
#define TYPE_PU_ALLOC(type)   ((type*)Pu_Alloc(sizeof(type)))
#define TYPE_PU_ALLOC_N(type, n)   ((type*)Pu_Alloc(sizeof(type)*(n)))
#define TYPE_SRC_ALLOC(type)   ((type*)Src_Alloc(sizeof(type)))
#define TYPE_SRC_ALLOC_N(type, n)   ((type*)Src_Alloc(sizeof(type)*(n)))

Typedefs

typedef struct mem_block MEM_BLOCK
typedef struct mem_pool_blocks MEM_POOL_BLOCKS
typedef struct mem_stat MEM_STAT
typedef struct mem_pure_stack MEM_PURE_STACK
typedef struct mem_pool MEM_POOL

Functions/Subroutines

void MEM_Initialize (void)
void MEM_Trace (void)
void Trace_Memory_Allocation (INT phase, const char *pname)
void MEM_Tracing_Enable (void)
MEM_PTR MEM_POOL_Alloc_P (MEM_POOL *mempool, size_t size)
MEM_PTR MEM_POOL_Realloc_P (MEM_POOL *mempool, MEM_PTR old_block, size_t old_size, size_t new_size)
void MEM_POOL_Push_P (MEM_POOL *pool)
void MEM_POOL_Push_Freeze_P (MEM_POOL *pool)
void MEM_POOL_Pop_P (MEM_POOL *pool)
void MEM_POOL_Pop_Unfreeze_P (MEM_POOL *pool)
void MEM_POOL_Set_Default (MEM_POOL *pool)
void MEM_POOL_FREE (MEM_POOL *pool, void *data)
void MEM_POOL_Delete (MEM_POOL *pool)
void MEM_POOL_Initialize_P (MEM_POOL *pool, const char *name, BOOL bz)
MEM_PTR Realloc_Clear (MEM_PTR ptr, INT32 new_size, INT32 old_size)
MEM_PTR Re_Calloc (MEM_PTR ptr, INT32 new_nelem, INT32 elsize, INT32 old_nelem)

Variables

MEM_POOL MEM_local_pool
MEM_POOL MEM_src_pool
MEM_POOL MEM_pu_pool
MEM_POOL MEM_phase_pool
MEM_POOLMEM_local_pool_ptr
MEM_POOLMEM_src_pool_ptr
MEM_POOLMEM_pu_pool_ptr
MEM_POOLMEM_phase_pool_ptr
MEM_POOL MEM_local_nz_pool
MEM_POOL MEM_src_nz_pool
MEM_POOL MEM_pu_nz_pool
MEM_POOL MEM_phase_nz_pool
MEM_POOLMEM_local_nz_pool_ptr
MEM_POOLMEM_src_nz_pool_ptr
MEM_POOLMEM_pu_nz_pool_ptr
MEM_POOLMEM_phase_nz_pool_ptr


Define Documentation

#define Default_Mem_Pool   (MEM_POOL *) 0

#define L_Alloc (  )     MEM_POOL_Alloc(MEM_local_pool_ptr,(x))

Definition at line 674 of file mempool.h.

Referenced by COST_TABLE_Alloc().

 
#define L_Free (  )     MEM_POOL_Pop(MEM_local_pool_ptr)

 
#define L_Save (  )     MEM_POOL_Push(MEM_local_pool_ptr)

#define Malloc_Mem_Pool   (MEM_POOL *) 1

Definition at line 451 of file mempool.h.

Referenced by Add_One_Node(), Add_Pragma_To_MP_Region(), append_icall_list(), Build_Call_Graph(), Build_CG_Dependence_Graph(), Build_Class_Hierarchy(), ORDERED_NODE_ITER::Build_Level_Order(), Build_Nested_Pu_Relations(), ORDERED_NODE_ITER::BuildVector(), IPA_NODE::Clear_Cloned_Symtab(), Connect_indirect_call(), Copy_Non_MP_Tree_Rec(), IPA_CALL_GRAPH::Create_Clone(), Create_MicroTask(), IPA_CALL_GRAPH::Create_Quasi_Clone(), Dealloc_Dep_Graph(), Depgraph_Read(), Depgraph_Write(), DIRECTED_GRAPH16< EDGE_TYPE, VERTEX_TYPE >::DIRECTED_GRAPH16(), IPAA::Do_Simple_IPAA(), DRA_Add_Clone(), DRA_Finalize(), DRA_Initialize(), DRA_Open_And_Map_File(), DRA_Set_Write_Location(), emit_inits_for_symbol(), Enter_Guarded_WNs(), EVECTOR::EVECTOR(), fei_static_base(), FF_Pragma_Seen_Before(), IPAA_NODE_INFO::Free_Ref_Sets(), Get_Original_Type(), Init_Cprop_Annotations(), Init_daVinci(), initialize_strtab(), Initialize_Symbol_Tables(), inline_init(), Inliner(), Inliner_Read_PUs(), IP_FILE_HDR_Add_New_PU(), IP_READ_pu_infos(), IP_write_global_symtab(), IPA_add_new_procedure(), IPA_add_new_symbol(), ipa_compile_init(), ipa_compose_comma_list(), IPA_CPROP_DF_FLOW::IPA_CPROP_DF_FLOW(), ipa_init_link_line(), ipa_link_line_argv(), IPA_LNO_Open_Input_File(), IPA_LNO_Open_Output_Info(), IPA_LNO_Write_Summary(), IPA_Node_Name(), IPA_Preoptimize(), IPA_Start_Function(), IPA_Trace_Summary_Section(), IPA_WN_MAP_Delete(), IPAA_NODE_INFO::IPAA_NODE_INFO(), ipacom_process_file(), Ipl_Init(), IPO_CLONE::IPO_CLONE(), IPO_INLINE::IPO_INLINE(), ir_all(), ir_b2a(), ir_b_write_tree(), ir_sel(), Lego_File_Fini(), Lego_File_Init(), Lego_Fix_IO(), Localize_All_INITVKIND_SYMOFFs(), lower_bit_field_id(), LWN_Copy_Tree(), main(), MEM_POOL_Alloc_P(), MEM_POOL_Delete(), MEM_POOL_FREE(), MEM_POOL_Initialize_P(), MEM_POOL_Pop_P(), MEM_POOL_Push_P(), MEM_POOL_Realloc_P(), LOOP_MODEL::Model(), MP_Fix_Dependence_Graph(), NameLock_Add(), New_daVinci(), IPAA_NODE_INFO::New_def_set(), IPAA_NODE_INFO::New_eref_set(), IPAA_NODE_INFO::New_kill_set(), New_Scope(), operator delete(), operator new(), fix_array_bounds::operator()(), Perform_inlining(), Perform_Interprocedural_Analysis(), IPA_CPROP_DF_FLOW::PerformCloning(), Process_Exception_Region(), Process_Local_File(), Process_Parallel_Do(), Process_Parallel_Region(), Process_stid(), process_whirl(), PU_is_dead(), Read_PU(), CG_LOOP::Recompute_Liveness(), STR_TAB< STR >::reserve(), Save_Symbol_Name(), SCC_DIRECTED_GRAPH16::SCC_DIRECTED_GRAPH16(), IPA_NODE::Scope(), Search(), Section_Variable_TY(), SPARSE_BV::Set_Bit(), SPARSE_BV::SPARSE_BV(), Stab_finalize_flags(), Stab_initialize_flags(), TN_CORRESPOND_Free(), TN_CORRESPOND_Set(), Transfer_Maps(), SPARSE_BV::Union_2(), Update_array_bounds(), Update_Caller_MP_Pragmas(), Update_MP_Local_Var(), Update_Private(), VN::VN(), VVECTOR::VVECTOR(), W2FC_FLAG_ARRAY::W2FC_FLAG_ARRAY(), walk_st_list(), WFE_Assemble_Asm(), WFE_Start_Function(), WGEN_Assemble_Asm(), WGEN_Start_Function(), WN_FreeStack(), WN_InitStack(), WN_Push(), WN_WALK_SCFIter(), WN_WALK_StmtIter(), WN_WALK_TreeIter(), Write_Dummy_PUs(), Write_inline_succ_pu(), DIRECTED_GRAPH16< TEDGE, TVERTEX >::~DIRECTED_GRAPH16(), EVECTOR::~EVECTOR(), IPAA_OBJECT_REF_SET::~IPAA_OBJECT_REF_SET(), IPO_SYMTAB::~IPO_SYMTAB(), LOOP_MODEL::~LOOP_MODEL(), ORDERED_NODE_ITER::~ORDERED_NODE_ITER(), SCC_DIRECTED_GRAPH16::~SCC_DIRECTED_GRAPH16(), SPARSE_BV::~SPARSE_BV(), VVECTOR::~VVECTOR(), and W2FC_FLAG_ARRAY::~W2FC_FLAG_ARRAY().

#define MEM_POOL_Alloc ( pool,
size   )     MEM_POOL_Alloc_P(pool,size,0,NULL)

Definition at line 637 of file mempool.h.

Referenced by Add_Ob_To_List(), Add_Wn_To_List(), DYN_ARRAY< T >::Alloc_array(), idmap::ID_MAP< NODE_TYPE, KEY_TYPE >::Alloc_table_space(), SEGMENTED_ARRAY< T, block_size >::Allocate(), RELATED_SEGMENTED_ARRAY< T, block_size >::Allocate(), Append_Succ(), AUX_IPA_EDGE< EDGE >::AUX_IPA_EDGE(), AUX_IPA_NODE< NODE >::AUX_IPA_NODE(), BB_OP_MAP_Create_Kind(), GRAPH::Build(), build_graph(), build_graph_u(), CG_LOOP_Init_Op(), CG_SCHED_EST_Clone(), CG_SCHED_EST_Create(), CG_SCHED_EST_Create_Empty(), Compensate_Stack(), DFBASE::Connect_graph(), Convert_x87_Regs(), IPO_CLONE::Copy_Node(), LRANGE_MGR::Create(), Create_DEPV_ARRAY(), create_vertex_iter(), cwh_auxst_alloc_container_table(), IPA_DATA_FLOW::dataflow(), Depth_First_Ordering(), Digest_Archive(), IPAA_FORMAL_MAP::Expand(), FBV::FBV(), DYN_ARRAY< T >::Force_Alloc_array(), Force_Map(), Generate_Hot_Cold_Jump(), Get_callee(), get_new_opinfo(), ARRAY_SUMMARY::Init(), KEY_SCH::Init(), BB_VISITED_COUNTER::Init(), MRT::Init(), Initialize_Annotation(), Initialize_BB_Info(), Initialize_ORI(), initialize_strtab(), Initialize_Symbol_Tables(), Inliner_Read_PUs(), Insert_Compensate_BB(), IP_FILE_HDR_Add_New_PU(), IP_READ_pu_infos(), IPA_add_new_procedure(), IPA_add_new_symbol(), ipa_compose_comma_list(), IPA_DATA_FLOW::IPA_DATA_FLOW(), IPA_FEEDBACK_STRINGS::IPA_FEEDBACK_STRINGS(), IPA_LNO_Write_Summary(), IPA_preopt_initialize(), ir_b_write_tree(), IR_reader_init(), LRANGE_VSET_Create(), New_Ori_Block(), IPO_SYMTAB::New_Symtab(), Process_cond_branches(), Process_Local_File(), Projected_Region_To_Memory(), PU_Profile_Handle::PU_Profile_Handle(), Read_Member_Name(), Read_PU(), Region_Is_Illegal(), Repair_Call_BB(), Save_Local_Symtab(), KEY_SCH::Schedule_Kernel(), IPA_NODE::Scope(), update_mod_const_sections(), update_projected_region(), update_region(), walk_st_list(), WN_Create(), WN_InitStack(), WN_WALK_SCFIter(), WN_WALK_StmtIter(), and WN_WALK_TreeIter().

#define MEM_POOL_Initialize ( pool,
name,
bz   )     MEM_POOL_Initialize_P(pool,name,bz,0,NULL)

Definition at line 655 of file mempool.h.

Referenced by ALIAS_MANAGER::ALIAS_MANAGER(), Alloc_Regs_For_BB(), Anl_Init(), Anl_Static_Analysis(), Automatic_Data_Distribute(), BE_symtab_initialize_be_scopes(), Cache_Location_Analysis(), Calculate_Dominators(), CG_Init(), CG_Init_Gcov(), CG_LOOP_Make_Strongly_Connected_Components(), CG_THR::CG_THR(), CGGRP_Init(), CGTARG_Interference_Initialize(), Check_Local_Pool_Initialized(), Convert_x87_Regs(), Copy_Non_MP_Tree(), IPA_CALL_GRAPH::Create_Clone(), Create_Unique_Defs_For_TNs(), Create_Vector_Load_Stores(), DAG_MEM::DAG_MEM(), DB_Rename_Cond_TN_Init(), DIRECTED_GRAPH16< EDGE_TYPE, VERTEX_TYPE >::DIRECTED_GRAPH16(), Doacross_Init(), DRA_Clone_Initialize(), DRA_Initialize(), DRA_Processing(), dV_view_fb_cfg(), dV_view_fb_opt_cfg(), dV_view_whirl(), EBO_Init(), AEQUIV::Equivalence_Arrays(), F90_Lower_Init(), FB_CFG_MEM::FB_CFG_MEM(), Fiss_Gather_Loop(), Fission_Init(), Fix_LRA_Blues(), Fusion_Init(), GCM_Schedule_Region(), Gen_Spill_Symbol(), GLOBAL_CYCLES_FINDER_MEM::GLOBAL_CYCLES_FINDER_MEM(), GRA_GRANT_Initialize(), GRA_LIVE_Initialize_Memory(), GTN_UNIVERSE_Pu_Begin(), GTN_UNIVERSE_REGION_Begin(), HB_Schedule::HB_Schedule(), HoistIf_Phase(), IF_CONV_MEM::IF_CONV_MEM(), BB_REGION_SET::Init(), ARRAY_SUMMARY::Init(), init_idx_ops(), DIPA_Phase_Manager::Init_Memory(), Init_merge_access(), Initialize(), LRANGE_SUB_MGR::Initialize(), Initialize_Access_Vals(), Initialize_Auxiliary_Tables(), Initialize_Memory(), Initialize_Priority_Queue(), Inliner(), Inliner_Read_PUs(), Inner_Fission(), INTERFERE_MGR::INTERFERE_MGR(), INTERVAL_PROCESSOR_MEM::INTERVAL_PROCESSOR_MEM(), Invoke_Init_Routines(), IP_FILE_HDR::IP_FILE_HDR(), IPA_ARRAY_DF_FLOW::IPA_ARRAY_DF_FLOW(), IPA_Create_Builtins(), ipa_dot_so_init(), IPA_preopt_initialize(), IPL_Initialize_Par_Code(), IPO_propagate_globals(), Is_Vectorizable_Loop(), LabelOpt::LabelOpt(), Lego_File_Init(), Lnoptimizer(), lower_mp(), LWN_Process_FF_Pragmas(), MEM_Initialize(), MemCtr_Init(), Minvariant_Removal(), MIR_Has_Messy_Subscript(), MIR_Hoist_Messy_Subscripts(), MIR_Update_Dependences(), LOOP_MODEL::Model(), MP_Fix_Dependence_Graph(), Olimit_Region_Insertion(), OMP_File_Init(), Optimize_Copy_Usage(), Outer_Loop_Fusion_Phase(), OUTPUT_FUNC_START_PROFILER_MEM::OUTPUT_FUNC_START_PROFILER_MEM(), Padding_Analysis(), PDGCS_initialize(), Perform_Global_Schedule(), Perform_Interprocedural_Analysis(), Perform_Loop_Invariant_Code_Motion(), Perform_Loop_Optimizations(), Perform_Read_Write_Removal(), PQS_Init_Memory(), PRDB_MEM::PRDB_MEM(), Prefetch_Driver(), Preprocess_struct_access(), Process_Fill_Align_Pragmas(), OPTIONS_STACK::Process_Pragma_Options(), SUMMARIZE< program >::Process_procedure(), PROFILE_MEM::PROFILE_MEM(), Prompf_Init(), output_queue::push(), IPA_CALL_GRAPH::Quasi_To_Real_Clone(), IPA_NODE::Read_PU(), Read_PU(), REGION_init(), REGION_Initialize(), REGION_LOOP_UPDATE_MEM::REGION_LOOP_UPDATE_MEM(), REGION_TREE_MEM::REGION_TREE_MEM(), REGIONAL_CFG_MEM::REGIONAL_CFG_MEM(), Scalar_Variable_Renaming(), SCC_DIRECTED_GRAPH16::SCC_DIRECTED_GRAPH16(), SCC_FINDER_MEM::SCC_FINDER_MEM(), SCHED_MEM::SCHED_MEM(), SCHED_UTIL_MEM_POOL::SCHED_UTIL_MEM_POOL(), CG_BROWSER::Sdebug(), sgi_cmd_line(), SHACKLE_Phase(), Simd_Phase(), Stride_Region(), SUMMARIZE< program >::Summarize(), SWP_Bundle(), TN_INFO_MEM::TN_INFO_MEM(), toplogical_reordering(), TOPOLOGICAL_REGIONAL_CFG_ITER_MEM::TOPOLOGICAL_REGIONAL_CFG_ITER_MEM(), Vintrinsic_Fission_Phase(), W2C_Init(), W2F_Init(), WB_DAV_deps_loop(), WB_DAV_deps_ref(), WFE_Assemble_Asm(), WFE_Start_Function(), WGEN_Assemble_Asm(), WGEN_Start_Function(), WN_Annotate(), WN_Create(), WN_Instrument(), WN_Mem_Pop(), WN_Mem_Push(), WN_Verifier::WN_Verifier(), and WOVP::WOVP().

#define MEM_POOL_Pop ( pool   )     MEM_POOL_Pop_P(pool,0,NULL)

Definition at line 649 of file mempool.h.

Referenced by _xanalyze_stmt_for_conds(), _xdependence_is_preserved(), Add_Invariant_Deps(), Add_MEM_Arcs(), ACCESS_VECTOR::Add_Sum(), Alloc_Regs_For_BB(), WB_BROWSER::Ancestors(), Anl_Fini(), Anl_Static_Analysis(), Auto_Parallelization(), BB_REGION_Calculate_Dominators(), BB_REGION_Recompute_Global_Live_Info(), BB_SET_Calculate_Dominators(), BE_symtab_free_be_scopes(), Build_Complement_Interference_Graph(), Build_Statement_Dependence_Graph(), Cache_Analysis_End(), Calculate_Component_Max_Costs_And_Min_Recurrence_II(), Calculate_Dominators(), CG_BROWSER::Callees(), CG_BROWSER::Callers(), Can_Be_Tail_Call(), CFLOW_Optimize(), CG_DEP_Delete_Graph(), CG_End_Gcov(), CG_LOOP_Calculate_Max_Costs_And_Min_II(), CG_LOOP_Calculate_Min_Resource_II(), CG_LOOP_Make_Strongly_Connected_Components(), CG_PU_Finalize(), CG_Region_Finalize(), CG_SCHED_EST_BB_Cycles(), CG_SCHED_EST_Region_Cycles(), CGGRP_Fini(), CGSPILL_Finalize_For_PU(), CGTARG_Interference_Finalize(), Check_Doacross_Sync_Coverage(), Check_QuadWord_Boundary_Absolute(), Clone_update_st(), Cloned_Gain(), COND_BOUNDS_INFO::Collect_Do_Info(), SNL_BOUNDS_INFO::Collect_If_Info(), COND_BOUNDS_INFO::Collect_If_Info(), PROJECTED_REGION::Compare(), DEPV_COMPUTE::Compute(), Compute_Sync_Distances(), COND_Do_Info(), COND_If_Info(), ARRAY_REF_LIST::Conflict_Refs(), Constant_Propogate(), Convert_x87_Regs(), Copy_Array(), Copy_Array_Section(), Copy_BB_For_Tail_Duplication(), Create_DEPV_ARRAY(), INTERFERE_MGR::Create_End(), GRA_BB::Create_Global_Interferences(), create_idx_ops(), Create_Initialize_Loop(), Create_LUNITs(), Create_Unique_Defs_For_TNs(), Create_Vector_Load_Stores(), Cross_Loop_Cache_Analysis(), cshift_left(), DB_Rename_Cond_TN_OPs(), Deallocate_TN_BB_LIST_MAPs(), CG_LOOP::Determine_SWP_Unroll_Factor(), DISTRIBUTION::DISTRIBUTION(), AEQUIV::Do_Color(), AEQUIV::Do_Dataflow(), IPAA::Do_Simple_IPAA(), Doacross_Cost(), Doacross_Finish(), DRA_Finalize(), DRA_Processing(), Du_Sanity_Check(), Du_Sanity_Check_Matching_Du(), dV_view_fb_cfg(), dV_view_fb_opt_cfg(), CG_LOOP::EBO_After_Unrolling(), CG_LOOP::EBO_Before_Unrolling(), EBO_Finalize(), EBO_Finish(), EBO_Post_Process_Region(), Eliminate_Dead_SCF(), AEQUIV::Equivalence_Arrays(), Estimate_Callee_Saves(), REGISTER_MODEL::Evaluate(), F90_Lower_Term(), ARRAY_SUMMARY::Finalize(), GRA_PARA_REGION_MGR::Finalize(), LRANGE_SUB_MGR::Finalize(), Finalize_Access_Vals(), Finalize_Compute_BB_Frequencies(), Finalize_Memory(), Finalize_Priority_Queue(), SCC_DIRECTED_GRAPH16::Find_Scc(), SUMMARIZE< IPL >::Finish_collect_struct_access(), finish_idx_ops(), Fiss_Gather_Inner_Loop(), Fiss_Gather_Loop(), Fission(), Fission_DU_Update(), Fission_Finish(), Fission_Inner_Loop(), Fission_Statement(), Fission_Test(), Fix_Interference(), Fix_LRA_Blues(), Fiz_Fuse(), Fiz_Fuse_Phase(), Force_If_Convert(), Fusion_Du_Update(), Fusion_Finish(), Fusion_Loop_Stmt_Update(), Gather_Scatter_Scalar_Expand(), GCM_Schedule_Region(), get_can_be_reordered_types(), Get_Doacross_Tile_Size(), SCC_DIRECTED_GRAPH16::Get_Level(), GRA_LIVE_Compute_Local_Info(), GRA_LIVE_Finalize_Memory(), GRA_LIVE_Init_BB_End(), GRA_LIVE_Region_Compute_Global_Live_Info(), GRA_LIVE_Rename_TNs(), CG_BROWSER::Graph(), GTN_TN_SET_Print(), GTN_UNIVERSE_Pu_End(), Guard_Dos(), Has_Reuse(), HB_Block_Select(), HB_Identify_General_Candidates(), HB_Identify_Hammock_Candidates(), HB_If_Convert(), HB_Remove_Deleted_Blocks(), Hoist_Inner_Invar(), Hoist_Outer_Invar(), HoistIf_Phase(), If_While_Region_Fiz_Fuse(), SCHED_ANNOT::Init(), Inliner(), Inliner_Read_PUs(), Inner_Fission(), Insert_Spills_Of_Globals(), Instrument_Mem_Sim(), Inter_Iteration_Cses_Loop(), Intra_PU_Global_Cprop(), IP_WRITE_pu_internal(), IPA_Preopt_Finalize(), IPA_Preoptimize(), IPL_Build_Access_Vectors(), IPL_Finalize_Par_Code(), Ipl_Processing(), IPO_Finish_reorder(), IPO_Process_node(), IPO_propagate_globals(), IPO_reorder_Fld_Tab(), ir_all(), ir_b2a_process_PUs(), IR_reader_finish(), ir_sel(), Is_Consistent_Condition(), Is_Region(), Is_Vectorizable_Loop(), WOVP::Is_write_once(), Iters(), Lego_Fix_Local_Rec(), Lego_PU_Fini(), SCC_DIRECTED_GRAPH16::Level_Sort(), LNO_Build_Access(), LINEX::LNO_Simplify(), Lnoptimizer(), Loop_Amenable_For_SWP(), Loop_Stmt_Update(), LRANGE_Split(), LWN_Process_FF_Pragmas_Walk_r(), main(), Make_Fine_Grained_Interferences(), Mark_Code(), Mark_Dos(), Max_Dep_Distance(), MEM_POOL_Delete(), MEM_POOL_Report(), MemCtr_Add(), MIR_Test_Outer_Loops(), MIR_Test_SNL(), LOOP_MODEL::Model(), Move_Adjacent(), Move_Alloca(), MP_Fix_Dependence_Graph(), Need_To_Split(), Num_Iters(), Olimit_Region_Insertion(), One_Cache_Model(), Optimize_Copy_Usage(), Optimize_Placement(), Outer_Loop_Fusion_Phase(), Pad_Multi_Dim(), Padding_Analysis(), Parallelize_Doacross_Loop(), WB_BROWSER::Parent(), Path_Resources_Available(), Perform_Global_Schedule(), Perform_Interprocedural_Analysis(), Perform_Loop_Invariant_Code_Motion(), Perform_Loop_Optimizations(), Perform_Read_Write_Removal(), Perform_SWP(), Perform_Transformation(), Post_loop_peeling(), Postprocess_PU(), PQSCG_term(), Pre_loop_peeling(), Preorder_annotate_PU_and_kids(), DISTRIBUTION::Process_Memory(), OPTIONS_STACK::Process_Pragma_Options(), SUMMARIZE< program >::Process_procedure(), process_pu(), PROJECTED_KERNEL::Project(), KERNEL_IMAGE::Project(), Prompf_Finish(), output_queue::push(), Read_Distr_Pragmas(), Region_Compare(), REGION_Finalize(), Region_Intersect(), Region_Union(), REGION_UN::RegionUN_Projection(), Register_Name_To_Statement(), IP_ALIAS_CLASSIFICATION::Release_resources(), remove_prolog_or_epilog_bbs(), Rename_TNs_For_BB(), Replace_Size16_Instr(), CG_BROWSER::Root(), Scalar_Dependence_Prevent_Fusion(), Scalar_Expand(), Scalar_Expandable(), Scalar_Expansion_Not_Necessary(), Scalar_Variable_Renaming(), Scan_Complement_BB_For_Referenced_TNs(), Separate_And_Update(), DO_LOOP_INFO::Set_Est_Num_Iterations(), REGION::Set_Region(), shackle_if_finalize(), SHACKLE_Phase(), Simd(), Simd_Phase(), SL1_patch(), SNL_GEN_U_Ctiling(), SNL_NEST_INFO::SNL_NEST_INFO(), SNL_Peel_Iteration(), SNL_Transform(), Sort_Equivalence_Class(), Split_BB(), Split_Individual_Common(), Stride_Region(), SWP_Bundle(), toplogical_reordering(), Trace_Callgraph(), IPA_CPROP_DF_FLOW::Trans(), Transform_Expression(), Transpose_For_MP(), LOOP_MODEL::Try_Inner(), LOOP_MODEL::Try_Unroll(), IPA_NODE::Un_Read_PU(), LOOP_MODEL::Unique_Unstored_Fp_Scalar_Refs(), LOOP_MODEL::Unique_Unstored_Int_Scalar_Refs(), Unroll_Dowhile_Loop(), unroll_multi_bb(), REDUCTION_MANAGER::Unroll_Update(), Unrolled_DU_Update(), Update_GRA_Live_Sets(), verify_flow_graph(), Vintrinsic_Fission(), Vintrinsic_Fission_Phase(), W2C_Fini(), W2C_Pop_PU(), W2F_Fini(), W2F_Pop_PU(), WB_ancestors(), WB_DAV_draw_deps_ref(), WB_parent(), WFE_Assemble_Asm(), WFE_File_Finish(), WFE_Start_Function(), WGEN_Assemble_Asm(), WGEN_File_Finish(), WGEN_Start_Function(), WN_Annotate(), WN_Instrument(), WN_Mem_Pop(), Write_inline_pu(), Write_PU_Info(), ALIAS_MANAGER::~ALIAS_MANAGER(), CG_THR::~CG_THR(), DAG_MEM::~DAG_MEM(), DIRECTED_GRAPH16< TEDGE, TVERTEX >::~DIRECTED_GRAPH16(), FB_CFG_MEM::~FB_CFG_MEM(), GLOBAL_CYCLES_FINDER_MEM::~GLOBAL_CYCLES_FINDER_MEM(), HB_Schedule::~HB_Schedule(), IF_CONV_MEM::~IF_CONV_MEM(), INTERVAL_PROCESSOR_MEM::~INTERVAL_PROCESSOR_MEM(), LabelOpt::~LabelOpt(), OUTPUT_FUNC_START_PROFILER_MEM::~OUTPUT_FUNC_START_PROFILER_MEM(), PRDB_MEM::~PRDB_MEM(), PROFILE_MEM::~PROFILE_MEM(), REGION_LOOP_UPDATE_MEM::~REGION_LOOP_UPDATE_MEM(), REGION_TREE_MEM::~REGION_TREE_MEM(), REGIONAL_CFG_MEM::~REGIONAL_CFG_MEM(), SCC_DIRECTED_GRAPH16::~SCC_DIRECTED_GRAPH16(), SCC_FINDER_MEM::~SCC_FINDER_MEM(), SCHED_MEM::~SCHED_MEM(), SCHED_UTIL_MEM_POOL::~SCHED_UTIL_MEM_POOL(), TN_INFO_MEM::~TN_INFO_MEM(), TOPOLOGICAL_REGIONAL_CFG_ITER_MEM::~TOPOLOGICAL_REGIONAL_CFG_ITER_MEM(), WN_Verifier::~WN_Verifier(), and WOVP::~WOVP().

#define MEM_POOL_Pop_Unfreeze ( pool   )     MEM_POOL_Pop_Unfreeze_P(pool,0,NULL)

#define MEM_POOL_Push ( pool   )     MEM_POOL_Push_P(pool,0,NULL)

Definition at line 643 of file mempool.h.

Referenced by _xanalyze_stmt_for_conds(), _xdependence_is_preserved(), Add_Invariant_Deps(), Add_MEM_Arcs(), ACCESS_VECTOR::Add_Sum(), ALIAS_MANAGER::ALIAS_MANAGER(), Alloc_Regs_For_BB(), WB_BROWSER::Ancestors(), Anl_Init(), Anl_Static_Analysis(), Auto_Parallelization(), BB_REGION_Calculate_Dominators(), BB_REGION_Recompute_Global_Live_Info(), BB_SET_Calculate_Dominators(), BE_symtab_initialize_be_scopes(), Build_Complement_Interference_Graph(), Build_Statement_Dependence_Graph(), Cache_Location_Analysis(), Calculate_Component_Max_Costs_And_Min_Recurrence_II(), Calculate_Dominators(), CG_BROWSER::Callees(), CG_BROWSER::Callers(), Can_Be_Tail_Call(), CFLOW_Optimize(), CG_Init_Gcov(), CG_LOOP_Calculate_Max_Costs_And_Min_II(), CG_LOOP_Calculate_Min_Resource_II(), CG_LOOP_Make_Strongly_Connected_Components(), CG_PU_Initialize(), CG_Region_Initialize(), CG_SCHED_EST_BB_Cycles(), CG_SCHED_EST_Region_Cycles(), CG_THR::CG_THR(), CGGRP_Init(), CGTARG_Interference_Initialize(), Check_Doacross_Sync_Coverage(), Check_QuadWord_Boundary_Absolute(), Check_TN_BB_LIST_MAPs_Allocated(), Clone_update_st(), Cloned_Gain(), COND_BOUNDS_INFO::Collect_Do_Info(), SNL_BOUNDS_INFO::Collect_If_Info(), COND_BOUNDS_INFO::Collect_If_Info(), PROJECTED_REGION::Compare(), DEPV_COMPUTE::Compute(), Compute_Sync_Distances(), COND_Do_Info(), COND_If_Info(), ARRAY_REF_LIST::Conflict_Refs(), Constant_Propogate(), Convert_x87_Regs(), Copy_Array(), Copy_Array_Section(), Copy_BB_For_Tail_Duplication(), Copy_Non_MP_Tree(), INTERFERE_MGR::Create_Begin(), IPA_CALL_GRAPH::Create_Clone(), Create_DEPV_ARRAY(), GRA_BB::Create_Global_Interferences(), create_idx_ops(), Create_Initialize_Loop(), Create_LUNITs(), Create_Unique_Defs_For_TNs(), Create_Vector_Load_Stores(), Cross_Loop_Cache_Analysis(), cshift_left(), DAG_MEM::DAG_MEM(), DB_Rename_Cond_TN_Init(), CG_LOOP::Determine_SWP_Unroll_Factor(), DIRECTED_GRAPH16< EDGE_TYPE, VERTEX_TYPE >::DIRECTED_GRAPH16(), DISTRIBUTION::DISTRIBUTION(), AEQUIV::Do_Color(), AEQUIV::Do_Dataflow(), IPAA::Do_Simple_IPAA(), Doacross_Cost(), Doacross_Init(), DRA_Clone_Initialize(), DRA_Processing(), Du_Sanity_Check(), Du_Sanity_Check_Matching_Du(), dV_view_fb_cfg(), dV_view_fb_opt_cfg(), CG_LOOP::EBO_After_Unrolling(), CG_LOOP::EBO_Before_Unrolling(), EBO_Init(), EBO_Post_Process_Region(), EBO_Start(), Eliminate_Dead_SCF(), AEQUIV::Equivalence_Arrays(), Estimate_Callee_Saves(), REGISTER_MODEL::Evaluate(), F90_Lower_Init(), FB_CFG_MEM::FB_CFG_MEM(), SCC_DIRECTED_GRAPH16::Find_Scc(), Fiss_Gather_Inner_Loop(), Fiss_Gather_Loop(), Fission(), Fission_DU_Update(), Fission_Init(), Fission_Inner_Loop(), Fission_Statement(), Fission_Test(), Fix_Interference(), Fix_LRA_Blues(), Fiz_Fuse(), Fiz_Fuse_Phase(), Force_If_Convert(), Fusion_Du_Update(), Fusion_Init(), Fusion_Loop_Stmt_Update(), Gather_Scatter_Scalar_Expand(), GCM_Schedule_Region(), Gen_Spill_Symbol(), get_can_be_reordered_types(), Get_Doacross_Tile_Size(), SCC_DIRECTED_GRAPH16::Get_Level(), GLOBAL_CYCLES_FINDER_MEM::GLOBAL_CYCLES_FINDER_MEM(), GRA_GRANT_Finalize(), GRA_GRANT_Initialize(), GRA_LIVE_Compute_Local_Info(), GRA_LIVE_Init_BB_Start(), GRA_LIVE_Initialize_Memory(), GRA_LIVE_Region_Start(), GRA_LIVE_Rename_TNs(), CG_BROWSER::Graph(), GTN_TN_SET_Print(), GTN_UNIVERSE_Pu_Begin(), Guard_Dos(), Has_Reuse(), HB_Block_Select(), HB_Identify_General_Candidates(), HB_Identify_Hammock_Candidates(), HB_If_Convert(), HB_Remove_Deleted_Blocks(), HB_Schedule::HB_Schedule(), Hoist_Inner_Invar(), Hoist_Outer_Invar(), HoistIf_Phase(), IF_CONV_MEM::IF_CONV_MEM(), If_While_Region_Fiz_Fuse(), BB_REGION_SET::Init(), SCHED_ANNOT::Init(), ARRAY_SUMMARY::Init(), init_idx_ops(), DIPA_Phase_Manager::Init_Memory(), Init_merge_access(), GRA_PARA_REGION_MGR::Initialize(), LRANGE_SUB_MGR::Initialize(), Initialize_Access_Vals(), Initialize_Compute_BB_Frequencies(), Initialize_Memory(), Initialize_Priority_Queue(), Inliner(), Inliner_Read_PUs(), Inner_Fission(), Insert_Spills_Of_Globals(), Instrument_Mem_Sim(), Inter_Iteration_Cses_Loop(), INTERVAL_PROCESSOR_MEM::INTERVAL_PROCESSOR_MEM(), Intra_PU_Global_Cprop(), Invoke_Init_Routines(), IP_ALIAS_CLASSIFICATION::IP_ALIAS_CLASSIFICATION(), IP_FILE_HDR::IP_FILE_HDR(), IP_WRITE_pu_internal(), IPA_preopt_initialize(), IPA_Preoptimize(), IPL_Build_Access_Vectors(), IPL_Initialize_Par_Code(), Ipl_Processing(), IPO_Process_node(), IPO_propagate_globals(), IPO_reorder_Fld_Tab(), ir_all(), ir_b2a_process_PUs(), IR_reader_init(), ir_sel(), Is_Consistent_Condition(), Is_Region(), Is_Vectorizable_Loop(), WOVP::Is_write_once(), Iters(), LabelOpt::LabelOpt(), Lego_Fix_Local_Rec(), Lego_PU_Init(), SCC_DIRECTED_GRAPH16::Level_Sort(), LNO_Build_Access(), LINEX::LNO_Simplify(), Lnoptimizer(), Loop_Amenable_For_SWP(), Loop_Stmt_Update(), LRANGE_Split(), LWN_Process_FF_Pragmas_Walk_r(), main(), Make_Fine_Grained_Interferences(), Mark_Code(), Mark_Dos(), Max_Dep_Distance(), MEM_Initialize(), MEM_POOL_Initialize_P(), MEM_POOL_Report(), MemCtr_Add(), MIR_Test_Outer_Loops(), MIR_Test_SNL(), LOOP_MODEL::Model(), Move_Adjacent(), Move_Alloca(), MP_Fix_Dependence_Graph(), Need_To_Split(), Num_Iters(), Olimit_Region_Insertion(), One_Cache_Model(), Optimize_Copy_Usage(), Optimize_Placement(), Outer_Loop_Fusion_Phase(), OUTPUT_FUNC_START_PROFILER_MEM::OUTPUT_FUNC_START_PROFILER_MEM(), Pad_Multi_Dim(), Padding_Analysis(), Parallelize_Doacross_Loop(), WB_BROWSER::Parent(), Path_Resources_Available(), PDGCS_initialize(), Perform_Global_Schedule(), Perform_Interprocedural_Analysis(), Perform_Loop_Invariant_Code_Motion(), Perform_Loop_Optimizations(), Perform_Read_Write_Removal(), Perform_SWP(), Perform_Transformation(), Post_loop_peeling(), PQS_Init_Memory(), PQSCG_init(), PRDB_MEM::PRDB_MEM(), Pre_loop_peeling(), Preorder_annotate_PU_and_kids(), Preprocess_PU(), Preprocess_struct_access(), Process_Local_File(), DISTRIBUTION::Process_Memory(), Process_Nonlocal_File(), OPTIONS_STACK::Process_Pragma_Options(), SUMMARIZE< program >::Process_procedure(), process_pu(), PROFILE_MEM::PROFILE_MEM(), PROJECTED_KERNEL::Project(), KERNEL_IMAGE::Project(), Prompf_Init(), output_queue::push(), IPA_CALL_GRAPH::Quasi_To_Real_Clone(), Read_Distr_Pragmas(), IPA_NODE::Read_PU(), Read_PU(), Region_Compare(), REGION_init(), REGION_Initialize(), Region_Intersect(), REGION_LOOP_UPDATE_MEM::REGION_LOOP_UPDATE_MEM(), REGION_TREE_MEM::REGION_TREE_MEM(), Region_Union(), REGIONAL_CFG_MEM::REGIONAL_CFG_MEM(), REGION_UN::RegionUN_Projection(), Register_Name_To_Statement(), remove_prolog_or_epilog_bbs(), Replace_Size16_Instr(), CG_BROWSER::Root(), Scalar_Dependence_Prevent_Fusion(), Scalar_Expand(), Scalar_Expandable(), Scalar_Expansion_Not_Necessary(), Scalar_Variable_Renaming(), Scan_Complement_BB_For_Referenced_TNs(), SCC_DIRECTED_GRAPH16::SCC_DIRECTED_GRAPH16(), SCC_FINDER_MEM::SCC_FINDER_MEM(), SCHED_MEM::SCHED_MEM(), SCHED_UTIL_MEM_POOL::SCHED_UTIL_MEM_POOL(), Separate_And_Update(), DO_LOOP_INFO::Set_Est_Num_Iterations(), REGION::Set_Region(), sgi_cmd_line(), shackle_if_init(), SHACKLE_Phase(), Simd(), Simd_Phase(), SL1_patch(), SNL_GEN_U_Ctiling(), SNL_NEST_INFO::SNL_NEST_INFO(), SNL_Peel_Iteration(), SNL_Transform(), Sort_Equivalence_Class(), Split_BB(), Split_Individual_Common(), Stride_Region(), SWP_Bundle(), TN_INFO_MEM::TN_INFO_MEM(), toplogical_reordering(), TOPOLOGICAL_REGIONAL_CFG_ITER_MEM::TOPOLOGICAL_REGIONAL_CFG_ITER_MEM(), Trace_Callgraph(), IPA_CPROP_DF_FLOW::Trans(), Transform_Expression(), Transpose_For_MP(), LOOP_MODEL::Try_Inner(), LOOP_MODEL::Try_Unroll(), LOOP_MODEL::Unique_Unstored_Fp_Scalar_Refs(), LOOP_MODEL::Unique_Unstored_Int_Scalar_Refs(), Unroll_Dowhile_Loop(), unroll_multi_bb(), REDUCTION_MANAGER::Unroll_Update(), Unrolled_DU_Update(), Update_GRA_Live_Sets(), verify_flow_graph(), Vintrinsic_Fission(), Vintrinsic_Fission_Phase(), W2C_Init(), W2C_Push_PU(), W2F_Init(), W2F_Push_PU(), WB_ancestors(), WB_DAV_draw_deps_ref(), WB_parent(), WFE_Assemble_Asm(), WFE_File_Init(), WFE_Start_Function(), WGEN_Assemble_Asm(), WGEN_File_Init(), WGEN_Start_Function(), WN_Annotate(), WN_Create(), WN_Instrument(), WN_Mem_Push(), WN_Verifier::WN_Verifier(), WOVP::WOVP(), and Write_PU_Info().

#define MEM_POOL_Push_Freeze ( pool   )     MEM_POOL_Push_Freeze_P(pool,0,NULL)

#define MEM_POOL_Realloc ( pool,
o,
os,
ns   )     MEM_POOL_Realloc_P((pool),(o),(os),(ns),0,NULL)

#define MEM_POOL_Zeroed ( pool   )     ((pool)->bz)

#define MEM_STAT_ARGS ( line,
file   )     ,INT32 line, const char *file

Definition at line 513 of file mempool.h.

#define P_Alloc (  )     MEM_POOL_Alloc(MEM_phase_pool_ptr,(x))

Definition at line 677 of file mempool.h.

#define Pu_Alloc (  )     MEM_POOL_Alloc(MEM_pu_pool_ptr,(x))

#define Src_Alloc (  )     MEM_POOL_Alloc(MEM_src_pool_ptr,(x))

#define TYPE_ALLOCA ( type   )     ((type *)alloca(sizeof(type)))

Definition at line 443 of file mempool.h.

Referenced by Fix_LRA_Blues().

#define TYPE_ALLOCA_N ( type,
n   )     ((type *)alloca(sizeof(type) * (n)))

#define TYPE_L_ALLOC ( type   )     ((type*)L_Alloc(sizeof(type)))

Definition at line 681 of file mempool.h.

Referenced by AddToDUMPDEP(), GCM_Schedule_Region(), and LOOP_DESCR_Detect_Loops().

#define TYPE_L_ALLOC_N ( type,
n   )     ((type*)L_Alloc(sizeof(type)*(n)))

#define TYPE_MEM_POOL_ALLOC ( type,
pool   )     ((type *) MEM_POOL_Alloc(pool,sizeof(type)))

Definition at line 659 of file mempool.h.

Referenced by _OP_MAP_Create(), _X_PUSH_(), Add_Scheduling_Note(), Add_Scheduling_Notes_For_Loops(), ANNOT_Add(), BB_OP_MAP_Create_Kind(), GRA_PREF_MGR::CAND_Create(), CG_LOOP_Backpatch_Add(), CGRIN_Create(), COMMENT_Add(), GRA_PREF_MGR::Create(), GRA_LOOP_MGR::Create(), GBB_MGR::Create(), LRANGE_SUB_MGR::Create(), GRA_PARA_REGION_MGR::Create(), GRA_REGION_MGR::Create(), create_arc(), Create_LR_For_TN(), Create_MicroTask(), Create_OP_stinfo(), Create_Vector_Load_Stores(), cwh_pdgcs_pu_mem(), DEP_Lex_Pos_Decompose(), DST_create(), F90_Lower_New_Aux_Data(), GCM_For_Loop(), GCM_Schedule_Region(), KEY_SCH::Gen_PKE(), Get_Local_TN_For_Global(), get_new_tninfo(), GRA_LIVE_Initialize_Memory(), Handle_All_Hazards(), hash_entry_create(), hash_table_create(), HB_PATH_Alloc(), hTN_MAP32_Create(), hTN_MAP32_Get_And_Set(), hTN_MAP32_Set(), hTN_MAP64_Create(), hTN_MAP64_Get_And_Set(), hTN_MAP64_Set(), hTN_MAP_Create(), hTN_MAP_Get_And_Set(), hTN_MAP_Set(), Init_OPSCH_For_BB(), Initialize_Freq_Edges(), Insert_Predicates(), IPA_Start_Function(), ListVar_RefCount(), GRA_PREF_MGR::LIVE_Create(), KEY_SCH::Loop_Preconditioning(), LUNIT_Create(), MEM_POOL_Push_P(), New_DST(), new_op_info(), NOTE_Add_To_BB(), note_not_unrolled(), note_remainder_head(), OPS_Create(), REGION_add_points_to(), REGION_add_wn_points_to(), RID_Create(), Schedule_BB_For_GCM(), Site_Account_Push(), SPILL_LIST_Create_Gbb(), SPILL_LIST_Create_Lunit(), TI_BUNDLE_Create(), TI_RES_COUNT_Alloc(), TI_RES_RES_Alloc(), TN_BB_LIST_MAP_Create(), TN_CORRESPOND_Set(), Update_Local_Liveness_Info(), VECTOR_Init(), WFE_Assemble_Asm(), WFE_Start_Function(), WGEN_Assemble_Asm(), WGEN_Start_Function(), and WN_MAP_TAB_Create().

#define TYPE_MEM_POOL_ALLOC_N ( type,
pool,
n   )     ((type *) MEM_POOL_Alloc(pool,sizeof(type) * (n)))

Definition at line 662 of file mempool.h.

Referenced by RGN_CFLOW_MGR::_acquire_reach_prob_info(), RGN_CFLOW_MGR::_setup_map_array(), _X_PROP_CREATE_(), add_alloca_correspondence(), mempool_allocator< bb * >::allocate(), bs_Malloc(), Calculate_Dominators(), CG_Instrument_Arcs(), CG_LOOP_Make_Strongly_Connected_Components(), CGRIN_Create(), CGTARG_Interference_Initialize(), OUTPUT_FUNC_START_PROFILER::Construct_Func_Name(), Convert_WHIRL_To_OPs(), COST_VEC_Add_Cost(), COST_VEC_Initialize(), LRANGE_SUB_MGR::Create(), INTERFERE_MGR::Create_Begin(), create_idx_ops(), DB_Rename_Cond_TN_Init(), DEPV_Copy(), DEPV_Create(), DEPV_CreateEqual(), DEPV_CreateStar(), DST_create(), DST_new_block(), EXEC_PATH_SET::EXEC_PATH_SET(), F90_Lower_New_Aux_Data(), LMV_HEURISTIC::Figureout_assumed_noalias_mem_ranges(), Generate_Copy_TNs(), GRA_GRANT_Initialize(), GRA_LIVE_Region_Compute_Global_Live_Info(), GTN_UNIVERSE_Add_TN(), hash_table_create(), Init_Fat_Point_Calculation(), Init_OPSCH_For_BB(), GRA_PARA_REGION_MGR::Initialize(), GRA_REGION_MGR::Initialize(), Initialize_Depth_First_Info(), Initialize_Freq_Edges(), initialize_region_stack(), Initialize_Wired_LRANGEs(), IPA_Node_Name(), LI_OP_INFO_MGR::LI_OP_INFO_MGR(), Make_Fine_Grained_Interferences(), MEM_POOL_Report(), WN_INSTRUMENT_WALKER::Merge_Icall_Feedback(), CAND_MGR::New_Empty_Bookeeping(), CAND_MGR::New_Unresolved_Dep(), note_not_unrolled(), EXEC_PATH_SET::operator=(), Parse_inline_script(), Parse_script(), Perform_Loop_Nest_Optimization(), Projected_Region_To_Memory(), PRQ_Initialize(), REGION_add_preg_out(), REGION_fix_up_exits(), EXEC_PATH_SET::Resize(), RID_copy_sets(), Save_Cur_PU_Name(), SWP_OP_vector::SWP_OP_vector(), TI_RES_COUNT_Alloc(), TI_RES_RES_Set_BB_Cycle_Count(), TN_BB_LIST_MAP_Add(), KEY_SCH::tn_renaming(), unroll_multi_bb(), unroll_names_init_tn(), VECTOR_Init(), VHO_Lower_Switch(), VHO_Switch_Generate_Compgoto(), and WN_MAP_Add_Free_List().

#define TYPE_MEM_POOL_REALLOC_N ( type,
pool,
old_block,
old_n,
new_n   ) 

#define TYPE_P_ALLOC ( type   )     ((type*)P_Alloc(sizeof(type)))

#define TYPE_P_ALLOC_N ( type,
n   )     ((type*)P_Alloc(sizeof(type)*(n)))

Definition at line 684 of file mempool.h.

Referenced by BB_MAP_create_kind(), and REGION_MAP_create_kind().

#define TYPE_PU_ALLOC ( type   )     ((type*)Pu_Alloc(sizeof(type)))

#define TYPE_PU_ALLOC_N ( type,
n   )     ((type*)Pu_Alloc(sizeof(type)*(n)))

#define TYPE_SRC_ALLOC ( type   )     ((type*)Src_Alloc(sizeof(type)))

#define TYPE_SRC_ALLOC_N ( type,
n   )     ((type*)Src_Alloc(sizeof(type)*(n)))

Definition at line 688 of file mempool.h.

Referenced by Emit_Interface_Scn(), and Interface_Scn_End_File().


Typedef Documentation

Definition at line 456 of file mempool.h.

Definition at line 476 of file mempool.h.

Definition at line 460 of file mempool.h.

Definition at line 468 of file mempool.h.

Definition at line 464 of file mempool.h.


Function Documentation

void MEM_Initialize ( void   ) 

Definition at line 2064 of file memory.c.

MEM_PTR MEM_POOL_Alloc_P ( MEM_POOL mempool,
size_t  size 
)

Definition at line 1143 of file memory.c.

void MEM_POOL_Delete ( MEM_POOL pool  ) 

Definition at line 1818 of file memory.c.

void MEM_POOL_FREE ( MEM_POOL pool,
void data 
)

Definition at line 1726 of file memory.c.

void MEM_POOL_Initialize_P ( MEM_POOL pool,
const char *  name,
BOOL  bz 
)

void MEM_POOL_Pop_P ( MEM_POOL pool  ) 

Definition at line 1559 of file memory.c.

void MEM_POOL_Pop_Unfreeze_P ( MEM_POOL pool  ) 

Definition at line 1705 of file memory.c.

void MEM_POOL_Push_Freeze_P ( MEM_POOL pool  ) 

Definition at line 1529 of file memory.c.

void MEM_POOL_Push_P ( MEM_POOL pool  ) 

Definition at line 1421 of file memory.c.

MEM_PTR MEM_POOL_Realloc_P ( MEM_POOL mempool,
MEM_PTR  old_block,
size_t  old_size,
size_t  new_size 
)

Definition at line 1216 of file memory.c.

void MEM_POOL_Set_Default ( MEM_POOL pool  ) 

Definition at line 1721 of file memory.c.

void MEM_Trace ( void   ) 

Definition at line 901 of file memory.c.

void MEM_Tracing_Enable ( void   ) 

Definition at line 971 of file memory.c.

MEM_PTR Re_Calloc ( MEM_PTR  ptr,
INT32  new_nelem,
INT32  elsize,
INT32  old_nelem 
)

Definition at line 2208 of file memory.c.

MEM_PTR Realloc_Clear ( MEM_PTR  ptr,
INT32  new_size,
INT32  old_size 
)

Definition at line 2158 of file memory.c.

void Trace_Memory_Allocation ( INT  phase,
const char *  pname 
)

Definition at line 949 of file memory.c.


Variable Documentation

Definition at line 140 of file memory.c.

Definition at line 145 of file memory.c.

Definition at line 126 of file memory.c.

Definition at line 131 of file memory.c.

Definition at line 143 of file memory.c.

Definition at line 148 of file memory.c.

Definition at line 129 of file memory.c.

Definition at line 134 of file memory.c.

Definition at line 142 of file memory.c.

Definition at line 147 of file memory.c.

Definition at line 128 of file memory.c.

Definition at line 133 of file memory.c.

Definition at line 141 of file memory.c.

Definition at line 146 of file memory.c.

Definition at line 127 of file memory.c.

Definition at line 132 of file memory.c.


Generated on Wed Apr 8 14:43:20 2009 for Open64 by  doxygen 1.5.6