#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 */
struct timeval {
  double tv_sec;
  double tv_usec;
};

/* Variables and functions */
int /*<<< orphan*/ display(int **, int);
int /*<<< orphan*/ floyd(int **, int);
int /*<<< orphan*/ floyd_parallel(int **, int);
int /*<<< orphan*/ gettimeofday(struct timeval *, int /*<<< orphan*/ *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int main() {
  printf("Floyds Algorithm\n");
  int arr[100][100], arr1[100][100], N;
  int i, j;
  struct timeval t;
  printf("Enter number of vertices\n");
  scanf("%d", &N);
  printf("Enter %d X %d adj matrix\n", N, N);
  for (i = 0; i < N; i++) {
    for (j = 0; j < N; j++) {
      scanf("%d", &arr[i][j]);
      arr1[i][j] = arr[i][j];
    }
  }
  gettimeofday(&t, NULL);
  double start1 = t.tv_sec + t.tv_usec / 1000000.0;
  floyd(arr, N);
  gettimeofday(&t, NULL);
  double end1 = t.tv_sec + t.tv_usec / 1000000.0;
  gettimeofday(&t, NULL);
  double start2 = t.tv_sec + t.tv_usec / 1000000.0;
  floyd_parallel(arr1, N);
  gettimeofday(&t, NULL);
  double end2 = t.tv_sec + t.tv_usec / 1000000.0;
  printf("Solution\n");
  display(arr, N);
  double time1 = (1.0 * (end1 - start1));
  double time2 = (1.0 * (end2 - start2));
  double speed_up = time2 / time1;
  printf("Non-parallel Floyd time : %lf \n", time1);
  printf("Parallel Floyd time : %lf \n", time2);
  printf("Speed up : %lf \n", speed_up);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x138f0,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe97(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe9b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xea7(%rip),%rdi
lea    -0x13894(%rbp),%rsi
call   1080 <scanf@plt>
mov    -0x13894(%rbp),%esi
mov    -0x13894(%rbp),%edx
lea    0xe8b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x13898(%rbp)
mov    -0x13898(%rbp),%eax
cmp    -0x13894(%rbp),%eax
jge    1296 <main+0x136>
movl   $0x0,-0x1389c(%rbp)
mov    -0x1389c(%rbp),%eax
cmp    -0x13894(%rbp),%eax
jge    127d <main+0x11d>
movslq -0x13898(%rbp),%rax
lea    -0x9c50(%rbp),%rsi
imul   $0x190,%rax,%rax
add    %rax,%rsi
movslq -0x1389c(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe1c(%rip),%rdi
call   1080 <scanf@plt>
movslq -0x13898(%rbp),%rcx
lea    -0x9c50(%rbp),%rax
imul   $0x190,%rcx,%rcx
add    %rcx,%rax
movslq -0x1389c(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
movslq -0x13898(%rbp),%rcx
lea    -0x13890(%rbp),%rax
imul   $0x190,%rcx,%rcx
add    %rcx,%rax
movslq -0x1389c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x1389c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1389c(%rbp)
jmp    11e1 <main+0x81>
jmp    1282 <main+0x122>
mov    -0x13898(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x13898(%rbp)
jmp    11c5 <main+0x65>
lea    -0x138b0(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1060 <gettimeofday@plt>
movsd  -0x138b0(%rbp),%xmm0
ff
movsd  -0x138a8(%rbp),%xmm1
ff
movsd  0xd4a(%rip),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x138b8(%rbp)
ff
lea    -0x9c50(%rbp),%rdi
mov    -0x13894(%rbp),%esi
call   1070 <floyd@plt>
lea    -0x138b0(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1060 <gettimeofday@plt>
movsd  -0x138b0(%rbp),%xmm0
ff
movsd  -0x138a8(%rbp),%xmm1
ff
movsd  0xd00(%rip),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x138c0(%rbp)
ff
lea    -0x138b0(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1060 <gettimeofday@plt>
movsd  -0x138b0(%rbp),%xmm0
ff
movsd  -0x138a8(%rbp),%xmm1
ff
movsd  0xcc8(%rip),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x138c8(%rbp)
ff
lea    -0x13890(%rbp),%rdi
mov    -0x13894(%rbp),%esi
call   1030 <floyd_parallel@plt>
lea    -0x138b0(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1060 <gettimeofday@plt>
movsd  -0x138b0(%rbp),%xmm0
ff
movsd  -0x138a8(%rbp),%xmm1
ff
movsd  0xc7e(%rip),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x138d0(%rbp)
ff
lea    0xcb8(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x9c50(%rbp),%rdi
mov    -0x13894(%rbp),%esi
call   1040 <display@plt>
movsd  -0x138c0(%rbp),%xmm1
ff
subsd  -0x138b8(%rbp),%xmm1
ff
movsd  0xc2e(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x138d8(%rbp)
ff
movsd  -0x138d0(%rbp),%xmm1
ff
subsd  -0x138c8(%rbp),%xmm1
ff
movsd  0xc0a(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x138e0(%rbp)
ff
movsd  -0x138e0(%rbp),%xmm0
ff
divsd  -0x138d8(%rbp),%xmm0
ff
movsd  %xmm0,-0x138e8(%rbp)
ff
movsd  -0x138d8(%rbp),%xmm0
ff
lea    0xc3a(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  -0x138e0(%rbp),%xmm0
ff
lea    0xc44(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  -0x138e8(%rbp),%xmm0
ff
lea    0xc4a(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x138f0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x138d8,%rsp
lea    0xef2(%rip),%rdi
call   1040 <puts@plt>
lea    0xef7(%rip),%rdi
call   1040 <puts@plt>
lea    0xe70(%rip),%rdi
lea    0xc(%rsp),%rsi
call   1090 <scanf@plt>
mov    0xc(%rsp),%edx
lea    0xe5e(%rip),%rdi
mov    %edx,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xc(%rsp),%eax
test   %eax,%eax
jle    1235 <main+0xc5>
lea    0x9c90(%rsp),%r15
lea    0x50(%rsp),%r12
xor    %r13d,%r13d
lea    0xe33(%rip),%r14
jmp    11fa <main+0x8a>
nop
movslq %eax,%rcx
add    $0x1,%r13
add    $0x190,%r15
add    $0x190,%r12
cmp    %rcx,%r13
jge    1235 <main+0xc5>
test   %eax,%eax
jle    11e0 <main+0x70>
mov    %r15,%rbx
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1090 <scanf@plt>
mov    (%rbx),%eax
mov    %eax,(%r12,%rbp,4)
add    $0x1,%rbp
movslq 0xc(%rsp),%rax
add    $0x4,%rbx
cmp    %rax,%rbp
jl     1210 <main+0xa0>
jmp    11e0 <main+0x70>
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
call   1070 <gettimeofday@plt>
mov    0xc(%rsp),%esi
movsd  0x20(%rsp),%xmm0
movaps %xmm0,0x30(%rsp)
movsd  0x28(%rsp),%xmm0
movaps %xmm0,0x10(%rsp)
lea    0x9c90(%rsp),%r14
mov    %r14,%rdi
call   1080 <floyd@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1070 <gettimeofday@plt>
movapd 0x20(%rsp),%xmm1
movapd %xmm1,%xmm0
shufpd $0x1,0x10(%rsp),%xmm0
divpd  0xd6f(%rip),%xmm0
unpcklpd 0x30(%rsp),%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x30(%rsp)
mov    %rbx,%rdi
xor    %esi,%esi
call   1070 <gettimeofday@plt>
mov    0xc(%rsp),%esi
movsd  0x20(%rsp),%xmm0
movaps %xmm0,0x10(%rsp)
movsd  0x28(%rsp),%xmm0
movaps %xmm0,0x40(%rsp)
lea    0x50(%rsp),%rdi
call   1030 <floyd_parallel@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1070 <gettimeofday@plt>
movapd 0x20(%rsp),%xmm1
movapd %xmm1,%xmm0
shufpd $0x1,0x40(%rsp),%xmm0
divpd  0xd0e(%rip),%xmm0
unpcklpd 0x10(%rsp),%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x10(%rsp)
lea    0xd9b(%rip),%rdi
call   1040 <puts@plt>
mov    0xc(%rsp),%esi
mov    %r14,%rdi
call   1050 <display@plt>
movapd 0x10(%rsp),%xmm2
movapd %xmm2,%xmm1
movapd 0x30(%rsp),%xmm0
unpcklpd %xmm0,%xmm1
unpckhpd %xmm0,%xmm2
subpd  %xmm2,%xmm1
movapd %xmm1,0x10(%rsp)
movapd %xmm1,%xmm0
unpckhpd %xmm1,%xmm0
movapd %xmm1,%xmm2
divsd  %xmm0,%xmm2
movapd %xmm2,0x30(%rsp)
lea    0xcd4(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
lea    0xce6(%rip),%rdi
movaps 0x10(%rsp),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
lea    0xcef(%rip),%rdi
movaps 0x30(%rsp),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x138d8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.timeval = type { double, double }
@.str = [18 x i8] c"Floyds Algorithm\0A\00"
@.str.1 = [26 x i8] c"Enter number of vertices\0A\00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [26 x i8] c"Enter %d X %d adj matrix\0A\00"
@.str.4 = [10 x i8] c"Solution\0A\00"
@.str.5 = [32 x i8] c"Non-parallel Floyd time : %lf \0A\00"
@.str.6 = [28 x i8] c"Parallel Floyd time : %lf \0A\00"
@.str.7 = [17 x i8] c"Speed up : %lf \0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [100 x [100 x i32]]
%3 = alloca [100 x [100 x i32]]
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca %struct.timeval
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
store i32 0, i32* %1
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0))
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%18 = load i32, i32* %4
%19 = load i32, i32* %4
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i32 %18, i32 %19)
store i32 0, i32* %5
br label %21
21: ; preds = %55, %0
%22 = load i32, i32* %5
%23 = load i32, i32* %4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %58
25: ; preds = %21
store i32 0, i32* %6
br label %26
26: ; preds = %51, %25
%27 = load i32, i32* %6
%28 = load i32, i32* %4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %54
30: ; preds = %26
%31 = load i32, i32* %5
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [100 x [100 x i32]], [100 x [100 x i32]]* %2, i64 0, i64 %32
%34 = load i32, i32* %6
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [100 x i32], [100 x i32]* %33, i64 0, i64 %35
%37 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %36)
%38 = load i32, i32* %5
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [100 x [100 x i32]], [100 x [100 x i32]]* %2, i64 0, i64 %39
%41 = load i32, i32* %6
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [100 x i32], [100 x i32]* %40, i64 0, i64 %42
%44 = load i32, i32* %43
%45 = load i32, i32* %5
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [100 x [100 x i32]], [100 x [100 x i32]]* %3, i64 0, i64 %46
%48 = load i32, i32* %6
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [100 x i32], [100 x i32]* %47, i64 0, i64 %49
store i32 %44, i32* %50
br label %51
51: ; preds = %30
%52 = load i32, i32* %6
%53 = add nsw i32 %52, 1
store i32 %53, i32* %6
br label %26
54: ; preds = %26
br label %55
55: ; preds = %54
%56 = load i32, i32* %5
%57 = add nsw i32 %56, 1
store i32 %57, i32* %5
br label %21
58: ; preds = %21
%59 = call i32 @gettimeofday(%struct.timeval* %7, i32* null)
%60 = getelementptr inbounds %struct.timeval, %struct.timeval* %7, i32 0, i32 0
%61 = load double, double* %60
%62 = getelementptr inbounds %struct.timeval, %struct.timeval* %7, i32 0, i32 1
%63 = load double, double* %62
%64 = fdiv double %63, 1.000000e+06
%65 = fadd double %61, %64
store double %65, double* %8
%66 = getelementptr inbounds [100 x [100 x i32]], [100 x [100 x i32]]* %2, i64 0, i64 0
%67 = bitcast [100 x i32]* %66 to i32**
%68 = load i32, i32* %4
%69 = call i32 @floyd(i32** %67, i32 %68)
%70 = call i32 @gettimeofday(%struct.timeval* %7, i32* null)
%71 = getelementptr inbounds %struct.timeval, %struct.timeval* %7, i32 0, i32 0
%72 = load double, double* %71
%73 = getelementptr inbounds %struct.timeval, %struct.timeval* %7, i32 0, i32 1
%74 = load double, double* %73
%75 = fdiv double %74, 1.000000e+06
%76 = fadd double %72, %75
store double %76, double* %9
%77 = call i32 @gettimeofday(%struct.timeval* %7, i32* null)
%78 = getelementptr inbounds %struct.timeval, %struct.timeval* %7, i32 0, i32 0
%79 = load double, double* %78
%80 = getelementptr inbounds %struct.timeval, %struct.timeval* %7, i32 0, i32 1
%81 = load double, double* %80
%82 = fdiv double %81, 1.000000e+06
%83 = fadd double %79, %82
store double %83, double* %10
%84 = getelementptr inbounds [100 x [100 x i32]], [100 x [100 x i32]]* %3, i64 0, i64 0
%85 = bitcast [100 x i32]* %84 to i32**
%86 = load i32, i32* %4
%87 = call i32 @floyd_parallel(i32** %85, i32 %86)
%88 = call i32 @gettimeofday(%struct.timeval* %7, i32* null)
%89 = getelementptr inbounds %struct.timeval, %struct.timeval* %7, i32 0, i32 0
%90 = load double, double* %89
%91 = getelementptr inbounds %struct.timeval, %struct.timeval* %7, i32 0, i32 1
%92 = load double, double* %91
%93 = fdiv double %92, 1.000000e+06
%94 = fadd double %90, %93
store double %94, double* %11
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%96 = getelementptr inbounds [100 x [100 x i32]], [100 x [100 x i32]]* %2, i64 0, i64 0
%97 = bitcast [100 x i32]* %96 to i32**
%98 = load i32, i32* %4
%99 = call i32 @display(i32** %97, i32 %98)
%100 = load double, double* %9
%101 = load double, double* %8
%102 = fsub double %100, %101
%103 = fmul double 1.000000e+00, %102
store double %103, double* %12
%104 = load double, double* %11
%105 = load double, double* %10
%106 = fsub double %104, %105
%107 = fmul double 1.000000e+00, %106
store double %107, double* %13
%108 = load double, double* %13
%109 = load double, double* %12
%110 = fdiv double %108, %109
store double %110, double* %14
%111 = load double, double* %12
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), double %111)
%113 = load double, double* %13
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0), double %113)
%115 = load double, double* %14
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), double %115)
ret i32 0
}

LLVM IR (-O2):
%struct.timeval = type { double, double }
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [26 x i8] c"Enter %d X %d adj matrix\0A\00"
@.str.5 = [32 x i8] c"Non-parallel Floyd time : %lf \0A\00"
@.str.6 = [28 x i8] c"Parallel Floyd time : %lf \0A\00"
@.str.7 = [17 x i8] c"Speed up : %lf \0A\00"
@str = [17 x i8] c"Floyds Algorithm\00"
@str.8 = [25 x i8] c"Enter number of vertices\00"
@str.9 = [9 x i8] c"Solution\00"
define i32 @main() {
%1 = alloca [100 x [100 x i32]]
%2 = alloca [100 x [100 x i32]]
%3 = alloca i32
%4 = alloca <2 x double>
%5 = bitcast <2 x double>* %4 to %struct.timeval*
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
%7 = bitcast [100 x [100 x i32]]* %1 to i8*
%8 = bitcast [100 x [100 x i32]]* %2 to i8*
%9 = bitcast i32* %3 to i8*
%10 = bitcast <2 x double>* %4 to i8*
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.8, i64 0, i64 0))
%12 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %3)
%13 = load i32, i32* %3
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i32 %13, i32 %13)
%15 = load i32, i32* %3
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %36
17: ; preds = %0, %31
%18 = phi i32 [ %32, %31 ], [ %15, %0 ]
%19 = phi i64 [ %34, %31 ], [ 0, %0 ]
%20 = icmp sgt i32 %18, 0
br i1 %20, label %21, label %31
21: ; preds = %17, %21
%22 = phi i64 [ %27, %21 ], [ 0, %17 ]
%23 = getelementptr inbounds [100 x [100 x i32]], [100 x [100 x i32]]* %1, i64 0, i64 %19, i64 %22
%24 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %23)
%25 = load i32, i32* %23
%26 = getelementptr inbounds [100 x [100 x i32]], [100 x [100 x i32]]* %2, i64 0, i64 %19, i64 %22
store i32 %25, i32* %26
%27 = add nuw nsw i64 %22, 1
%28 = load i32, i32* %3
%29 = sext i32 %28 to i64
%30 = icmp slt i64 %27, %29
br i1 %30, label %21, label %31
31: ; preds = %21, %17
%32 = phi i32 [ %18, %17 ], [ %28, %21 ]
%33 = sext i32 %32 to i64
%34 = add nuw nsw i64 %19, 1
%35 = icmp slt i64 %34, %33
br i1 %35, label %17, label %36
36: ; preds = %31, %0
%37 = call i32 @gettimeofday(%struct.timeval* %5, i32* null)
%38 = getelementptr inbounds <2 x double>, <2 x double>* %4, i64 0, i64 0
%39 = load double, double* %38
%40 = getelementptr inbounds <2 x double>, <2 x double>* %4, i64 0, i64 1
%41 = load double, double* %40
%42 = bitcast [100 x [100 x i32]]* %1 to i32**
%43 = load i32, i32* %3
%44 = call i32 @floyd(i32** %42, i32 %43)
%45 = call i32 @gettimeofday(%struct.timeval* %5, i32* null)
%46 = load <2 x double>, <2 x double>* %4
%47 = shufflevector <2 x double> %46, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%48 = insertelement <2 x double> %47, double %41, i64 1
%49 = fdiv <2 x double> %48, <double 1.000000e+06, double 1.000000e+06>
%50 = insertelement <2 x double> %46, double %39, i64 1
%51 = fadd <2 x double> %50, %49
%52 = call i32 @gettimeofday(%struct.timeval* %5, i32* null)
%53 = load double, double* %38
%54 = load double, double* %40
%55 = bitcast [100 x [100 x i32]]* %2 to i32**
%56 = load i32, i32* %3
%57 = call i32 @floyd_parallel(i32** %55, i32 %56)
%58 = call i32 @gettimeofday(%struct.timeval* %5, i32* null)
%59 = load <2 x double>, <2 x double>* %4
%60 = shufflevector <2 x double> %59, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%61 = insertelement <2 x double> %60, double %54, i64 1
%62 = fdiv <2 x double> %61, <double 1.000000e+06, double 1.000000e+06>
%63 = insertelement <2 x double> %59, double %53, i64 1
%64 = fadd <2 x double> %63, %62
%65 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.9, i64 0, i64 0))
%66 = load i32, i32* %3
%67 = call i32 @display(i32** %42, i32 %66)
%68 = shufflevector <2 x double> %64, <2 x double> %51, <2 x i32> <i32 0, i32 2>
%69 = shufflevector <2 x double> %64, <2 x double> %51, <2 x i32> <i32 1, i32 3>
%70 = fsub <2 x double> %68, %69
%71 = extractelement <2 x double> %70, i64 0
%72 = extractelement <2 x double> %70, i64 1
%73 = fdiv double %71, %72
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), double %72)
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0), double %71)
%76 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), double %73)
ret i32 0
}