Lines Matching refs:iloop
296 loop_cand::can_interchange_p (loop_cand *iloop) in can_interchange_p() argument
303 if ((iloop == NULL && m_loop->inner != NULL) in can_interchange_p()
304 || (iloop != NULL && iloop->m_loop->inner != NULL)) in can_interchange_p()
342 if (iloop != NULL in can_interchange_p()
348 if (!iloop || !gimple_vuse (stmt)) in can_interchange_p()
353 if (iloop->find_reduction_by_stmt (stmt)) in can_interchange_p()
363 && single_use_in_loop (lhs, iloop->m_loop)) in can_interchange_p()
374 if (!iloop || bb == m_loop->header in can_interchange_p()
375 || bb == iloop->m_exit->dest) in can_interchange_p()
599 loop_cand::analyze_oloop_reduction_var (loop_cand *iloop, tree var) in analyze_oloop_reduction_var() argument
620 for (unsigned i = 0; iloop->m_reductions.iterate (i, &inner_re); ++i) in analyze_oloop_reduction_var()
728 loop_cand::analyze_carried_vars (loop_cand *iloop) in analyze_carried_vars() argument
751 if (iloop && !analyze_oloop_reduction_var (iloop, var)) in analyze_carried_vars()
753 if (!iloop && !analyze_iloop_reduction_var (var)) in analyze_carried_vars()
1061 tree_loop_interchange::interchange_loops (loop_cand &iloop, loop_cand &oloop) in interchange_loops() argument
1068 for (unsigned i = 0; iloop.m_reductions.iterate (i, &re); ++i) in interchange_loops()
1074 iloop.undo_simple_reduction (re, m_dce_seeds); in interchange_loops()
1089 i_niters = number_of_latch_executions (iloop.m_loop); in interchange_loops()
1090 i_niters = analyze_scalar_evolution (loop_outer (iloop.m_loop), i_niters); in interchange_loops()
1091 i_niters = instantiate_scev (instantiate_below, loop_outer (iloop.m_loop), in interchange_loops()
1107 move_code_to_inner_loop (oloop.m_loop, iloop.m_loop, oloop.m_bbs); in interchange_loops()
1110 map_inductions_to_loop (oloop, iloop); in interchange_loops()
1111 map_inductions_to_loop (iloop, oloop); in interchange_loops()
1120 create_canonical_iv (iloop.m_loop, iloop.m_exit, in interchange_loops()
1125 iloop.m_loop->any_upper_bound = false; in interchange_loops()
1126 iloop.m_loop->any_likely_upper_bound = false; in interchange_loops()
1127 free_numbers_of_iterations_estimates (iloop.m_loop); in interchange_loops()
1607 loop_cand iloop (m_loop_nest[i_idx], m_loop_nest[o_idx]); in interchange() local
1611 if (!iloop.analyze_carried_vars (NULL) in interchange()
1612 || !iloop.analyze_lcssa_phis () in interchange()
1613 || !oloop.analyze_carried_vars (&iloop) in interchange()
1615 || !iloop.can_interchange_p (NULL) in interchange()
1616 || !oloop.can_interchange_p (&iloop)) in interchange()
1630 stmt_cost += iloop.m_const_init_reduc * 2; in interchange()
1636 (unsigned) iloop.m_num_stmts, in interchange()
1638 iloop.m_loop->inner == NULL)) in interchange()
1643 oloop.m_loop->num, iloop.m_loop->num); in interchange()
1646 interchange_loops (iloop, oloop); in interchange()
1656 oloop.m_loop->num, iloop.m_loop->num); in interchange()