; LLVM IR from marcobambini/gravity :: src/runtime (gravity_core)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.gravity_value_t = type { ptr, %union.anon }
%union.anon = type { i64 }
%struct.gravity_closure_s = type { ptr, %struct.gravity_gc_s, ptr, ptr, ptr, ptr, i32 }
%struct.gravity_gc_s = type { i8, i8, ptr, ptr, ptr, ptr }
%struct.gravity_function_t = type { ptr, %struct.gravity_gc_s, ptr, ptr, i16, i16, i16, i16, i32, %union.anon.0 }
%union.anon.0 = type { %struct.anon }
%struct.anon = type { %struct.gravity_value_r, %struct.gravity_value_r, %struct.gravity_value_r, i32, ptr, ptr, float, i8 }
%struct.gravity_value_r = type { i64, i64, ptr }

@gravity_class_int = external dso_local global ptr, align 8
@gravity_class_float = external dso_local global ptr, align 8
@gravity_class_bool = external dso_local global ptr, align 8
@gravity_class_null = external dso_local global ptr, align 8
@gravity_class_string = external dso_local global ptr, align 8

; Function Attrs: inlinehint nounwind uwtable
define dso_local { ptr, i64 } @convert_value2int(ptr noundef %0, ptr %1, i64 %2) #0 {
  %4 = alloca %struct.gravity_value_t, align 8
  %5 = alloca %struct.gravity_value_t, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 0
  store ptr %1, ptr %9, align 8
  %10 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 1
  store i64 %2, ptr %10, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 0
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = load ptr, ptr @gravity_class_int, align 8, !tbaa !5
  %14 = icmp eq ptr %12, %13
  br i1 %14, label %15, label %16

15:                                               ; preds = %3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %4, ptr align 8 %5, i64 16, i1 false), !tbaa.struct !11
  br label %129

16:                                               ; preds = %3
  %17 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 0
  %18 = load ptr, ptr %17, align 8, !tbaa !9
  %19 = load ptr, ptr @gravity_class_float, align 8, !tbaa !5
  %20 = icmp eq ptr %18, %19
  br i1 %20, label %21, label %28

21:                                               ; preds = %16
  %22 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 0
  %23 = load ptr, ptr @gravity_class_int, align 8, !tbaa !5
  store ptr %23, ptr %22, align 8, !tbaa !9
  %24 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 1
  %25 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 1
  %26 = load double, ptr %25, align 8, !tbaa !12
  %27 = fptosi double %26 to i64
  store i64 %27, ptr %24, align 8, !tbaa !12
  br label %129

28:                                               ; preds = %16
  %29 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  %31 = load ptr, ptr @gravity_class_bool, align 8, !tbaa !5
  %32 = icmp eq ptr %30, %31
  br i1 %32, label %33, label %39

33:                                               ; preds = %28
  %34 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 0
  %35 = load ptr, ptr @gravity_class_int, align 8, !tbaa !5
  store ptr %35, ptr %34, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 1
  %37 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 1
  %38 = load i64, ptr %37, align 8, !tbaa !12
  store i64 %38, ptr %36, align 8, !tbaa !12
  br label %129

39:                                               ; preds = %28
  %40 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = load ptr, ptr @gravity_class_null, align 8, !tbaa !5
  %43 = icmp eq ptr %41, %42
  br i1 %43, label %44, label %52

44:                                               ; preds = %39
  %45 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 1
  %46 = load i64, ptr %45, align 8, !tbaa !12
  %47 = icmp eq i64 %46, 0
  br i1 %47, label %48, label %52

48:                                               ; preds = %44
  %49 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 0
  %50 = load ptr, ptr @gravity_class_int, align 8, !tbaa !5
  store ptr %50, ptr %49, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 1
  store i64 0, ptr %51, align 8, !tbaa !12
  br label %129

52:                                               ; preds = %44, %39
  %53 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !9
  %55 = load ptr, ptr @gravity_class_null, align 8, !tbaa !5
  %56 = icmp eq ptr %54, %55
  br i1 %56, label %57, label %65

57:                                               ; preds = %52
  %58 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 1
  %59 = load i64, ptr %58, align 8, !tbaa !12
  %60 = icmp eq i64 %59, 1
  br i1 %60, label %61, label %65

61:                                               ; preds = %57
  %62 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 0
  %63 = load ptr, ptr @gravity_class_int, align 8, !tbaa !5
  store ptr %63, ptr %62, align 8, !tbaa !9
  %64 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 1
  store i64 0, ptr %64, align 8, !tbaa !12
  br label %129

65:                                               ; preds = %57, %52
  %66 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8, !tbaa !9
  %68 = load ptr, ptr @gravity_class_string, align 8, !tbaa !5
  %69 = icmp eq ptr %67, %68
  br i1 %69, label %70, label %78

70:                                               ; preds = %65
  %71 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 1
  %72 = load ptr, ptr %71, align 8, !tbaa !12
  %73 = call { ptr, i64 } @convert_string2number(ptr noundef %72, i32 noundef 1)
  %74 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 0
  %75 = extractvalue { ptr, i64 } %73, 0
  store ptr %75, ptr %74, align 8
  %76 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 1
  %77 = extractvalue { ptr, i64 } %73, 1
  store i64 %77, ptr %76, align 8
  br label %129

78:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8
  %82 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 1
  %83 = load i64, ptr %82, align 8
  %84 = call ptr @gravity_value_getclass(ptr %81, i64 %83)
  %85 = call ptr @gravity_vm_fastlookup(ptr noundef %79, ptr noundef %84, i32 noundef 25)
  store ptr %85, ptr %7, align 8, !tbaa !5
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = icmp ne ptr %86, null
  br i1 %87, label %88, label %107

88:                                               ; preds = %78
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.gravity_closure_s, ptr %89, i32 0, i32 3
  %91 = load ptr, ptr %90, align 8, !tbaa !13
  %92 = getelementptr inbounds %struct.gravity_function_t, ptr %91, i32 0, i32 8
  %93 = load i32, ptr %92, align 8, !tbaa !18
  %94 = icmp eq i32 %93, 1
  br i1 %94, label %95, label %102

95:                                               ; preds = %88
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.gravity_closure_s, ptr %96, i32 0, i32 3
  %98 = load ptr, ptr %97, align 8, !tbaa !13
  %99 = getelementptr inbounds %struct.gravity_function_t, ptr %98, i32 0, i32 9
  %100 = load ptr, ptr %99, align 8, !tbaa !12
  %101 = icmp eq ptr %100, @convert_object_int
  br i1 %101, label %107, label %102

102:                                              ; preds = %95, %88
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = call ptr @gravity_vm_getclosure(ptr noundef %103)
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = icmp eq ptr %104, %105
  br i1 %106, label %107, label %110

107:                                              ; preds = %102, %95, %78
  %108 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 0
  store ptr null, ptr %108, align 8, !tbaa !9
  %109 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 1
  store ptr null, ptr %109, align 8, !tbaa !12
  store i32 1, ptr %8, align 4
  br label %128

110:                                              ; preds = %102
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8
  %115 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 1
  %116 = load i64, ptr %115, align 8
  %117 = call zeroext i1 @gravity_vm_runclosure(ptr noundef %111, ptr noundef %112, ptr %114, i64 %116, ptr noundef null, i16 noundef zeroext 0)
  br i1 %117, label %118, label %125

118:                                              ; preds = %110
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = call { ptr, i64 } @gravity_vm_result(ptr noundef %119)
  %121 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 0
  %122 = extractvalue { ptr, i64 } %120, 0
  store ptr %122, ptr %121, align 8
  %123 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 1
  %124 = extractvalue { ptr, i64 } %120, 1
  store i64 %124, ptr %123, align 8
  store i32 1, ptr %8, align 4
  br label %128

125:                                              ; preds = %110
  %126 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 0
  store ptr null, ptr %126, align 8, !tbaa !9
  %127 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 1
  store ptr null, ptr %127, align 8, !tbaa !12
  store i32 1, ptr %8, align 4
  br label %128

128:                                              ; preds = %125, %118, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %129

129:                                              ; preds = %128, %70, %61, %48, %33, %21, %15
  %130 = load { ptr, i64 }, ptr %4, align 8
  ret { ptr, i64 } %130
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
declare hidden { ptr, i64 } @convert_string2number(ptr noundef, i32 noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #3

declare ptr @gravity_vm_fastlookup(ptr noundef, ptr noundef, i32 noundef) #4

declare ptr @gravity_value_getclass(ptr, i64) #4

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @convert_object_int(ptr noundef, ptr noundef, i16 noundef zeroext, i32 noundef) #2

declare ptr @gravity_vm_getclosure(ptr noundef) #4

declare zeroext i1 @gravity_vm_runclosure(ptr noundef, ptr noundef, ptr, i64, ptr noundef, i16 noundef zeroext) #4

declare { ptr, i64 } @gravity_vm_result(ptr noundef) #4

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #3

attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"", !6, i64 0, !7, i64 8}
!11 = !{i64 0, i64 8, !5, i64 8, i64 8, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !6, i64 56}
!14 = !{!"gravity_closure_s", !6, i64 0, !15, i64 8, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80}
!15 = !{!"gravity_gc_s", !16, i64 0, !16, i64 1, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!19, !17, i64 72}
!19 = !{!"", !6, i64 0, !15, i64 8, !6, i64 48, !6, i64 56, !20, i64 64, !20, i64 66, !20, i64 68, !20, i64 70, !17, i64 72, !7, i64 80}
!20 = !{!"short", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@gravity_class_int = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_float = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_bool = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_null = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_string = external dso_local local_unnamed_addr global ptr, align 8

; Function Attrs: inlinehint nounwind uwtable
define dso_local { ptr, i64 } @convert_value2int(ptr noundef %0, ptr %1, i64 %2) local_unnamed_addr #0 {
  %4 = load ptr, ptr @gravity_class_int, align 8, !tbaa !5
  %5 = icmp eq ptr %4, %1
  br i1 %5, label %49, label %6

6:                                                ; preds = %3
  %7 = load ptr, ptr @gravity_class_float, align 8, !tbaa !5
  %8 = icmp eq ptr %7, %1
  br i1 %8, label %9, label %12

9:                                                ; preds = %6
  %10 = bitcast i64 %2 to double
  %11 = fptosi double %10 to i64
  br label %49

12:                                               ; preds = %6
  %13 = load ptr, ptr @gravity_class_bool, align 8, !tbaa !5
  %14 = icmp eq ptr %13, %1
  br i1 %14, label %49, label %15

15:                                               ; preds = %12
  %16 = load ptr, ptr @gravity_class_null, align 8, !tbaa !5
  %17 = icmp eq ptr %16, %1
  %18 = icmp ult i64 %2, 2
  %or.cond30 = select i1 %17, i1 %18, i1 false
  br i1 %or.cond30, label %49, label %19

19:                                               ; preds = %15
  %20 = load ptr, ptr @gravity_class_string, align 8, !tbaa !5
  %21 = icmp eq ptr %20, %1
  br i1 %21, label %22, label %27

22:                                               ; preds = %19
  %23 = inttoptr i64 %2 to ptr
  %24 = tail call { ptr, i64 } @convert_string2number(ptr noundef %23, i32 noundef 1)
  %25 = extractvalue { ptr, i64 } %24, 0
  %26 = extractvalue { ptr, i64 } %24, 1
  br label %49

27:                                               ; preds = %19
  %28 = tail call ptr @gravity_value_getclass(ptr %1, i64 %2) #3
  %29 = tail call ptr @gravity_vm_fastlookup(ptr noundef %0, ptr noundef %28, i32 noundef 25) #3
  %.not = icmp eq ptr %29, null
  br i1 %.not, label %49, label %30

30:                                               ; preds = %27
  %31 = getelementptr inbounds i8, ptr %29, i64 56
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %33 = getelementptr inbounds i8, ptr %32, i64 72
  %34 = load i32, ptr %33, align 8, !tbaa !14
  %35 = icmp eq i32 %34, 1
  br i1 %35, label %36, label %40

36:                                               ; preds = %30
  %37 = getelementptr inbounds i8, ptr %32, i64 80
  %38 = load ptr, ptr %37, align 8, !tbaa !17
  %39 = icmp eq ptr %38, @convert_object_int
  br i1 %39, label %49, label %40

40:                                               ; preds = %36, %30
  %41 = tail call ptr @gravity_vm_getclosure(ptr noundef %0) #3
  %42 = icmp eq ptr %41, %29
  br i1 %42, label %49, label %43

43:                                               ; preds = %40
  %44 = tail call zeroext i1 @gravity_vm_runclosure(ptr noundef %0, ptr noundef nonnull %29, ptr %1, i64 %2, ptr noundef null, i16 noundef zeroext 0) #3
  br i1 %44, label %45, label %49

45:                                               ; preds = %43
  %46 = tail call { ptr, i64 } @gravity_vm_result(ptr noundef %0) #3
  %47 = extractvalue { ptr, i64 } %46, 0
  %48 = extractvalue { ptr, i64 } %46, 1
  br label %49

49:                                               ; preds = %45, %40, %36, %27, %43, %15, %12, %3, %22, %9
  %.sroa.026.1 = phi ptr [ %4, %9 ], [ %25, %22 ], [ %1, %3 ], [ %4, %12 ], [ %4, %15 ], [ %47, %45 ], [ null, %40 ], [ null, %36 ], [ null, %27 ], [ null, %43 ]
  %.sroa.1027.1 = phi i64 [ %11, %9 ], [ %26, %22 ], [ %2, %3 ], [ %2, %12 ], [ 0, %15 ], [ %48, %45 ], [ 0, %40 ], [ 0, %36 ], [ 0, %27 ], [ 0, %43 ]
  %.fca.0.insert = insertvalue { ptr, i64 } poison, ptr %.sroa.026.1, 0
  %.fca.1.insert = insertvalue { ptr, i64 } %.fca.0.insert, i64 %.sroa.1027.1, 1
  ret { ptr, i64 } %.fca.1.insert
}

; Function Attrs: nounwind uwtable
declare hidden { ptr, i64 } @convert_string2number(ptr noundef, i32 noundef) local_unnamed_addr #1

declare ptr @gravity_vm_fastlookup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare ptr @gravity_value_getclass(ptr, i64) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @convert_object_int(ptr noundef, ptr noundef, i16 noundef zeroext, i32 noundef) #1

declare ptr @gravity_vm_getclosure(ptr noundef) local_unnamed_addr #2

declare zeroext i1 @gravity_vm_runclosure(ptr noundef, ptr noundef, ptr, i64, ptr noundef, i16 noundef zeroext) local_unnamed_addr #2

declare { ptr, i64 } @gravity_vm_result(ptr noundef) local_unnamed_addr #2

attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 56}
!10 = !{!"gravity_closure_s", !6, i64 0, !11, i64 8, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !13, i64 80}
!11 = !{!"gravity_gc_s", !12, i64 0, !12, i64 1, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 72}
!15 = !{!"", !6, i64 0, !11, i64 8, !6, i64 48, !6, i64 56, !16, i64 64, !16, i64 66, !16, i64 68, !16, i64 70, !13, i64 72, !7, i64 80}
!16 = !{!"short", !7, i64 0}
!17 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass