; LLVM IR from ImperialCollegeLondon/pnflow :: src/pnm/pnextract/medialSurf.ll (ZN13medialSurfaceC2ER11inputDataNE)

; 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"

%class.medialSurface = type <{ ptr, i32, i32, i32, [4 x i8], i64, i64, ptr, %class.segment, %"class.std::vector", %"class.std::vector.0", %class.medialBall, float, [4 x i8], double, double, double, double, double, double, i32, [4 x i8], double, float, [4 x i8] }>
%class.segment = type { i32, i8, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<voxel, std::allocator<voxel>>::_Vector_impl" }
%"struct.std::_Vector_base<voxel, std::allocator<voxel>>::_Vector_impl" = type { %"struct.std::_Vector_base<voxel, std::allocator<voxel>>::_Vector_impl_data" }
%"struct.std::_Vector_base<voxel, std::allocator<voxel>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<medialBall, std::allocator<medialBall>>::_Vector_impl" }
%"struct.std::_Vector_base<medialBall, std::allocator<medialBall>>::_Vector_impl" = type { %"struct.std::_Vector_base<medialBall, std::allocator<medialBall>>::_Vector_impl_data" }
%"struct.std::_Vector_base<medialBall, std::allocator<medialBall>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.medialBall = type { ptr, float, float, float, i16, float, i16, i16, i16, i16, i16, ptr, ptr, ptr }
%class.inputDataNE = type { %class.InputFile.base, i32, i32, i32, i32, double, %class.var3.10, %"class.std::__cxx11::basic_string", i64, %"class.std::__cxx11::basic_string", %"class.std::vector.21", %class.segment, %"class.std::vector.44", %"class.std::vector.49", %class.voxelImageT }
%class.InputFile.base = type <{ %"class.std::vector.36", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, i8 }>
%"class.std::vector.36" = type { %"struct.std::_Vector_base.37" }
%"struct.std::_Vector_base.37" = type { %"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.var3.10 = type { double, double, double }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<std::vector<segments>, std::allocator<std::vector<segments>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<segments>, std::allocator<std::vector<segments>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<segments>, std::allocator<std::vector<segments>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<segments>, std::allocator<std::vector<segments>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.44" = type { %"struct.std::_Vector_base.45" }
%"struct.std::_Vector_base.45" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.49" = type { %"struct.std::_Vector_base.50" }
%"struct.std::_Vector_base.50" = type { %"struct.std::_Vector_base<poroRange, std::allocator<poroRange>>::_Vector_impl" }
%"struct.std::_Vector_base<poroRange, std::allocator<poroRange>>::_Vector_impl" = type { %"struct.std::_Vector_base<poroRange, std::allocator<poroRange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<poroRange, std::allocator<poroRange>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.voxelImageT = type { %class.voxelImageTBase, %class.voxelField, %class.var3.10, %class.var3.10 }
%class.voxelImageTBase = type { ptr }
%class.voxelField = type { ptr, i64, %class.var3, %"class.std::vector.5" }
%class.var3 = type { i32, i32, i32 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.segments = type <{ ptr, i32, [4 x i8] }>

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13medialSurface11setDefaultsEd(ptr noundef nonnull align 8 dereferenceable(252), double noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_I8segmentsSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorI8segmentsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13medialSurfaceC2ER11inputDataNE(ptr noundef nonnull align 8 dereferenceable(252) %0, ptr noundef nonnull align 8 dereferenceable(448) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i16, align 2
  %9 = alloca i32, align 4
  %10 = alloca i16, align 2
  %11 = alloca ptr, align 8
  %12 = alloca i16, align 2
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %13 = load ptr, ptr %3, align 8
  %14 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 0
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %15, ptr %14, align 8, !tbaa !5
  %16 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 7
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %class.inputDataNE, ptr %17, i32 0, i32 10
  store ptr %18, ptr %16, align 8, !tbaa !5
  %19 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 8
  %20 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 9
  call void @_ZNSt6vectorI5voxelSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #3
  %21 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 10
  call void @_ZNSt6vectorI10medialBallSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #3
  %22 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 11
  invoke void @_ZN10medialBallC2Es(ptr noundef nonnull align 8 dereferenceable(64) %22, i16 noundef signext 0)
          to label %23 unwind label %44

23:                                               ; preds = %2
  invoke void @_ZN13medialSurface11setDefaultsEd(ptr noundef nonnull align 8 dereferenceable(252) %13, double noundef -5.000000e+00)
          to label %24 unwind label %48

24:                                               ; preds = %23
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %class.inputDataNE, ptr %25, i32 0, i32 1
  %27 = load i32, ptr %26, align 4, !tbaa !9
  %28 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 1
  store i32 %27, ptr %28, align 8, !tbaa !45
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %class.inputDataNE, ptr %29, i32 0, i32 2
  %31 = load i32, ptr %30, align 8, !tbaa !58
  %32 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 2
  store i32 %31, ptr %32, align 4, !tbaa !59
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %class.inputDataNE, ptr %33, i32 0, i32 3
  %35 = load i32, ptr %34, align 4, !tbaa !60
  %36 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 3
  store i32 %35, ptr %36, align 8, !tbaa !61
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  store i64 0, ptr %7, align 8, !tbaa !62
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #3
  store i16 0, ptr %8, align 2, !tbaa !63
  br label %37

37:                                               ; preds = %121, %24
  %38 = load i16, ptr %8, align 2, !tbaa !63
  %39 = sext i16 %38 to i32
  %40 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 3
  %41 = load i32, ptr %40, align 8, !tbaa !61
  %42 = icmp slt i32 %39, %41
  br i1 %42, label %52, label %43

43:                                               ; preds = %37
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #3
  br label %124

44:                                               ; preds = %2
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %5, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %6, align 4
  br label %131

48:                                               ; preds = %23
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %5, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %6, align 4
  call void @_ZN10medialBallD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #3
  br label %131

52:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 2, ptr %10) #3
  store i16 0, ptr %10, align 2, !tbaa !63
  br label %53

53:                                               ; preds = %117, %52
  %54 = load i16, ptr %10, align 2, !tbaa !63
  %55 = sext i16 %54 to i32
  %56 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 2
  %57 = load i32, ptr %56, align 4, !tbaa !59
  %58 = icmp slt i32 %55, %57
  br i1 %58, label %60, label %59

59:                                               ; preds = %53
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %10) #3
  br label %120

60:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %61 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8, !tbaa !64
  %63 = getelementptr inbounds %class.inputDataNE, ptr %62, i32 0, i32 10
  %64 = load i16, ptr %8, align 2, !tbaa !63
  %65 = sext i16 %64 to i64
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_I8segmentsSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %65) #3
  %67 = load i16, ptr %10, align 2, !tbaa !63
  %68 = sext i16 %67 to i64
  %69 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorI8segmentsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %68) #3
  store ptr %69, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #3
  store i16 0, ptr %12, align 2, !tbaa !63
  br label %70

70:                                               ; preds = %113, %60
  %71 = load i16, ptr %12, align 2, !tbaa !63
  %72 = sext i16 %71 to i32
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = getelementptr inbounds %class.segments, ptr %73, i32 0, i32 1
  %75 = load i32, ptr %74, align 8, !tbaa !65
  %76 = icmp slt i32 %72, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %70
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #3
  br label %116

78:                                               ; preds = %70
  %79 = load ptr, ptr %11, align 8, !tbaa !5
  %80 = getelementptr inbounds %class.segments, ptr %79, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8, !tbaa !67
  %82 = load i16, ptr %12, align 2, !tbaa !63
  %83 = sext i16 %82 to i64
  %84 = getelementptr inbounds %class.segment, ptr %81, i64 %83
  %85 = getelementptr inbounds %class.segment, ptr %84, i32 0, i32 1
  %86 = load i8, ptr %85, align 4, !tbaa !68
  %87 = zext i8 %86 to i32
  %88 = icmp eq i32 %87, 0
  br i1 %88, label %89, label %112

89:                                               ; preds = %78
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = getelementptr inbounds %class.segments, ptr %90, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !67
  %93 = load i16, ptr %12, align 2, !tbaa !63
  %94 = sext i16 %93 to i32
  %95 = add nsw i32 %94, 1
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds %class.segment, ptr %92, i64 %96
  %98 = getelementptr inbounds %class.segment, ptr %97, i32 0, i32 0
  %99 = load i32, ptr %98, align 8, !tbaa !69
  %100 = load ptr, ptr %11, align 8, !tbaa !5
  %101 = getelementptr inbounds %class.segments, ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !67
  %103 = load i16, ptr %12, align 2, !tbaa !63
  %104 = sext i16 %103 to i64
  %105 = getelementptr inbounds %class.segment, ptr %102, i64 %104
  %106 = getelementptr inbounds %class.segment, ptr %105, i32 0, i32 0
  %107 = load i32, ptr %106, align 8, !tbaa !69
  %108 = sub nsw i32 %99, %107
  %109 = sext i32 %108 to i64
  %110 = load i64, ptr %7, align 8, !tbaa !62
  %111 = add i64 %110, %109
  store i64 %111, ptr %7, align 8, !tbaa !62
  br label %112

112:                                              ; preds = %89, %78
  br label %113

113:                                              ; preds = %112
  %114 = load i16, ptr %12, align 2, !tbaa !63
  %115 = add i16 %114, 1
  store i16 %115, ptr %12, align 2, !tbaa !63
  br label %70, !llvm.loop !70

116:                                              ; preds = %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  br label %117

117:                                              ; preds = %116
  %118 = load i16, ptr %10, align 2, !tbaa !63
  %119 = add i16 %118, 1
  store i16 %119, ptr %10, align 2, !tbaa !63
  br label %53, !llvm.loop !72

120:                                              ; preds = %59
  br label %121

121:                                              ; preds = %120
  %122 = load i16, ptr %8, align 2, !tbaa !63
  %123 = add i16 %122, 1
  store i16 %123, ptr %8, align 2, !tbaa !63
  br label %37, !llvm.loop !73

124:                                              ; preds = %43
  %125 = load i64, ptr %7, align 8, !tbaa !62
  %126 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 5
  store i64 %125, ptr %126, align 8, !tbaa !74
  %127 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 8
  %128 = getelementptr inbounds %class.segment, ptr %127, i32 0, i32 0
  store i32 -10000, ptr %128, align 8, !tbaa !75
  %129 = getelementptr inbounds %class.medialSurface, ptr %13, i32 0, i32 8
  %130 = getelementptr inbounds %class.segment, ptr %129, i32 0, i32 1
  store i8 -1, ptr %130, align 4, !tbaa !76
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  ret void

131:                                              ; preds = %48, %44
  call void @_ZNSt6vectorI10medialBallSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #3
  call void @_ZNSt6vectorI5voxelSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #3
  br label %132

132:                                              ; preds = %131
  %133 = load ptr, ptr %5, align 8
  %134 = load i32, ptr %6, align 4
  %135 = insertvalue { ptr, i32 } poison, ptr %133, 0
  %136 = insertvalue { ptr, i32 } %135, i32 %134, 1
  resume { ptr, i32 } %136
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI5voxelSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI10medialBallSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10medialBallC2Es(ptr noundef nonnull align 8 dereferenceable(64), i16 noundef signext) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10medialBallD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI10medialBallSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI5voxelSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { mustprogress 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++ TBAA"}
!9 = !{!10, !20, i64 124}
!10 = !{!"_ZTS11inputDataNE", !11, i64 0, !20, i64 124, !20, i64 128, !20, i64 132, !20, i64 136, !21, i64 144, !22, i64 152, !16, i64 176, !23, i64 208, !16, i64 216, !24, i64 248, !28, i64 272, !29, i64 288, !33, i64 312, !37, i64 336}
!11 = !{!"_ZTS9InputFile", !12, i64 0, !16, i64 24, !16, i64 56, !16, i64 88, !19, i64 120, !19, i64 121}
!12 = !{!"_ZTSSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTS4var3IdE", !21, i64 0, !21, i64 8, !21, i64 16}
!23 = !{!"long long", !7, i64 0}
!24 = !{!"_ZTSSt6vectorIS_I8segmentsSaIS0_EESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTS7segment", !20, i64 0, !7, i64 4, !6, i64 8}
!29 = !{!"_ZTSSt6vectorIiSaIiEE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt6vectorI9poroRangeSaIS0_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseI9poroRangeSaIS0_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseI9poroRangeSaIS0_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseI9poroRangeSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTS11voxelImageTIhE", !38, i64 0, !39, i64 8, !22, i64 64, !22, i64 88}
!38 = !{!"_ZTS15voxelImageTBase"}
!39 = !{!"_ZTS10voxelFieldIhE", !23, i64 8, !40, i64 16, !41, i64 32}
!40 = !{!"_ZTS4var3IiE", !20, i64 0, !20, i64 4, !20, i64 8}
!41 = !{!"_ZTSSt6vectorIhSaIhEE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!46, !20, i64 8}
!46 = !{!"_ZTS13medialSurface", !6, i64 0, !20, i64 8, !20, i64 12, !20, i64 16, !18, i64 24, !18, i64 32, !6, i64 40, !28, i64 48, !47, i64 64, !51, i64 88, !55, i64 112, !56, i64 176, !21, i64 184, !21, i64 192, !21, i64 200, !21, i64 208, !21, i64 216, !21, i64 224, !20, i64 232, !21, i64 240, !56, i64 248}
!47 = !{!"_ZTSSt6vectorI5voxelSaIS0_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseI5voxelSaIS0_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseI5voxelSaIS0_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseI5voxelSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{!"_ZTSSt6vectorI10medialBallSaIS0_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseI10medialBallSaIS0_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseI10medialBallSaIS0_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseI10medialBallSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!55 = !{!"_ZTS10medialBall", !6, i64 0, !56, i64 8, !56, i64 12, !56, i64 16, !57, i64 20, !56, i64 24, !57, i64 28, !57, i64 30, !57, i64 32, !57, i64 34, !57, i64 36, !6, i64 40, !6, i64 48, !6, i64 56}
!56 = !{!"float", !7, i64 0}
!57 = !{!"short", !7, i64 0}
!58 = !{!10, !20, i64 128}
!59 = !{!46, !20, i64 12}
!60 = !{!10, !20, i64 132}
!61 = !{!46, !20, i64 16}
!62 = !{!18, !18, i64 0}
!63 = !{!57, !57, i64 0}
!64 = !{!46, !6, i64 0}
!65 = !{!66, !20, i64 8}
!66 = !{!"_ZTS8segments", !6, i64 0, !20, i64 8}
!67 = !{!66, !6, i64 0}
!68 = !{!28, !7, i64 4}
!69 = !{!28, !20, i64 0}
!70 = distinct !{!70, !71}
!71 = !{!"llvm.loop.mustprogress"}
!72 = distinct !{!72, !71}
!73 = distinct !{!73, !71}
!74 = !{!46, !18, i64 24}
!75 = !{!46, !20, i64 48}
!76 = !{!46, !7, i64 52}


; 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"

%class.segment = type { i32, i8, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13medialSurface11setDefaultsEd(ptr noundef nonnull align 8 dereferenceable(252), double noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_I8segmentsSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorI8segmentsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13medialSurfaceC2ER11inputDataNE(ptr noundef nonnull align 8 dereferenceable(252) %0, ptr noundef nonnull align 8 dereferenceable(448) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  store ptr %1, ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 40
  %4 = getelementptr inbounds i8, ptr %1, i64 248
  store ptr %4, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZNSt6vectorI5voxelSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #2
  %6 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNSt6vectorI10medialBallSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #2
  %7 = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @_ZN10medialBallC2Es(ptr noundef nonnull align 8 dereferenceable(64) %7, i16 noundef signext 0)
  invoke void @_ZN13medialSurface11setDefaultsEd(ptr noundef nonnull align 8 dereferenceable(252) %0, double noundef -5.000000e+00)
          to label %8 unwind label %27

8:                                                ; preds = %2
  %9 = getelementptr inbounds i8, ptr %1, i64 124
  %10 = load i32, ptr %9, align 4, !tbaa !9
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %10, ptr %11, align 8, !tbaa !45
  %12 = getelementptr inbounds i8, ptr %1, i64 128
  %13 = load i32, ptr %12, align 8, !tbaa !58
  %14 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %13, ptr %14, align 4, !tbaa !59
  %15 = getelementptr inbounds i8, ptr %1, i64 132
  %16 = load i32, ptr %15, align 4, !tbaa !60
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 %16, ptr %17, align 8, !tbaa !61
  %18 = icmp sgt i32 %16, 0
  %19 = icmp sgt i32 %13, 0
  %or.cond = select i1 %18, i1 %19, i1 false
  br i1 %or.cond, label %.preheader, label %._crit_edge37

.preheader:                                       ; preds = %8, %._crit_edge33
  %20 = phi i32 [ %29, %._crit_edge33 ], [ %16, %8 ]
  %21 = phi i32 [ %30, %._crit_edge33 ], [ %13, %8 ]
  %.02436 = phi i64 [ %.1.lcssa, %._crit_edge33 ], [ 0, %8 ]
  %.02635 = phi i16 [ %31, %._crit_edge33 ], [ 0, %8 ]
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.lr.ph32, label %._crit_edge33

.lr.ph32:                                         ; preds = %.preheader
  %23 = sext i16 %.02635 to i64
  br label %34

._crit_edge37:                                    ; preds = %._crit_edge33, %8
  %.024.lcssa = phi i64 [ 0, %8 ], [ %.1.lcssa, %._crit_edge33 ]
  %24 = getelementptr inbounds i8, ptr %0, i64 24
  store i64 %.024.lcssa, ptr %24, align 8, !tbaa !62
  %25 = getelementptr inbounds i8, ptr %0, i64 48
  store i32 -10000, ptr %25, align 8, !tbaa !63
  %26 = getelementptr inbounds i8, ptr %0, i64 52
  store i8 -1, ptr %26, align 4, !tbaa !64
  ret void

27:                                               ; preds = %2
  %28 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN10medialBallD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #2
  tail call void @_ZNSt6vectorI10medialBallSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #2
  tail call void @_ZNSt6vectorI5voxelSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #2
  resume { ptr, i32 } %28

._crit_edge33.loopexit:                           ; preds = %._crit_edge
  %.pre = load i32, ptr %17, align 8, !tbaa !61
  br label %._crit_edge33

._crit_edge33:                                    ; preds = %._crit_edge33.loopexit, %.preheader
  %29 = phi i32 [ %20, %.preheader ], [ %.pre, %._crit_edge33.loopexit ]
  %30 = phi i32 [ %21, %.preheader ], [ %46, %._crit_edge33.loopexit ]
  %.1.lcssa = phi i64 [ %.02436, %.preheader ], [ %.2.lcssa, %._crit_edge33.loopexit ]
  %31 = add i16 %.02635, 1
  %32 = sext i16 %31 to i32
  %33 = icmp sgt i32 %29, %32
  br i1 %33, label %.preheader, label %._crit_edge37, !llvm.loop !65

34:                                               ; preds = %.lr.ph32, %._crit_edge
  %.131 = phi i64 [ %.02436, %.lr.ph32 ], [ %.2.lcssa, %._crit_edge ]
  %.02530 = phi i16 [ 0, %.lr.ph32 ], [ %44, %._crit_edge ]
  %35 = load ptr, ptr %0, align 8, !tbaa !68
  %36 = getelementptr inbounds i8, ptr %35, i64 248
  %37 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_I8segmentsSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %23) #2
  %38 = sext i16 %.02530 to i64
  %39 = tail call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorI8segmentsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %38) #2
  %40 = getelementptr inbounds i8, ptr %39, i64 8
  %41 = load i32, ptr %40, align 8, !tbaa !69
  %42 = icmp sgt i32 %41, 0
  br i1 %42, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %34
  %43 = load ptr, ptr %39, align 8, !tbaa !71
  br label %48

._crit_edge:                                      ; preds = %61, %34
  %.2.lcssa = phi i64 [ %.131, %34 ], [ %.3, %61 ]
  %44 = add i16 %.02530, 1
  %45 = sext i16 %44 to i32
  %46 = load i32, ptr %14, align 4, !tbaa !59
  %47 = icmp sgt i32 %46, %45
  br i1 %47, label %34, label %._crit_edge33.loopexit, !llvm.loop !72

48:                                               ; preds = %.lr.ph, %61
  %.029 = phi i16 [ 0, %.lr.ph ], [ %62, %61 ]
  %.228 = phi i64 [ %.131, %.lr.ph ], [ %.3, %61 ]
  %49 = sext i16 %.029 to i64
  %50 = getelementptr inbounds %class.segment, ptr %43, i64 %49
  %51 = getelementptr inbounds i8, ptr %50, i64 4
  %52 = load i8, ptr %51, align 4, !tbaa !73
  %53 = icmp eq i8 %52, 0
  br i1 %53, label %54, label %61

54:                                               ; preds = %48
  %55 = getelementptr i8, ptr %50, i64 16
  %56 = load i32, ptr %55, align 8, !tbaa !74
  %57 = load i32, ptr %50, align 8, !tbaa !74
  %58 = sub nsw i32 %56, %57
  %59 = sext i32 %58 to i64
  %60 = add i64 %.228, %59
  br label %61

61:                                               ; preds = %48, %54
  %.3 = phi i64 [ %60, %54 ], [ %.228, %48 ]
  %62 = add i16 %.029, 1
  %63 = sext i16 %62 to i32
  %64 = icmp sgt i32 %41, %63
  br i1 %64, label %48, label %._crit_edge, !llvm.loop !75
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI5voxelSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI10medialBallSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10medialBallC2Es(ptr noundef nonnull align 8 dereferenceable(64), i16 noundef signext) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10medialBallD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI10medialBallSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI5voxelSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

attributes #0 = { mustprogress 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 = { mustprogress 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 = { 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++ TBAA"}
!9 = !{!10, !20, i64 124}
!10 = !{!"_ZTS11inputDataNE", !11, i64 0, !20, i64 124, !20, i64 128, !20, i64 132, !20, i64 136, !21, i64 144, !22, i64 152, !16, i64 176, !23, i64 208, !16, i64 216, !24, i64 248, !28, i64 272, !29, i64 288, !33, i64 312, !37, i64 336}
!11 = !{!"_ZTS9InputFile", !12, i64 0, !16, i64 24, !16, i64 56, !16, i64 88, !19, i64 120, !19, i64 121}
!12 = !{!"_ZTSSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTS4var3IdE", !21, i64 0, !21, i64 8, !21, i64 16}
!23 = !{!"long long", !7, i64 0}
!24 = !{!"_ZTSSt6vectorIS_I8segmentsSaIS0_EESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTS7segment", !20, i64 0, !7, i64 4, !6, i64 8}
!29 = !{!"_ZTSSt6vectorIiSaIiEE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt6vectorI9poroRangeSaIS0_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseI9poroRangeSaIS0_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseI9poroRangeSaIS0_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseI9poroRangeSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTS11voxelImageTIhE", !38, i64 0, !39, i64 8, !22, i64 64, !22, i64 88}
!38 = !{!"_ZTS15voxelImageTBase"}
!39 = !{!"_ZTS10voxelFieldIhE", !23, i64 8, !40, i64 16, !41, i64 32}
!40 = !{!"_ZTS4var3IiE", !20, i64 0, !20, i64 4, !20, i64 8}
!41 = !{!"_ZTSSt6vectorIhSaIhEE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!46, !20, i64 8}
!46 = !{!"_ZTS13medialSurface", !6, i64 0, !20, i64 8, !20, i64 12, !20, i64 16, !18, i64 24, !18, i64 32, !6, i64 40, !28, i64 48, !47, i64 64, !51, i64 88, !55, i64 112, !56, i64 176, !21, i64 184, !21, i64 192, !21, i64 200, !21, i64 208, !21, i64 216, !21, i64 224, !20, i64 232, !21, i64 240, !56, i64 248}
!47 = !{!"_ZTSSt6vectorI5voxelSaIS0_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseI5voxelSaIS0_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseI5voxelSaIS0_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseI5voxelSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{!"_ZTSSt6vectorI10medialBallSaIS0_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseI10medialBallSaIS0_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseI10medialBallSaIS0_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseI10medialBallSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!55 = !{!"_ZTS10medialBall", !6, i64 0, !56, i64 8, !56, i64 12, !56, i64 16, !57, i64 20, !56, i64 24, !57, i64 28, !57, i64 30, !57, i64 32, !57, i64 34, !57, i64 36, !6, i64 40, !6, i64 48, !6, i64 56}
!56 = !{!"float", !7, i64 0}
!57 = !{!"short", !7, i64 0}
!58 = !{!10, !20, i64 128}
!59 = !{!46, !20, i64 12}
!60 = !{!10, !20, i64 132}
!61 = !{!46, !20, i64 16}
!62 = !{!46, !18, i64 24}
!63 = !{!46, !20, i64 48}
!64 = !{!46, !7, i64 52}
!65 = distinct !{!65, !66, !67}
!66 = !{!"llvm.loop.mustprogress"}
!67 = !{!"llvm.loop.unswitch.partial.disable"}
!68 = !{!46, !6, i64 0}
!69 = !{!70, !20, i64 8}
!70 = !{!"_ZTS8segments", !6, i64 0, !20, i64 8}
!71 = !{!70, !6, i64 0}
!72 = distinct !{!72, !66}
!73 = !{!28, !7, i64 4}
!74 = !{!28, !20, i64 0}
!75 = distinct !{!75, !66}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass