Previous: Constant Definitions, Up: Machine Desc [Contents][Index]

### 17.23 Iterators

Ports often need to define similar patterns for more than one machine mode or for more than one rtx code. GCC provides some simple iterator facilities to make this process easier.

• Mode Iterators: |  | Generating variations of patterns for different modes.
• Code Iterators: |  | Doing the same for codes.
• Int Iterators: |  | Doing the same for integers.
• Subst Iterators: |  | Generating variations of patterns for define_subst.
• Parameterized Names: |  | Specifying iterator values in C++ code.