next up previous
Next: while Up: Using C-Breeze Previous: Acknowledgments.

Loop Peeling: An Example Changer

This appendix shows how to use a Changer to perform loop peeling. This example provides a good illustration of how the AST can be manipulated.

Loop peeling is a transformation that moves the first iteration of a loop outside the loop. Peeling a loop may expose the code to other code-improving transformations. See Muchnick, p.374, p.684 for more information.



 

Calvin Lin
2002-01-31