957 // always holds true. That is, either increase the number of iterations in |
957 // always holds true. That is, either increase the number of iterations in |
958 // the pre-loop or the post-loop until the condition holds true in the main |
958 // the pre-loop or the post-loop until the condition holds true in the main |
959 // loop. Scale_con, offset and limit are all loop invariant. |
959 // loop. Scale_con, offset and limit are all loop invariant. |
960 void add_constraint( int stride_con, int scale_con, Node *offset, Node *low_limit, Node *upper_limit, Node *pre_ctrl, Node **pre_limit, Node **main_limit ); |
960 void add_constraint( int stride_con, int scale_con, Node *offset, Node *low_limit, Node *upper_limit, Node *pre_ctrl, Node **pre_limit, Node **main_limit ); |
961 // Helper function for add_constraint(). |
961 // Helper function for add_constraint(). |
962 Node* adjust_limit( int stride_con, Node * scale, Node *offset, Node *rc_limit, Node *loop_limit, Node *pre_ctrl ); |
962 Node* adjust_limit(int stride_con, Node * scale, Node *offset, Node *rc_limit, Node *loop_limit, Node *pre_ctrl, bool round_up); |
963 |
963 |
964 // Partially peel loop up through last_peel node. |
964 // Partially peel loop up through last_peel node. |
965 bool partial_peel( IdealLoopTree *loop, Node_List &old_new ); |
965 bool partial_peel( IdealLoopTree *loop, Node_List &old_new ); |
966 |
966 |
967 // Create a scheduled list of nodes control dependent on ctrl set. |
967 // Create a scheduled list of nodes control dependent on ctrl set. |