#include <opt_vn_expr.h>
Public Member Functions | |
| VN_EXPR_MAP (MEM_POOL *mpool) | |
| ~VN_EXPR_MAP () | |
| void | reset_exprs (VN_VALNUM from_vn, VN_VALNUM to_vn) |
| void | reset_all_exprs () |
| VN_VALNUM | first () const |
| VN_VALNUM | last () const |
| VN_EXPR::PTR | operator[] (const VN_VALNUM &v) const |
| void | set_map (const VN_VALNUM &v, VN_EXPR::PTR expr) |
Private Attributes | |
| SEGMENTED_ARRAY< VN_EXPR::PTR, VN_BUFFER_CHUNKSIZE > | _map |
Definition at line 428 of file opt_vn_expr.h.
| VN_EXPR_MAP::VN_EXPR_MAP | ( | MEM_POOL * | mpool | ) | [inline] |
Definition at line 436 of file opt_vn_expr.h.
| VN_EXPR_MAP::~VN_EXPR_MAP | ( | ) | [inline] |
Definition at line 450 of file opt_vn_expr.h.
References _map, i, INT32, max, NULL, and VN_VALNUM::ordinal().
Referenced by reset_all_exprs().
| void VN_EXPR_MAP::reset_all_exprs | ( | ) | [inline] |
Definition at line 466 of file opt_vn_expr.h.
References first(), last(), and reset_exprs().
Referenced by VN::~VN().
| VN_VALNUM VN_EXPR_MAP::first | ( | ) | const [inline] |
Definition at line 474 of file opt_vn_expr.h.
References _map, VN_VALNUM::Bottom(), and VN_VALNUM::First().
Referenced by reset_all_exprs().
| VN_VALNUM VN_EXPR_MAP::last | ( | ) | const [inline] |
Definition at line 482 of file opt_vn_expr.h.
References _map, VN_VALNUM::Bottom(), and VN_VALNUM::Vn().
Referenced by reset_all_exprs(), and VN::VN().
| VN_EXPR::PTR VN_EXPR_MAP::operator[] | ( | const VN_VALNUM & | v | ) | const [inline] |
Definition at line 491 of file opt_vn_expr.h.
References _map, i, VN_VALNUM::is_bottom(), VN_VALNUM::is_top(), NULL, VN_VALNUM::ordinal(), and UINT32.
| void VN_EXPR_MAP::set_map | ( | const VN_VALNUM & | v, | |
| VN_EXPR::PTR | expr | |||
| ) | [inline] |
Definition at line 506 of file opt_vn_expr.h.
References _map, FmtAssert, i, VN_VALNUM::is_bottom(), VN_VALNUM::is_top(), NULL, VN_VALNUM::ordinal(), sz(), and UINT32.
Referenced by VN::_init_integer_valnum_map(), VN::_valnum_integer(), VN::_valnum_vn_expr(), and VN::VN().
SEGMENTED_ARRAY<VN_EXPR::PTR, VN_BUFFER_CHUNKSIZE> VN_EXPR_MAP::_map [private] |
Definition at line 432 of file opt_vn_expr.h.
Referenced by first(), last(), operator[](), reset_exprs(), set_map(), and ~VN_EXPR_MAP().
1.5.6