#include <opt_vn_expr_taxonomy.h>


Public Member Functions | |
| void | free () |
| KIND | get_kind () const |
| UINT32 | get_num_opnds () const |
| BOOL | has_top_opnd () const |
| BOOL | has_bottom_opnd () const |
| VN_VALNUM | get_opnd (UINT i=0) const |
| OPCODE | get_opc () const |
| void | set_opnd (UINT32 i, VN_VALNUM vn) |
| PTR | simplify (VN *v) |
| size_t | hash () |
| BOOL | is_equal_to (CONST_PTR expr) const |
| void | print (FILE *fp=stderr) const |
Static Public Member Functions | |
| static void | Init_Free_List () |
| static void | Reclaim_Free_List () |
| static VN_UNARY_EXPR * | Create (OPCODE opc, const VN_VALNUM &vn) |
Private Member Functions | |
| VN_UNARY_EXPR (OPCODE opc, const VN_VALNUM &vn) | |
Private Attributes | |
| OPCODE | _opc |
| VN_VALNUM | _vn |
Static Private Attributes | |
| static FREE_STACK * | _Free = NULL |
Definition at line 289 of file opt_vn_expr_taxonomy.h.
| static void VN_UNARY_EXPR::Init_Free_List | ( | ) | [inline, static] |
Definition at line 303 of file opt_vn_expr_taxonomy.h.
References _Free, VN_EXPR::_Mpool, and CXX_NEW.
Referenced by VN_EXPR::Init_Free_Lists().
| static void VN_UNARY_EXPR::Reclaim_Free_List | ( | ) | [inline, static] |
Definition at line 304 of file opt_vn_expr_taxonomy.h.
References _Free, VN_EXPR::_Mpool, CXX_DELETE, and NULL.
Referenced by VN_EXPR::Reclaim_Free_Lists().
| VN_UNARY_EXPR * VN_UNARY_EXPR::Create | ( | OPCODE | opc, | |
| const VN_VALNUM & | vn | |||
| ) | [static] |
Definition at line 662 of file opt_vn_expr.cxx.
References _Free, VN_EXPR::_Mpool, _opc, _vn, CXX_NEW, Is_True, NULL, OPCODE_nkids(), FREE_STACK::pop(), and VN_UNARY_EXPR().
Referenced by VN_EXPR::Create_Unary().
| void VN_UNARY_EXPR::free | ( | ) | [inline, virtual] |
Implements VN_EXPR.
Definition at line 308 of file opt_vn_expr_taxonomy.h.
References _Free, and FREE_STACK::push().
Referenced by simplify().
| KIND VN_UNARY_EXPR::get_kind | ( | ) | const [inline, virtual] |
Implements VN_EXPR.
Definition at line 313 of file opt_vn_expr_taxonomy.h.
References VN_EXPR::UNARY.
| UINT32 VN_UNARY_EXPR::get_num_opnds | ( | ) | const [inline, virtual] |
Implements VN_EXPR.
Definition at line 318 of file opt_vn_expr_taxonomy.h.
Referenced by get_opnd(), and set_opnd().
| BOOL VN_UNARY_EXPR::has_top_opnd | ( | ) | const [inline, virtual] |
Implements VN_EXPR.
Definition at line 323 of file opt_vn_expr_taxonomy.h.
References _vn, and VN_VALNUM::is_top().
Referenced by hash(), and simplify().
| BOOL VN_UNARY_EXPR::has_bottom_opnd | ( | ) | const [inline, virtual] |
Implements VN_EXPR.
Definition at line 328 of file opt_vn_expr_taxonomy.h.
References _vn, and VN_VALNUM::is_bottom().
Referenced by hash(), and simplify().
Reimplemented from VN_EXPR.
Definition at line 333 of file opt_vn_expr_taxonomy.h.
References _vn, get_num_opnds(), i, and Is_True.
| OPCODE VN_UNARY_EXPR::get_opc | ( | ) | const [inline, virtual] |
Reimplemented from VN_EXPR.
Definition at line 344 of file opt_vn_expr_taxonomy.h.
References _vn, get_num_opnds(), and Is_True.
| VN_EXPR::PTR VN_UNARY_EXPR::simplify | ( | VN * | v | ) | [virtual] |
Implements VN_EXPR.
Definition at line 680 of file opt_vn_expr.cxx.
References _opc, _vn, VN_EXPR::BINARY, VN_VALNUM::Bottom(), VN_EXPR::Create_Binary(), Create_Folded_Literal(), VN_EXPR::Create_Unary(), free(), VN_EXPR::get_opc(), VN_EXPR::get_opnd(), has_bottom_opnd(), has_top_opnd(), Is_Literal_Expr(), Is_Rty_Opr(), Is_True, MTYPE_bit_size, MTYPE_is_integral, NULL, OPC_VPARM, OPCODE_desc(), OPCODE_make_op(), OPCODE_operator(), OPCODE_rtype(), opnd, OPR_CVT, OPR_NEG, OPR_PARM, OPR_SUB, s, Split_64_Bit_Int_Ops, Unify_Rty(), and VN::valnum_expr().
| size_t VN_UNARY_EXPR::hash | ( | ) | [inline, virtual] |
Implements VN_EXPR.
Definition at line 352 of file opt_vn_expr_taxonomy.h.
References _opc, _vn, has_bottom_opnd(), has_top_opnd(), Is_True, OPCODE_operator(), OPR_PARM, and VN_VALNUM::ordinal().
Implements VN_EXPR.
Definition at line 360 of file opt_vn_expr_taxonomy.h.
References _opc, _vn, VN_EXPR::get_kind(), VN_EXPR::get_opc(), VN_EXPR::get_opnd(), NULL, and VN_EXPR::UNARY.
Implements VN_EXPR.
Definition at line 368 of file opt_vn_expr_taxonomy.h.
References _opc, _vn, fp, fprintf(), fputs(), OPCODE_name(), and VN_VALNUM::print().
FREE_STACK * VN_UNARY_EXPR::_Free = NULL [static, private] |
Definition at line 293 of file opt_vn_expr_taxonomy.h.
Referenced by Create(), free(), Init_Free_List(), and Reclaim_Free_List().
OPCODE VN_UNARY_EXPR::_opc [private] |
Definition at line 295 of file opt_vn_expr_taxonomy.h.
Referenced by Create(), get_opc(), hash(), is_equal_to(), print(), and simplify().
VN_VALNUM VN_UNARY_EXPR::_vn [private] |
Definition at line 296 of file opt_vn_expr_taxonomy.h.
Referenced by Create(), get_opnd(), has_bottom_opnd(), has_top_opnd(), hash(), is_equal_to(), print(), set_opnd(), and simplify().
1.5.6