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


14.3 Loop manipulation

The loops tree can be manipulated using the following functions:

Most low-level CFG functions update loops automatically. The following functions handle some more complicated cases of CFG manipulations:

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: