GNU Compiler Collection (GCC) Internals: Loop Analysis and Representation

Next: Machine Desc, Previous: Control Flow, Up: Top [Contents][Index]

## 16 Analysis and Representation of Loops

GCC provides extensive infrastructure for work with natural loops, i.e., strongly connected components of CFG with only one entry block. This chapter describes representation of loops in GCC, both on GIMPLE and in RTL, as well as the interfaces to loop-related analyses (induction variable analysis and number of iterations analysis).