#pragma loopid

Category

Optimization and tuning

Purpose

Marks a block with a scope-unique identifier.

Syntax

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

Parameters

name
An identifier that is unique within the scoping unit.

Usage

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.

Examples

For examples of #pragma loopid usage, see #pragma block_loop.

Related information