#include <opt_base.h>

Public Member Functions | |
| MAP (mUINT32 hash_size, MEM_POOL *pool) | |
| ~MAP (void) | |
| void | Alloc_hash_vec (void) |
| void | Free_hash_vec (void) |
| mUINT32 | Hash (POINTER k) |
| MAP_LIST * | Find_map_list (POINTER k) |
| void | Add_map (POINTER k, POINTER v) |
| POINTER | Get_val (POINTER k) |
Private Member Functions | |
| MAP (void) | |
| MAP (const MAP &) | |
| MAP & | operator= (const MAP &) |
Private Attributes | |
| MEM_POOL * | mem_pool |
| mUINT32 | size |
| MAP_LIST_P * | hash_vec |
Definition at line 120 of file opt_base.h.
| MAP::MAP | ( | void | ) | [private] |
| MAP::MAP | ( | const MAP & | ) | [private] |
| MAP::~MAP | ( | void | ) |
| MAP& MAP::operator= | ( | const MAP & | ) | [private] |
Definition at line 90 of file opt_base.cxx.
References BZERO, CXX_NEW_ARRAY, EC_No_Mem, ErrMsg(), hash_vec, NULL, and size.
Referenced by MAP().
Definition at line 98 of file opt_base.cxx.
References CXX_DELETE_ARRAY, and hash_vec.
Referenced by ~MAP().
Definition at line 125 of file opt_base.cxx.
References SLIST::Append(), CXX_NEW, FOR_ALL_NODE, Hash(), hash_vec, idx, Init, MAP_LIST::Key(), mUINT32, NULL, and tmp.
Definition at line 153 of file opt_base.cxx.
References Find_map_list(), FmtAssert, NULL, MAP_LIST::Set_val(), and MAP_LIST::Val().
Referenced by CFG::Append_label_map(), and LabelOpt::Set_Mark().
Definition at line 162 of file opt_base.cxx.
References Find_map_list(), and MAP_LIST::Val().
Referenced by CFG::Get_bb_from_label(), and LabelOpt::Get_Mark().
MEM_POOL* MAP::mem_pool [private] |
Definition at line 122 of file opt_base.h.
MAP_LIST_P* MAP::hash_vec [private] |
Definition at line 124 of file opt_base.h.
Referenced by Alloc_hash_vec(), Find_map_list(), and Free_hash_vec().
1.5.6