Home | History | Annotate | Download | only in gcc

Lines Matching defs:nit

2925   widest_int nit;
2938 || max_loop_iterations (loop, &nit))
4380 gcov_type nit = expected_loop_iterations_unbounded (loop);
4381 bound = gcov_type_to_wide_int (nit);
4447 /* Sets NIT to the estimated number of executions of the latch of the
4448 LOOP. If CONSERVATIVE is true, we must be sure that NIT is at least as
4453 estimated_loop_iterations (class loop *loop, widest_int *nit)
4460 return (get_estimated_loop_iterations (loop, nit));
4470 widest_int nit;
4473 if (!estimated_loop_iterations (loop, &nit))
4476 if (!wi::fits_shwi_p (nit))
4478 hwi_nit = nit.to_shwi ();
4484 /* Sets NIT to an upper bound for the maximum number of executions of the
4489 max_loop_iterations (class loop *loop, widest_int *nit)
4496 return get_max_loop_iterations (loop, nit);
4506 widest_int nit;
4509 if (!max_loop_iterations (loop, &nit))
4512 if (!wi::fits_shwi_p (nit))
4514 hwi_nit = nit.to_shwi ();
4519 /* Sets NIT to an likely upper bound for the maximum number of executions of the
4524 likely_max_loop_iterations (class loop *loop, widest_int *nit)
4531 return get_likely_max_loop_iterations (loop, nit);
4541 widest_int nit;
4544 if (!likely_max_loop_iterations (loop, &nit))
4547 if (!wi::fits_shwi_p (nit))
4549 hwi_nit = nit.to_shwi ();
4561 HOST_WIDE_INT nit = estimated_loop_iterations_int (loop);
4564 if (nit == -1)
4567 snit = (HOST_WIDE_INT) ((unsigned HOST_WIDE_INT) nit + 1);
4573 /* Sets NIT to the maximum number of executions of the latch of the
4578 max_stmt_executions (class loop *loop, widest_int *nit)
4582 if (!max_loop_iterations (loop, nit))
4585 nit_minus_one = *nit;
4587 *nit += 1;
4589 return wi::gtu_p (*nit, nit_minus_one);
4592 /* Sets NIT to the estimated maximum number of executions of the latch of the
4597 likely_max_stmt_executions (class loop *loop, widest_int *nit)
4601 if (!likely_max_loop_iterations (loop, nit))
4604 nit_minus_one = *nit;
4606 *nit += 1;
4608 return wi::gtu_p (*nit, nit_minus_one);
4611 /* Sets NIT to the estimated number of executions of the latch of the
4616 estimated_stmt_executions (class loop *loop, widest_int *nit)
4620 if (!estimated_loop_iterations (loop, nit))
4623 nit_minus_one = *nit;
4625 *nit += 1;
4627 return wi::gtu_p (*nit, nit_minus_one);