#include <opt_vn_expr.h>
Public Member Functions | |
| VN_VALNUM () | |
| VN_VALNUM (const VN_VALNUM &v) | |
| VN_VALNUM & | operator= (const VN_VALNUM &v) |
| BOOL | operator< (const VN_VALNUM &v) const |
| BOOL | operator> (const VN_VALNUM &v) const |
| BOOL | operator<= (const VN_VALNUM &v) const |
| BOOL | operator>= (const VN_VALNUM &v) const |
| BOOL | operator== (const VN_VALNUM &v) const |
| BOOL | operator!= (const VN_VALNUM &v) const |
| BOOL | is_bottom () const |
| BOOL | is_top () const |
| BOOL | equivalent_to (const VN_VALNUM &v) const |
| UINT32 | ordinal () const |
| void | print (FILE *fp=stderr) const |
| INT32 | sprint (char *buf) const |
Static Public Member Functions | |
| static VN_VALNUM | First () |
| static VN_VALNUM | Next (const VN_VALNUM prev) |
| static VN_VALNUM | Top () |
| static VN_VALNUM | Bottom () |
| static VN_VALNUM | Vn (UINT32 i) |
Private Member Functions | |
| VN_VALNUM (UINT32 v) | |
Static Private Member Functions | |
| static UINT32 | _top () |
| static UINT32 | _bottom () |
Private Attributes | |
| UINT32 | _num |
Definition at line 201 of file opt_vn_expr.h.
| VN_VALNUM::VN_VALNUM | ( | UINT32 | v | ) | [inline, private] |
Definition at line 207 of file opt_vn_expr.h.
| VN_VALNUM::VN_VALNUM | ( | ) | [inline] |
| VN_VALNUM::VN_VALNUM | ( | const VN_VALNUM & | v | ) | [inline] |
Definition at line 228 of file opt_vn_expr.h.
| static UINT32 VN_VALNUM::_top | ( | ) | [inline, static, private] |
| static UINT32 VN_VALNUM::_bottom | ( | ) | [inline, static, private] |
Definition at line 210 of file opt_vn_expr.h.
References U.
Referenced by Bottom(), and is_bottom().
Definition at line 214 of file opt_vn_expr.h.
References VN_VALNUM().
Referenced by VALNUM_FRE::_select_and_sort_valnums(), VN_EXPR_MAP::first(), VALNUM_FRE::move_rhs_occurs(), and VN::print().
Definition at line 216 of file opt_vn_expr.h.
References _num, and VN_VALNUM().
Referenced by VN::_init_integer_valnum_map(), VALNUM_FRE::_select_and_sort_valnums(), VN::_set_valnum(), VN::_valnum_integer(), VN::invent_unique_valnum(), VALNUM_FRE::move_rhs_occurs(), VN::print(), and VN::VN().
Definition at line 221 of file opt_vn_expr.h.
References _top(), and VN_VALNUM().
Referenced by VN::expr_valnum(), VN_MEMLOC_EXPR::has_top_opnd(), VN_ARRAY_ADDR_EXPR::has_top_opnd(), VN_PHI_EXPR::has_top_opnd(), VN_INTR_OP_EXPR::has_top_opnd(), and VN::Initial_Valnum().
| static VN_VALNUM VN_VALNUM::Bottom | ( | ) | [inline, static] |
Definition at line 223 of file opt_vn_expr.h.
References _bottom(), and VN_VALNUM().
Referenced by VN::_grow_exprid_maps(), VN::_print_exprid_to_vn(), VN::_valnum_chi_list(), VN::_valnum_expr(), VN::_valnum_memloc_load(), VN::_valnum_memloc_store(), VN::_valnum_phi_list(), VN::_valnum_stmt(), VN::_valnum_sym(), VALNUM_FRE::apply(), VN_ARRAY_ADDR_EXPR::Create(), VN_INTR_OP_EXPR::Create(), VN_PHI_EXPR::Create(), VN::expr_valnum(), VN_EXPR_MAP::first(), VN_EXPR::get_base_addr(), VN_EXPR::get_bytesize(), VN_EXPR::get_offset(), VN_EXPR::get_opnd(), VN_EXPR::get_vsym(), VN_INTR_OP_EXPR::has_bottom_opnd(), VN_MEMLOC_EXPR::has_bottom_opnd(), VN_PHI_EXPR::has_bottom_opnd(), VN_ARRAY_ADDR_EXPR::has_bottom_opnd(), VN::Initial_Valnum(), VN_EXPR_MAP::last(), VN_MEMLOC_EXPR::simplify(), VN_ARRAY_ADDR_EXPR::simplify(), VN_BINARY_EXPR::simplify(), VN_TERNARY_EXPR::simplify(), VN_UNARY_EXPR::simplify(), VN_PHI_EXPR::simplify(), VN_INTR_OP_EXPR::simplify(), VN_ARRAY_ADDR_EXPR::VN_ARRAY_ADDR_EXPR(), VN_INTR_OP_EXPR::VN_INTR_OP_EXPR(), and VN_PHI_EXPR::VN_PHI_EXPR().
Definition at line 225 of file opt_vn_expr.h.
References VN_VALNUM().
Referenced by VN::_get_literal_valnum(), VNFRE::add_valnum(), VN_EXPR_MAP::last(), and VN::last_valnum().
| VN_VALNUM& VN_VALNUM::operator= | ( | const VN_VALNUM & | v | ) | [inline] |
| BOOL VN_VALNUM::operator< | ( | const VN_VALNUM & | v | ) | const [inline] |
| BOOL VN_VALNUM::operator> | ( | const VN_VALNUM & | v | ) | const [inline] |
| BOOL VN_VALNUM::operator<= | ( | const VN_VALNUM & | v | ) | const [inline] |
| BOOL VN_VALNUM::operator>= | ( | const VN_VALNUM & | v | ) | const [inline] |
| BOOL VN_VALNUM::operator== | ( | const VN_VALNUM & | v | ) | const [inline] |
| BOOL VN_VALNUM::is_bottom | ( | ) | const [inline] |
Definition at line 238 of file opt_vn_expr.h.
References _bottom(), and _num.
Referenced by VALNUM_FRE::_ivc_classify(), VN::_set_stmt_map(), VN::_valnum_implicit_integral_cvt(), VN::_valnum_lhs(), VN::_valnum_memloc_load(), VALNUM_TO_EXPR_LIST::begin(), VN_IVC::classify(), VALNUM_TO_EXPR_LIST::end(), equivalent_to(), VALNUM_TO_EXPR_LIST::front(), VN_UNARY_EXPR::has_bottom_opnd(), VN_BINARY_EXPR::has_bottom_opnd(), VN_TERNARY_EXPR::has_bottom_opnd(), VALNUM_TO_EXPR_LIST::is_empty(), VN_IVC::Is_Induction_Var(), VN_EXPR_MAP::operator[](), VALNUM_FRE::reset_valnum(), VN_EXPR_MAP::set_map(), VALNUM_TO_EXPR_LIST::size(), sprint(), and VALNUM_TO_EXPR_LIST::VALNUM_TO_EXPR_LIST().
| BOOL VN_VALNUM::is_top | ( | ) | const [inline] |
Definition at line 239 of file opt_vn_expr.h.
Referenced by VN::_print_exprid_to_vn(), VN::_set_stmt_map(), VN::_valnum_expr(), VN::_valnum_implicit_integral_cvt(), VN::_valnum_lhs(), VALNUM_TO_EXPR_LIST::begin(), VALNUM_TO_EXPR_LIST::end(), equivalent_to(), VALNUM_TO_EXPR_LIST::front(), VN_BINARY_EXPR::has_top_opnd(), VN_UNARY_EXPR::has_top_opnd(), VN_TERNARY_EXPR::has_top_opnd(), VALNUM_TO_EXPR_LIST::is_empty(), VN_EXPR_MAP::operator[](), VALNUM_FRE::reset_valnum(), VN_EXPR_MAP::set_map(), VN_PHI_EXPR::simplify(), VALNUM_TO_EXPR_LIST::size(), sprint(), and VALNUM_TO_EXPR_LIST::VALNUM_TO_EXPR_LIST().
Definition at line 240 of file opt_vn_expr.h.
References _num, is_bottom(), and is_top().
Referenced by VN_PHI_EXPR::simplify().
| UINT32 VN_VALNUM::ordinal | ( | ) | const [inline] |
Definition at line 246 of file opt_vn_expr.h.
References _num.
Referenced by VALNUM_FRE::_append_real_occurrence(), VALNUM_FRE::_do_vnfre(), VALNUM_FRE::_expression_redundancy_elimination(), VN::_get_literal_valnum(), VALNUM_FRE::_grow_valnum_maps(), VALNUM_FRE::_insert_a_cr_occurrence(), VALNUM_FRE::_ivc_coalesce(), VALNUM_FRE::_ivc_substitute(), VALNUM_FRE::_select_and_sort_valnums(), VALNUM_FRE::_select_for_valnum_list(), VALNUM_FRE::_set_do_vnfre(), VN::_set_valnum(), VALNUM_FRE::_set_vn_maybe_removed(), VALNUM_FRE::_user_enabled(), VALNUM_FRE::_vn_maybe_removed(), VALNUM_FRE::_worklst(), VALNUM_FRE::apply(), VALNUM_TO_EXPR_LIST::begin(), VALNUM_FRE::compute_valnum(), VALNUM_TO_EXPR_LIST::end(), VALNUM_TO_EXPR_LIST::front(), VNFRE::get_valnum(), VN_PHI_EXPR::hash(), VN_MEMLOC_EXPR::hash(), VN_UNARY_EXPR::hash(), VN_TERNARY_EXPR::hash(), VN_BINARY_EXPR::hash(), VN_ARRAY_ADDR_EXPR::hash(), VN_INTR_OP_EXPR::hash(), VALNUM_TO_EXPR_LIST::is_empty(), VN::last_valnum(), VN_EXPR_MAP::operator[](), VN_IVC::print(), VN_EXPR_MAP::reset_exprs(), VN_EXPR_MAP::set_map(), VALNUM_TO_EXPR_LIST::size(), and VALNUM_TO_EXPR_LIST::VALNUM_TO_EXPR_LIST().
Definition at line 96 of file opt_vn_expr.cxx.
References buf, fputs(), and sprint().
Referenced by VN::_print_vn_to_exprid(), VN::_trace(), VN_INTR_OP_EXPR::print(), VN_TERNARY_EXPR::print(), VN_BINARY_EXPR::print(), VN_MEMLOC_EXPR::print(), VN_PHI_EXPR::print(), VN_ARRAY_ADDR_EXPR::print(), and VN_UNARY_EXPR::print().
| INT32 VN_VALNUM::sprint | ( | char * | buf | ) | const |
Definition at line 105 of file opt_vn_expr.cxx.
References _num, idx, INT32, is_bottom(), is_top(), and sprintf().
Referenced by VN::_print_exprid_to_vn(), VN::print(), and print().
UINT32 VN_VALNUM::_num [private] |
Definition at line 205 of file opt_vn_expr.h.
Referenced by equivalent_to(), is_bottom(), is_top(), Next(), operator!=(), operator<(), operator<=(), operator=(), operator==(), operator>(), operator>=(), ordinal(), and sprint().
1.5.6