#pragma loop_id


Marks a block with a scope-unique identifier.


Read syntax diagramSkip visual syntax diagram>>-#--pragma--loopid--(--name--)-------------------------------><

where name is an identifier that is unique within the scoping unit.


The #pragma loopid directive must immediately precede a #pragma block_loop directive or for loop. The specified name can be used by #pragma block_loop to control transformations on that loop. It can also be used to provide information on loop transformations through the use of the -qreport compiler option.

You must not specify #pragma loopid more than once for a given loop.

Related information