; LLVM IR from drohmer/cgp :: library/cgp/12_shape/implicit/marching_cube (marching_cube)

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

%"struct.cgp::mesh" = type { %"struct.cgp::numarray", %"struct.cgp::numarray", %"struct.cgp::numarray", %"struct.cgp::numarray.0", %"struct.cgp::numarray.6" }
%"struct.cgp::numarray" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray.0" = type { %"class.std::vector.1" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray.6" = type { %"class.std::vector.7" }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_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::allocator.19" = type { i8 }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<cgp::marching_cube_relative_coordinates, std::allocator<cgp::marching_cube_relative_coordinates>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::marching_cube_relative_coordinates, std::allocator<cgp::marching_cube_relative_coordinates>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::marching_cube_relative_coordinates, std::allocator<cgp::marching_cube_relative_coordinates>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::marching_cube_relative_coordinates, std::allocator<cgp::marching_cube_relative_coordinates>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.cgp::numarray_stack.32" = type { i32, i32, i32 }
%"struct.std::pair" = type { i32, i32 }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.cgp::grid_3D" = type { %"struct.cgp::numarray_stack", %"struct.cgp::numarray.12" }
%"struct.cgp::numarray_stack" = type { i32, i32, i32 }
%"struct.cgp::numarray.12" = type { %"class.std::vector.13" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::spatial_domain_grid_3D" = type { %"struct.cgp::numarray_stack.18", %"struct.cgp::numarray_stack.18", %"struct.cgp::numarray_stack" }
%"struct.cgp::numarray_stack.18" = type { float, float, float }
%"struct.cgp::marching_cube_relative_coordinates" = type { i64, i64, float }
%"struct.std::pair.33" = type { %"struct.std::pair", i32 }

@.str = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [107 x i8], align 1
@__func__._ZN3cgp13marching_cubeERKNS_7grid_3DIfEERKNS_22spatial_domain_grid_3DEf = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp13marching_cubeERKNS_7grid_3DIfEERKNS_22spatial_domain_grid_3DEf(ptr dead_on_unwind noalias writable sret(%"struct.cgp::mesh") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 4 dereferenceable(36) %2, float noundef %3) #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca float, align 4
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator.19", align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.19", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.19", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.19", align 1
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca %"class.std::vector.22", align 8
  %21 = alloca i32, align 4
  %22 = alloca i1, align 1
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::unordered_map", align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %"struct.cgp::numarray_stack.32", align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca %"struct.std::pair", align 4
  %31 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %32 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store float %3, ptr %8, align 4, !tbaa !9
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.cgp::grid_3D", ptr %35, i32 0, i32 0
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.cgp::spatial_domain_grid_3D", ptr %37, i32 0, i32 2
  %39 = call noundef zeroext i1 @_ZN3cgp8is_equalIiLi3EEEbRKNS_14numarray_stackIT_XT0_EEES5_(ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(12) %38)
  %40 = zext i1 %39 to i32
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %42, label %72

42:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %43 unwind label %48

43:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %44 unwind label %52

44:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %45 unwind label %56

45:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @__func__._ZN3cgp13marching_cubeERKNS_7grid_3DIfEERKNS_22spatial_domain_grid_3DEf, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %46 unwind label %60

46:                                               ; preds = %45
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef 25) #9
          to label %47 unwind label %64

47:                                               ; preds = %46
  unreachable

48:                                               ; preds = %42
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %11, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %12, align 4
  br label %71

52:                                               ; preds = %43
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %11, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %12, align 4
  br label %70

56:                                               ; preds = %44
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %11, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %12, align 4
  br label %69

60:                                               ; preds = %45
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %11, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %12, align 4
  br label %68

64:                                               ; preds = %46
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %11, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  br label %68

68:                                               ; preds = %64, %60
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  br label %69

69:                                               ; preds = %68, %56
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  br label %70

70:                                               ; preds = %69, %52
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  br label %71

71:                                               ; preds = %70, %48
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #8
  br label %198

72:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #8
  call void @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #8
  call void @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.cgp::grid_3D", ptr %73, i32 0, i32 1
  %75 = getelementptr inbounds %"struct.cgp::numarray.12", ptr %74, i32 0, i32 0
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = load float, ptr %8, align 4, !tbaa !9
  %78 = invoke noundef i64 @_ZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EE(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 4 dereferenceable(36) %76, float noundef %77, ptr noundef %20)
          to label %79 unwind label %89

79:                                               ; preds = %72
  %80 = trunc i64 %78 to i32
  store i32 %80, ptr %21, align 4, !tbaa !11
  store i1 false, ptr %22, align 1
  invoke void @_ZN3cgp4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %81 unwind label %89

81:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %82 = load i32, ptr %21, align 4, !tbaa !11
  %83 = sdiv i32 %82, 3
  store i32 %83, ptr %23, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 56, ptr %24) #8
  call void @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %24) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 0, ptr %25, align 4, !tbaa !11
  br label %84

84:                                               ; preds = %182, %81
  %85 = load i32, ptr %25, align 4, !tbaa !11
  %86 = load i32, ptr %23, align 4, !tbaa !11
  %87 = icmp slt i32 %85, %86
  br i1 %87, label %93, label %88

88:                                               ; preds = %84
  store i32 2, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %186

89:                                               ; preds = %79, %72
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %11, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %12, align 4
  br label %197

93:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 12, ptr %27) #8
  invoke void @_ZN3cgp14numarray_stackIjLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %27)
          to label %94 unwind label %99

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !11
  br label %95

95:                                               ; preds = %173, %94
  %96 = load i32, ptr %28, align 4, !tbaa !11
  %97 = icmp slt i32 %96, 3
  br i1 %97, label %103, label %98

98:                                               ; preds = %95
  store i32 5, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %178

99:                                               ; preds = %178, %93
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %11, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %12, align 4
  br label %185

103:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  %104 = load i32, ptr %25, align 4, !tbaa !11
  %105 = mul nsw i32 3, %104
  %106 = load i32, ptr %28, align 4, !tbaa !11
  %107 = add nsw i32 %105, %106
  store i32 %107, ptr %29, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %108 = load i32, ptr %25, align 4, !tbaa !11
  %109 = mul nsw i32 3, %108
  %110 = load i32, ptr %28, align 4, !tbaa !11
  %111 = add nsw i32 %109, %110
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %112) #8
  %114 = getelementptr inbounds %"struct.cgp::marching_cube_relative_coordinates", ptr %113, i32 0, i32 0
  %115 = load i32, ptr %25, align 4, !tbaa !11
  %116 = mul nsw i32 3, %115
  %117 = load i32, ptr %28, align 4, !tbaa !11
  %118 = add nsw i32 %116, %117
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %119) #8
  %121 = getelementptr inbounds %"struct.cgp::marching_cube_relative_coordinates", ptr %120, i32 0, i32 1
  invoke void @_ZNSt4pairIiiEC2IRmS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %114, ptr noundef nonnull align 8 dereferenceable(8) %121)
          to label %122 unwind label %148

122:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %123 = invoke ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEE4findERS6_(ptr noundef nonnull align 8 dereferenceable(56) %24, ptr noundef nonnull align 4 dereferenceable(8) %30)
          to label %124 unwind label %152

124:                                              ; preds = %122
  %125 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %31, i32 0, i32 0
  %126 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %125, i32 0, i32 0
  store ptr %123, ptr %126, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %127 = call ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %24) #8
  %128 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %32, i32 0, i32 0
  %129 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %128, i32 0, i32 0
  store ptr %127, ptr %129, align 8
  %130 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKS1_IiiEiELb1EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br i1 %130, label %131, label %160

131:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  %132 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 0
  %133 = invoke noundef i32 @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %132)
          to label %134 unwind label %156

134:                                              ; preds = %131
  store i32 %133, ptr %33, align 4, !tbaa !11
  %135 = load i32, ptr %33, align 4, !tbaa !11
  %136 = load i32, ptr %28, align 4, !tbaa !11
  %137 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp14numarray_stackIjLi3EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %27, i32 noundef %136)
          to label %138 unwind label %156

138:                                              ; preds = %134
  store i32 %135, ptr %137, align 4, !tbaa !11
  %139 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 0
  %140 = load i32, ptr %29, align 4, !tbaa !11
  %141 = sext i32 %140 to i64
  %142 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %141) #8
  %143 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %139, ptr noundef nonnull align 4 dereferenceable(12) %142)
          to label %144 unwind label %156

144:                                              ; preds = %138
  %145 = load i32, ptr %33, align 4, !tbaa !11
  %146 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEEixERS6_(ptr noundef nonnull align 8 dereferenceable(56) %24, ptr noundef nonnull align 4 dereferenceable(8) %30)
          to label %147 unwind label %156

147:                                              ; preds = %144
  store i32 %145, ptr %146, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  br label %172

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

152:                                              ; preds = %122
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %11, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %12, align 4
  br label %176

156:                                              ; preds = %144, %138, %134, %131
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %11, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  br label %176

160:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %161 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKS1_IiiEiELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  %162 = getelementptr inbounds %"struct.std::pair.33", ptr %161, i32 0, i32 1
  %163 = load i32, ptr %162, align 4, !tbaa !13
  store i32 %163, ptr %34, align 4, !tbaa !11
  %164 = load i32, ptr %34, align 4, !tbaa !11
  %165 = load i32, ptr %28, align 4, !tbaa !11
  %166 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp14numarray_stackIjLi3EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %27, i32 noundef %165)
          to label %167 unwind label %168

167:                                              ; preds = %160
  store i32 %164, ptr %166, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %172

168:                                              ; preds = %160
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %11, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %176

172:                                              ; preds = %167, %147
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %173

173:                                              ; preds = %172
  %174 = load i32, ptr %28, align 4, !tbaa !11
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %28, align 4, !tbaa !11
  br label %95, !llvm.loop !16

176:                                              ; preds = %168, %156, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %177

177:                                              ; preds = %176, %148
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %185

178:                                              ; preds = %98
  %179 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 4
  %180 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %179, ptr noundef nonnull align 4 dereferenceable(12) %27)
          to label %181 unwind label %99

181:                                              ; preds = %178
  call void @llvm.lifetime.end.p0(i64 12, ptr %27) #8
  br label %182

182:                                              ; preds = %181
  %183 = load i32, ptr %25, align 4, !tbaa !11
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %25, align 4, !tbaa !11
  br label %84, !llvm.loop !18

185:                                              ; preds = %177, %99
  call void @llvm.lifetime.end.p0(i64 12, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %194

186:                                              ; preds = %88
  %187 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh16fill_empty_fieldEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %188 unwind label %190

188:                                              ; preds = %186
  store i1 true, ptr %22, align 1
  store i32 1, ptr %26, align 4
  call void @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %24) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  %189 = load i1, ptr %22, align 1
  br i1 %189, label %196, label %195

190:                                              ; preds = %186
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %11, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %12, align 4
  br label %194

194:                                              ; preds = %190, %185
  call void @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %24) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #8
  br label %197

195:                                              ; preds = %188
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #8
  br label %196

196:                                              ; preds = %195, %188
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  ret void

197:                                              ; preds = %194, %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  br label %198

198:                                              ; preds = %197, %71
  %199 = load ptr, ptr %11, align 8
  %200 = load i32, ptr %12, align 4
  %201 = insertvalue { ptr, i32 } poison, ptr %199, 0
  %202 = insertvalue { ptr, i32 } %201, i32 %200, 1
  resume { ptr, i32 } %202
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3cgp8is_equalIiLi3EEEbRKNS_14numarray_stackIT_XT0_EEES5_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #0

; Function Attrs: noreturn
declare void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; 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 void @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(36), float noundef, ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cgp4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp14numarray_stackIjLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEE4findERS6_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(8)) #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp14numarray_stackIjLi3EEixEi(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEEixERS6_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(8)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

declare noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh16fill_empty_fieldEv(ptr noundef nonnull align 8 dereferenceable(120)) #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #7 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 = { noreturn "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 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { 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 #6 = { "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 #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn }

!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, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"_ZTSSt4pairIKS_IiiEiE", !15, i64 0, !12, i64 8}
!15 = !{!"_ZTSSt4pairIiiE", !12, i64 0, !12, i64 4}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


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

%"struct.cgp::mesh" = type { %"struct.cgp::numarray", %"struct.cgp::numarray", %"struct.cgp::numarray", %"struct.cgp::numarray.0", %"struct.cgp::numarray.6" }
%"struct.cgp::numarray" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray.0" = type { %"class.std::vector.1" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray.6" = type { %"class.std::vector.7" }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_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::allocator.19" = type { i8 }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<cgp::marching_cube_relative_coordinates, std::allocator<cgp::marching_cube_relative_coordinates>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::marching_cube_relative_coordinates, std::allocator<cgp::marching_cube_relative_coordinates>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::marching_cube_relative_coordinates, std::allocator<cgp::marching_cube_relative_coordinates>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::marching_cube_relative_coordinates, std::allocator<cgp::marching_cube_relative_coordinates>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.cgp::numarray_stack.32" = type { i32, i32, i32 }
%"struct.std::pair" = type { i32, i32 }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }

@.str = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [107 x i8], align 1
@__func__._ZN3cgp13marching_cubeERKNS_7grid_3DIfEERKNS_22spatial_domain_grid_3DEf = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp13marching_cubeERKNS_7grid_3DIfEERKNS_22spatial_domain_grid_3DEf(ptr dead_on_unwind noalias writable sret(%"struct.cgp::mesh") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 4 dereferenceable(36) %2, float noundef %3) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator.19", align 1
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator.19", align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator.19", align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator.19", align 1
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::vector.22", align 8
  %15 = alloca %"class.std::unordered_map", align 8
  %16 = alloca %"struct.cgp::numarray_stack.32", align 4
  %17 = alloca %"struct.std::pair", align 4
  %18 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %19 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %20 = getelementptr inbounds i8, ptr %2, i64 24
  %21 = tail call noundef zeroext i1 @_ZN3cgp8is_equalIiLi3EEEbRKNS_14numarray_stackIT_XT0_EEES5_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %20)
  br i1 %21, label %42, label %22

22:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %23 unwind label %28

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %24 unwind label %30

24:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %25 unwind label %32

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @__func__._ZN3cgp13marching_cubeERKNS_7grid_3DIfEERKNS_22spatial_domain_grid_3DEf, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %26 unwind label %34

26:                                               ; preds = %25
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %11, i32 noundef 25) #9
          to label %27 unwind label %36

27:                                               ; preds = %26
  unreachable

28:                                               ; preds = %22
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %41

30:                                               ; preds = %23
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %40

32:                                               ; preds = %24
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %39

34:                                               ; preds = %25
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %38

36:                                               ; preds = %26
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %38

38:                                               ; preds = %36, %34
  %.pn40 = phi { ptr, i32 } [ %37, %36 ], [ %35, %34 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  br label %39

39:                                               ; preds = %38, %32
  %.pn40.pn = phi { ptr, i32 } [ %.pn40, %38 ], [ %33, %32 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  br label %40

40:                                               ; preds = %39, %30
  %.pn40.pn.pn = phi { ptr, i32 } [ %.pn40.pn, %39 ], [ %31, %30 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  br label %41

41:                                               ; preds = %40, %28
  %.pn40.pn.pn.pn = phi { ptr, i32 } [ %.pn40.pn.pn, %40 ], [ %29, %28 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  br label %144

42:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #8
  call void @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #8
  call void @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  %43 = getelementptr inbounds i8, ptr %1, i64 16
  %44 = invoke noundef i64 @_ZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EE(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 4 dereferenceable(36) %2, float noundef %3, ptr noundef nonnull %14)
          to label %45 unwind label %52

45:                                               ; preds = %42
  invoke void @_ZN3cgp4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %46 unwind label %52

46:                                               ; preds = %45
  %47 = trunc i64 %44 to i32
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %15) #8
  call void @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %15) #8
  %48 = icmp sgt i32 %47, 2
  br i1 %48, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %46
  %49 = udiv i32 %47, 3
  %50 = getelementptr inbounds i8, ptr %0, i64 96
  %wide.trip.count = zext nneg i32 %49 to i64
  br label %54

._crit_edge:                                      ; preds = %137, %46
  %51 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh16fill_empty_fieldEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %139 unwind label %140

52:                                               ; preds = %45, %42
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %143

54:                                               ; preds = %.lr.ph, %137
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %137 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #8
  call void @_ZN3cgp14numarray_stackIjLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %16)
  %55 = mul nuw nsw i64 %indvars.iv, 3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %56 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %55) #8
  %57 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %55) #8
  %58 = getelementptr inbounds i8, ptr %57, i64 8
  call void @_ZNSt4pairIiiEC2IRmS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %58)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %59 = invoke ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEE4findERS6_(ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %62 unwind label %74

60:                                               ; preds = %134
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %138

62:                                               ; preds = %54
  store ptr %59, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  %63 = call ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %15) #8
  store ptr %63, ptr %19, align 8
  %64 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKS1_IiiEiELb1EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  br i1 %64, label %65, label %78

65:                                               ; preds = %62
  %66 = call noundef i32 @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %67 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp14numarray_stackIjLi3EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %16, i32 noundef 0)
          to label %68 unwind label %76

68:                                               ; preds = %65
  store i32 %66, ptr %67, align 4, !tbaa !5
  %69 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %55) #8
  %70 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %69)
          to label %71 unwind label %76

71:                                               ; preds = %68
  %72 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEEixERS6_(ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %73 unwind label %76

73:                                               ; preds = %71
  store i32 %66, ptr %72, align 4, !tbaa !5
  br label %86

74:                                               ; preds = %110, %86, %54
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %136

76:                                               ; preds = %131, %128, %125, %107, %104, %101, %71, %68, %65
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %136

78:                                               ; preds = %62
  %79 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKS1_IiiEiELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  %80 = getelementptr inbounds i8, ptr %79, i64 8
  %81 = load i32, ptr %80, align 4, !tbaa !9
  %82 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp14numarray_stackIjLi3EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %16, i32 noundef 0)
          to label %83 unwind label %84

83:                                               ; preds = %78
  store i32 %81, ptr %82, align 4, !tbaa !5
  br label %86

84:                                               ; preds = %119, %95, %78
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %136

86:                                               ; preds = %83, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %87 = add nuw nsw i64 %55, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %88 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %87) #8
  %89 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %87) #8
  %90 = getelementptr inbounds i8, ptr %89, i64 8
  call void @_ZNSt4pairIiiEC2IRmS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 8 dereferenceable(8) %90)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %91 = invoke ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEE4findERS6_(ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %92 unwind label %74

92:                                               ; preds = %86
  store ptr %91, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  %93 = call ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %15) #8
  store ptr %93, ptr %19, align 8
  %94 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKS1_IiiEiELb1EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  br i1 %94, label %101, label %95

95:                                               ; preds = %92
  %96 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKS1_IiiEiELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  %97 = getelementptr inbounds i8, ptr %96, i64 8
  %98 = load i32, ptr %97, align 4, !tbaa !9
  %99 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp14numarray_stackIjLi3EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %16, i32 noundef 1)
          to label %100 unwind label %84

100:                                              ; preds = %95
  store i32 %98, ptr %99, align 4, !tbaa !5
  br label %110

101:                                              ; preds = %92
  %102 = call noundef i32 @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %103 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp14numarray_stackIjLi3EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %16, i32 noundef 1)
          to label %104 unwind label %76

104:                                              ; preds = %101
  store i32 %102, ptr %103, align 4, !tbaa !5
  %105 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %87) #8
  %106 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %105)
          to label %107 unwind label %76

107:                                              ; preds = %104
  %108 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEEixERS6_(ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %109 unwind label %76

109:                                              ; preds = %107
  store i32 %102, ptr %108, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %109, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %111 = add nuw nsw i64 %55, 2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %112 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %111) #8
  %113 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %111) #8
  %114 = getelementptr inbounds i8, ptr %113, i64 8
  call void @_ZNSt4pairIiiEC2IRmS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull align 8 dereferenceable(8) %114)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %115 = invoke ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEE4findERS6_(ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %116 unwind label %74

116:                                              ; preds = %110
  store ptr %115, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  %117 = call ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %15) #8
  store ptr %117, ptr %19, align 8
  %118 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKS1_IiiEiELb1EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  br i1 %118, label %125, label %119

119:                                              ; preds = %116
  %120 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKS1_IiiEiELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  %121 = getelementptr inbounds i8, ptr %120, i64 8
  %122 = load i32, ptr %121, align 4, !tbaa !9
  %123 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp14numarray_stackIjLi3EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %16, i32 noundef 2)
          to label %124 unwind label %84

124:                                              ; preds = %119
  store i32 %122, ptr %123, align 4, !tbaa !5
  br label %134

125:                                              ; preds = %116
  %126 = call noundef i32 @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %127 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp14numarray_stackIjLi3EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %16, i32 noundef 2)
          to label %128 unwind label %76

128:                                              ; preds = %125
  store i32 %126, ptr %127, align 4, !tbaa !5
  %129 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %111) #8
  %130 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %129)
          to label %131 unwind label %76

131:                                              ; preds = %128
  %132 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEEixERS6_(ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %133 unwind label %76

133:                                              ; preds = %131
  store i32 %126, ptr %132, align 4, !tbaa !5
  br label %134

134:                                              ; preds = %133, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %135 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef nonnull align 4 dereferenceable(12) %16)
          to label %137 unwind label %60

136:                                              ; preds = %84, %76, %74
  %.pn = phi { ptr, i32 } [ %77, %76 ], [ %85, %84 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  br label %138

137:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %54, !llvm.loop !12

138:                                              ; preds = %136, %60
  %.pn.pn = phi { ptr, i32 } [ %.pn, %136 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #8
  br label %142

139:                                              ; preds = %._crit_edge
  call void @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %15) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %15) #8
  call void @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  call void @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  ret void

140:                                              ; preds = %._crit_edge
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %142

142:                                              ; preds = %140, %138
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %138 ], [ %141, %140 ]
  call void @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %15) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %15) #8
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #8
  br label %143

143:                                              ; preds = %142, %52
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %142 ], [ %53, %52 ]
  call void @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  call void @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  br label %144

144:                                              ; preds = %143, %41
  %.pn40.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn40.pn.pn.pn, %41 ], [ %.pn.pn.pn.pn, %143 ]
  resume { ptr, i32 } %.pn40.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3cgp8is_equalIiLi3EEEbRKNS_14numarray_stackIT_XT0_EEES5_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0

; Function Attrs: noreturn
declare void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; 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 void @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(36), float noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cgp4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp14numarray_stackIjLi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEE4findERS6_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp14numarray_stackIjLi3EEixEi(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapISt4pairIiiEiN3cgp9hash_edgeESt8equal_toIS1_ESaIS0_IKS1_iEEEixERS6_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

declare noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh16fill_empty_fieldEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #7 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 = { noreturn "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 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { 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 #6 = { "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 #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSSt4pairIKS_IiiEiE", !11, i64 0, !6, i64 8}
!11 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


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