#include "defs.h"#include "errors.h"#include "mempool.h"#include "bb.h"#include "bb_map.h"

Go to the source code of this file.
Defines | |
| #define | BB_EXPANSION_FACTOR 2 |
| #define | BB_MAP_next(map) ((map)->values.ptr[0]) |
Functions/Subroutines | |
| void | BB_MAP_Init (void) |
| void | BB_MAP_Delete (BB_MAP map) |
| UINT16 | sizeof_kind (_BB_MAP_KIND kind) |
| BB_MAP | BB_MAP_create_kind (_BB_MAP_KIND kind) |
| void | BB_MAP_grow (BB_MAP map, BB *bb) |
Variables | |
| static BB_MAP | free_maps |
| #define BB_EXPANSION_FACTOR 2 |
| #define BB_MAP_next | ( | map | ) | ((map)->values.ptr[0]) |
| BB_MAP BB_MAP_create_kind | ( | _BB_MAP_KIND | kind | ) |
Definition at line 115 of file bb_map.cxx.
References _BB_MAP_I32, _BB_MAP_I64, _BB_MAP_PTR, BB_EXPANSION_FACTOR, BB_MAP_idx_max, BB_MAP_next, BZERO, bb_map::deleted, DevWarn, FALSE, FmtAssert, bb_map::gen, bb_map::i32, bb_map::i64, bb_map::kind, bb_map::length, length, mINT32, mINT64, mUINT32, NULL, prev, bb_map::ptr, result, sizeof_kind(), TYPE_P_ALLOC, TYPE_P_ALLOC_N, UINT32, bb_map::value_gens, and bb_map::values.
Definition at line 84 of file bb_map.cxx.
References BB_MAP_next, bb_map::deleted, DevAssert, and TRUE.
Referenced by BB_Reaches_Call_or_Exit(), CFLOW_Optimize(), CG_DEP_Delete_Graph(), CG_PU_Finalize(), CG_SCHED_EST_Delete(), CG_SCHED_EST_Region_Cycles(), Convert_x87_Regs(), DB_Rename_Cond_TN_Finish(), Delete_BB_Node_Map(), GBB_MGR::Finalize(), Finalize_Depth_First_Info(), Force_If_Convert(), FREQ_Find_Never_BBs(), GCM_Schedule_Region(), GRA_GRANT_Finalize(), HB_Form_Hyperblocks(), HB_If_Convert(), HB_Tail_Duplicate(), IF_CONVERTOR::If_Conversion_Init(), Insert_Predicates(), LOOP_DESCR_Detect_Loops(), Order_And_Classify_Blocks(), Patch_Hot_Cold_Jumps(), Remove_Branches(), Select_Blocks(), sort_topologically(), TAG_Finish(), unroll_multi_bb(), BB_PREDICATE_INFO::~BB_PREDICATE_INFO(), CG_THR::~CG_THR(), CNTL_DEP::~CNTL_DEP(), HB_Schedule::~HB_Schedule(), IF_CONV_AREA::~IF_CONV_AREA(), and PARTITION_GRAPH::~PARTITION_GRAPH().
Definition at line 167 of file bb_map.cxx.
References _BB_MAP_I32, _BB_MAP_I64, _BB_MAP_PTR, BB_EXPANSION_FACTOR, BB_map_idx, BB_MAP_idx_max, DevWarn, FALSE, FmtAssert, bb_map::i32, bb_map::i64, INT32, INT64, bb_map::kind, bb_map::length, MEM_phase_pool, mUINT32, bb_map::ptr, TYPE_MEM_POOL_REALLOC_N, bb_map::value_gens, and bb_map::values.
Referenced by BB_MAP32_Set(), BB_MAP64_Set(), and BB_MAP_Set().
| UINT16 sizeof_kind | ( | _BB_MAP_KIND | kind | ) | [inline] |
Definition at line 94 of file bb_map.cxx.
References _BB_MAP_I32, _BB_MAP_I64, _BB_MAP_PTR, FALSE, FmtAssert, mINT32, and mINT64.
Referenced by BB_MAP_create_kind(), and REGION_MAP_create_kind().
Definition at line 72 of file bb_map.cxx.
1.5.6