#include <opt_vn_expr_taxonomy.h>

Public Member Functions | |
| FREE_STACK (MEM_POOL *mpool=Malloc_Mem_Pool) | |
| ~FREE_STACK () | |
| void | push (VN_EXPR::PTR expr) |
| VN_EXPR::PTR | pop () |
Private Types | |
| typedef SEGMENTED_ARRAY < VN_EXPR::PTR, VN_BUFFER_CHUNKSIZE > | ARRAY_OF_EXPR |
Private Attributes | |
| ARRAY_OF_EXPR | _stack |
| INT32 | _top |
| MEM_POOL * | _mpool |
Definition at line 151 of file opt_vn_expr_taxonomy.h.
typedef SEGMENTED_ARRAY<VN_EXPR::PTR, VN_BUFFER_CHUNKSIZE> FREE_STACK::ARRAY_OF_EXPR [private] |
Definition at line 155 of file opt_vn_expr_taxonomy.h.
| FREE_STACK::FREE_STACK | ( | MEM_POOL * | mpool = Malloc_Mem_Pool |
) | [inline] |
Definition at line 163 of file opt_vn_expr_taxonomy.h.
| FREE_STACK::~FREE_STACK | ( | ) | [inline] |
Definition at line 166 of file opt_vn_expr_taxonomy.h.
References _mpool, _stack, _top, CXX_DELETE, SEGMENTED_ARRAY< T, block_size >::Delete_last(), i, INT32, and SEGMENTED_ARRAY< T, block_size >::Size().
| void FREE_STACK::push | ( | VN_EXPR::PTR | expr | ) | [inline] |
Definition at line 178 of file opt_vn_expr_taxonomy.h.
References _stack, _top, SEGMENTED_ARRAY< T, block_size >::New_entry(), SEGMENTED_ARRAY< T, block_size >::Size(), and UINT.
Referenced by VN_INTR_OP_EXPR::free(), VN_UNARY_EXPR::free(), VN_MEMLOC_EXPR::free(), VN_PHI_EXPR::free(), VN_LITERAL_EXPR::free(), VN_TERNARY_EXPR::free(), VN_ARRAY_ADDR_EXPR::free(), VN_BINARY_EXPR::free(), and VN_LDA_ADDR_EXPR::free().
| VN_EXPR::PTR FREE_STACK::pop | ( | ) | [inline] |
Definition at line 188 of file opt_vn_expr_taxonomy.h.
References _stack, _top, and NULL.
Referenced by VN_LITERAL_EXPR::Create(), VN_ARRAY_ADDR_EXPR::Create(), VN_LDA_ADDR_EXPR::Create(), VN_INTR_OP_EXPR::Create(), VN_BINARY_EXPR::Create(), VN_MEMLOC_EXPR::Create(), VN_PHI_EXPR::Create(), VN_TERNARY_EXPR::Create(), and VN_UNARY_EXPR::Create().
ARRAY_OF_EXPR FREE_STACK::_stack [private] |
Definition at line 157 of file opt_vn_expr_taxonomy.h.
Referenced by pop(), push(), and ~FREE_STACK().
INT32 FREE_STACK::_top [private] |
Definition at line 158 of file opt_vn_expr_taxonomy.h.
Referenced by pop(), push(), and ~FREE_STACK().
MEM_POOL* FREE_STACK::_mpool [private] |
1.5.6