; LLVM IR from ImperialCollegeLondon/pnflow :: src/pnm/pnextract/writers_vxl.ll (Z12poreMaxBallsRK12blockNetwork)

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.voxelField.0 = type { ptr, i64, %class.var3, %"class.std::vector.1" }
%class.var3 = type { i32, i32, i32 }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = 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.__gnu_cxx::__normal_iterator.64" = type { ptr }
%class.blockNetwork = type { ptr, i32, i32, i32, ptr, %"struct.std::array", %class.voxelImageT, %"class.std::vector.7", %"class.std::vector.12", %"class.std::vector.17", %"class.std::vector.17", i32, i32, i32, i32 }
%"struct.std::array" = type { [8 x %class.voxel] }
%class.voxel = type <{ ptr, i16, i16, i16, [2 x i8], float, [4 x i8] }>
%class.voxelImageT = type { %class.voxelImageTBase, %class.voxelField.0, %class.var3.6, %class.var3.6 }
%class.voxelImageTBase = type { ptr }
%class.var3.6 = type { double, double, double }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<poreNE *, std::allocator<poreNE *>>::_Vector_impl" }
%"struct.std::_Vector_base<poreNE *, std::allocator<poreNE *>>::_Vector_impl" = type { %"struct.std::_Vector_base<poreNE *, std::allocator<poreNE *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<poreNE *, std::allocator<poreNE *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<throatNE *, std::allocator<throatNE *>>::_Vector_impl" }
%"struct.std::_Vector_base<throatNE *, std::allocator<throatNE *>>::_Vector_impl" = type { %"struct.std::_Vector_base<throatNE *, std::allocator<throatNE *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<throatNE *, std::allocator<throatNE *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = 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.inputDataNE = type { %class.InputFile.base, i32, i32, i32, i32, double, %class.var3.6, %"class.std::__cxx11::basic_string", i64, %"class.std::__cxx11::basic_string", %"class.std::vector.30", %class.segment, %"class.std::vector.1", %"class.std::vector.35", %class.voxelImageT.40 }
%class.InputFile.base = type <{ %"class.std::vector.22", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, i8 }>
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = 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.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.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = 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.segment = type { i32, i8, ptr }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = 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.40 = type { %class.voxelImageTBase, %class.voxelField.41, %class.var3.6, %class.var3.6 }
%class.voxelField.41 = type { ptr, i64, %class.var3, %"class.std::vector.42" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = 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.medialSurface = type <{ ptr, i32, i32, i32, [4 x i8], i64, i64, ptr, %class.segment, %"class.std::vector.47", %"class.std::vector.52", %class.medialBall, float, [4 x i8], double, double, double, double, double, double, i32, [4 x i8], double, float, [4 x i8] }>
%"class.std::vector.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = 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.52" = type { %"struct.std::_Vector_base.53" }
%"struct.std::_Vector_base.53" = 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 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #0

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, i64 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z12poreMaxBallsRK12blockNetwork(ptr dead_on_unwind noalias writable sret(%class.voxelField.0) align 8 %0, ptr noundef nonnull align 8 dereferenceable(448) %1) #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.64", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.64", align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca float, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i1 false, ptr %5, align 1
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %class.blockNetwork, ptr %26, i32 0, i32 4
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = getelementptr inbounds %class.inputDataNE, ptr %28, i32 0, i32 1
  %30 = load i32, ptr %29, align 4, !tbaa !36
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %class.blockNetwork, ptr %31, i32 0, i32 4
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  %34 = getelementptr inbounds %class.inputDataNE, ptr %33, i32 0, i32 2
  %35 = load i32, ptr %34, align 8, !tbaa !62
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %class.blockNetwork, ptr %36, i32 0, i32 4
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = getelementptr inbounds %class.inputDataNE, ptr %38, i32 0, i32 3
  %40 = load i32, ptr %39, align 4, !tbaa !63
  call void @_ZN10voxelFieldIiEC2Eiiii(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %30, i32 noundef %35, i32 noundef %40, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %class.blockNetwork, ptr %41, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8, !tbaa !64
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  store ptr %44, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %class.medialSurface, ptr %45, i32 0, i32 10
  store ptr %46, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = call ptr @_ZNKSt6vectorI10medialBallSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #6
  %49 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.64", ptr %8, i32 0, i32 0
  store ptr %48, ptr %49, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = call ptr @_ZNKSt6vectorI10medialBallSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #6
  %52 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.64", ptr %9, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  br label %53

53:                                               ; preds = %224, %2
  %54 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK10medialBallSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %54, label %56, label %55

55:                                               ; preds = %53
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %227

56:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %57 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  store ptr %57, ptr %11, align 8, !tbaa !5
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = invoke noundef signext i16 @_ZNK10medialBall5levelEv(ptr noundef nonnull align 8 dereferenceable(64) %58)
          to label %60 unwind label %95

60:                                               ; preds = %56
  %61 = sext i16 %59 to i32
  %62 = icmp eq i32 %61, 1
  br i1 %62, label %63, label %223

63:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = getelementptr inbounds %class.medialBall, ptr %64, i32 0, i32 1
  %66 = load float, ptr %65, align 8, !tbaa !65
  %67 = fptosi float %66 to i32
  store i32 %67, ptr %14, align 4, !tbaa !69
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %68 = load ptr, ptr %11, align 8, !tbaa !5
  %69 = getelementptr inbounds %class.medialBall, ptr %68, i32 0, i32 2
  %70 = load float, ptr %69, align 4, !tbaa !70
  %71 = fptosi float %70 to i32
  store i32 %71, ptr %15, align 4, !tbaa !69
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %72 = load ptr, ptr %11, align 8, !tbaa !5
  %73 = getelementptr inbounds %class.medialBall, ptr %72, i32 0, i32 3
  %74 = load float, ptr %73, align 8, !tbaa !71
  %75 = fptosi float %74 to i32
  store i32 %75, ptr %16, align 4, !tbaa !69
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %76 = load ptr, ptr %11, align 8, !tbaa !5
  %77 = getelementptr inbounds %class.medialBall, ptr %76, i32 0, i32 5
  %78 = load float, ptr %77, align 8, !tbaa !72
  %79 = load ptr, ptr %11, align 8, !tbaa !5
  %80 = getelementptr inbounds %class.medialBall, ptr %79, i32 0, i32 5
  %81 = load float, ptr %80, align 8, !tbaa !72
  %82 = fmul float %78, %81
  store float %82, ptr %17, align 4, !tbaa !73
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %83 = load float, ptr %17, align 4, !tbaa !73
  %84 = invoke noundef float @_ZSt4sqrtf(float noundef %83)
          to label %85 unwind label %99

85:                                               ; preds = %63
  %86 = fmul float 1.000000e+00, %84
  %87 = fptosi float %86 to i32
  store i32 %87, ptr %18, align 4, !tbaa !69
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %88 = load i32, ptr %18, align 4, !tbaa !69
  %89 = sub nsw i32 0, %88
  store i32 %89, ptr %21, align 4, !tbaa !69
  br label %90

90:                                               ; preds = %217, %85
  %91 = load i32, ptr %21, align 4, !tbaa !69
  %92 = load i32, ptr %18, align 4, !tbaa !69
  %93 = icmp sle i32 %91, %92
  br i1 %93, label %103, label %94

94:                                               ; preds = %90
  store i32 4, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %221

95:                                               ; preds = %56
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %12, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %13, align 4
  br label %226

99:                                               ; preds = %63
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %12, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %13, align 4
  br label %222

103:                                              ; preds = %90
  %104 = load float, ptr %17, align 4, !tbaa !73
  %105 = load i32, ptr %21, align 4, !tbaa !69
  %106 = load i32, ptr %21, align 4, !tbaa !69
  %107 = mul nsw i32 %105, %106
  %108 = sitofp i32 %107 to float
  %109 = fneg float %108
  %110 = call float @llvm.fmuladd.f32(float 1.000000e+00, float %104, float %109)
  %111 = invoke noundef float @_ZSt4sqrtf(float noundef %110)
          to label %112 unwind label %121

112:                                              ; preds = %103
  %113 = fptosi float %111 to i32
  store i32 %113, ptr %19, align 4, !tbaa !69
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %114 = load i32, ptr %19, align 4, !tbaa !69
  %115 = sub nsw i32 0, %114
  store i32 %115, ptr %22, align 4, !tbaa !69
  br label %116

116:                                              ; preds = %212, %112
  %117 = load i32, ptr %22, align 4, !tbaa !69
  %118 = load i32, ptr %19, align 4, !tbaa !69
  %119 = icmp sle i32 %117, %118
  br i1 %119, label %125, label %120

120:                                              ; preds = %116
  store i32 7, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %216

121:                                              ; preds = %103
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %12, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %13, align 4
  br label %220

125:                                              ; preds = %116
  %126 = load float, ptr %17, align 4, !tbaa !73
  %127 = load i32, ptr %21, align 4, !tbaa !69
  %128 = load i32, ptr %21, align 4, !tbaa !69
  %129 = mul nsw i32 %127, %128
  %130 = sitofp i32 %129 to float
  %131 = fneg float %130
  %132 = call float @llvm.fmuladd.f32(float 1.000000e+00, float %126, float %131)
  %133 = load i32, ptr %22, align 4, !tbaa !69
  %134 = load i32, ptr %22, align 4, !tbaa !69
  %135 = mul nsw i32 %133, %134
  %136 = sitofp i32 %135 to float
  %137 = fsub float %132, %136
  %138 = invoke noundef float @_ZSt4sqrtf(float noundef %137)
          to label %139 unwind label %148

139:                                              ; preds = %125
  %140 = fptosi float %138 to i32
  store i32 %140, ptr %20, align 4, !tbaa !69
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %141 = load i32, ptr %20, align 4, !tbaa !69
  %142 = sub nsw i32 0, %141
  store i32 %142, ptr %23, align 4, !tbaa !69
  br label %143

143:                                              ; preds = %208, %139
  %144 = load i32, ptr %23, align 4, !tbaa !69
  %145 = load i32, ptr %20, align 4, !tbaa !69
  %146 = icmp sle i32 %144, %145
  br i1 %146, label %152, label %147

147:                                              ; preds = %143
  store i32 10, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %211

148:                                              ; preds = %125
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %12, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %13, align 4
  br label %215

152:                                              ; preds = %143
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = load i32, ptr %14, align 4, !tbaa !69
  %155 = load i32, ptr %21, align 4, !tbaa !69
  %156 = add nsw i32 %154, %155
  %157 = load i32, ptr %15, align 4, !tbaa !69
  %158 = load i32, ptr %22, align 4, !tbaa !69
  %159 = add nsw i32 %157, %158
  %160 = load i32, ptr %16, align 4, !tbaa !69
  %161 = load i32, ptr %23, align 4, !tbaa !69
  %162 = add nsw i32 %160, %161
  %163 = invoke noundef zeroext i1 @_ZNK13medialSurface8isInsideEiii(ptr noundef nonnull align 8 dereferenceable(252) %153, i32 noundef %156, i32 noundef %159, i32 noundef %162)
          to label %164 unwind label %203

164:                                              ; preds = %152
  br i1 %163, label %165, label %207

165:                                              ; preds = %164
  %166 = load i32, ptr %14, align 4, !tbaa !69
  %167 = load i32, ptr %21, align 4, !tbaa !69
  %168 = add nsw i32 %166, %167
  %169 = load i32, ptr %15, align 4, !tbaa !69
  %170 = load i32, ptr %22, align 4, !tbaa !69
  %171 = add nsw i32 %169, %170
  %172 = load i32, ptr %16, align 4, !tbaa !69
  %173 = load i32, ptr %23, align 4, !tbaa !69
  %174 = add nsw i32 %172, %173
  %175 = sext i32 %174 to i64
  %176 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %168, i32 noundef %171, i64 noundef %175)
          to label %177 unwind label %203

177:                                              ; preds = %165
  %178 = load i32, ptr %176, align 4, !tbaa !69
  %179 = icmp eq i32 %178, 0
  br i1 %179, label %180, label %207

180:                                              ; preds = %177
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %class.blockNetwork, ptr %181, i32 0, i32 6
  %183 = getelementptr inbounds i8, ptr %182, i64 8
  %184 = load i32, ptr %14, align 4, !tbaa !69
  %185 = load i32, ptr %15, align 4, !tbaa !69
  %186 = load i32, ptr %16, align 4, !tbaa !69
  %187 = sext i32 %186 to i64
  %188 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %183, i32 noundef %184, i32 noundef %185, i64 noundef %187)
          to label %189 unwind label %203

189:                                              ; preds = %180
  %190 = load i32, ptr %188, align 4, !tbaa !69
  %191 = load i32, ptr %14, align 4, !tbaa !69
  %192 = load i32, ptr %21, align 4, !tbaa !69
  %193 = add nsw i32 %191, %192
  %194 = load i32, ptr %15, align 4, !tbaa !69
  %195 = load i32, ptr %22, align 4, !tbaa !69
  %196 = add nsw i32 %194, %195
  %197 = load i32, ptr %16, align 4, !tbaa !69
  %198 = load i32, ptr %23, align 4, !tbaa !69
  %199 = add nsw i32 %197, %198
  %200 = sext i32 %199 to i64
  %201 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %193, i32 noundef %196, i64 noundef %200)
          to label %202 unwind label %203

202:                                              ; preds = %189
  store i32 %190, ptr %201, align 4, !tbaa !69
  br label %207

203:                                              ; preds = %189, %180, %165, %152
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %12, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %215

207:                                              ; preds = %202, %177, %164
  br label %208

208:                                              ; preds = %207
  %209 = load i32, ptr %23, align 4, !tbaa !69
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %23, align 4, !tbaa !69
  br label %143, !llvm.loop !74

211:                                              ; preds = %147
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr %22, align 4, !tbaa !69
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %22, align 4, !tbaa !69
  br label %116, !llvm.loop !76

215:                                              ; preds = %203, %148
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %220

216:                                              ; preds = %120
  br label %217

217:                                              ; preds = %216
  %218 = load i32, ptr %21, align 4, !tbaa !69
  %219 = add nsw i32 %218, 1
  store i32 %219, ptr %21, align 4, !tbaa !69
  br label %90, !llvm.loop !77

220:                                              ; preds = %215, %121
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %222

221:                                              ; preds = %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %223

222:                                              ; preds = %220, %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %226

223:                                              ; preds = %221, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %224

224:                                              ; preds = %223
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br label %53

226:                                              ; preds = %222, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @_ZN10voxelFieldIiED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #6
  br label %231

227:                                              ; preds = %55
  store i1 true, ptr %5, align 1
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %228 = load i1, ptr %5, align 1
  br i1 %228, label %230, label %229

229:                                              ; preds = %227
  call void @_ZN10voxelFieldIiED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #6
  br label %230

230:                                              ; preds = %229, %227
  ret void

231:                                              ; preds = %226
  %232 = load ptr, ptr %12, align 8
  %233 = load i32, ptr %13, align 4
  %234 = insertvalue { ptr, i32 } poison, ptr %232, 0
  %235 = insertvalue { ptr, i32 } %234, i32 %233, 1
  resume { ptr, i32 } %235
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10voxelFieldIiEC2Eiiii(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPK10medialBallSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef signext i16 @_ZNK10medialBall5levelEv(ptr noundef nonnull align 8 dereferenceable(64)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK13medialSurface8isInsideEiii(ptr noundef nonnull align 8 dereferenceable(252), i32 noundef, i32 noundef, i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, i64 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

attributes #0 = { inlinehint 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 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 = { 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 #4 = { inlinehint 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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, !6, i64 24}
!10 = !{!"_ZTS12blockNetwork", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !6, i64 24, !12, i64 32, !13, i64 224, !24, i64 336, !28, i64 360, !32, i64 384, !32, i64 408, !11, i64 432, !11, i64 436, !11, i64 440, !11, i64 444}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSSt5arrayI5voxelLm8EE", !7, i64 0}
!13 = !{!"_ZTS11voxelImageTIiE", !14, i64 0, !15, i64 8, !22, i64 64, !22, i64 88}
!14 = !{!"_ZTS15voxelImageTBase"}
!15 = !{!"_ZTS10voxelFieldIiE", !16, i64 8, !17, i64 16, !18, i64 32}
!16 = !{!"long long", !7, i64 0}
!17 = !{!"_ZTS4var3IiE", !11, i64 0, !11, i64 4, !11, i64 8}
!18 = !{!"_ZTSSt6vectorIiSaIiEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTS4var3IdE", !23, i64 0, !23, i64 8, !23, i64 16}
!23 = !{!"double", !7, i64 0}
!24 = !{!"_ZTSSt6vectorIP6poreNESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIP6poreNESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP6poreNESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIP6poreNESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSSt6vectorIP8throatNESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIP8throatNESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIP8throatNESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIP8throatNESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSSt6vectorIP10medialBallSaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIP10medialBallSaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIP10medialBallSaIS1_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIP10medialBallSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!37, !11, i64 124}
!37 = !{!"_ZTS11inputDataNE", !38, i64 0, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !23, i64 144, !22, i64 152, !43, i64 176, !16, i64 208, !43, i64 216, !47, i64 248, !51, i64 272, !18, i64 288, !52, i64 312, !56, i64 336}
!38 = !{!"_ZTS9InputFile", !39, i64 0, !43, i64 24, !43, i64 56, !43, i64 88, !46, i64 120, !46, i64 121}
!39 = !{!"_ZTSSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !44, i64 0, !45, i64 8, !7, i64 16}
!44 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!45 = !{!"long", !7, i64 0}
!46 = !{!"bool", !7, i64 0}
!47 = !{!"_ZTSSt6vectorIS_I8segmentsSaIS0_EESaIS2_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{!"_ZTS7segment", !11, i64 0, !7, i64 4, !6, i64 8}
!52 = !{!"_ZTSSt6vectorI9poroRangeSaIS0_EE", !53, i64 0}
!53 = !{!"_ZTSSt12_Vector_baseI9poroRangeSaIS0_EE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseI9poroRangeSaIS0_EE12_Vector_implE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseI9poroRangeSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!56 = !{!"_ZTS11voxelImageTIhE", !14, i64 0, !57, i64 8, !22, i64 64, !22, i64 88}
!57 = !{!"_ZTS10voxelFieldIhE", !16, i64 8, !17, i64 16, !58, i64 32}
!58 = !{!"_ZTSSt6vectorIhSaIhEE", !59, i64 0}
!59 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!62 = !{!37, !11, i64 128}
!63 = !{!37, !11, i64 132}
!64 = !{!10, !6, i64 0}
!65 = !{!66, !67, i64 8}
!66 = !{!"_ZTS10medialBall", !6, i64 0, !67, i64 8, !67, i64 12, !67, i64 16, !68, i64 20, !67, i64 24, !68, i64 28, !68, i64 30, !68, i64 32, !68, i64 34, !68, i64 36, !6, i64 40, !6, i64 48, !6, i64 56}
!67 = !{!"float", !7, i64 0}
!68 = !{!"short", !7, i64 0}
!69 = !{!11, !11, i64 0}
!70 = !{!66, !67, i64 12}
!71 = !{!66, !67, i64 16}
!72 = !{!66, !67, i64 24}
!73 = !{!67, !67, i64 0}
!74 = distinct !{!74, !75}
!75 = !{!"llvm.loop.mustprogress"}
!76 = distinct !{!76, !75}
!77 = distinct !{!77, !75}


; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.voxelField.0 = type { ptr, i64, %class.var3, %"class.std::vector.1" }
%class.var3 = type { i32, i32, i32 }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = 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.__gnu_cxx::__normal_iterator.64" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #0

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z12poreMaxBallsRK12blockNetwork(ptr dead_on_unwind noalias writable sret(%class.voxelField.0) align 8 %0, ptr noundef nonnull align 8 dereferenceable(448) %1) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.64", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.64", align 8
  %5 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
  %6 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %7 = getelementptr inbounds i8, ptr %1, i64 24
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %8, i64 124
  %10 = load i32, ptr %9, align 4, !tbaa !35
  %11 = getelementptr inbounds i8, ptr %8, i64 128
  %12 = load i32, ptr %11, align 8, !tbaa !61
  %13 = getelementptr inbounds i8, ptr %8, i64 132
  %14 = load i32, ptr %13, align 4, !tbaa !62
  tail call void @_ZN10voxelFieldIiEC2Eiiii(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef 0)
  %15 = load ptr, ptr %1, align 8, !tbaa !63
  %16 = load ptr, ptr %15, align 8, !tbaa !64
  %17 = getelementptr inbounds i8, ptr %16, i64 88
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %18 = tail call ptr @_ZNKSt6vectorI10medialBallSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  store ptr %18, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %19 = tail call ptr @_ZNKSt6vectorI10medialBallSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  store ptr %19, ptr %4, align 8
  %20 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK10medialBallSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br i1 %20, label %.lr.ph75, label %._crit_edge76

.lr.ph75:                                         ; preds = %2
  %21 = getelementptr inbounds i8, ptr %1, i64 232
  br label %22

._crit_edge76:                                    ; preds = %.loopexit, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret void

22:                                               ; preds = %.lr.ph75, %.loopexit
  %23 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %24 = invoke noundef signext i16 @_ZNK10medialBall5levelEv(ptr noundef nonnull align 8 dereferenceable(64) %23)
          to label %25 unwind label %44

25:                                               ; preds = %22
  %26 = icmp eq i16 %24, 1
  br i1 %26, label %27, label %.loopexit

27:                                               ; preds = %25
  %28 = getelementptr inbounds i8, ptr %23, i64 8
  %29 = load float, ptr %28, align 8, !tbaa !65
  %30 = fptosi float %29 to i32
  %31 = getelementptr inbounds i8, ptr %23, i64 12
  %32 = load float, ptr %31, align 4, !tbaa !69
  %33 = fptosi float %32 to i32
  %34 = getelementptr inbounds i8, ptr %23, i64 16
  %35 = load float, ptr %34, align 8, !tbaa !70
  %36 = getelementptr inbounds i8, ptr %23, i64 24
  %37 = load float, ptr %36, align 8, !tbaa !71
  %38 = fmul float %37, %37
  %39 = call noundef float @_ZSt4sqrtf(float noundef %38)
  %40 = fptosi float %39 to i32
  %.not70 = icmp slt i32 %40, 0
  br i1 %.not70, label %.loopexit, label %.lr.ph73

.lr.ph73:                                         ; preds = %27
  %41 = fptosi float %35 to i32
  %42 = sub nsw i32 0, %40
  %43 = sext i32 %41 to i64
  br label %46

44:                                               ; preds = %22
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @_ZN10voxelFieldIiED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #5
  resume { ptr, i32 } %45

46:                                               ; preds = %.lr.ph73, %._crit_edge69
  %.06071 = phi i32 [ %42, %.lr.ph73 ], [ %54, %._crit_edge69 ]
  %47 = mul nsw i32 %.06071, %.06071
  %48 = uitofp nneg i32 %47 to float
  %49 = fsub float %38, %48
  %50 = call noundef float @_ZSt4sqrtf(float noundef %49)
  %51 = fptosi float %50 to i32
  %.not6165 = icmp slt i32 %51, 0
  br i1 %.not6165, label %._crit_edge69, label %.lr.ph68

.lr.ph68:                                         ; preds = %46
  %52 = sub nsw i32 0, %51
  %53 = add nsw i32 %.06071, %30
  br label %55

._crit_edge69:                                    ; preds = %._crit_edge, %46
  %54 = add i32 %.06071, 1
  %exitcond79.not = icmp eq i32 %.06071, %40
  br i1 %exitcond79.not, label %.loopexit, label %46, !llvm.loop !72

55:                                               ; preds = %.lr.ph68, %._crit_edge
  %.05966 = phi i32 [ %52, %.lr.ph68 ], [ %65, %._crit_edge ]
  %56 = mul nsw i32 %.05966, %.05966
  %57 = uitofp nneg i32 %56 to float
  %58 = fsub float %49, %57
  %59 = call noundef float @_ZSt4sqrtf(float noundef %58)
  %60 = fptosi float %59 to i32
  %.not6263 = icmp slt i32 %60, 0
  br i1 %.not6263, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %55
  %61 = sub nsw i32 0, %60
  %62 = add nsw i32 %.05966, %33
  %63 = sext i32 %61 to i64
  %64 = add nuw i32 %60, 1
  br label %66

._crit_edge:                                      ; preds = %78, %55
  %65 = add i32 %.05966, 1
  %exitcond78.not = icmp eq i32 %.05966, %51
  br i1 %exitcond78.not, label %._crit_edge69, label %55, !llvm.loop !74

66:                                               ; preds = %.lr.ph, %78
  %indvars.iv = phi i64 [ %63, %.lr.ph ], [ %indvars.iv.next, %78 ]
  %67 = add nsw i64 %indvars.iv, %43
  %68 = trunc nsw i64 %67 to i32
  %69 = call noundef zeroext i1 @_ZNK13medialSurface8isInsideEiii(ptr noundef nonnull align 8 dereferenceable(252) %16, i32 noundef %53, i32 noundef %62, i32 noundef %68)
  br i1 %69, label %70, label %78

70:                                               ; preds = %66
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %53, i32 noundef %62, i64 noundef %67)
  %72 = load i32, ptr %71, align 4, !tbaa !75
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %78

74:                                               ; preds = %70
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %21, i32 noundef %30, i32 noundef %33, i64 noundef %43)
  %76 = load i32, ptr %75, align 4, !tbaa !75
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %53, i32 noundef %62, i64 noundef %67)
  store i32 %76, ptr %77, align 4, !tbaa !75
  br label %78

78:                                               ; preds = %66, %70, %74
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond.not = icmp eq i32 %64, %lftr.wideiv
  br i1 %exitcond.not, label %._crit_edge, label %66, !llvm.loop !76

.loopexit:                                        ; preds = %._crit_edge69, %27, %25
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %80 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK10medialBallSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br i1 %80, label %22, label %._crit_edge76
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10voxelFieldIiEC2Eiiii(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorI10medialBallSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorI10medialBallSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPK10medialBallSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef signext i16 @_ZNK10medialBall5levelEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK13medialSurface8isInsideEiii(ptr noundef nonnull align 8 dereferenceable(252), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

attributes #0 = { inlinehint 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 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { inlinehint 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 #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, !7, i64 24}
!6 = !{!"_ZTS12blockNetwork", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 24, !11, i64 32, !12, i64 224, !23, i64 336, !27, i64 360, !31, i64 384, !31, i64 408, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSSt5arrayI5voxelLm8EE", !8, i64 0}
!12 = !{!"_ZTS11voxelImageTIiE", !13, i64 0, !14, i64 8, !21, i64 64, !21, i64 88}
!13 = !{!"_ZTS15voxelImageTBase"}
!14 = !{!"_ZTS10voxelFieldIiE", !15, i64 8, !16, i64 16, !17, i64 32}
!15 = !{!"long long", !8, i64 0}
!16 = !{!"_ZTS4var3IiE", !10, i64 0, !10, i64 4, !10, i64 8}
!17 = !{!"_ZTSSt6vectorIiSaIiEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!21 = !{!"_ZTS4var3IdE", !22, i64 0, !22, i64 8, !22, i64 16}
!22 = !{!"double", !8, i64 0}
!23 = !{!"_ZTSSt6vectorIP6poreNESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP6poreNESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP6poreNESaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP6poreNESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!27 = !{!"_ZTSSt6vectorIP8throatNESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIP8throatNESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIP8throatNESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIP8throatNESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!31 = !{!"_ZTSSt6vectorIP10medialBallSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIP10medialBallSaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP10medialBallSaIS1_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIP10medialBallSaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!35 = !{!36, !10, i64 124}
!36 = !{!"_ZTS11inputDataNE", !37, i64 0, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !22, i64 144, !21, i64 152, !42, i64 176, !15, i64 208, !42, i64 216, !46, i64 248, !50, i64 272, !17, i64 288, !51, i64 312, !55, i64 336}
!37 = !{!"_ZTS9InputFile", !38, i64 0, !42, i64 24, !42, i64 56, !42, i64 88, !45, i64 120, !45, i64 121}
!38 = !{!"_ZTSSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!42 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !43, i64 0, !44, i64 8, !8, i64 16}
!43 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!44 = !{!"long", !8, i64 0}
!45 = !{!"bool", !8, i64 0}
!46 = !{!"_ZTSSt6vectorIS_I8segmentsSaIS0_EESaIS2_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!50 = !{!"_ZTS7segment", !10, i64 0, !8, i64 4, !7, i64 8}
!51 = !{!"_ZTSSt6vectorI9poroRangeSaIS0_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseI9poroRangeSaIS0_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseI9poroRangeSaIS0_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseI9poroRangeSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!55 = !{!"_ZTS11voxelImageTIhE", !13, i64 0, !56, i64 8, !21, i64 64, !21, i64 88}
!56 = !{!"_ZTS10voxelFieldIhE", !15, i64 8, !16, i64 16, !57, i64 32}
!57 = !{!"_ZTSSt6vectorIhSaIhEE", !58, i64 0}
!58 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!61 = !{!36, !10, i64 128}
!62 = !{!36, !10, i64 132}
!63 = !{!6, !7, i64 0}
!64 = !{!7, !7, i64 0}
!65 = !{!66, !67, i64 8}
!66 = !{!"_ZTS10medialBall", !7, i64 0, !67, i64 8, !67, i64 12, !67, i64 16, !68, i64 20, !67, i64 24, !68, i64 28, !68, i64 30, !68, i64 32, !68, i64 34, !68, i64 36, !7, i64 40, !7, i64 48, !7, i64 56}
!67 = !{!"float", !8, i64 0}
!68 = !{!"short", !8, i64 0}
!69 = !{!66, !67, i64 12}
!70 = !{!66, !67, i64 16}
!71 = !{!66, !67, i64 24}
!72 = distinct !{!72, !73}
!73 = !{!"llvm.loop.mustprogress"}
!74 = distinct !{!74, !73}
!75 = !{!10, !10, i64 0}
!76 = distinct !{!76, !73}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass