#pragma loop_id

Applies to C Applies to C++

Description

Marks a block with a scope-unique identifier.

Syntax


Syntax Diagram

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

Notes

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 References

General Purpose Pragmas
unroll
#pragma block_loop
#pragma unroll
#pragma unrollandfuse IBM Copyright 2003