#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 coulomb_repulsion(double, double, double, double, int, int, int, double,
                         double, double, double, double, int, int, int, double,
                         double, double, double, double, int, int, int, double,
                         double, double, double, double, int, int, int, double);
double contr_coulomb(int lena, double *aexps, double *acoefs, double *anorms,
                     double xa, double ya, double za, int la, int ma, int na,
                     int lenb, double *bexps, double *bcoefs, double *bnorms,
                     double xb, double yb, double zb, int lb, int mb, int nb,
                     int lenc, double *cexps, double *ccoefs, double *cnorms,
                     double xc, double yc, double zc, int lc, int mc, int nc,
                     int lend, double *dexps, double *dcoefs, double *dnorms,
                     double xd, double yd, double zd, int ld, int md, int nd) {
  int i, j, k, l;
  double Jij = 0., incr = 0.;
  for (i = 0; i < lena; i++)
    for (j = 0; j < lenb; j++)
      for (k = 0; k < lenc; k++)
        for (l = 0; l < lend; l++) {
          incr = coulomb_repulsion(xa, ya, za, anorms[i], la, ma, na, aexps[i],
                                   xb, yb, zb, bnorms[j], lb, mb, nb, bexps[j],
                                   xc, yc, zc, cnorms[k], lc, mc, nc, cexps[k],
                                   xd, yd, zd, dnorms[l], ld, md, nd, dexps[l]);
          Jij += acoefs[i] * bcoefs[j] * ccoefs[k] * dcoefs[l] * incr;
        }
  return Jij;
}


x86 assembly (clang, -O0):
<contr_coulomb>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x148,%rsp
mov    0xd8(%rbp),%eax
mov    0xd0(%rbp),%eax
mov    0xc8(%rbp),%eax
movsd  0xc0(%rbp),%xmm8
movsd  0xb8(%rbp),%xmm8
movsd  0xb0(%rbp),%xmm8
mov    0xa8(%rbp),%rax
mov    0xa0(%rbp),%rax
mov    0x98(%rbp),%rax
mov    0x90(%rbp),%eax
mov    0x88(%rbp),%eax
mov    0x80(%rbp),%eax
mov    0x78(%rbp),%eax
movsd  0x70(%rbp),%xmm8
mov    0x68(%rbp),%rax
mov    0x60(%rbp),%rax
mov    0x58(%rbp),%rax
mov    0x50(%rbp),%eax
mov    0x48(%rbp),%eax
mov    0x40(%rbp),%eax
mov    0x38(%rbp),%eax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %edi,-0x2c(%rbp)
mov    %rsi,-0x38(%rbp)
mov    %rdx,-0x40(%rbp)
mov    %rcx,-0x48(%rbp)
movsd  %xmm0,-0x50(%rbp)
movsd  %xmm1,-0x58(%rbp)
movsd  %xmm2,-0x60(%rbp)
mov    %r8d,-0x64(%rbp)
mov    %r9d,-0x68(%rbp)
movsd  %xmm3,-0x70(%rbp)
movsd  %xmm4,-0x78(%rbp)
movsd  %xmm5,-0x80(%rbp)
movsd  %xmm6,-0x88(%rbp)
ff
movsd  %xmm7,-0x90(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movl   $0x0,-0x94(%rbp)
mov    -0x94(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    1519 <contr_coulomb+0x409>
movl   $0x0,-0x98(%rbp)
mov    -0x98(%rbp),%eax
cmp    0x18(%rbp),%eax
jge    1500 <contr_coulomb+0x3f0>
movl   $0x0,-0x9c(%rbp)
mov    -0x9c(%rbp),%eax
cmp    0x50(%rbp),%eax
jge    14e7 <contr_coulomb+0x3d7>
movl   $0x0,-0xa0(%rbp)
mov    -0xa0(%rbp),%eax
cmp    0x90(%rbp),%eax
jge    14ce <contr_coulomb+0x3be>
movsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x58(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm2
mov    -0x48(%rbp),%rax
movslq -0x94(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm3
mov    -0x64(%rbp),%edi
mov    -0x68(%rbp),%esi
mov    0x10(%rbp),%edx
mov    -0x38(%rbp),%rax
movslq -0x94(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm4
movsd  -0x70(%rbp),%xmm5
movsd  -0x78(%rbp),%xmm6
movsd  -0x80(%rbp),%xmm7
mov    0x30(%rbp),%rax
movslq -0x98(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm8
mov    0x38(%rbp),%ecx
mov    0x40(%rbp),%r8d
mov    0x48(%rbp),%r9d
mov    0x20(%rbp),%rax
movslq -0x98(%rbp),%r10
movsd  (%rax,%r10,8),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0xc8(%rbp)
movsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  0x70(%rbp),%xmm15
mov    0x68(%rbp),%rax
movslq -0x9c(%rbp),%r10
movsd  (%rax,%r10,8),%xmm14
mov    0x78(%rbp),%r15d
mov    0x80(%rbp),%r14d
mov    0x88(%rbp),%ebx
mov    0x58(%rbp),%rax
movslq -0x9c(%rbp),%r10
movsd  (%rax,%r10,8),%xmm13
movsd  0xb0(%rbp),%xmm12
movsd  0xb8(%rbp),%xmm11
movsd  0xc0(%rbp),%xmm10
mov    0xa8(%rbp),%rax
movslq -0xa0(%rbp),%r10
movsd  (%rax,%r10,8),%xmm9
mov    0xc8(%rbp),%r11d
mov    0xd0(%rbp),%r10d
mov    0xd8(%rbp),%eax
mov    0x98(%rbp),%r12
movslq -0xa0(%rbp),%r13
movsd  (%r12,%r13,8),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xd8(%rbp),%xmm0
ff
movsd  %xmm8,(%rsp)
movsd  -0xd0(%rbp),%xmm8
ff ff
movsd  %xmm8,0x8(%rsp)
movsd  -0xc8(%rbp),%xmm8
ff ff
movsd  %xmm8,0x10(%rsp)
movsd  -0xc0(%rbp),%xmm8
ff ff
movsd  %xmm8,0x18(%rsp)
movsd  -0xb8(%rbp),%xmm8
ff ff
movsd  %xmm15,0x20(%rsp)
movsd  %xmm14,0x28(%rsp)
mov    %r15d,0x30(%rsp)
mov    %r14d,0x38(%rsp)
mov    %ebx,0x40(%rsp)
movsd  %xmm13,0x48(%rsp)
movsd  %xmm12,0x50(%rsp)
movsd  %xmm11,0x58(%rsp)
movsd  %xmm10,0x60(%rsp)
movsd  %xmm9,0x68(%rsp)
mov    %r11d,0x70(%rsp)
mov    %r10d,0x78(%rsp)
mov    %eax,0x80(%rsp)
movsd  %xmm8,0x88(%rsp)
call   1030 <coulomb_repulsion@plt>
movsd  %xmm0,-0xb0(%rbp)
ff
mov    -0x40(%rbp),%rax
movslq -0x94(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x28(%rbp),%rax
movslq -0x98(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    0x60(%rbp),%rax
movslq -0x9c(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    0xa0(%rbp),%rax
movslq -0xa0(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  -0xb0(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0xa0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa0(%rbp)
jmp    125b <contr_coulomb+0x14b>
jmp    14d3 <contr_coulomb+0x3c3>
mov    -0x9c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x9c(%rbp)
jmp    1242 <contr_coulomb+0x132>
jmp    14ec <contr_coulomb+0x3dc>
mov    -0x98(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x98(%rbp)
jmp    1229 <contr_coulomb+0x119>
jmp    1505 <contr_coulomb+0x3f5>
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    1210 <contr_coulomb+0x100>
movsd  -0xa8(%rbp),%xmm0
ff
add    $0x148,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<contr_coulomb>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x118,%rsp
mov    %r9d,0xa8(%rsp)
mov    %r8d,0xac(%rsp)
test   %edi,%edi
jle    14dc <contr_coulomb+0x3cc>
movaps %xmm5,%xmm10
movapd %xmm4,%xmm11
movapd %xmm3,%xmm5
movapd %xmm0,%xmm15
mov    0x218(%rsp),%r12d
mov    0x210(%rsp),%r15d
mov    0x208(%rsp),%r14d
mov    0x1e8(%rsp),%r13
mov    0x1d8(%rsp),%rax
mov    0x1c8(%rsp),%r10d
mov    0x1c0(%rsp),%r11d
mov    0x1b8(%rsp),%r8d
mov    %edi,%edi
mov    %rdi,0xb0(%rsp)
xorpd  %xmm4,%xmm4
xor    %edi,%edi
movsd  %xmm7,0x108(%rsp)
movsd  %xmm6,0x100(%rsp)
movsd  %xmm10,0xf8(%rsp)
movsd  %xmm11,0xf0(%rsp)
movsd  %xmm3,0xe8(%rsp)
movsd  %xmm2,0xe0(%rsp)
movsd  %xmm1,0xd8(%rsp)
movsd  %xmm0,0xd0(%rsp)
mov    %rsi,0xc8(%rsp)
mov    %rdx,0xc0(%rsp)
mov    %rcx,0xb8(%rsp)
jmp    1212 <contr_coulomb+0x102>
nop
add    $0x1,%rdi
cmp    0xb0(%rsp),%rdi
je     14e0 <contr_coulomb+0x3d0>
cmpl   $0x0,0x158(%rsp)
jle    1200 <contr_coulomb+0xf0>
xor    %ebp,%ebp
mov    %rbp,0x90(%rsp)
mov    %rdi,0x98(%rsp)
jmp    125b <contr_coulomb+0x14b>
mov    0x90(%rsp),%rbx
add    $0x1,%rbx
mov    0x158(%rsp),%ebp
mov    %rbx,%rdi
mov    %rbx,0x90(%rsp)
cmp    %rbp,%rbx
mov    0x98(%rsp),%rdi
je     1200 <contr_coulomb+0xf0>
cmpl   $0x0,0x190(%rsp)
jle    1230 <contr_coulomb+0x120>
xor    %edi,%edi
jmp    128b <contr_coulomb+0x17b>
nopl   0x0(%rax)
mov    0xa0(%rsp),%rbp
add    $0x1,%rbp
mov    0x190(%rsp),%edi
cmp    %rdi,%rbp
mov    %rbp,%rdi
je     1230 <contr_coulomb+0x120>
cmpl   $0x0,0x1d0(%rsp)
mov    %rdi,0xa0(%rsp)
jle    1270 <contr_coulomb+0x160>
xor    %ebp,%ebp
mov    0x90(%rsp),%rdi
nopw   0x0(%rax,%rax,1)
movsd  %xmm4,0x110(%rsp)
mov    0x98(%rsp),%rdx
movsd  (%rcx,%rdx,8),%xmm3
movsd  (%rsi,%rdx,8),%xmm4
mov    0x170(%rsp),%rcx
movsd  (%rcx,%rdi,8),%xmm8
mov    0x160(%rsp),%rcx
movsd  (%rcx,%rdi,8),%xmm9
mov    0xa0(%rsp),%rdx
mov    0x1a8(%rsp),%rcx
movsd  (%rcx,%rdx,8),%xmm12
mov    0x198(%rsp),%rcx
movsd  (%rcx,%rdx,8),%xmm13
movsd  0x0(%r13,%rbp,8),%xmm14
movsd  (%rax,%rbp,8),%xmm0
movsd  %xmm0,0x88(%rsp)
mov    %r12d,0x80(%rsp)
mov    %r15d,0x78(%rsp)
mov    %r14d,0x70(%rsp)
movsd  %xmm14,0x68(%rsp)
movsd  0x200(%rsp),%xmm0
movsd  %xmm0,0x60(%rsp)
movsd  0x1f8(%rsp),%xmm0
movsd  %xmm0,0x58(%rsp)
movsd  0x1f0(%rsp),%xmm0
movsd  %xmm0,0x50(%rsp)
movsd  %xmm13,0x48(%rsp)
mov    %r10d,0x40(%rsp)
mov    %r11d,0x38(%rsp)
mov    %r8d,0x30(%rsp)
movsd  %xmm12,0x28(%rsp)
movsd  0x1b0(%rsp),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  %xmm7,0x18(%rsp)
movsd  %xmm6,0x10(%rsp)
movsd  %xmm9,0x8(%rsp)
movsd  %xmm8,(%rsp)
movapd %xmm15,%xmm0
mov    0xac(%rsp),%edi
mov    0xa8(%rsp),%esi
mov    0x150(%rsp),%edx
movapd %xmm11,%xmm6
movaps %xmm10,%xmm7
mov    0x178(%rsp),%ecx
mov    0x180(%rsp),%r8d
mov    0x188(%rsp),%r9d
call   1030 <coulomb_repulsion@plt>
mov    0x90(%rsp),%rdi
movsd  0x110(%rsp),%xmm4
mov    0x1c0(%rsp),%r11d
mov    0x1c8(%rsp),%r10d
mov    0x1e0(%rsp),%rax
mov    0xc8(%rsp),%rsi
mov    0xc0(%rsp),%rdx
mov    0xb8(%rsp),%rcx
movsd  0xd0(%rsp),%xmm15
movsd  0xd8(%rsp),%xmm1
movsd  0xe0(%rsp),%xmm2
mov    0x1b8(%rsp),%r8d
movsd  0xe8(%rsp),%xmm5
movsd  0xf0(%rsp),%xmm11
movsd  0xf8(%rsp),%xmm10
movsd  0x100(%rsp),%xmm6
movsd  0x108(%rsp),%xmm7
mov    0x98(%rsp),%rbx
movsd  (%rdx,%rbx,8),%xmm3
mov    0x168(%rsp),%rbx
mulsd  (%rbx,%rdi,8),%xmm3
mov    0x1a0(%rsp),%r9
mov    0xa0(%rsp),%rbx
mulsd  (%r9,%rbx,8),%xmm3
mulsd  (%rax,%rbp,8),%xmm3
mov    0x1d8(%rsp),%rax
mulsd  %xmm0,%xmm3
addsd  %xmm3,%xmm4
add    $0x1,%rbp
mov    0x1d0(%rsp),%ebx
cmp    %rbp,%rbx
jne    12b0 <contr_coulomb+0x1a0>
jmp    1270 <contr_coulomb+0x160>
xorpd  %xmm4,%xmm4
movapd %xmm4,%xmm0
add    $0x118,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define double @contr_coulomb(i32 %0, double* nocapture %1, double* nocapture %2, double* nocapture %3, double %4, double %5, double %6, i32 %7, i32 %8, i32 %9, i32 %10, double* nocapture %11, double* nocapture %12, double* nocapture %13, double %14, double %15, double %16, i32 %17, i32 %18, i32 %19, i32 %20, double* nocapture %21, double* nocapture %22, double* nocapture %23, double %24, double %25, double %26, i32 %27, i32 %28, i32 %29, i32 %30, double* nocapture %31, double* nocapture %32, double* nocapture %33, double %34, double %35, double %36, i32 %37, i32 %38, i32 %39) {
%41 = icmp sgt i32 %0, 0
br i1 %41, label %42, label %108
42: ; preds = %40
%43 = icmp sgt i32 %10, 0
%44 = icmp sgt i32 %20, 0
%45 = icmp sgt i32 %30, 0
%46 = zext i32 %0 to i64
%47 = zext i32 %10 to i64
%48 = zext i32 %20 to i64
%49 = zext i32 %30 to i64
br label %50
50: ; preds = %42, %104
%51 = phi i64 [ 0, %42 ], [ %106, %104 ]
%52 = phi double [ 0.000000e+00, %42 ], [ %105, %104 ]
br i1 %43, label %53, label %104
53: ; preds = %50
%54 = getelementptr inbounds double, double* %3, i64 %51
%55 = getelementptr inbounds double, double* %1, i64 %51
%56 = getelementptr inbounds double, double* %2, i64 %51
br label %57
57: ; preds = %53, %100
%58 = phi i64 [ 0, %53 ], [ %102, %100 ]
%59 = phi double [ %52, %53 ], [ %101, %100 ]
br i1 %44, label %60, label %100
60: ; preds = %57
%61 = getelementptr inbounds double, double* %13, i64 %58
%62 = getelementptr inbounds double, double* %11, i64 %58
%63 = getelementptr inbounds double, double* %12, i64 %58
br label %64
64: ; preds = %60, %96
%65 = phi i64 [ 0, %60 ], [ %98, %96 ]
%66 = phi double [ %59, %60 ], [ %97, %96 ]
br i1 %45, label %67, label %96
67: ; preds = %64
%68 = getelementptr inbounds double, double* %23, i64 %65
%69 = getelementptr inbounds double, double* %21, i64 %65
%70 = getelementptr inbounds double, double* %22, i64 %65
br label %71
71: ; preds = %67, %71
%72 = phi i64 [ 0, %67 ], [ %94, %71 ]
%73 = phi double [ %66, %67 ], [ %93, %71 ]
%74 = load double, double* %54
%75 = load double, double* %55
%76 = load double, double* %61
%77 = load double, double* %62
%78 = load double, double* %68
%79 = load double, double* %69
%80 = getelementptr inbounds double, double* %33, i64 %72
%81 = load double, double* %80
%82 = getelementptr inbounds double, double* %31, i64 %72
%83 = load double, double* %82
%84 = tail call double @coulomb_repulsion(double %4, double %5, double %6, double %74, i32 %7, i32 %8, i32 %9, double %75, double %14, double %15, double %16, double %76, i32 %17, i32 %18, i32 %19, double %77, double %24, double %25, double %26, double %78, i32 %27, i32 %28, i32 %29, double %79, double %34, double %35, double %36, double %81, i32 %37, i32 %38, i32 %39, double %83)
%85 = load double, double* %56
%86 = load double, double* %63
%87 = fmul double %85, %86
%88 = load double, double* %70
%89 = fmul double %87, %88
%90 = getelementptr inbounds double, double* %32, i64 %72
%91 = load double, double* %90
%92 = fmul double %89, %91
%93 = tail call double @llvm.fmuladd.f64(double %92, double %84, double %73)
%94 = add nuw nsw i64 %72, 1
%95 = icmp eq i64 %94, %49
br i1 %95, label %96, label %71
96: ; preds = %71, %64
%97 = phi double [ %66, %64 ], [ %93, %71 ]
%98 = add nuw nsw i64 %65, 1
%99 = icmp eq i64 %98, %48
br i1 %99, label %100, label %64
100: ; preds = %96, %57
%101 = phi double [ %59, %57 ], [ %97, %96 ]
%102 = add nuw nsw i64 %58, 1
%103 = icmp eq i64 %102, %47
br i1 %103, label %104, label %57
104: ; preds = %100, %50
%105 = phi double [ %52, %50 ], [ %101, %100 ]
%106 = add nuw nsw i64 %51, 1
%107 = icmp eq i64 %106, %46
br i1 %107, label %108, label %50
108: ; preds = %104, %40
%109 = phi double [ 0.000000e+00, %40 ], [ %105, %104 ]
ret double %109
}