LOOPID

Purpose

The LOOPID directive allows you to assign a unique identifier to loop within a scoping unit. You can use the identifier to direct loop transformations. The –qreport compiler option can use the identifier you create to provide reports on loop transformations.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-LOOPID--(--name--)------------------------------------------><

name
is an identifier that must be unique within the scoping unit.

Rules

The LOOPID directive must immediately precede a BLOCK_LOOP directive or DO construct.

You must not specify a LOOPID directive more than once for a given loop.

You must not specify a LOOPID directive for DO constructs without control statements, DO WHILE constructs, Fortran 2008 beginsDO CONCURRENT constructsFortran 2008 ends, or an infinite DO.

Related information



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us