[LLVMdev] Make LoopBase inherit from "RegionBase"?
jan_sjodin at yahoo.com
Thu Jan 21 13:42:26 CST 2010
>> Imo, a loop is simply a special kind of region, so a "filter" is perhaps the way to
>> go if you are interested in loops. Regions containing loops will have to be inspected
>> using the PST.
> Except loops that have multiple exits. they are not necessarily (single
> entry single exit) region, if the exists do not jump to the same exit bb.
Yes, my assumption was to classify structured loops, but that does not exclude unstructured
regions that contain unstructured loops.
More information about the LLVMdev