Lines Matching refs:loops
208 flow_loops_free (struct loops *loops) in flow_loops_free() argument
210 if (loops->larray) in flow_loops_free()
216 FOR_EACH_VEC_SAFE_ELT (loops->larray, i, loop) in flow_loops_free()
224 vec_free (loops->larray); in flow_loops_free()
366 struct loops *loops, unsigned num_loops) in init_loops_structure() argument
370 memset (loops, 0, sizeof *loops); in init_loops_structure()
371 vec_alloc (loops->larray, num_loops); in init_loops_structure()
381 loops->larray->quick_push (root); in init_loops_structure()
382 loops->tree_root = root; in init_loops_structure()
422 struct loops *
423 flow_loops_find (struct loops *loops) in flow_loops_find() argument
425 bool from_scratch = (loops == NULL); in flow_loops_find()
433 if (!loops) in flow_loops_find()
435 loops = ggc_cleared_alloc<struct loops> (); in flow_loops_find()
436 init_loops_structure (cfun, loops, 1); in flow_loops_find()
440 gcc_assert (loops->exits == NULL); in flow_loops_find()
445 return loops; in flow_loops_find()
448 loops->tree_root->num_nodes = n_basic_blocks_for_fn (cfun); in flow_loops_find()
457 auto_vec<loop_p> larray (loops->larray->length ()); in flow_loops_find()
481 loop->num = loops->larray->length (); in flow_loops_find()
482 vec_safe_push (loops->larray, loop); in flow_loops_find()
497 header->loop_father = loops->tree_root; in flow_loops_find()
533 return loops; in flow_loops_find()