#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double M_PI;
double pow(double, double);
void init_config_FCC(double phi, int nx, int ny, int nz, double *pos,
                     double *lx, double *ly, double *lz) {
  int j;
  int ix, iy, iz;
  (*lx) = (*ly) = (*lz) = pow(16.0 * M_PI / phi / 3.0, 1.0 / 3.0);
  j = 0;
  for (ix = 0; ix < nx; ix++) {
    for (iy = 0; iy < ny; iy++) {
      for (iz = 0; iz < nz; iz++) {
        pos[j * 3 + 0] = (double)ix * (*lx);
        pos[j * 3 + 1] = (double)iy * (*ly);
        pos[j * 3 + 2] = (double)iz * (*lz);
        j++;
        pos[j * 3 + 0] = ((double)ix + 0.0) * (*lx);
        pos[j * 3 + 1] = ((double)iy + 0.5) * (*ly);
        pos[j * 3 + 2] = ((double)iz + 0.5) * (*lz);
        j++;
        pos[j * 3 + 0] = ((double)ix + 0.5) * (*lx);
        pos[j * 3 + 1] = ((double)iy + 0.0) * (*ly);
        pos[j * 3 + 2] = ((double)iz + 0.5) * (*lz);
        j++;
        pos[j * 3 + 0] = ((double)ix + 0.5) * (*lx);
        pos[j * 3 + 1] = ((double)iy + 0.5) * (*ly);
        pos[j * 3 + 2] = ((double)iz + 0.0) * (*lz);
        j++;
      }
    }
  }
  (*lx) *= (double)nx;
  (*ly) *= (double)ny;
  (*lz) *= (double)nz;
}


x86 assembly (clang, -O0):
<init_config_FCC>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x10(%rbp),%rax
movsd  %xmm0,-0x8(%rbp)
mov    %edi,-0xc(%rbp)
mov    %esi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movsd  0xed2(%rip),%xmm0
mov    0x2ea3(%rip),%rax
mulsd  (%rax),%xmm0
divsd  -0x8(%rbp),%xmm0
movsd  0xeb2(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  0xe9e(%rip),%xmm1
call   1030 <pow@plt>
mov    0x10(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
movl   $0x0,-0x34(%rbp)
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    13f4 <init_config_FCC+0x2e4>
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    13e1 <init_config_FCC+0x2d1>
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    13ce <init_config_FCC+0x2be>
cvtsi2sdl -0x38(%rbp),%xmm0
mov    -0x28(%rbp),%rax
mulsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x3,-0x34(%rbp),%ecx
add    $0x0,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
cvtsi2sdl -0x3c(%rbp),%xmm0
mov    -0x30(%rbp),%rax
mulsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x3,-0x34(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
cvtsi2sdl -0x40(%rbp),%xmm0
mov    0x10(%rbp),%rax
mulsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x3,-0x34(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
cvtsi2sdl -0x38(%rbp),%xmm0
xorps  %xmm1,%xmm1
addsd  %xmm1,%xmm0
mov    -0x28(%rbp),%rax
mulsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x3,-0x34(%rbp),%ecx
add    $0x0,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
cvtsi2sdl -0x3c(%rbp),%xmm0
movsd  0xdbc(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    -0x30(%rbp),%rax
mulsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x3,-0x34(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
cvtsi2sdl -0x40(%rbp),%xmm0
movsd  0xd90(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    0x10(%rbp),%rax
mulsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x3,-0x34(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
cvtsi2sdl -0x38(%rbp),%xmm0
movsd  0xd5b(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    -0x28(%rbp),%rax
mulsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x3,-0x34(%rbp),%ecx
add    $0x0,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
cvtsi2sdl -0x3c(%rbp),%xmm0
xorps  %xmm1,%xmm1
addsd  %xmm1,%xmm0
mov    -0x30(%rbp),%rax
mulsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x3,-0x34(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
cvtsi2sdl -0x40(%rbp),%xmm0
movsd  0xd08(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    0x10(%rbp),%rax
mulsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x3,-0x34(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
cvtsi2sdl -0x38(%rbp),%xmm0
movsd  0xcd3(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    -0x28(%rbp),%rax
mulsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x3,-0x34(%rbp),%ecx
add    $0x0,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
cvtsi2sdl -0x3c(%rbp),%xmm0
movsd  0xca7(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    -0x30(%rbp),%rax
mulsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x3,-0x34(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
cvtsi2sdl -0x40(%rbp),%xmm0
xorps  %xmm1,%xmm1
addsd  %xmm1,%xmm0
mov    0x10(%rbp),%rax
mulsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x3,-0x34(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    11b3 <init_config_FCC+0xa3>
jmp    13d3 <init_config_FCC+0x2c3>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    11a0 <init_config_FCC+0x90>
jmp    13e6 <init_config_FCC+0x2d6>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    118d <init_config_FCC+0x7d>
cvtsi2sdl -0xc(%rbp),%xmm0
mov    -0x28(%rbp),%rax
mulsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
cvtsi2sdl -0x10(%rbp),%xmm0
mov    -0x30(%rbp),%rax
mulsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
cvtsi2sdl -0x14(%rbp),%xmm0
mov    0x10(%rbp),%rax
mulsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<init_config_FCC>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %r9,%r13
mov    %r8,%rbp
mov    %rcx,%rbx
mov    %edx,0xc(%rsp)
mov    %esi,0x10(%rsp)
mov    %edi,%r14d
mov    0x2eaf(%rip),%rax
movsd  (%rax),%xmm2
mulsd  0xebb(%rip),%xmm2
mov    0x60(%rsp),%r12
divsd  %xmm0,%xmm2
divsd  0xeb2(%rip),%xmm2
movsd  0xeb2(%rip),%xmm1
movapd %xmm2,%xmm0
call   1030 <pow@plt>
movsd  %xmm0,(%r12)
movsd  %xmm0,0x0(%r13)
movsd  %xmm0,0x0(%rbp)
mov    %r14d,0x14(%rsp)
test   %r14d,%r14d
jle    13c7 <init_config_FCC+0x2b7>
movabs $0x300000000,%rcx
lea    0x10(%rbx),%rax
mov    %rax,0x20(%rsp)
movl   $0x0,0x18(%rsp)
xorpd  %xmm0,%xmm0
movsd  0xe6a(%rip),%xmm8
movsd  0xe6a(%rip),%xmm2
xor    %r14d,%r14d
mov    0xc(%rsp),%edx
movabs $0x800000000,%r15
movabs $0x900000000,%rsi
movabs $0xa00000000,%rdi
movabs $0xb00000000,%r8
movabs $0xc00000000,%r9
jmp    1219 <init_config_FCC+0x109>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
addsd  %xmm2,%xmm0
mov    0x18(%rsp),%eax
add    $0x1,%eax
mov    %eax,0x18(%rsp)
cmp    0x14(%rsp),%eax
je     13c0 <init_config_FCC+0x2b0>
cmpl   $0x0,0x10(%rsp)
jle    1200 <init_config_FCC+0xf0>
movapd %xmm0,%xmm3
addsd  %xmm8,%xmm3
xor    %eax,%eax
xorpd  %xmm4,%xmm4
jmp    1255 <init_config_FCC+0x145>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
addsd  %xmm2,%xmm4
mov    0x1c(%rsp),%eax
add    $0x1,%eax
cmp    0x10(%rsp),%eax
mov    0xc(%rsp),%edx
je     1200 <init_config_FCC+0xf0>
test   %edx,%edx
mov    %eax,0x1c(%rsp)
jle    1240 <init_config_FCC+0x130>
movapd %xmm4,%xmm5
addsd  %xmm8,%xmm5
movslq %r14d,%r10
lea    (%r10,%r10,2),%r11
imul   %rcx,%r10
mov    0x20(%rsp),%rax
lea    (%rax,%r11,8),%r11
xorpd  %xmm6,%xmm6
mov    %edx,%eax
movsd  0x0(%rbp),%xmm7
mulsd  %xmm0,%xmm7
movsd  %xmm7,-0x10(%r11)
movsd  0x0(%r13),%xmm7
mulsd  %xmm4,%xmm7
movsd  %xmm7,-0x8(%r11)
movsd  (%r12),%xmm7
mulsd  %xmm6,%xmm7
movsd  %xmm7,(%r11)
movsd  0x0(%rbp),%xmm7
mulsd  %xmm0,%xmm7
lea    (%r10,%rcx,1),%rdx
sar    $0x1d,%rdx
movsd  %xmm7,(%rbx,%rdx,1)
movsd  0x0(%r13),%xmm7
mulsd  %xmm5,%xmm7
movabs $0x400000000,%rdx
add    %r10,%rdx
sar    $0x1d,%rdx
movsd  %xmm7,(%rbx,%rdx,1)
movapd %xmm6,%xmm7
addsd  %xmm8,%xmm7
movsd  (%r12),%xmm1
mulsd  %xmm7,%xmm1
movabs $0x500000000,%rdx
add    %r10,%rdx
sar    $0x1d,%rdx
movsd  %xmm1,(%rbx,%rdx,1)
movsd  0x0(%rbp),%xmm1
mulsd  %xmm3,%xmm1
movabs $0x600000000,%rdx
add    %r10,%rdx
sar    $0x1d,%rdx
movsd  %xmm1,(%rbx,%rdx,1)
movsd  0x0(%r13),%xmm1
mulsd  %xmm4,%xmm1
movabs $0x700000000,%rdx
add    %r10,%rdx
sar    $0x1d,%rdx
movsd  %xmm1,(%rbx,%rdx,1)
mulsd  (%r12),%xmm7
lea    (%r10,%r15,1),%rdx
sar    $0x1d,%rdx
movsd  %xmm7,(%rbx,%rdx,1)
movsd  0x0(%rbp),%xmm1
mulsd  %xmm3,%xmm1
lea    (%r10,%rsi,1),%rdx
sar    $0x1d,%rdx
movsd  %xmm1,(%rbx,%rdx,1)
movsd  0x0(%r13),%xmm1
mulsd  %xmm5,%xmm1
lea    (%r10,%rdi,1),%rdx
sar    $0x1d,%rdx
movsd  %xmm1,(%rbx,%rdx,1)
movsd  (%r12),%xmm1
mulsd  %xmm6,%xmm1
lea    (%r10,%r8,1),%rdx
sar    $0x1d,%rdx
movsd  %xmm1,(%rbx,%rdx,1)
addsd  %xmm2,%xmm6
add    %r9,%r10
add    $0x60,%r11
add    $0x4,%r14d
add    $0xffffffff,%eax
jne    1280 <init_config_FCC+0x170>
jmp    1240 <init_config_FCC+0x130>
movsd  0x0(%rbp),%xmm0
jmp    13cb <init_config_FCC+0x2bb>
mov    0xc(%rsp),%edx
xorps  %xmm1,%xmm1
cvtsi2sdl 0x14(%rsp),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x0(%rbp)
xorps  %xmm0,%xmm0
cvtsi2sdl 0x10(%rsp),%xmm0
mulsd  0x0(%r13),%xmm0
xorps  %xmm1,%xmm1
cvtsi2sd %edx,%xmm1
movsd  %xmm0,0x0(%r13)
mulsd  (%r12),%xmm1
movsd  %xmm1,(%r12)
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@M_PI = global double 0.000000e+00
define void @init_config_FCC(double %0, i32 %1, i32 %2, i32 %3, double* %4, double* %5, double* %6, double* %7) {
%9 = alloca double
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca double*
%14 = alloca double*
%15 = alloca double*
%16 = alloca double*
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
store double %0, double* %9
store i32 %1, i32* %10
store i32 %2, i32* %11
store i32 %3, i32* %12
store double* %4, double** %13
store double* %5, double** %14
store double* %6, double** %15
store double* %7, double** %16
%21 = load double, double* @M_PI
%22 = fmul double 1.600000e+01, %21
%23 = load double, double* %9
%24 = fdiv double %22, %23
%25 = fdiv double %24, 3.000000e+00
%26 = call double @pow(double %25, double 0x3FD5555555555555)
%27 = load double*, double** %16
store double %26, double* %27
%28 = load double*, double** %15
store double %26, double* %28
%29 = load double*, double** %14
store double %26, double* %29
store i32 0, i32* %17
store i32 0, i32* %18
br label %30
30: ; preds = %202, %8
%31 = load i32, i32* %18
%32 = load i32, i32* %10
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %205
34: ; preds = %30
store i32 0, i32* %19
br label %35
35: ; preds = %198, %34
%36 = load i32, i32* %19
%37 = load i32, i32* %11
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %201
39: ; preds = %35
store i32 0, i32* %20
br label %40
40: ; preds = %194, %39
%41 = load i32, i32* %20
%42 = load i32, i32* %12
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %197
44: ; preds = %40
%45 = load i32, i32* %18
%46 = sitofp i32 %45 to double
%47 = load double*, double** %14
%48 = load double, double* %47
%49 = fmul double %46, %48
%50 = load double*, double** %13
%51 = load i32, i32* %17
%52 = mul nsw i32 %51, 3
%53 = add nsw i32 %52, 0
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, double* %50, i64 %54
store double %49, double* %55
%56 = load i32, i32* %19
%57 = sitofp i32 %56 to double
%58 = load double*, double** %15
%59 = load double, double* %58
%60 = fmul double %57, %59
%61 = load double*, double** %13
%62 = load i32, i32* %17
%63 = mul nsw i32 %62, 3
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, double* %61, i64 %65
store double %60, double* %66
%67 = load i32, i32* %20
%68 = sitofp i32 %67 to double
%69 = load double*, double** %16
%70 = load double, double* %69
%71 = fmul double %68, %70
%72 = load double*, double** %13
%73 = load i32, i32* %17
%74 = mul nsw i32 %73, 3
%75 = add nsw i32 %74, 2
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, double* %72, i64 %76
store double %71, double* %77
%78 = load i32, i32* %17
%79 = add nsw i32 %78, 1
store i32 %79, i32* %17
%80 = load i32, i32* %18
%81 = sitofp i32 %80 to double
%82 = fadd double %81, 0.000000e+00
%83 = load double*, double** %14
%84 = load double, double* %83
%85 = fmul double %82, %84
%86 = load double*, double** %13
%87 = load i32, i32* %17
%88 = mul nsw i32 %87, 3
%89 = add nsw i32 %88, 0
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, double* %86, i64 %90
store double %85, double* %91
%92 = load i32, i32* %19
%93 = sitofp i32 %92 to double
%94 = fadd double %93, 5.000000e-01
%95 = load double*, double** %15
%96 = load double, double* %95
%97 = fmul double %94, %96
%98 = load double*, double** %13
%99 = load i32, i32* %17
%100 = mul nsw i32 %99, 3
%101 = add nsw i32 %100, 1
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, double* %98, i64 %102
store double %97, double* %103
%104 = load i32, i32* %20
%105 = sitofp i32 %104 to double
%106 = fadd double %105, 5.000000e-01
%107 = load double*, double** %16
%108 = load double, double* %107
%109 = fmul double %106, %108
%110 = load double*, double** %13
%111 = load i32, i32* %17
%112 = mul nsw i32 %111, 3
%113 = add nsw i32 %112, 2
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, double* %110, i64 %114
store double %109, double* %115
%116 = load i32, i32* %17
%117 = add nsw i32 %116, 1
store i32 %117, i32* %17
%118 = load i32, i32* %18
%119 = sitofp i32 %118 to double
%120 = fadd double %119, 5.000000e-01
%121 = load double*, double** %14
%122 = load double, double* %121
%123 = fmul double %120, %122
%124 = load double*, double** %13
%125 = load i32, i32* %17
%126 = mul nsw i32 %125, 3
%127 = add nsw i32 %126, 0
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, double* %124, i64 %128
store double %123, double* %129
%130 = load i32, i32* %19
%131 = sitofp i32 %130 to double
%132 = fadd double %131, 0.000000e+00
%133 = load double*, double** %15
%134 = load double, double* %133
%135 = fmul double %132, %134
%136 = load double*, double** %13
%137 = load i32, i32* %17
%138 = mul nsw i32 %137, 3
%139 = add nsw i32 %138, 1
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds double, double* %136, i64 %140
store double %135, double* %141
%142 = load i32, i32* %20
%143 = sitofp i32 %142 to double
%144 = fadd double %143, 5.000000e-01
%145 = load double*, double** %16
%146 = load double, double* %145
%147 = fmul double %144, %146
%148 = load double*, double** %13
%149 = load i32, i32* %17
%150 = mul nsw i32 %149, 3
%151 = add nsw i32 %150, 2
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds double, double* %148, i64 %152
store double %147, double* %153
%154 = load i32, i32* %17
%155 = add nsw i32 %154, 1
store i32 %155, i32* %17
%156 = load i32, i32* %18
%157 = sitofp i32 %156 to double
%158 = fadd double %157, 5.000000e-01
%159 = load double*, double** %14
%160 = load double, double* %159
%161 = fmul double %158, %160
%162 = load double*, double** %13
%163 = load i32, i32* %17
%164 = mul nsw i32 %163, 3
%165 = add nsw i32 %164, 0
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds double, double* %162, i64 %166
store double %161, double* %167
%168 = load i32, i32* %19
%169 = sitofp i32 %168 to double
%170 = fadd double %169, 5.000000e-01
%171 = load double*, double** %15
%172 = load double, double* %171
%173 = fmul double %170, %172
%174 = load double*, double** %13
%175 = load i32, i32* %17
%176 = mul nsw i32 %175, 3
%177 = add nsw i32 %176, 1
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds double, double* %174, i64 %178
store double %173, double* %179
%180 = load i32, i32* %20
%181 = sitofp i32 %180 to double
%182 = fadd double %181, 0.000000e+00
%183 = load double*, double** %16
%184 = load double, double* %183
%185 = fmul double %182, %184
%186 = load double*, double** %13
%187 = load i32, i32* %17
%188 = mul nsw i32 %187, 3
%189 = add nsw i32 %188, 2
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds double, double* %186, i64 %190
store double %185, double* %191
%192 = load i32, i32* %17
%193 = add nsw i32 %192, 1
store i32 %193, i32* %17
br label %194
194: ; preds = %44
%195 = load i32, i32* %20
%196 = add nsw i32 %195, 1
store i32 %196, i32* %20
br label %40
197: ; preds = %40
br label %198
198: ; preds = %197
%199 = load i32, i32* %19
%200 = add nsw i32 %199, 1
store i32 %200, i32* %19
br label %35
201: ; preds = %35
br label %202
202: ; preds = %201
%203 = load i32, i32* %18
%204 = add nsw i32 %203, 1
store i32 %204, i32* %18
br label %30
205: ; preds = %30
%206 = load i32, i32* %10
%207 = sitofp i32 %206 to double
%208 = load double*, double** %14
%209 = load double, double* %208
%210 = fmul double %209, %207
store double %210, double* %208
%211 = load i32, i32* %11
%212 = sitofp i32 %211 to double
%213 = load double*, double** %15
%214 = load double, double* %213
%215 = fmul double %214, %212
store double %215, double* %213
%216 = load i32, i32* %12
%217 = sitofp i32 %216 to double
%218 = load double*, double** %16
%219 = load double, double* %218
%220 = fmul double %219, %217
store double %220, double* %218
ret void
}

LLVM IR (-O2):
@M_PI = global double 0.000000e+00
define void @init_config_FCC(double %0, i32 %1, i32 %2, i32 %3, double* nocapture writeonly %4, double* nocapture %5, double* nocapture %6, double* nocapture %7) {
%9 = load double, double* @M_PI
%10 = fmul double %9, 1.600000e+01
%11 = fdiv double %10, %0
%12 = fdiv double %11, 3.000000e+00
%13 = tail call double @pow(double %12, double 0x3FD5555555555555)
store double %13, double* %7
store double %13, double* %6
store double %13, double* %5
%14 = icmp sgt i32 %1, 0
br i1 %14, label %15, label %117
15: ; preds = %8
%16 = icmp sgt i32 %2, 0
%17 = icmp sgt i32 %3, 0
br label %18
18: ; preds = %15, %111
%19 = phi i32 [ 0, %15 ], [ %113, %111 ]
%20 = phi i32 [ 0, %15 ], [ %112, %111 ]
br i1 %16, label %21, label %111
21: ; preds = %18
%22 = sitofp i32 %19 to double
%23 = fadd double %22, 5.000000e-01
br label %24
24: ; preds = %21, %107
%25 = phi i32 [ 0, %21 ], [ %109, %107 ]
%26 = phi i32 [ %20, %21 ], [ %108, %107 ]
br i1 %17, label %27, label %107
27: ; preds = %24
%28 = sitofp i32 %25 to double
%29 = fadd double %28, 5.000000e-01
%30 = sext i32 %26 to i64
br label %31
31: ; preds = %27, %31
%32 = phi i64 [ %30, %27 ], [ %102, %31 ]
%33 = phi i32 [ 0, %27 ], [ %103, %31 ]
%34 = load double, double* %5
%35 = fmul double %34, %22
%36 = mul nsw i64 %32, 3
%37 = getelementptr inbounds double, double* %4, i64 %36
store double %35, double* %37
%38 = load double, double* %6
%39 = fmul double %38, %28
%40 = add nsw i64 %36, 1
%41 = getelementptr inbounds double, double* %4, i64 %40
store double %39, double* %41
%42 = sitofp i32 %33 to double
%43 = load double, double* %7
%44 = fmul double %43, %42
%45 = add nsw i64 %36, 2
%46 = getelementptr inbounds double, double* %4, i64 %45
store double %44, double* %46
%47 = load double, double* %5
%48 = fmul double %47, %22
%49 = mul i64 %32, 12884901888
%50 = add i64 %49, 12884901888
%51 = ashr exact i64 %50, 32
%52 = getelementptr inbounds double, double* %4, i64 %51
store double %48, double* %52
%53 = load double, double* %6
%54 = fmul double %29, %53
%55 = mul i64 %32, 12884901888
%56 = add i64 %55, 17179869184
%57 = ashr exact i64 %56, 32
%58 = getelementptr inbounds double, double* %4, i64 %57
store double %54, double* %58
%59 = fadd double %42, 5.000000e-01
%60 = load double, double* %7
%61 = fmul double %59, %60
%62 = mul i64 %32, 12884901888
%63 = add i64 %62, 21474836480
%64 = ashr exact i64 %63, 32
%65 = getelementptr inbounds double, double* %4, i64 %64
store double %61, double* %65
%66 = load double, double* %5
%67 = fmul double %23, %66
%68 = mul i64 %32, 12884901888
%69 = add i64 %68, 25769803776
%70 = ashr exact i64 %69, 32
%71 = getelementptr inbounds double, double* %4, i64 %70
store double %67, double* %71
%72 = load double, double* %6
%73 = fmul double %72, %28
%74 = mul i64 %32, 12884901888
%75 = add i64 %74, 30064771072
%76 = ashr exact i64 %75, 32
%77 = getelementptr inbounds double, double* %4, i64 %76
store double %73, double* %77
%78 = load double, double* %7
%79 = fmul double %59, %78
%80 = mul i64 %32, 12884901888
%81 = add i64 %80, 34359738368
%82 = ashr exact i64 %81, 32
%83 = getelementptr inbounds double, double* %4, i64 %82
store double %79, double* %83
%84 = load double, double* %5
%85 = fmul double %23, %84
%86 = mul i64 %32, 12884901888
%87 = add i64 %86, 38654705664
%88 = ashr exact i64 %87, 32
%89 = getelementptr inbounds double, double* %4, i64 %88
store double %85, double* %89
%90 = load double, double* %6
%91 = fmul double %29, %90
%92 = mul i64 %32, 12884901888
%93 = add i64 %92, 42949672960
%94 = ashr exact i64 %93, 32
%95 = getelementptr inbounds double, double* %4, i64 %94
store double %91, double* %95
%96 = load double, double* %7
%97 = fmul double %96, %42
%98 = mul i64 %32, 12884901888
%99 = add i64 %98, 47244640256
%100 = ashr exact i64 %99, 32
%101 = getelementptr inbounds double, double* %4, i64 %100
store double %97, double* %101
%102 = add nsw i64 %32, 4
%103 = add nuw nsw i32 %33, 1
%104 = icmp eq i32 %103, %3
br i1 %104, label %105, label %31
105: ; preds = %31
%106 = trunc i64 %102 to i32
br label %107
107: ; preds = %105, %24
%108 = phi i32 [ %26, %24 ], [ %106, %105 ]
%109 = add nuw nsw i32 %25, 1
%110 = icmp eq i32 %109, %2
br i1 %110, label %111, label %24
111: ; preds = %107, %18
%112 = phi i32 [ %20, %18 ], [ %108, %107 ]
%113 = add nuw nsw i32 %19, 1
%114 = icmp eq i32 %113, %1
br i1 %114, label %115, label %18
115: ; preds = %111
%116 = load double, double* %5
br label %117
117: ; preds = %115, %8
%118 = phi double [ %116, %115 ], [ %13, %8 ]
%119 = sitofp i32 %1 to double
%120 = fmul double %118, %119
store double %120, double* %5
%121 = sitofp i32 %2 to double
%122 = load double, double* %6
%123 = fmul double %122, %121
store double %123, double* %6
%124 = sitofp i32 %3 to double
%125 = load double, double* %7
%126 = fmul double %125, %124
store double %126, double* %7
ret void
}