Next: , Previous: Loop querying, Up: Loop Analysis and Representation


11.3 Loop manipulation

The loops tree can be manipulated using the following functions:

The specialized versions of several low-level CFG functions that also update loop structures are provided:

Finally, there are some higher-level loop transformations implemented. While some of them are written so that they should work on non-innermost loops, they are mostly untested in that case, and at the moment, they are only reliable for the innermost loops: