This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [lno] Some functions for the loop structure


Hello,

> +/* Determines whether loop A is contained in loop B.  
> +   
> +   FIXME: Maybe it would be better to record this information as a bit
> +   matrix in the loops structure.  */

use flow_loop_nested_p (it works in constant time, so there is no need
for a bitmap).

> +bool
> +loop_is_included_in (unsigned a, 
> +		     unsigned b)

Zdenek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]