#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 exp(double);
int /*<<< orphan*/ free_vector(float *, int, int);
float func(float);
int /*<<< orphan*/ gauleg(double, double, float *, float *, int);
int /*<<< orphan*/ printf(char *, ...);
float *vector(int, int);
int main(void) {
  int i;
  float xx = 0.0;
  float *x, *w;
  x = vector(1, 10);
  w = vector(1, 10);
  gauleg(0.0, 1.0, x, w, 10);
  printf("\n%2s %10s %12s\n", "#", "x[i]", "w[i]");
  for (i = 1; i <= 10; i++)
    printf("%2d %12.6f %12.6f\n", i, x[i], w[i]);
  gauleg(0.0, 10.0, x, w, 10);
  for (i = 1; i <= 10; i++)
    xx += (w[i] * func(x[i]));
  printf("\nIntegral from GAULEG: %12.6f\n", xx);
  printf("Actual value: %12.6f\n",
         (1.0 + 0.0) * exp(-0.0) - (1.0 + 10.0) * exp(-10.0));
  free_vector(w, 1, 10);
  free_vector(x, 1, 10);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
mov    $0x1,%edi
mov    $0xa,%esi
call   1060 <vector@plt>
mov    %rax,-0x18(%rbp)
mov    $0x1,%edi
mov    $0xa,%esi
call   1060 <vector@plt>
mov    %rax,-0x20(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
xorps  %xmm0,%xmm0
movsd  0xe50(%rip),%xmm1
mov    $0xa,%edx
call   1030 <gauleg@plt>
lea    0xe67(%rip),%rdi
lea    0xe70(%rip),%rsi
lea    0xe6b(%rip),%rdx
lea    0xe69(%rip),%rcx
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jg     122f <main+0xcf>
mov    -0x8(%rbp),%esi
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xe2a(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11e4 <main+0x84>
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
xorps  %xmm0,%xmm0
movsd  0xdc6(%rip),%xmm1
mov    $0xa,%edx
call   1030 <gauleg@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jg     12a9 <main+0x149>
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movss  %xmm0,-0x24(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
call   1070 <func@plt>
movaps %xmm0,%xmm2
movss  -0x24(%rbp),%xmm0
movss  -0xc(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0xc(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1253 <main+0xf3>
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd9e(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd58(%rip),%xmm0
call   1080 <exp@plt>
movsd  %xmm0,-0x30(%rbp)
movsd  0xd3e(%rip),%xmm0
call   1080 <exp@plt>
movaps %xmm0,%xmm2
movsd  -0x30(%rbp),%xmm0
movsd  0xd21(%rip),%xmm1
mulsd  %xmm2,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
addsd  %xmm1,%xmm0
lea    0xd61(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x20(%rbp),%rdi
mov    $0x1,%esi
mov    $0xa,%edx
call   1050 <free_vector@plt>
mov    -0x18(%rbp),%rdi
mov    $0x1,%esi
mov    $0xa,%edx
call   1050 <free_vector@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
mov    $0x1,%edi
mov    $0xa,%esi
call   1060 <vector@plt>
mov    %rax,%r14
mov    $0x1,%edi
mov    $0xa,%esi
call   1060 <vector@plt>
mov    %rax,%rbx
movsd  0xe7b(%rip),%xmm1
xorps  %xmm0,%xmm0
mov    %r14,%rdi
mov    %rax,%rsi
mov    $0xa,%edx
call   1030 <gauleg@plt>
lea    0xe79(%rip),%rdi
lea    0xe82(%rip),%rsi
lea    0xe7d(%rip),%rdx
lea    0xe7b(%rip),%rcx
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x4(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x4(%rbx),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xe5f(%rip),%r15
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x8(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x8(%rbx),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x2,%esi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0xc(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0xc(%rbx),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x3,%esi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x10(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x10(%rbx),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x4,%esi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x14(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x14(%rbx),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x5,%esi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x18(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x18(%rbx),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x6,%esi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x1c(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x1c(%rbx),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x7,%esi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x20(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x20(%rbx),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x8,%esi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x24(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x24(%rbx),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x9,%esi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x28(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x28(%rbx),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0xa,%esi
mov    $0x2,%al
call   1040 <printf@plt>
movsd  0xcea(%rip),%xmm1
xorps  %xmm0,%xmm0
mov    %r14,%rdi
mov    %rbx,%rsi
mov    $0xa,%edx
call   1030 <gauleg@plt>
movss  0x4(%rbx),%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x4(%r14),%xmm0
call   1070 <func@plt>
mulss  0x8(%rsp),%xmm0
xorps  %xmm1,%xmm1
addss  %xmm0,%xmm1
movss  %xmm1,0x8(%rsp)
movss  0x8(%rbx),%xmm0
movss  %xmm0,0xc(%rsp)
movss  0x8(%r14),%xmm0
call   1070 <func@plt>
mulss  0xc(%rsp),%xmm0
addss  0x8(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
movss  0xc(%rbx),%xmm0
movss  %xmm0,0xc(%rsp)
movss  0xc(%r14),%xmm0
call   1070 <func@plt>
mulss  0xc(%rsp),%xmm0
addss  0x8(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x10(%rbx),%xmm0
movss  %xmm0,0xc(%rsp)
movss  0x10(%r14),%xmm0
call   1070 <func@plt>
mulss  0xc(%rsp),%xmm0
addss  0x8(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x14(%rbx),%xmm0
movss  %xmm0,0xc(%rsp)
movss  0x14(%r14),%xmm0
call   1070 <func@plt>
mulss  0xc(%rsp),%xmm0
addss  0x8(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x18(%rbx),%xmm0
movss  %xmm0,0xc(%rsp)
movss  0x18(%r14),%xmm0
call   1070 <func@plt>
mulss  0xc(%rsp),%xmm0
addss  0x8(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x1c(%rbx),%xmm0
movss  %xmm0,0xc(%rsp)
movss  0x1c(%r14),%xmm0
call   1070 <func@plt>
mulss  0xc(%rsp),%xmm0
addss  0x8(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x20(%rbx),%xmm0
movss  %xmm0,0xc(%rsp)
movss  0x20(%r14),%xmm0
call   1070 <func@plt>
mulss  0xc(%rsp),%xmm0
addss  0x8(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x24(%rbx),%xmm0
movss  %xmm0,0xc(%rsp)
movss  0x24(%r14),%xmm0
call   1070 <func@plt>
mulss  0xc(%rsp),%xmm0
addss  0x8(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x28(%rbx),%xmm0
movss  %xmm0,0xc(%rsp)
movss  0x28(%r14),%xmm0
call   1070 <func@plt>
mulss  0xc(%rsp),%xmm0
addss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xb80(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xb91(%rip),%rdi
movsd  0xb33(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0xa,%edx
call   1050 <free_vector@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0xa,%edx
call   1050 <free_vector@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [16 x i8] c"\0A%2s %10s %12s\0A\00"
@.str.1 = [2 x i8] c"#\00"
@.str.2 = [5 x i8] c"x[i]\00"
@.str.3 = [5 x i8] c"w[i]\00"
@.str.4 = [19 x i8] c"%2d %12.6f %12.6f\0A\00"
@.str.5 = [31 x i8] c"\0AIntegral from GAULEG: %12.6f\0A\00"
@.str.6 = [22 x i8] c"Actual value: %12.6f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca float
%4 = alloca float*
%5 = alloca float*
store i32 0, i32* %1
store float 0.000000e+00, float* %3
%6 = call float* @vector(i32 1, i32 10)
store float* %6, float** %4
%7 = call float* @vector(i32 1, i32 10)
store float* %7, float** %5
%8 = load float*, float** %4
%9 = load float*, float** %5
%10 = call i32 @gauleg(double 0.000000e+00, double 1.000000e+00, float* %8, float* %9, i32 10)
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
store i32 1, i32* %2
br label %12
12: ; preds = %30, %0
%13 = load i32, i32* %2
%14 = icmp sle i32 %13, 10
br i1 %14, label %15, label %33
15: ; preds = %12
%16 = load i32, i32* %2
%17 = load float*, float** %4
%18 = load i32, i32* %2
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds float, float* %17, i64 %19
%21 = load float, float* %20
%22 = fpext float %21 to double
%23 = load float*, float** %5
%24 = load i32, i32* %2
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds float, float* %23, i64 %25
%27 = load float, float* %26
%28 = fpext float %27 to double
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 %16, double %22, double %28)
br label %30
30: ; preds = %15
%31 = load i32, i32* %2
%32 = add nsw i32 %31, 1
store i32 %32, i32* %2
br label %12
33: ; preds = %12
%34 = load float*, float** %4
%35 = load float*, float** %5
%36 = call i32 @gauleg(double 0.000000e+00, double 1.000000e+01, float* %34, float* %35, i32 10)
store i32 1, i32* %2
br label %37
37: ; preds = %54, %33
%38 = load i32, i32* %2
%39 = icmp sle i32 %38, 10
br i1 %39, label %40, label %57
40: ; preds = %37
%41 = load float*, float** %5
%42 = load i32, i32* %2
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds float, float* %41, i64 %43
%45 = load float, float* %44
%46 = load float*, float** %4
%47 = load i32, i32* %2
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, float* %46, i64 %48
%50 = load float, float* %49
%51 = call float @func(float %50)
%52 = load float, float* %3
%53 = call float @llvm.fmuladd.f32(float %45, float %51, float %52)
store float %53, float* %3
br label %54
54: ; preds = %40
%55 = load i32, i32* %2
%56 = add nsw i32 %55, 1
store i32 %56, i32* %2
br label %37
57: ; preds = %37
%58 = load float, float* %3
%59 = fpext float %58 to double
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0), double %59)
%61 = call double @exp(double -0.000000e+00)
%62 = call double @exp(double -1.000000e+01)
%63 = fmul double 1.100000e+01, %62
%64 = fneg double %63
%65 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %61, double %64)
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), double %65)
%67 = load float*, float** %5
%68 = call i32 @free_vector(float* %67, i32 1, i32 10)
%69 = load float*, float** %4
%70 = call i32 @free_vector(float* %69, i32 1, i32 10)
ret i32 0
}

LLVM IR (-O2):
@.str = [16 x i8] c"\0A%2s %10s %12s\0A\00"
@.str.1 = [2 x i8] c"#\00"
@.str.2 = [5 x i8] c"x[i]\00"
@.str.3 = [5 x i8] c"w[i]\00"
@.str.4 = [19 x i8] c"%2d %12.6f %12.6f\0A\00"
@.str.5 = [31 x i8] c"\0AIntegral from GAULEG: %12.6f\0A\00"
@.str.6 = [22 x i8] c"Actual value: %12.6f\0A\00"
define i32 @main() {
%1 = tail call float* @vector(i32 1, i32 10)
%2 = tail call float* @vector(i32 1, i32 10)
%3 = tail call i32 @gauleg(double 0.000000e+00, double 1.000000e+00, float* %1, float* %2, i32 10)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%5 = getelementptr inbounds float, float* %1, i64 1
%6 = load float, float* %5
%7 = fpext float %6 to double
%8 = getelementptr inbounds float, float* %2, i64 1
%9 = load float, float* %8
%10 = fpext float %9 to double
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 1, double %7, double %10)
%12 = getelementptr inbounds float, float* %1, i64 2
%13 = load float, float* %12
%14 = fpext float %13 to double
%15 = getelementptr inbounds float, float* %2, i64 2
%16 = load float, float* %15
%17 = fpext float %16 to double
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 2, double %14, double %17)
%19 = getelementptr inbounds float, float* %1, i64 3
%20 = load float, float* %19
%21 = fpext float %20 to double
%22 = getelementptr inbounds float, float* %2, i64 3
%23 = load float, float* %22
%24 = fpext float %23 to double
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 3, double %21, double %24)
%26 = getelementptr inbounds float, float* %1, i64 4
%27 = load float, float* %26
%28 = fpext float %27 to double
%29 = getelementptr inbounds float, float* %2, i64 4
%30 = load float, float* %29
%31 = fpext float %30 to double
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 4, double %28, double %31)
%33 = getelementptr inbounds float, float* %1, i64 5
%34 = load float, float* %33
%35 = fpext float %34 to double
%36 = getelementptr inbounds float, float* %2, i64 5
%37 = load float, float* %36
%38 = fpext float %37 to double
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 5, double %35, double %38)
%40 = getelementptr inbounds float, float* %1, i64 6
%41 = load float, float* %40
%42 = fpext float %41 to double
%43 = getelementptr inbounds float, float* %2, i64 6
%44 = load float, float* %43
%45 = fpext float %44 to double
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 6, double %42, double %45)
%47 = getelementptr inbounds float, float* %1, i64 7
%48 = load float, float* %47
%49 = fpext float %48 to double
%50 = getelementptr inbounds float, float* %2, i64 7
%51 = load float, float* %50
%52 = fpext float %51 to double
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 7, double %49, double %52)
%54 = getelementptr inbounds float, float* %1, i64 8
%55 = load float, float* %54
%56 = fpext float %55 to double
%57 = getelementptr inbounds float, float* %2, i64 8
%58 = load float, float* %57
%59 = fpext float %58 to double
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 8, double %56, double %59)
%61 = getelementptr inbounds float, float* %1, i64 9
%62 = load float, float* %61
%63 = fpext float %62 to double
%64 = getelementptr inbounds float, float* %2, i64 9
%65 = load float, float* %64
%66 = fpext float %65 to double
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 9, double %63, double %66)
%68 = getelementptr inbounds float, float* %1, i64 10
%69 = load float, float* %68
%70 = fpext float %69 to double
%71 = getelementptr inbounds float, float* %2, i64 10
%72 = load float, float* %71
%73 = fpext float %72 to double
%74 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 10, double %70, double %73)
%75 = tail call i32 @gauleg(double 0.000000e+00, double 1.000000e+01, float* %1, float* %2, i32 10)
%76 = load float, float* %8
%77 = load float, float* %5
%78 = tail call float @func(float %77)
%79 = tail call float @llvm.fmuladd.f32(float %76, float %78, float 0.000000e+00)
%80 = load float, float* %15
%81 = load float, float* %12
%82 = tail call float @func(float %81)
%83 = tail call float @llvm.fmuladd.f32(float %80, float %82, float %79)
%84 = load float, float* %22
%85 = load float, float* %19
%86 = tail call float @func(float %85)
%87 = tail call float @llvm.fmuladd.f32(float %84, float %86, float %83)
%88 = load float, float* %29
%89 = load float, float* %26
%90 = tail call float @func(float %89)
%91 = tail call float @llvm.fmuladd.f32(float %88, float %90, float %87)
%92 = load float, float* %36
%93 = load float, float* %33
%94 = tail call float @func(float %93)
%95 = tail call float @llvm.fmuladd.f32(float %92, float %94, float %91)
%96 = load float, float* %43
%97 = load float, float* %40
%98 = tail call float @func(float %97)
%99 = tail call float @llvm.fmuladd.f32(float %96, float %98, float %95)
%100 = load float, float* %50
%101 = load float, float* %47
%102 = tail call float @func(float %101)
%103 = tail call float @llvm.fmuladd.f32(float %100, float %102, float %99)
%104 = load float, float* %57
%105 = load float, float* %54
%106 = tail call float @func(float %105)
%107 = tail call float @llvm.fmuladd.f32(float %104, float %106, float %103)
%108 = load float, float* %64
%109 = load float, float* %61
%110 = tail call float @func(float %109)
%111 = tail call float @llvm.fmuladd.f32(float %108, float %110, float %107)
%112 = load float, float* %71
%113 = load float, float* %68
%114 = tail call float @func(float %113)
%115 = tail call float @llvm.fmuladd.f32(float %112, float %114, float %111)
%116 = fpext float %115 to double
%117 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0), double %116)
%118 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), double 0x3FEFFBE8AF14D2BB)
%119 = tail call i32 @free_vector(float* %2, i32 1, i32 10)
%120 = tail call i32 @free_vector(float* %1, i32 1, i32 10)
ret i32 0
}