int main() {
  int i, j;
#pragma acc parallel firstprivate(j) private(i)
  {
#pragma acc loop seq
    for (i = 0; i < 10; i++) {
    }
  }
#pragma acc parallel default(none)
  {
#pragma acc loop auto private(j)
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop gang
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop gang(static : 5)
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop gang(static : *)
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop vector
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop worker
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop auto
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop independent
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop seq
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop gang worker vector
    for (i = 0; i < 10; i++) {
    }
  }
#pragma acc kernels default(none)
  {
#pragma acc loop auto
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop gang(num : 5)
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop gang(static : 5)
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop gang(static : *)
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop vector(length : 10)
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop worker(num : 5)
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop auto
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop independent
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop seq
    for (i = 0; i < 10; i++) {
    }
#pragma acc loop gang worker vector
    for (i = 0; i < 10; i++) {
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    112f <main+0x2f>
jmp    1121 <main+0x21>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1112 <main+0x12>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1153 <main+0x53>
jmp    1145 <main+0x45>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1136 <main+0x36>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1177 <main+0x77>
jmp    1169 <main+0x69>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    115a <main+0x5a>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    119b <main+0x9b>
jmp    118d <main+0x8d>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    117e <main+0x7e>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    11bf <main+0xbf>
jmp    11b1 <main+0xb1>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11a2 <main+0xa2>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    11e3 <main+0xe3>
jmp    11d5 <main+0xd5>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11c6 <main+0xc6>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1207 <main+0x107>
jmp    11f9 <main+0xf9>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11ea <main+0xea>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    122b <main+0x12b>
jmp    121d <main+0x11d>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    120e <main+0x10e>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    124f <main+0x14f>
jmp    1241 <main+0x141>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1232 <main+0x132>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1273 <main+0x173>
jmp    1265 <main+0x165>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1256 <main+0x156>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1297 <main+0x197>
jmp    1289 <main+0x189>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    127a <main+0x17a>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    12bb <main+0x1bb>
jmp    12ad <main+0x1ad>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    129e <main+0x19e>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    12df <main+0x1df>
jmp    12d1 <main+0x1d1>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12c2 <main+0x1c2>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1303 <main+0x203>
jmp    12f5 <main+0x1f5>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12e6 <main+0x1e6>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1327 <main+0x227>
jmp    1319 <main+0x219>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    130a <main+0x20a>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    134b <main+0x24b>
jmp    133d <main+0x23d>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    132e <main+0x22e>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    136f <main+0x26f>
jmp    1361 <main+0x261>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1352 <main+0x252>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1393 <main+0x293>
jmp    1385 <main+0x285>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1376 <main+0x276>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    13b7 <main+0x2b7>
jmp    13a9 <main+0x2a9>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    139a <main+0x29a>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    13db <main+0x2db>
jmp    13cd <main+0x2cd>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    13be <main+0x2be>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    13ff <main+0x2ff>
jmp    13f1 <main+0x2f1>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    13e2 <main+0x2e2>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
xor    %eax,%eax
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %2
br label %4
4: ; preds = %8, %0
%5 = load i32, i32* %2
%6 = icmp slt i32 %5, 10
br i1 %6, label %7, label %11
7: ; preds = %4
br label %8
8: ; preds = %7
%9 = load i32, i32* %2
%10 = add nsw i32 %9, 1
store i32 %10, i32* %2
br label %4
11: ; preds = %4
store i32 0, i32* %2
br label %12
12: ; preds = %16, %11
%13 = load i32, i32* %2
%14 = icmp slt i32 %13, 10
br i1 %14, label %15, label %19
15: ; preds = %12
br label %16
16: ; preds = %15
%17 = load i32, i32* %2
%18 = add nsw i32 %17, 1
store i32 %18, i32* %2
br label %12
19: ; preds = %12
store i32 0, i32* %2
br label %20
20: ; preds = %24, %19
%21 = load i32, i32* %2
%22 = icmp slt i32 %21, 10
br i1 %22, label %23, label %27
23: ; preds = %20
br label %24
24: ; preds = %23
%25 = load i32, i32* %2
%26 = add nsw i32 %25, 1
store i32 %26, i32* %2
br label %20
27: ; preds = %20
store i32 0, i32* %2
br label %28
28: ; preds = %32, %27
%29 = load i32, i32* %2
%30 = icmp slt i32 %29, 10
br i1 %30, label %31, label %35
31: ; preds = %28
br label %32
32: ; preds = %31
%33 = load i32, i32* %2
%34 = add nsw i32 %33, 1
store i32 %34, i32* %2
br label %28
35: ; preds = %28
store i32 0, i32* %2
br label %36
36: ; preds = %40, %35
%37 = load i32, i32* %2
%38 = icmp slt i32 %37, 10
br i1 %38, label %39, label %43
39: ; preds = %36
br label %40
40: ; preds = %39
%41 = load i32, i32* %2
%42 = add nsw i32 %41, 1
store i32 %42, i32* %2
br label %36
43: ; preds = %36
store i32 0, i32* %2
br label %44
44: ; preds = %48, %43
%45 = load i32, i32* %2
%46 = icmp slt i32 %45, 10
br i1 %46, label %47, label %51
47: ; preds = %44
br label %48
48: ; preds = %47
%49 = load i32, i32* %2
%50 = add nsw i32 %49, 1
store i32 %50, i32* %2
br label %44
51: ; preds = %44
store i32 0, i32* %2
br label %52
52: ; preds = %56, %51
%53 = load i32, i32* %2
%54 = icmp slt i32 %53, 10
br i1 %54, label %55, label %59
55: ; preds = %52
br label %56
56: ; preds = %55
%57 = load i32, i32* %2
%58 = add nsw i32 %57, 1
store i32 %58, i32* %2
br label %52
59: ; preds = %52
store i32 0, i32* %2
br label %60
60: ; preds = %64, %59
%61 = load i32, i32* %2
%62 = icmp slt i32 %61, 10
br i1 %62, label %63, label %67
63: ; preds = %60
br label %64
64: ; preds = %63
%65 = load i32, i32* %2
%66 = add nsw i32 %65, 1
store i32 %66, i32* %2
br label %60
67: ; preds = %60
store i32 0, i32* %2
br label %68
68: ; preds = %72, %67
%69 = load i32, i32* %2
%70 = icmp slt i32 %69, 10
br i1 %70, label %71, label %75
71: ; preds = %68
br label %72
72: ; preds = %71
%73 = load i32, i32* %2
%74 = add nsw i32 %73, 1
store i32 %74, i32* %2
br label %68
75: ; preds = %68
store i32 0, i32* %2
br label %76
76: ; preds = %80, %75
%77 = load i32, i32* %2
%78 = icmp slt i32 %77, 10
br i1 %78, label %79, label %83
79: ; preds = %76
br label %80
80: ; preds = %79
%81 = load i32, i32* %2
%82 = add nsw i32 %81, 1
store i32 %82, i32* %2
br label %76
83: ; preds = %76
store i32 0, i32* %2
br label %84
84: ; preds = %88, %83
%85 = load i32, i32* %2
%86 = icmp slt i32 %85, 10
br i1 %86, label %87, label %91
87: ; preds = %84
br label %88
88: ; preds = %87
%89 = load i32, i32* %2
%90 = add nsw i32 %89, 1
store i32 %90, i32* %2
br label %84
91: ; preds = %84
store i32 0, i32* %2
br label %92
92: ; preds = %96, %91
%93 = load i32, i32* %2
%94 = icmp slt i32 %93, 10
br i1 %94, label %95, label %99
95: ; preds = %92
br label %96
96: ; preds = %95
%97 = load i32, i32* %2
%98 = add nsw i32 %97, 1
store i32 %98, i32* %2
br label %92
99: ; preds = %92
store i32 0, i32* %2
br label %100
100: ; preds = %104, %99
%101 = load i32, i32* %2
%102 = icmp slt i32 %101, 10
br i1 %102, label %103, label %107
103: ; preds = %100
br label %104
104: ; preds = %103
%105 = load i32, i32* %2
%106 = add nsw i32 %105, 1
store i32 %106, i32* %2
br label %100
107: ; preds = %100
store i32 0, i32* %2
br label %108
108: ; preds = %112, %107
%109 = load i32, i32* %2
%110 = icmp slt i32 %109, 10
br i1 %110, label %111, label %115
111: ; preds = %108
br label %112
112: ; preds = %111
%113 = load i32, i32* %2
%114 = add nsw i32 %113, 1
store i32 %114, i32* %2
br label %108
115: ; preds = %108
store i32 0, i32* %2
br label %116
116: ; preds = %120, %115
%117 = load i32, i32* %2
%118 = icmp slt i32 %117, 10
br i1 %118, label %119, label %123
119: ; preds = %116
br label %120
120: ; preds = %119
%121 = load i32, i32* %2
%122 = add nsw i32 %121, 1
store i32 %122, i32* %2
br label %116
123: ; preds = %116
store i32 0, i32* %2
br label %124
124: ; preds = %128, %123
%125 = load i32, i32* %2
%126 = icmp slt i32 %125, 10
br i1 %126, label %127, label %131
127: ; preds = %124
br label %128
128: ; preds = %127
%129 = load i32, i32* %2
%130 = add nsw i32 %129, 1
store i32 %130, i32* %2
br label %124
131: ; preds = %124
store i32 0, i32* %2
br label %132
132: ; preds = %136, %131
%133 = load i32, i32* %2
%134 = icmp slt i32 %133, 10
br i1 %134, label %135, label %139
135: ; preds = %132
br label %136
136: ; preds = %135
%137 = load i32, i32* %2
%138 = add nsw i32 %137, 1
store i32 %138, i32* %2
br label %132
139: ; preds = %132
store i32 0, i32* %2
br label %140
140: ; preds = %144, %139
%141 = load i32, i32* %2
%142 = icmp slt i32 %141, 10
br i1 %142, label %143, label %147
143: ; preds = %140
br label %144
144: ; preds = %143
%145 = load i32, i32* %2
%146 = add nsw i32 %145, 1
store i32 %146, i32* %2
br label %140
147: ; preds = %140
store i32 0, i32* %2
br label %148
148: ; preds = %152, %147
%149 = load i32, i32* %2
%150 = icmp slt i32 %149, 10
br i1 %150, label %151, label %155
151: ; preds = %148
br label %152
152: ; preds = %151
%153 = load i32, i32* %2
%154 = add nsw i32 %153, 1
store i32 %154, i32* %2
br label %148
155: ; preds = %148
store i32 0, i32* %2
br label %156
156: ; preds = %160, %155
%157 = load i32, i32* %2
%158 = icmp slt i32 %157, 10
br i1 %158, label %159, label %163
159: ; preds = %156
br label %160
160: ; preds = %159
%161 = load i32, i32* %2
%162 = add nsw i32 %161, 1
store i32 %162, i32* %2
br label %156
163: ; preds = %156
store i32 0, i32* %2
br label %164
164: ; preds = %168, %163
%165 = load i32, i32* %2
%166 = icmp slt i32 %165, 10
br i1 %166, label %167, label %171
167: ; preds = %164
br label %168
168: ; preds = %167
%169 = load i32, i32* %2
%170 = add nsw i32 %169, 1
store i32 %170, i32* %2
br label %164
171: ; preds = %164
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
ret i32 0
}