; 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: 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) #0

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

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

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

declare ptr @gravity_value_getclass(ptr, i64) #3

declare ptr @gravity_vm_getclosure(ptr noundef) #3

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

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

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

; Function Attrs: inlinehint nounwind uwtable
define dso_local { ptr, i64 } @convert_value2float(ptr noundef %0, ptr %1, i64 %2) #4 {
  %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_float, 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 %130

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_int, 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_float, 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 i64, ptr %25, align 8, !tbaa !12
  %27 = sitofp i64 %26 to double
  store double %27, ptr %24, align 8, !tbaa !12
  br label %130

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 %40

33:                                               ; preds = %28
  %34 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 0
  %35 = load ptr, ptr @gravity_class_float, 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
  %39 = sitofp i64 %38 to double
  store double %39, ptr %36, align 8, !tbaa !12
  br label %130

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

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

49:                                               ; preds = %45
  %50 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 0
  %51 = load ptr, ptr @gravity_class_float, align 8, !tbaa !5
  store ptr %51, ptr %50, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 1
  store double 0.000000e+00, ptr %52, align 8, !tbaa !12
  br label %130

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

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

62:                                               ; preds = %58
  %63 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 0
  %64 = load ptr, ptr @gravity_class_float, align 8, !tbaa !5
  store ptr %64, ptr %63, align 8, !tbaa !9
  %65 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 1
  store double 0.000000e+00, ptr %65, align 8, !tbaa !12
  br label %130

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

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

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

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

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

103:                                              ; preds = %96, %89
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = call ptr @gravity_vm_getclosure(ptr noundef %104)
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = icmp eq ptr %105, %106
  br i1 %107, label %108, label %111

108:                                              ; preds = %103, %96, %79
  %109 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 0
  store ptr null, ptr %109, align 8, !tbaa !9
  %110 = getelementptr inbounds %struct.gravity_value_t, ptr %4, i32 0, i32 1
  store ptr null, ptr %110, align 8, !tbaa !12
  store i32 1, ptr %8, align 4
  br label %129

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

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

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

129:                                              ; preds = %126, %119, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %130

130:                                              ; preds = %129, %71, %62, %49, %33, %21, %15
  %131 = load { ptr, i64 }, ptr %4, align 8
  ret { ptr, i64 } %131
}

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

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 #4 = { 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 #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: nounwind uwtable
declare hidden { ptr, i64 } @convert_string2number(ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

declare ptr @gravity_vm_getclosure(ptr noundef) local_unnamed_addr #1

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

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

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

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

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

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

15:                                               ; preds = %12
  %16 = sitofp i64 %2 to double
  %17 = bitcast double %16 to i64
  br label %52

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

22:                                               ; preds = %18
  %23 = load ptr, ptr @gravity_class_string, align 8, !tbaa !5
  %24 = icmp eq ptr %23, %1
  br i1 %24, label %25, label %30

25:                                               ; preds = %22
  %26 = inttoptr i64 %2 to ptr
  %27 = tail call { ptr, i64 } @convert_string2number(ptr noundef %26, i32 noundef 2)
  %28 = extractvalue { ptr, i64 } %27, 0
  %29 = extractvalue { ptr, i64 } %27, 1
  br label %52

30:                                               ; preds = %22
  %31 = tail call ptr @gravity_value_getclass(ptr %1, i64 %2) #3
  %32 = tail call ptr @gravity_vm_fastlookup(ptr noundef %0, ptr noundef %31, i32 noundef 26) #3
  %.not = icmp eq ptr %32, null
  br i1 %.not, label %52, label %33

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

39:                                               ; preds = %33
  %40 = getelementptr inbounds i8, ptr %35, i64 80
  %41 = load ptr, ptr %40, align 8, !tbaa !17
  %42 = icmp eq ptr %41, @convert_object_float
  br i1 %42, label %52, label %43

43:                                               ; preds = %39, %33
  %44 = tail call ptr @gravity_vm_getclosure(ptr noundef %0) #3
  %45 = icmp eq ptr %44, %32
  br i1 %45, label %52, label %46

46:                                               ; preds = %43
  %47 = tail call zeroext i1 @gravity_vm_runclosure(ptr noundef %0, ptr noundef nonnull %32, ptr %1, i64 %2, ptr noundef null, i16 noundef zeroext 0) #3
  br i1 %47, label %48, label %52

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

52:                                               ; preds = %48, %43, %39, %30, %46, %18, %3, %25, %15, %9
  %.sroa.026.1 = phi ptr [ %4, %9 ], [ %4, %15 ], [ %28, %25 ], [ %1, %3 ], [ %4, %18 ], [ %50, %48 ], [ null, %43 ], [ null, %39 ], [ null, %30 ], [ null, %46 ]
  %.sroa.1027.1 = phi i64 [ %11, %9 ], [ %17, %15 ], [ %29, %25 ], [ %2, %3 ], [ 0, %18 ], [ %51, %48 ], [ 0, %43 ], [ 0, %39 ], [ 0, %30 ], [ 0, %46 ]
  %.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 zeroext i1 @convert_object_float(ptr noundef, ptr noundef, i16 noundef zeroext, i32 noundef) #0

attributes #0 = { 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 = { "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 = { 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 #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