#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 */
float *malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ radiusCPU(float *, float *, float *, float *, float *);
int random();
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main(void) {
  srand(time(NULL));
  int sizeBytes = sizeof(float);
  float *data = malloc(4 * 2 * sizeBytes);
  float *classes = malloc(2 * 2 * sizeBytes);
  float *radii2 = malloc(2 * sizeBytes);
  float *out = malloc(4 * 2 * sizeBytes);
  float *z = malloc(4 * 2 * sizeBytes);
  for (int i = 0; i < 2 * 4; i++)
    data[i] = random() % 100;
  for (int i = 0; i < 2 * 2; i++)
    classes[i] = random() % 100;
  for (int i = 0; i < 2; i++) {
    radii2[i] = random() % 100;
    radii2[i] = radii2[i] * radii2[i];
  }
  for (int i = 0; i < 2 * 4; i++) {
    z[i] = 0;
    out[i] = 0;
  }
  for (int i = 0; i < 4; i++)
    radiusCPU(classes, radii2, &data[2 * i], &z[2 * i], &out[2 * i]);
  for (int i = 0; i < 4; i++) {
    for (int j = 0; j < 2; j++) {
      printf("%d", (int)out[2 * i + j]);
      if (j < (2 - 1))
        printf(", ");
    }
    printf("\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1060 <time@plt>
mov    %eax,%edi
call   1050 <srand@plt>
movl   $0x4,-0x8(%rbp)
mov    -0x8(%rbp),%edi
shl    $0x3,%edi
call   1080 <malloc@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%edi
shl    $0x2,%edi
call   1080 <malloc@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%edi
shl    $0x1,%edi
call   1080 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    -0x8(%rbp),%edi
shl    $0x3,%edi
call   1080 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    -0x8(%rbp),%edi
shl    $0x3,%edi
call   1080 <malloc@plt>
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x8,-0x34(%rbp)
jge    1210 <main+0xb0>
mov    $0x0,%al
call   1070 <random@plt>
mov    $0x64,%ecx
cltd
idiv   %ecx
cvtsi2ss %edx,%xmm0
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11d8 <main+0x78>
movl   $0x0,-0x38(%rbp)
cmpl   $0x4,-0x38(%rbp)
jge    124f <main+0xef>
mov    $0x0,%al
call   1070 <random@plt>
mov    $0x64,%ecx
cltd
idiv   %ecx
cvtsi2ss %edx,%xmm0
mov    -0x18(%rbp),%rax
movslq -0x38(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1217 <main+0xb7>
movl   $0x0,-0x3c(%rbp)
cmpl   $0x2,-0x3c(%rbp)
jge    12b5 <main+0x155>
mov    $0x0,%al
call   1070 <random@plt>
mov    $0x64,%ecx
cltd
idiv   %ecx
cvtsi2ss %edx,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x20(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mulss  (%rax,%rcx,4),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1256 <main+0xf6>
movl   $0x0,-0x40(%rbp)
cmpl   $0x8,-0x40(%rbp)
jge    12f4 <main+0x194>
mov    -0x30(%rbp),%rax
movslq -0x40(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x28(%rbp),%rax
movslq -0x40(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    12bc <main+0x15c>
movl   $0x0,-0x44(%rbp)
cmpl   $0x4,-0x44(%rbp)
jge    1359 <main+0x1f9>
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x10(%rbp),%rdx
mov    -0x44(%rbp),%eax
shl    $0x1,%eax
cltq
shl    $0x2,%rax
add    %rax,%rdx
mov    -0x30(%rbp),%rcx
mov    -0x44(%rbp),%eax
shl    $0x1,%eax
cltq
shl    $0x2,%rax
add    %rax,%rcx
mov    -0x28(%rbp),%r8
mov    -0x44(%rbp),%eax
shl    $0x1,%eax
cltq
shl    $0x2,%rax
add    %rax,%r8
call   1030 <radiusCPU@plt>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    12fb <main+0x19b>
movl   $0x0,-0x48(%rbp)
cmpl   $0x4,-0x48(%rbp)
jge    13e5 <main+0x285>
movl   $0x0,-0x4c(%rbp)
cmpl   $0x2,-0x4c(%rbp)
jge    13c9 <main+0x269>
mov    -0x28(%rbp),%rax
mov    -0x48(%rbp),%ecx
shl    $0x1,%ecx
add    -0x4c(%rbp),%ecx
movslq %ecx,%rcx
cvttss2si (%rax,%rcx,4),%esi
lea    0xc69(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x1,-0x4c(%rbp)
jge    13b6 <main+0x256>
lea    0xc54(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13bb <main+0x25b>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1371 <main+0x211>
lea    0xc36(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    1360 <main+0x200>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
xor    %edi,%edi
call   1070 <time@plt>
mov    %eax,%edi
call   1060 <srand@plt>
mov    $0x20,%edi
call   1090 <malloc@plt>
mov    %rax,%rbx
mov    $0x10,%edi
call   1090 <malloc@plt>
mov    %rax,%r12
mov    $0x8,%edi
call   1090 <malloc@plt>
mov    %rax,%rbp
mov    $0x20,%edi
call   1090 <malloc@plt>
mov    %rax,0x20(%rsp)
mov    $0x20,%edi
call   1090 <malloc@plt>
mov    %rax,%r13
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
cvtsi2ss %eax,%xmm0
movss  %xmm0,(%rbx)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  %xmm0,0x4(%rbx)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
lea    0x8(%rbx),%rax
mov    %rax,0x18(%rsp)
movss  %xmm0,0x8(%rbx)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  %xmm0,0xc(%rbx)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
lea    0x10(%rbx),%rax
mov    %rax,0x10(%rsp)
movss  %xmm0,0x10(%rbx)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  %xmm0,0x14(%rbx)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
lea    0x18(%rbx),%rax
mov    %rax,0x8(%rsp)
movss  %xmm0,0x18(%rbx)
mov    %rbx,(%rsp)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  %xmm0,0x1c(%rbx)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  %xmm0,(%r12)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  %xmm0,0x4(%r12)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  %xmm0,0x8(%r12)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  %xmm0,0xc(%r12)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
mulss  %xmm0,%xmm0
movss  %xmm0,0x0(%rbp)
xor    %eax,%eax
call   1080 <random@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
mulss  %xmm0,%xmm0
mov    %rbp,%r14
movss  %xmm0,0x4(%rbp)
xorps  %xmm0,%xmm0
movups %xmm0,0x0(%r13)
movups %xmm0,0x10(%r13)
lea    0x10(%r13),%rbx
mov    0x20(%rsp),%rbp
movups %xmm0,0x10(%rbp)
movups %xmm0,0x0(%rbp)
lea    0x10(%rbp),%r15
mov    %r12,%rdi
mov    %r14,%rsi
mov    (%rsp),%rdx
mov    %r13,%rcx
mov    %rbp,%r8
call   1030 <radiusCPU@plt>
lea    0x8(%r13),%rcx
lea    0x8(%rbp),%r8
mov    %r12,%rdi
mov    %r14,%rsi
mov    0x18(%rsp),%rdx
call   1030 <radiusCPU@plt>
mov    %r12,%rdi
mov    %r14,%rsi
mov    0x10(%rsp),%rdx
mov    %rbx,%rcx
mov    %r15,%r8
call   1030 <radiusCPU@plt>
add    $0x18,%r13
lea    0x18(%rbp),%r8
mov    %r12,%rdi
mov    %r14,%rsi
mov    0x8(%rsp),%rdx
mov    %r13,%rcx
call   1030 <radiusCPU@plt>
cvttss2si 0x0(%rbp),%esi
lea    0xaf4(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xae6(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cvttss2si 0x4(%rbp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
cvttss2si 0x8(%rbp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cvttss2si 0xc(%rbp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
cvttss2si 0x10(%rbp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cvttss2si 0x14(%rbp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
cvttss2si 0x18(%rbp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cvttss2si 0x1c(%rbp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.1 = [3 x i8] c", \00"
define i32 @main() {
%1 = tail call i32 @time(i32* null)
%2 = tail call i32 @srand(i32 %1)
%3 = tail call float* @malloc(i32 32)
%4 = tail call float* @malloc(i32 16)
%5 = tail call float* @malloc(i32 8)
%6 = tail call float* @malloc(i32 32)
%7 = bitcast float* %6 to i8*
%8 = tail call float* @malloc(i32 32)
%9 = bitcast float* %8 to i8*
%10 = tail call i32 (...) @random()
%11 = srem i32 %10, 100
%12 = sitofp i32 %11 to float
store float %12, float* %3
%13 = tail call i32 (...) @random()
%14 = srem i32 %13, 100
%15 = sitofp i32 %14 to float
%16 = getelementptr inbounds float, float* %3, i64 1
store float %15, float* %16
%17 = tail call i32 (...) @random()
%18 = srem i32 %17, 100
%19 = sitofp i32 %18 to float
%20 = getelementptr inbounds float, float* %3, i64 2
store float %19, float* %20
%21 = tail call i32 (...) @random()
%22 = srem i32 %21, 100
%23 = sitofp i32 %22 to float
%24 = getelementptr inbounds float, float* %3, i64 3
store float %23, float* %24
%25 = tail call i32 (...) @random()
%26 = srem i32 %25, 100
%27 = sitofp i32 %26 to float
%28 = getelementptr inbounds float, float* %3, i64 4
store float %27, float* %28
%29 = tail call i32 (...) @random()
%30 = srem i32 %29, 100
%31 = sitofp i32 %30 to float
%32 = getelementptr inbounds float, float* %3, i64 5
store float %31, float* %32
%33 = tail call i32 (...) @random()
%34 = srem i32 %33, 100
%35 = sitofp i32 %34 to float
%36 = getelementptr inbounds float, float* %3, i64 6
store float %35, float* %36
%37 = tail call i32 (...) @random()
%38 = srem i32 %37, 100
%39 = sitofp i32 %38 to float
%40 = getelementptr inbounds float, float* %3, i64 7
store float %39, float* %40
%41 = tail call i32 (...) @random()
%42 = srem i32 %41, 100
%43 = sitofp i32 %42 to float
store float %43, float* %4
%44 = tail call i32 (...) @random()
%45 = srem i32 %44, 100
%46 = sitofp i32 %45 to float
%47 = getelementptr inbounds float, float* %4, i64 1
store float %46, float* %47
%48 = tail call i32 (...) @random()
%49 = srem i32 %48, 100
%50 = sitofp i32 %49 to float
%51 = getelementptr inbounds float, float* %4, i64 2
store float %50, float* %51
%52 = tail call i32 (...) @random()
%53 = srem i32 %52, 100
%54 = sitofp i32 %53 to float
%55 = getelementptr inbounds float, float* %4, i64 3
store float %54, float* %55
%56 = tail call i32 (...) @random()
%57 = srem i32 %56, 100
%58 = sitofp i32 %57 to float
%59 = fmul float %58, %58
store float %59, float* %5
%60 = tail call i32 (...) @random()
%61 = srem i32 %60, 100
%62 = sitofp i32 %61 to float
%63 = getelementptr inbounds float, float* %5, i64 1
%64 = fmul float %62, %62
store float %64, float* %63
%65 = tail call i32 @radiusCPU(float* %4, float* %5, float* %3, float* %8, float* %6)
%66 = getelementptr inbounds float, float* %8, i64 2
%67 = getelementptr inbounds float, float* %6, i64 2
%68 = tail call i32 @radiusCPU(float* %4, float* %5, float* %20, float* %66, float* %67)
%69 = getelementptr inbounds float, float* %8, i64 4
%70 = getelementptr inbounds float, float* %6, i64 4
%71 = tail call i32 @radiusCPU(float* %4, float* %5, float* %28, float* %69, float* %70)
%72 = getelementptr inbounds float, float* %8, i64 6
%73 = getelementptr inbounds float, float* %6, i64 6
%74 = tail call i32 @radiusCPU(float* %4, float* %5, float* %36, float* %72, float* %73)
%75 = load float, float* %6
%76 = fptosi float %75 to i32
%77 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %76)
%78 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%79 = getelementptr inbounds float, float* %6, i64 1
%80 = load float, float* %79
%81 = fptosi float %80 to i32
%82 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %81)
%83 = tail call i32 @putchar(i32 10)
%84 = load float, float* %67
%85 = fptosi float %84 to i32
%86 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %85)
%87 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%88 = getelementptr inbounds float, float* %6, i64 3
%89 = load float, float* %88
%90 = fptosi float %89 to i32
%91 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %90)
%92 = tail call i32 @putchar(i32 10)
%93 = load float, float* %70
%94 = fptosi float %93 to i32
%95 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %94)
%96 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%97 = getelementptr inbounds float, float* %6, i64 5
%98 = load float, float* %97
%99 = fptosi float %98 to i32
%100 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %99)
%101 = tail call i32 @putchar(i32 10)
%102 = load float, float* %73
%103 = fptosi float %102 to i32
%104 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %103)
%105 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%106 = getelementptr inbounds float, float* %6, i64 7
%107 = load float, float* %106
%108 = fptosi float %107 to i32
%109 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %108)
%110 = tail call i32 @putchar(i32 10)
ret i32 0
}