
Public Member Functions | |
| WN * | Loop_info (void) const |
| WN * | End (void) const |
| WN * | Trips (void) const |
| INT | Step_amt (void) const |
| INT | Node_count (void) const |
| INT | If_count (void) const |
| INT | Istore_count (void) const |
| WN_UNROLL (WN *doloop) | |
| ~WN_UNROLL (void) | |
| void | Analyze_body_expr (WN *tree) |
| void | Analyze_body_stmt (WN *tree) |
| WN * | Replicate_expr (WN *expr, INT rep_cnt) |
| WN * | Replicate_stmt (WN *stmt, INT rep_cnt) |
| void | Unroll (INT unroll_times) |
Private Attributes | |
| WN * | _orig_wn |
| WN * | _indx_var |
| WN * | _init_stmt |
| WN * | _start |
| WN * | _end_cond |
| WN * | _end |
| WN * | _trips |
| WN * | _incr_stmt |
| TYPE_ID | _rtype |
| WN * | _loop_body |
| WN * | _loop_info |
| INT | _map_id |
| INT | _step_amt |
| INT | _abs_step_amt |
| INT | _node_count |
| INT | _if_count |
| INT | _istore_count |
Definition at line 48 of file wn_unroll.cxx.
| WN_UNROLL::WN_UNROLL | ( | WN * | doloop | ) | [inline] |
Definition at line 82 of file wn_unroll.cxx.
References _abs_step_amt, _end, _end_cond, _incr_stmt, _indx_var, _init_stmt, _loop_info, _rtype, _start, _step_amt, _trips, NULL, OPR_ADD, OPR_GE, OPR_GT, OPR_INTCONST, OPR_LDID, OPR_LE, OPR_LT, OPR_MOD, tmp, WN_Add, WN_Binary(), WN_const_val(), WN_COPY_Tree_With_Map(), WN_Div, WN_EQ, WN_Intconst(), WN_kid(), WN_kid0(), WN_kid1(), WN_kid_count(), WN_offset(), WN_operator(), WN_rtype(), WN_Select, WN_set_operator(), WN_st_idx(), and WN_Sub.
| WN_UNROLL::~WN_UNROLL | ( | void | ) | [inline] |
Definition at line 169 of file wn_unroll.cxx.
Definition at line 78 of file wn_unroll.cxx.
References _node_count.
Referenced by WN_UNROLL_loop().
Definition at line 80 of file wn_unroll.cxx.
References _istore_count.
Referenced by WN_UNROLL_loop().
Definition at line 182 of file wn_unroll.cxx.
References _node_count, FALSE, i, INT, Is_True, OPERATOR_name(), OPR_ABS, OPR_ADD, OPR_ALLOCA, OPR_ASHR, OPR_BAND, OPR_BIOR, OPR_BNOR, OPR_BNOT, OPR_BXOR, OPR_CEIL, OPR_COMPLEX, OPR_COMPOSE_BITS, OPR_CONST, OPR_CVT, OPR_CVTL, OPR_DIV, OPR_DIVREM, OPR_EQ, OPR_EXTRACT_BITS, OPR_FLOOR, OPR_GE, OPR_GT, OPR_HIGHMPY, OPR_HIGHPART, OPR_ILDBITS, OPR_ILOAD, OPR_ILOADX, OPR_IMAGPART, OPR_INTCONST, OPR_INTRINSIC_OP, OPR_LAND, OPR_LDA, OPR_LDA_LABEL, OPR_LDBITS, OPR_LDID, OPR_LE, OPR_LIOR, OPR_LNOT, OPR_LOWPART, OPR_LSHR, OPR_LT, OPR_MAX, OPR_MAXPART, OPR_MIN, OPR_MINMAX, OPR_MINPART, OPR_MLOAD, OPR_MOD, OPR_MPY, OPR_NE, OPR_NEG, OPR_PAREN, OPR_PARM, OPR_REALPART, OPR_RECIP, OPR_REM, OPR_RND, OPR_RROTATE, OPR_RSQRT, OPR_SELECT, OPR_SHL, OPR_SQRT, OPR_SUB, OPR_TAS, OPR_TRUNC, WN_kid(), WN_kid0(), WN_kid1(), WN_kid2(), WN_kid_count(), and WN_operator().
Referenced by Analyze_body_stmt().
Definition at line 274 of file wn_unroll.cxx.
References _if_count, _istore_count, _node_count, Analyze_body_expr(), FALSE, Is_True, OPR_ASSERT, OPR_BLOCK, OPR_COMMENT, OPR_EVAL, OPR_IF, OPR_ISTBITS, OPR_ISTORE, OPR_ISTOREX, OPR_MSTORE, OPR_PRAGMA, OPR_PREFETCH, OPR_STBITS, OPR_STID, OPR_XPRAGMA, WN_first(), WN_kid(), WN_kid0(), WN_kid1(), WN_kid2(), WN_next(), and WN_operator().
Referenced by WN_UNROLL_loop().
Definition at line 336 of file wn_unroll.cxx.
References _indx_var, _rtype, FALSE, i, INT, Is_True, OPR_ABS, OPR_ADD, OPR_ALLOCA, OPR_ASHR, OPR_BAND, OPR_BIOR, OPR_BNOR, OPR_BNOT, OPR_BXOR, OPR_CEIL, OPR_COMPLEX, OPR_COMPOSE_BITS, OPR_CONST, OPR_CVT, OPR_CVTL, OPR_DIV, OPR_DIVREM, OPR_EQ, OPR_EXTRACT_BITS, OPR_FLOOR, OPR_GE, OPR_GT, OPR_HIGHMPY, OPR_HIGHPART, OPR_ILDBITS, OPR_ILOAD, OPR_IMAGPART, OPR_INTCONST, OPR_INTRINSIC_OP, OPR_LAND, OPR_LDA, OPR_LDA_LABEL, OPR_LDBITS, OPR_LDID, OPR_LE, OPR_LIOR, OPR_LNOT, OPR_LOWPART, OPR_LSHR, OPR_LT, OPR_MAX, OPR_MAXPART, OPR_MIN, OPR_MINMAX, OPR_MINPART, OPR_MLOAD, OPR_MOD, OPR_MPY, OPR_NE, OPR_NEG, OPR_PAREN, OPR_PARM, OPR_REALPART, OPR_RECIP, OPR_REM, OPR_RND, OPR_RROTATE, OPR_RSQRT, OPR_SELECT, OPR_SHL, OPR_SQRT, OPR_SUB, OPR_TAS, OPR_TRUNC, WN_Add, WN_COPY_All_Maps(), WN_CopyNode(), WN_Intconst(), WN_kid(), WN_kid0(), WN_kid1(), WN_kid2(), WN_kid_count(), WN_offset(), WN_operator(), WN_set_map_id(), and WN_st_idx().
Referenced by Replicate_stmt(), and Unroll().
Definition at line 440 of file wn_unroll.cxx.
References FALSE, Is_True, new_block, OPR_ASSERT, OPR_BLOCK, OPR_COMMENT, OPR_EVAL, OPR_IF, OPR_ISTBITS, OPR_ISTORE, OPR_MSTORE, OPR_PRAGMA, OPR_PREFETCH, OPR_STBITS, OPR_STID, OPR_XPRAGMA, Replicate_expr(), s, WN_COPY_All_Maps(), WN_CopyNode(), WN_CreateBlock, WN_first(), WN_INSERT_BlockLast, WN_kid0(), WN_kid1(), WN_kid2(), WN_next(), WN_operator(), and WN_set_map_id().
Referenced by Unroll().
Definition at line 519 of file wn_unroll.cxx.
References _abs_step_amt, _end_cond, _incr_stmt, _indx_var, _init_stmt, _loop_body, _loop_info, _orig_wn, _rtype, _start, _step_amt, _trips, BOOL, DevWarn, i, INT, loop_count, MTYPE_V, NULL, OPR_ADD, OPR_BLOCK, OPR_GT, OPR_INTCONST, OPR_LT, OPR_PREFETCH, OPR_SUB, Replicate_expr(), Replicate_stmt(), WN_Binary(), WN_const_val(), WN_COPY_All_Maps(), WN_COPY_Tree(), WN_COPY_Tree_With_Map(), WN_CopyNode(), WN_CreateBlock, WN_CreateDO, WN_CreateLoopInfo, WN_Div, WN_first(), WN_INSERT_BlockLast, WN_Intconst(), WN_kid0(), WN_kid1(), WN_last(), WN_loop_depth(), WN_loop_trip_est(), WN_Mpy, WN_next(), WN_operator(), WN_Relational(), WN_Reset_Loop_Nz_Trip, WN_set_desc(), WN_set_kid_count(), WN_set_map_id(), WN_set_operator(), and WN_set_rtype().
Referenced by WN_UNROLL_loop().
WN* WN_UNROLL::_orig_wn [private] |
WN* WN_UNROLL::_indx_var [private] |
Definition at line 51 of file wn_unroll.cxx.
Referenced by Replicate_expr(), Unroll(), and WN_UNROLL().
WN* WN_UNROLL::_init_stmt [private] |
WN* WN_UNROLL::_start [private] |
WN* WN_UNROLL::_end_cond [private] |
WN* WN_UNROLL::_end [private] |
WN* WN_UNROLL::_trips [private] |
WN* WN_UNROLL::_incr_stmt [private] |
TYPE_ID WN_UNROLL::_rtype [private] |
Definition at line 62 of file wn_unroll.cxx.
Referenced by Replicate_expr(), Unroll(), and WN_UNROLL().
WN* WN_UNROLL::_loop_body [private] |
WN* WN_UNROLL::_loop_info [private] |
INT WN_UNROLL::_map_id [private] |
Definition at line 65 of file wn_unroll.cxx.
INT WN_UNROLL::_step_amt [private] |
INT WN_UNROLL::_abs_step_amt [private] |
INT WN_UNROLL::_node_count [private] |
Definition at line 69 of file wn_unroll.cxx.
Referenced by Analyze_body_expr(), Analyze_body_stmt(), and Node_count().
INT WN_UNROLL::_if_count [private] |
INT WN_UNROLL::_istore_count [private] |
1.5.6