; LLVM IR from romerojosh/zefr :: src/tets.ll (ZN4Tets8set_locsEv)

; 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::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::allocator.2" = type { i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.mdvector = type <{ i32, [4 x i8], i64, i64, %"struct.std::array", %"struct.std::array", %"class.std::vector", ptr, i8, [7 x i8] }>
%"struct.std::array" = type { [6 x i32] }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { 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::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.Elements = type { ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8], %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %"class.std::vector.0", %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector.5, %class.mdvector.5, %class.mdvector.5, %class.mdvector.5, %class.mdvector.5, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.7", %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, i64, i64, i64, i64, i64, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdview, %class.mdview, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, i32, [4 x i8], %class.mdvector, %class.mdvector, i32, ptr, %"class.std::vector.7", %class.mdvector.5, %class.mdvector, %class.mdvector, %class.mdvector }
%class.mdview = type { %class.mdvector.12, %class.mdvector.5, i32, [4 x i8] }
%class.mdvector.12 = type <{ i32, [4 x i8], i64, i64, %"struct.std::array", %"struct.std::array", %"class.std::vector.13", ptr, i8, [7 x i8] }>
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<double *, std::allocator<double *>>::_Vector_impl" }
%"struct.std::_Vector_base<double *, std::allocator<double *>>::_Vector_impl" = type { %"struct.std::_Vector_base<double *, std::allocator<double *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double *, std::allocator<double *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = 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.mdvector.5 = type <{ i32, [4 x i8], i64, i64, %"struct.std::array", %"struct.std::array", %"class.std::vector.0", ptr, i8, [7 x i8] }>
%struct.InputStruct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, i8, i8, i8, i8, i8, i8, i8, %"class.std::vector.0", %"class.std::vector.0", i32, i32, double, double, double, double, double, double, double, double, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, %class.mdvector, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, i32, i32, double, double, i32, double, double, double, double, double, double, double, double, i16, i16, i16, i16, i32, i32, i32, %"class.std::__cxx11::basic_string", i8, i8, i8, i8, i32, i32, i8, i8, i8, i8, i32, i32, i32, i32, %"class.std::vector.22", %"class.std::vector.7", double, double, double, double, double, double, [3 x double], double, [3 x double], [3 x double], [3 x double], [3 x double], double, [3 x double], [3 x double], double, [9 x double], %"class.std::map", i8, i8, i8, i8, i8, i8, i8, i8, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, double, double, %class.Timer }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%class.Timer = type { %"class.std::chrono::time_point", %"class.std::chrono::time_point", double, %"class.std::__cxx11::basic_string" }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%class.Tets = type { %class.Elements, %class.mdvector, %class.mdvector, %class.mdvector }

@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@__func__._ZN4Tets8set_locsEv = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Tets8set_locsEv(ptr noundef nonnull align 8 dereferenceable(14304) %0) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::vector.0", align 8
  %4 = alloca %"class.std::initializer_list", align 8
  %5 = alloca [2 x i32], align 4
  %6 = alloca %"class.std::allocator.2", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %class.mdvector, align 8
  %11 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca i1, align 1
  %15 = alloca %class.mdvector, align 8
  %16 = alloca %"class.std::vector.0", align 8
  %17 = alloca %"class.std::initializer_list", align 8
  %18 = alloca [1 x i32], align 4
  %19 = alloca %"class.std::allocator.2", align 1
  %20 = alloca i32, align 4
  %21 = alloca %class.mdvector, align 8
  %22 = alloca %class.mdvector, align 8
  %23 = alloca %"class.std::vector.0", align 8
  %24 = alloca %"class.std::initializer_list", align 8
  %25 = alloca [2 x i32], align 4
  %26 = alloca %"class.std::allocator.2", align 1
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca %"class.std::vector.0", align 8
  %32 = alloca %"class.std::initializer_list", align 8
  %33 = alloca [2 x i32], align 4
  %34 = alloca %"class.std::allocator.2", align 1
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca %class.mdvector, align 8
  %40 = alloca %class.mdvector, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %41 = load ptr, ptr %2, align 8
  %42 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 32
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %43 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 16
  %44 = load i32, ptr %43, align 4, !tbaa !9
  store i32 %44, ptr %5, align 4, !tbaa !36
  %45 = getelementptr inbounds i32, ptr %5, i64 1
  %46 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 10
  %47 = load i32, ptr %46, align 4, !tbaa !37
  store i32 %47, ptr %45, align 4, !tbaa !36
  %48 = getelementptr inbounds %"class.std::initializer_list", ptr %4, i32 0, i32 0
  store ptr %5, ptr %48, align 8, !tbaa !38
  %49 = getelementptr inbounds %"class.std::initializer_list", ptr %4, i32 0, i32 1
  store i64 2, ptr %49, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  %50 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8
  %52 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 1
  %53 = load i64, ptr %52, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr %51, i64 %53, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %54 unwind label %71

54:                                               ; preds = %1
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %42, ptr noundef %3, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %55 unwind label %75

55:                                               ; preds = %54
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  %56 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 1
  %57 = load ptr, ptr %56, align 8, !tbaa !41
  %58 = getelementptr inbounds %struct.InputStruct, ptr %57, i32 0, i32 20
  %59 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef @.str)
  br i1 %59, label %60, label %84

60:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #7
  %61 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %62 = load i32, ptr %61, align 8, !tbaa !42
  %63 = add i32 %62, 1
  call void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %9, i32 noundef %63)
  %64 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 38
  %65 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %64, ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 112, ptr %10) #7
  %66 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %67 = load i32, ptr %66, align 8, !tbaa !42
  call void @_Z10WS_Tri_ptsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8 %10, i32 noundef %67)
  %68 = getelementptr inbounds %class.Tets, ptr %41, i32 0, i32 3
  %69 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %68, ptr noundef nonnull align 8 dereferenceable(105) %10)
          to label %70 unwind label %80

70:                                               ; preds = %60
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %10) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %10) #7
  br label %133

71:                                               ; preds = %1
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %7, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %8, align 4
  br label %79

75:                                               ; preds = %54
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %7, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  br label %79

79:                                               ; preds = %75, %71
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %548

80:                                               ; preds = %60
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %7, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %8, align 4
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %10) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %10) #7
  br label %548

84:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 392, ptr %11) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %11)
  %85 = getelementptr inbounds i8, ptr %11, i64 16
  %86 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef @.str.1)
          to label %87 unwind label %107

87:                                               ; preds = %84
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef @.str.2)
          to label %89 unwind label %107

89:                                               ; preds = %87
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %88, i32 noundef 58)
          to label %91 unwind label %107

91:                                               ; preds = %89
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef @.str.2)
          to label %93 unwind label %107

93:                                               ; preds = %91
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef @__func__._ZN4Tets8set_locsEv)
          to label %95 unwind label %107

95:                                               ; preds = %93
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef @.str.3)
          to label %97 unwind label %107

97:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #7
  %98 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 1
  %99 = load ptr, ptr %98, align 8, !tbaa !41
  %100 = getelementptr inbounds %struct.InputStruct, ptr %99, i32 0, i32 20
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef @.str.4, ptr noundef nonnull align 8 dereferenceable(32) %100)
          to label %101 unwind label %111

101:                                              ; preds = %97
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %103 unwind label %115

103:                                              ; preds = %101
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  store i1 true, ptr %14, align 1
  %104 = call ptr @__cxa_allocate_exception(i64 16) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #7
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(128) %11)
          to label %105 unwind label %120

105:                                              ; preds = %103
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %104, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %106 unwind label %124

106:                                              ; preds = %105
  store i1 false, ptr %14, align 1
  invoke void @__cxa_throw(ptr %104, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #8
          to label %553 unwind label %124

107:                                              ; preds = %95, %93, %91, %89, %87, %84
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %7, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %8, align 4
  br label %132

111:                                              ; preds = %97
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %7, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %8, align 4
  br label %119

115:                                              ; preds = %101
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %7, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %119

119:                                              ; preds = %115, %111
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  br label %132

120:                                              ; preds = %103
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %7, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %8, align 4
  br label %128

124:                                              ; preds = %106, %105
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %7, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %128

128:                                              ; preds = %124, %120
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #7
  %129 = load i1, ptr %14, align 1
  br i1 %129, label %130, label %131

130:                                              ; preds = %128
  call void @__cxa_free_exception(ptr %104) #7
  br label %131

131:                                              ; preds = %130, %128
  br label %132

132:                                              ; preds = %131, %119, %107
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %11) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr %11) #7
  br label %548

133:                                              ; preds = %70
  call void @llvm.lifetime.start.p0(i64 112, ptr %15) #7
  %134 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %135 = load i32, ptr %134, align 8, !tbaa !42
  call void @_Z14WS_Tri_weightsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8 %15, i32 noundef %135)
  %136 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 64
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %137 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 17
  %138 = load i32, ptr %137, align 8, !tbaa !43
  store i32 %138, ptr %18, align 4, !tbaa !36
  %139 = getelementptr inbounds %"class.std::initializer_list", ptr %17, i32 0, i32 0
  store ptr %18, ptr %139, align 8, !tbaa !38
  %140 = getelementptr inbounds %"class.std::initializer_list", ptr %17, i32 0, i32 1
  store i64 1, ptr %140, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #7
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  %141 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %142 = load ptr, ptr %141, align 8
  %143 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %144 = load i64, ptr %143, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %142, i64 %144, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %145 unwind label %153

145:                                              ; preds = %133
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %136, ptr noundef %16, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %146 unwind label %157

146:                                              ; preds = %145
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !36
  br label %147

147:                                              ; preds = %171, %146
  %148 = load i32, ptr %20, align 4, !tbaa !36
  %149 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 17
  %150 = load i32, ptr %149, align 8, !tbaa !43
  %151 = icmp ult i32 %148, %150
  br i1 %151, label %162, label %152

152:                                              ; preds = %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %178

153:                                              ; preds = %133
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %7, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %8, align 4
  br label %161

157:                                              ; preds = %145
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %7, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  br label %161

161:                                              ; preds = %157, %153
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %547

162:                                              ; preds = %147
  %163 = load i32, ptr %20, align 4, !tbaa !36
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105) %15, i32 noundef %163)
          to label %165 unwind label %174

165:                                              ; preds = %162
  %166 = load double, ptr %164, align 8, !tbaa !44
  %167 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 64
  %168 = load i32, ptr %20, align 4, !tbaa !36
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105) %167, i32 noundef %168)
          to label %170 unwind label %174

170:                                              ; preds = %165
  store double %166, ptr %169, align 8, !tbaa !44
  br label %171

171:                                              ; preds = %170
  %172 = load i32, ptr %20, align 4, !tbaa !36
  %173 = add i32 %172, 1
  store i32 %173, ptr %20, align 4, !tbaa !36
  br label %147, !llvm.loop !46

174:                                              ; preds = %165, %162
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %7, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %547

178:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 112, ptr %21) #7
  %179 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %180 = load i32, ptr %179, align 8, !tbaa !42
  invoke void @_Z10WS_Tet_ptsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8 %21, i32 noundef %180)
          to label %181 unwind label %211

181:                                              ; preds = %178
  %182 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 28
  %183 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %182, ptr noundef nonnull align 8 dereferenceable(105) %21)
          to label %184 unwind label %215

184:                                              ; preds = %181
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %21) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 112, ptr %22) #7
  %185 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %186 = load i32, ptr %185, align 8, !tbaa !42
  invoke void @_Z14WS_Tet_weightsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8 %22, i32 noundef %186)
          to label %187 unwind label %220

187:                                              ; preds = %184
  %188 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 63
  %189 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %188, ptr noundef nonnull align 8 dereferenceable(105) %22)
          to label %190 unwind label %224

190:                                              ; preds = %187
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %22) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %22) #7
  %191 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %192 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 13
  %193 = load i32, ptr %192, align 8, !tbaa !48
  store i32 %193, ptr %25, align 4, !tbaa !36
  %194 = getelementptr inbounds i32, ptr %25, i64 1
  %195 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 10
  %196 = load i32, ptr %195, align 4, !tbaa !37
  store i32 %196, ptr %194, align 4, !tbaa !36
  %197 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 0
  store ptr %25, ptr %197, align 8, !tbaa !38
  %198 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 1
  store i64 2, ptr %198, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  %199 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %200 = load ptr, ptr %199, align 8
  %201 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %202 = load i64, ptr %201, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr %200, i64 %202, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %203 unwind label %229

203:                                              ; preds = %190
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %191, ptr noundef %23, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %204 unwind label %233

204:                                              ; preds = %203
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 0, ptr %27, align 4, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 0, ptr %28, align 4, !tbaa !36
  br label %205

205:                                              ; preds = %363, %204
  %206 = load i32, ptr %28, align 4, !tbaa !36
  %207 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 18
  %208 = load i32, ptr %207, align 4, !tbaa !49
  %209 = icmp ult i32 %206, %208
  br i1 %209, label %238, label %210

210:                                              ; preds = %205
  store i32 5, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %366

211:                                              ; preds = %178
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %7, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %8, align 4
  br label %219

215:                                              ; preds = %181
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %7, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %8, align 4
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %21) #7
  br label %219

219:                                              ; preds = %215, %211
  call void @llvm.lifetime.end.p0(i64 112, ptr %21) #7
  br label %547

220:                                              ; preds = %184
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %7, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %8, align 4
  br label %228

224:                                              ; preds = %187
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %7, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %8, align 4
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %22) #7
  br label %228

228:                                              ; preds = %224, %220
  call void @llvm.lifetime.end.p0(i64 112, ptr %22) #7
  br label %547

229:                                              ; preds = %190
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %7, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %8, align 4
  br label %237

233:                                              ; preds = %203
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %7, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  br label %237

237:                                              ; preds = %233, %229
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %547

238:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  store i32 0, ptr %30, align 4, !tbaa !36
  br label %239

239:                                              ; preds = %359, %238
  %240 = load i32, ptr %30, align 4, !tbaa !36
  %241 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 17
  %242 = load i32, ptr %241, align 8, !tbaa !43
  %243 = icmp ult i32 %240, %242
  br i1 %243, label %245, label %244

244:                                              ; preds = %239
  store i32 8, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %362

245:                                              ; preds = %239
  %246 = load i32, ptr %28, align 4, !tbaa !36
  switch i32 %246, label %356 [
    i32 0, label %247
    i32 1, label %274
    i32 2, label %297
    i32 3, label %320
  ]

247:                                              ; preds = %245
  %248 = getelementptr inbounds %class.Tets, ptr %41, i32 0, i32 3
  %249 = load i32, ptr %30, align 4, !tbaa !36
  %250 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %248, i32 noundef %249, i32 noundef 0)
          to label %251 unwind label %270

251:                                              ; preds = %247
  %252 = load double, ptr %250, align 8, !tbaa !44
  %253 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  %254 = load i32, ptr %27, align 4, !tbaa !36
  %255 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %253, i32 noundef %254, i32 noundef 0)
          to label %256 unwind label %270

256:                                              ; preds = %251
  store double %252, ptr %255, align 8, !tbaa !44
  %257 = getelementptr inbounds %class.Tets, ptr %41, i32 0, i32 3
  %258 = load i32, ptr %30, align 4, !tbaa !36
  %259 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %257, i32 noundef %258, i32 noundef 1)
          to label %260 unwind label %270

260:                                              ; preds = %256
  %261 = load double, ptr %259, align 8, !tbaa !44
  %262 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  %263 = load i32, ptr %27, align 4, !tbaa !36
  %264 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %262, i32 noundef %263, i32 noundef 1)
          to label %265 unwind label %270

265:                                              ; preds = %260
  store double %261, ptr %264, align 8, !tbaa !44
  %266 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  %267 = load i32, ptr %27, align 4, !tbaa !36
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %266, i32 noundef %267, i32 noundef 2)
          to label %269 unwind label %270

269:                                              ; preds = %265
  store double -1.000000e+00, ptr %268, align 8, !tbaa !44
  br label %356

270:                                              ; preds = %347, %342, %338, %333, %329, %324, %320, %314, %310, %305, %301, %297, %291, %287, %283, %278, %274, %265, %260, %256, %251, %247
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %7, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %546

274:                                              ; preds = %245
  %275 = getelementptr inbounds %class.Tets, ptr %41, i32 0, i32 3
  %276 = load i32, ptr %30, align 4, !tbaa !36
  %277 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %275, i32 noundef %276, i32 noundef 0)
          to label %278 unwind label %270

278:                                              ; preds = %274
  %279 = load double, ptr %277, align 8, !tbaa !44
  %280 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  %281 = load i32, ptr %27, align 4, !tbaa !36
  %282 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %280, i32 noundef %281, i32 noundef 0)
          to label %283 unwind label %270

283:                                              ; preds = %278
  store double %279, ptr %282, align 8, !tbaa !44
  %284 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  %285 = load i32, ptr %27, align 4, !tbaa !36
  %286 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %284, i32 noundef %285, i32 noundef 1)
          to label %287 unwind label %270

287:                                              ; preds = %283
  store double -1.000000e+00, ptr %286, align 8, !tbaa !44
  %288 = getelementptr inbounds %class.Tets, ptr %41, i32 0, i32 3
  %289 = load i32, ptr %30, align 4, !tbaa !36
  %290 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %288, i32 noundef %289, i32 noundef 1)
          to label %291 unwind label %270

291:                                              ; preds = %287
  %292 = load double, ptr %290, align 8, !tbaa !44
  %293 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  %294 = load i32, ptr %27, align 4, !tbaa !36
  %295 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %293, i32 noundef %294, i32 noundef 2)
          to label %296 unwind label %270

296:                                              ; preds = %291
  store double %292, ptr %295, align 8, !tbaa !44
  br label %356

297:                                              ; preds = %245
  %298 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  %299 = load i32, ptr %27, align 4, !tbaa !36
  %300 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %298, i32 noundef %299, i32 noundef 0)
          to label %301 unwind label %270

301:                                              ; preds = %297
  store double -1.000000e+00, ptr %300, align 8, !tbaa !44
  %302 = getelementptr inbounds %class.Tets, ptr %41, i32 0, i32 3
  %303 = load i32, ptr %30, align 4, !tbaa !36
  %304 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %302, i32 noundef %303, i32 noundef 1)
          to label %305 unwind label %270

305:                                              ; preds = %301
  %306 = load double, ptr %304, align 8, !tbaa !44
  %307 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  %308 = load i32, ptr %27, align 4, !tbaa !36
  %309 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %307, i32 noundef %308, i32 noundef 1)
          to label %310 unwind label %270

310:                                              ; preds = %305
  store double %306, ptr %309, align 8, !tbaa !44
  %311 = getelementptr inbounds %class.Tets, ptr %41, i32 0, i32 3
  %312 = load i32, ptr %30, align 4, !tbaa !36
  %313 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %311, i32 noundef %312, i32 noundef 0)
          to label %314 unwind label %270

314:                                              ; preds = %310
  %315 = load double, ptr %313, align 8, !tbaa !44
  %316 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  %317 = load i32, ptr %27, align 4, !tbaa !36
  %318 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %316, i32 noundef %317, i32 noundef 2)
          to label %319 unwind label %270

319:                                              ; preds = %314
  store double %315, ptr %318, align 8, !tbaa !44
  br label %356

320:                                              ; preds = %245
  %321 = getelementptr inbounds %class.Tets, ptr %41, i32 0, i32 3
  %322 = load i32, ptr %30, align 4, !tbaa !36
  %323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %321, i32 noundef %322, i32 noundef 0)
          to label %324 unwind label %270

324:                                              ; preds = %320
  %325 = load double, ptr %323, align 8, !tbaa !44
  %326 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  %327 = load i32, ptr %27, align 4, !tbaa !36
  %328 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %326, i32 noundef %327, i32 noundef 0)
          to label %329 unwind label %270

329:                                              ; preds = %324
  store double %325, ptr %328, align 8, !tbaa !44
  %330 = getelementptr inbounds %class.Tets, ptr %41, i32 0, i32 3
  %331 = load i32, ptr %30, align 4, !tbaa !36
  %332 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %330, i32 noundef %331, i32 noundef 1)
          to label %333 unwind label %270

333:                                              ; preds = %329
  %334 = load double, ptr %332, align 8, !tbaa !44
  %335 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  %336 = load i32, ptr %27, align 4, !tbaa !36
  %337 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %335, i32 noundef %336, i32 noundef 1)
          to label %338 unwind label %270

338:                                              ; preds = %333
  store double %334, ptr %337, align 8, !tbaa !44
  %339 = getelementptr inbounds %class.Tets, ptr %41, i32 0, i32 3
  %340 = load i32, ptr %30, align 4, !tbaa !36
  %341 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %339, i32 noundef %340, i32 noundef 0)
          to label %342 unwind label %270

342:                                              ; preds = %338
  %343 = load double, ptr %341, align 8, !tbaa !44
  %344 = getelementptr inbounds %class.Tets, ptr %41, i32 0, i32 3
  %345 = load i32, ptr %30, align 4, !tbaa !36
  %346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %344, i32 noundef %345, i32 noundef 1)
          to label %347 unwind label %270

347:                                              ; preds = %342
  %348 = load double, ptr %346, align 8, !tbaa !44
  %349 = fadd double %343, %348
  %350 = fadd double %349, 1.000000e+00
  %351 = fneg double %350
  %352 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 29
  %353 = load i32, ptr %27, align 4, !tbaa !36
  %354 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %352, i32 noundef %353, i32 noundef 2)
          to label %355 unwind label %270

355:                                              ; preds = %347
  store double %351, ptr %354, align 8, !tbaa !44
  br label %356

356:                                              ; preds = %355, %319, %296, %269, %245
  %357 = load i32, ptr %27, align 4, !tbaa !36
  %358 = add i32 %357, 1
  store i32 %358, ptr %27, align 4, !tbaa !36
  br label %359

359:                                              ; preds = %356
  %360 = load i32, ptr %30, align 4, !tbaa !36
  %361 = add i32 %360, 1
  store i32 %361, ptr %30, align 4, !tbaa !36
  br label %239, !llvm.loop !50

362:                                              ; preds = %244
  br label %363

363:                                              ; preds = %362
  %364 = load i32, ptr %28, align 4, !tbaa !36
  %365 = add i32 %364, 1
  store i32 %365, ptr %28, align 4, !tbaa !36
  br label %205, !llvm.loop !51

366:                                              ; preds = %210
  %367 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 30
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %368 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 15
  %369 = load i32, ptr %368, align 8, !tbaa !52
  store i32 %369, ptr %33, align 4, !tbaa !36
  %370 = getelementptr inbounds i32, ptr %33, i64 1
  %371 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 10
  %372 = load i32, ptr %371, align 4, !tbaa !37
  store i32 %372, ptr %370, align 4, !tbaa !36
  %373 = getelementptr inbounds %"class.std::initializer_list", ptr %32, i32 0, i32 0
  store ptr %33, ptr %373, align 8, !tbaa !38
  %374 = getelementptr inbounds %"class.std::initializer_list", ptr %32, i32 0, i32 1
  store i64 2, ptr %374, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #7
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  %375 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 0
  %376 = load ptr, ptr %375, align 8
  %377 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 1
  %378 = load i64, ptr %377, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr %376, i64 %378, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %379 unwind label %388

379:                                              ; preds = %366
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %367, ptr noundef %31, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %380 unwind label %392

380:                                              ; preds = %379
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  store i32 0, ptr %35, align 4, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #7
  store i32 0, ptr %36, align 4, !tbaa !36
  br label %381

381:                                              ; preds = %515, %380
  %382 = load i32, ptr %36, align 4, !tbaa !36
  %383 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %384 = load i32, ptr %383, align 8, !tbaa !42
  %385 = add i32 %384, 1
  %386 = icmp ult i32 %382, %385
  br i1 %386, label %397, label %387

387:                                              ; preds = %381
  store i32 12, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  br label %518

388:                                              ; preds = %366
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %7, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %8, align 4
  br label %396

392:                                              ; preds = %379
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %7, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  br label %396

396:                                              ; preds = %392, %388
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %546

397:                                              ; preds = %381
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  store i32 0, ptr %37, align 4, !tbaa !36
  br label %398

398:                                              ; preds = %511, %397
  %399 = load i32, ptr %37, align 4, !tbaa !36
  %400 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %401 = load i32, ptr %400, align 8, !tbaa !42
  %402 = add i32 %401, 1
  %403 = load i32, ptr %36, align 4, !tbaa !36
  %404 = sub i32 %402, %403
  %405 = icmp ult i32 %399, %404
  br i1 %405, label %407, label %406

406:                                              ; preds = %398
  store i32 15, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  br label %514

407:                                              ; preds = %398
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  store i32 0, ptr %38, align 4, !tbaa !36
  br label %408

408:                                              ; preds = %503, %407
  %409 = load i32, ptr %38, align 4, !tbaa !36
  %410 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %411 = load i32, ptr %410, align 8, !tbaa !42
  %412 = add i32 %411, 1
  %413 = load i32, ptr %36, align 4, !tbaa !36
  %414 = sub i32 %412, %413
  %415 = load i32, ptr %37, align 4, !tbaa !36
  %416 = sub i32 %414, %415
  %417 = icmp ult i32 %409, %416
  br i1 %417, label %419, label %418

418:                                              ; preds = %408
  store i32 18, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  br label %510

419:                                              ; preds = %408
  %420 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %421 = load i32, ptr %420, align 8, !tbaa !42
  %422 = add i32 %421, 1
  %423 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %424 = load i32, ptr %423, align 8, !tbaa !42
  %425 = add i32 %424, 2
  %426 = mul i32 %422, %425
  %427 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %428 = load i32, ptr %427, align 8, !tbaa !42
  %429 = add i32 %428, 3
  %430 = mul i32 %426, %429
  %431 = udiv i32 %430, 6
  %432 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %433 = load i32, ptr %432, align 8, !tbaa !42
  %434 = add i32 %433, 1
  %435 = load i32, ptr %36, align 4, !tbaa !36
  %436 = sub i32 %434, %435
  %437 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %438 = load i32, ptr %437, align 8, !tbaa !42
  %439 = add i32 %438, 2
  %440 = load i32, ptr %36, align 4, !tbaa !36
  %441 = sub i32 %439, %440
  %442 = mul i32 %436, %441
  %443 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %444 = load i32, ptr %443, align 8, !tbaa !42
  %445 = add i32 %444, 3
  %446 = load i32, ptr %36, align 4, !tbaa !36
  %447 = sub i32 %445, %446
  %448 = mul i32 %442, %447
  %449 = udiv i32 %448, 6
  %450 = sub i32 %431, %449
  %451 = load i32, ptr %37, align 4, !tbaa !36
  %452 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %453 = load i32, ptr %452, align 8, !tbaa !42
  %454 = add i32 %453, 1
  %455 = load i32, ptr %36, align 4, !tbaa !36
  %456 = sub i32 %454, %455
  %457 = mul i32 %451, %456
  %458 = add i32 %450, %457
  %459 = load i32, ptr %37, align 4, !tbaa !36
  %460 = sub nsw i32 %459, 1
  %461 = load i32, ptr %37, align 4, !tbaa !36
  %462 = mul nsw i32 %460, %461
  %463 = sdiv i32 %462, 2
  %464 = sub i32 %458, %463
  %465 = load i32, ptr %38, align 4, !tbaa !36
  %466 = add i32 %464, %465
  store i32 %466, ptr %35, align 4, !tbaa !36
  %467 = load i32, ptr %38, align 4, !tbaa !36
  %468 = sitofp i32 %467 to double
  %469 = fmul double 2.000000e+00, %468
  %470 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %471 = load i32, ptr %470, align 8, !tbaa !42
  %472 = uitofp i32 %471 to double
  %473 = fdiv double %469, %472
  %474 = fadd double -1.000000e+00, %473
  %475 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 30
  %476 = load i32, ptr %35, align 4, !tbaa !36
  %477 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %475, i32 noundef %476, i32 noundef 0)
          to label %478 unwind label %506

478:                                              ; preds = %419
  store double %474, ptr %477, align 8, !tbaa !44
  %479 = load i32, ptr %37, align 4, !tbaa !36
  %480 = sitofp i32 %479 to double
  %481 = fmul double 2.000000e+00, %480
  %482 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %483 = load i32, ptr %482, align 8, !tbaa !42
  %484 = uitofp i32 %483 to double
  %485 = fdiv double %481, %484
  %486 = fadd double -1.000000e+00, %485
  %487 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 30
  %488 = load i32, ptr %35, align 4, !tbaa !36
  %489 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %487, i32 noundef %488, i32 noundef 1)
          to label %490 unwind label %506

490:                                              ; preds = %478
  store double %486, ptr %489, align 8, !tbaa !44
  %491 = load i32, ptr %36, align 4, !tbaa !36
  %492 = sitofp i32 %491 to double
  %493 = fmul double 2.000000e+00, %492
  %494 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 5
  %495 = load i32, ptr %494, align 8, !tbaa !42
  %496 = uitofp i32 %495 to double
  %497 = fdiv double %493, %496
  %498 = fadd double -1.000000e+00, %497
  %499 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 30
  %500 = load i32, ptr %35, align 4, !tbaa !36
  %501 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %499, i32 noundef %500, i32 noundef 2)
          to label %502 unwind label %506

502:                                              ; preds = %490
  store double %498, ptr %501, align 8, !tbaa !44
  br label %503

503:                                              ; preds = %502
  %504 = load i32, ptr %38, align 4, !tbaa !36
  %505 = add nsw i32 %504, 1
  store i32 %505, ptr %38, align 4, !tbaa !36
  br label %408, !llvm.loop !53

506:                                              ; preds = %490, %478, %419
  %507 = landingpad { ptr, i32 }
          cleanup
  %508 = extractvalue { ptr, i32 } %507, 0
  store ptr %508, ptr %7, align 8
  %509 = extractvalue { ptr, i32 } %507, 1
  store i32 %509, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  br label %545

510:                                              ; preds = %418
  br label %511

511:                                              ; preds = %510
  %512 = load i32, ptr %37, align 4, !tbaa !36
  %513 = add nsw i32 %512, 1
  store i32 %513, ptr %37, align 4, !tbaa !36
  br label %398, !llvm.loop !54

514:                                              ; preds = %406
  br label %515

515:                                              ; preds = %514
  %516 = load i32, ptr %36, align 4, !tbaa !36
  %517 = add nsw i32 %516, 1
  store i32 %517, ptr %36, align 4, !tbaa !36
  br label %381, !llvm.loop !55

518:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 112, ptr %39) #7
  invoke void @_Z10WS_Tet_ptsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8 %39, i32 noundef 6)
          to label %519 unwind label %527

519:                                              ; preds = %518
  %520 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 32
  %521 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %520, ptr noundef nonnull align 8 dereferenceable(105) %39)
          to label %522 unwind label %531

522:                                              ; preds = %519
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %39) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %39) #7
  call void @llvm.lifetime.start.p0(i64 112, ptr %40) #7
  invoke void @_Z14WS_Tet_weightsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8 %40, i32 noundef 6)
          to label %523 unwind label %536

523:                                              ; preds = %522
  %524 = getelementptr inbounds %class.Elements, ptr %41, i32 0, i32 65
  %525 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %524, ptr noundef nonnull align 8 dereferenceable(105) %40)
          to label %526 unwind label %540

526:                                              ; preds = %523
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %40) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %15) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %15) #7
  ret void

527:                                              ; preds = %518
  %528 = landingpad { ptr, i32 }
          cleanup
  %529 = extractvalue { ptr, i32 } %528, 0
  store ptr %529, ptr %7, align 8
  %530 = extractvalue { ptr, i32 } %528, 1
  store i32 %530, ptr %8, align 4
  br label %535

531:                                              ; preds = %519
  %532 = landingpad { ptr, i32 }
          cleanup
  %533 = extractvalue { ptr, i32 } %532, 0
  store ptr %533, ptr %7, align 8
  %534 = extractvalue { ptr, i32 } %532, 1
  store i32 %534, ptr %8, align 4
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %39) #7
  br label %535

535:                                              ; preds = %531, %527
  call void @llvm.lifetime.end.p0(i64 112, ptr %39) #7
  br label %545

536:                                              ; preds = %522
  %537 = landingpad { ptr, i32 }
          cleanup
  %538 = extractvalue { ptr, i32 } %537, 0
  store ptr %538, ptr %7, align 8
  %539 = extractvalue { ptr, i32 } %537, 1
  store i32 %539, ptr %8, align 4
  br label %544

540:                                              ; preds = %523
  %541 = landingpad { ptr, i32 }
          cleanup
  %542 = extractvalue { ptr, i32 } %541, 0
  store ptr %542, ptr %7, align 8
  %543 = extractvalue { ptr, i32 } %541, 1
  store i32 %543, ptr %8, align 4
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %40) #7
  br label %544

544:                                              ; preds = %540, %536
  call void @llvm.lifetime.end.p0(i64 112, ptr %40) #7
  br label %545

545:                                              ; preds = %544, %535, %506
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %546

546:                                              ; preds = %545, %396, %270
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %547

547:                                              ; preds = %546, %237, %228, %219, %174, %161
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %15) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %15) #7
  br label %548

548:                                              ; preds = %547, %132, %80, %79
  %549 = load ptr, ptr %7, align 8
  %550 = load i32, ptr %8, align 4
  %551 = insertvalue { ptr, i32 } poison, ptr %549, 0
  %552 = insertvalue { ptr, i32 } %551, i32 %550, 1
  resume { ptr, i32 } %552

553:                                              ; preds = %106
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef, double noundef, i1 noundef zeroext) #2 align 2

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

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

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

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

declare void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, i32 noundef) #4

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

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

declare void @_Z10WS_Tri_ptsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(105)) #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #5

; 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) #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #2

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

declare ptr @__cxa_allocate_exception(i64)

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) #2 align 2

declare void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

declare void @_Z14WS_Tri_weightsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) #1 align 2

declare void @_Z10WS_Tet_ptsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8, i32 noundef) #4

declare void @_Z14WS_Tet_weightsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef, i32 noundef) #1 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = { nounwind "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 = { nounwind }
attributes #8 = { 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, !12, i64 76}
!10 = !{!"_ZTS8Elements", !6, i64 8, !6, i64 16, !11, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !13, i64 104, !13, i64 216, !13, i64 328, !13, i64 440, !21, i64 552, !13, i64 576, !13, i64 688, !13, i64 800, !13, i64 912, !13, i64 1024, !25, i64 1136, !25, i64 1248, !25, i64 1360, !25, i64 1472, !25, i64 1584, !16, i64 1696, !16, i64 1720, !16, i64 1744, !16, i64 1768, !13, i64 1792, !13, i64 1904, !13, i64 2016, !13, i64 2128, !13, i64 2240, !13, i64 2352, !13, i64 2464, !13, i64 2576, !13, i64 2688, !13, i64 2800, !13, i64 2912, !13, i64 3024, !13, i64 3136, !13, i64 3248, !13, i64 3360, !13, i64 3472, !13, i64 3584, !13, i64 3696, !13, i64 3808, !13, i64 3920, !13, i64 4032, !13, i64 4144, !13, i64 4256, !13, i64 4368, !13, i64 4480, !13, i64 4592, !13, i64 4704, !13, i64 4816, !13, i64 4928, !13, i64 5040, !13, i64 5152, !13, i64 5264, !13, i64 5376, !13, i64 5488, !13, i64 5600, !13, i64 5712, !13, i64 5824, !13, i64 5936, !12, i64 6048, !16, i64 6056, !16, i64 6080, !16, i64 6104, !16, i64 6128, !16, i64 6152, !16, i64 6176, !16, i64 6200, !26, i64 6224, !13, i64 6248, !13, i64 6360, !13, i64 6472, !13, i64 6584, !13, i64 6696, !13, i64 6808, !13, i64 6920, !13, i64 7032, !13, i64 7144, !14, i64 7256, !14, i64 7264, !14, i64 7272, !14, i64 7280, !14, i64 7288, !13, i64 7296, !13, i64 7408, !13, i64 7520, !13, i64 7632, !13, i64 7744, !13, i64 7856, !13, i64 7968, !13, i64 8080, !13, i64 8192, !13, i64 8304, !13, i64 8416, !13, i64 8528, !13, i64 8640, !13, i64 8752, !13, i64 8864, !13, i64 8976, !13, i64 9088, !13, i64 9200, !13, i64 9312, !13, i64 9424, !13, i64 9536, !13, i64 9648, !13, i64 9760, !13, i64 9872, !13, i64 9984, !13, i64 10096, !13, i64 10208, !13, i64 10320, !13, i64 10432, !13, i64 10544, !13, i64 10656, !13, i64 10768, !13, i64 10880, !13, i64 10992, !13, i64 11104, !13, i64 11216, !13, i64 11328, !13, i64 11440, !13, i64 11552, !13, i64 11664, !13, i64 11776, !13, i64 11888, !13, i64 12000, !30, i64 12112, !30, i64 12344, !13, i64 12576, !13, i64 12688, !13, i64 12800, !13, i64 12912, !13, i64 13024, !13, i64 13136, !12, i64 13248, !13, i64 13256, !13, i64 13368, !12, i64 13480, !6, i64 13488, !26, i64 13496, !25, i64 13520, !13, i64 13632, !13, i64 13744, !13, i64 13856}
!11 = !{!"_ZTS8ELE_TYPE", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS8mdvectorIdE", !12, i64 0, !14, i64 8, !14, i64 16, !15, i64 24, !15, i64 48, !16, i64 72, !6, i64 96, !20, i64 104}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSSt5arrayIjLm6EE", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTSSt6vectorIjSaIjEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTS8mdvectorIjE", !12, i64 0, !14, i64 8, !14, i64 16, !15, i64 24, !15, i64 48, !21, i64 72, !6, i64 96, !20, i64 104}
!26 = !{!"_ZTSSt6vectorIiSaIiEE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTS6mdviewIdE", !31, i64 0, !25, i64 112, !12, i64 224}
!31 = !{!"_ZTS8mdvectorIPdE", !12, i64 0, !14, i64 8, !14, i64 16, !15, i64 24, !15, i64 48, !32, i64 72, !6, i64 96, !20, i64 104}
!32 = !{!"_ZTSSt6vectorIPdSaIS0_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIPdSaIS0_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPdSaIS0_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPdSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!12, !12, i64 0}
!37 = !{!10, !12, i64 52}
!38 = !{!39, !6, i64 0}
!39 = !{!"_ZTSSt16initializer_listIjE", !6, i64 0, !14, i64 8}
!40 = !{!39, !14, i64 8}
!41 = !{!10, !6, i64 8}
!42 = !{!10, !12, i64 32}
!43 = !{!10, !12, i64 80}
!44 = !{!45, !45, i64 0}
!45 = !{!"double", !7, i64 0}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}
!48 = !{!10, !12, i64 64}
!49 = !{!10, !12, i64 84}
!50 = distinct !{!50, !47}
!51 = distinct !{!51, !47}
!52 = !{!10, !12, i64 72}
!53 = distinct !{!53, !47}
!54 = distinct !{!54, !47}
!55 = distinct !{!55, !47}


; 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::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.mdvector = type <{ i32, [4 x i8], i64, i64, %"struct.std::array", %"struct.std::array", %"class.std::vector", ptr, i8, [7 x i8] }>
%"struct.std::array" = type { [6 x i32] }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { 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::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 }

@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@__func__._ZN4Tets8set_locsEv = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Tets8set_locsEv(ptr noundef nonnull align 8 dereferenceable(14304) %0) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::vector.0", align 8
  %3 = alloca [2 x i32], align 4
  %4 = alloca %"class.std::allocator.2", align 1
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %class.mdvector, align 8
  %7 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %class.mdvector, align 8
  %11 = alloca %"class.std::vector.0", align 8
  %12 = alloca [1 x i32], align 4
  %13 = alloca %"class.std::allocator.2", align 1
  %14 = alloca %class.mdvector, align 8
  %15 = alloca %class.mdvector, align 8
  %16 = alloca %"class.std::vector.0", align 8
  %17 = alloca [2 x i32], align 4
  %18 = alloca %"class.std::allocator.2", align 1
  %19 = alloca %"class.std::vector.0", align 8
  %20 = alloca [2 x i32], align 4
  %21 = alloca %"class.std::allocator.2", align 1
  %22 = alloca %class.mdvector, align 8
  %23 = alloca %class.mdvector, align 8
  %24 = getelementptr inbounds i8, ptr %0, i64 1024
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  %25 = getelementptr inbounds i8, ptr %0, i64 76
  %26 = load i32, ptr %25, align 4, !tbaa !5
  store i32 %26, ptr %3, align 4, !tbaa !35
  %27 = getelementptr inbounds i8, ptr %3, i64 4
  %28 = getelementptr inbounds i8, ptr %0, i64 52
  %29 = load i32, ptr %28, align 4, !tbaa !36
  store i32 %29, ptr %27, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr nonnull %3, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %30 unwind label %50

30:                                               ; preds = %1
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %24, ptr noundef nonnull %2, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %31 unwind label %52

31:                                               ; preds = %30
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  %32 = getelementptr inbounds i8, ptr %0, i64 8
  %33 = load ptr, ptr %32, align 8, !tbaa !37
  %34 = getelementptr inbounds i8, ptr %33, i64 136
  %35 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull @.str)
  br i1 %35, label %36, label %57

36:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  %37 = getelementptr inbounds i8, ptr %0, i64 32
  %38 = load i32, ptr %37, align 8, !tbaa !38
  %39 = add i32 %38, 1
  call void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %5, i32 noundef %39)
  %40 = getelementptr inbounds i8, ptr %0, i64 1696
  %41 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %6) #8
  %42 = load i32, ptr %37, align 8, !tbaa !38
  call void @_Z10WS_Tri_ptsj(ptr dead_on_unwind nonnull writable sret(%class.mdvector) align 8 %6, i32 noundef %42)
  %43 = getelementptr inbounds i8, ptr %0, i64 14192
  %44 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %43, ptr noundef nonnull align 8 dereferenceable(105) %6)
          to label %45 unwind label %55

45:                                               ; preds = %36
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %6) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %10) #8
  %46 = load i32, ptr %37, align 8, !tbaa !38
  call void @_Z14WS_Tri_weightsj(ptr dead_on_unwind nonnull writable sret(%class.mdvector) align 8 %10, i32 noundef %46)
  %47 = getelementptr inbounds i8, ptr %0, i64 4256
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #8
  %48 = getelementptr inbounds i8, ptr %0, i64 80
  %49 = load i32, ptr %48, align 8, !tbaa !39
  store i32 %49, ptr %12, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr nonnull %12, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %92 unwind label %96

50:                                               ; preds = %1
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %30
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  br label %54

54:                                               ; preds = %52, %50
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  br label %294

55:                                               ; preds = %36
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %6) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %6) #8
  br label %294

57:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %7) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %7)
  %58 = getelementptr inbounds i8, ptr %7, i64 16
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull @.str.1)
          to label %60 unwind label %80

60:                                               ; preds = %57
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull @.str.2)
          to label %62 unwind label %80

62:                                               ; preds = %60
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %61, i32 noundef 58)
          to label %64 unwind label %80

64:                                               ; preds = %62
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull @.str.2)
          to label %66 unwind label %80

66:                                               ; preds = %64
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull @__func__._ZN4Tets8set_locsEv)
          to label %68 unwind label %80

68:                                               ; preds = %66
  %69 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull @.str.3)
          to label %70 unwind label %80

70:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  %71 = load ptr, ptr %32, align 8, !tbaa !37
  %72 = getelementptr inbounds i8, ptr %71, i64 136
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull @.str.4, ptr noundef nonnull align 8 dereferenceable(32) %72)
          to label %73 unwind label %82

73:                                               ; preds = %70
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %75 unwind label %84

75:                                               ; preds = %73
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  %76 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull align 8 dereferenceable(128) %7)
          to label %77 unwind label %.thread

77:                                               ; preds = %75
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %76, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %79 unwind label %.thread116

.thread116:                                       ; preds = %77
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %90

79:                                               ; preds = %77
  invoke void @__cxa_throw(ptr nonnull %76, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %295 unwind label %88

80:                                               ; preds = %68, %66, %64, %62, %60, %57
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %91

82:                                               ; preds = %70
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %86

84:                                               ; preds = %73
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %86

86:                                               ; preds = %84, %82
  %.pn90 = phi { ptr, i32 } [ %85, %84 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %91

.thread:                                          ; preds = %75
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %90

88:                                               ; preds = %79
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %91

90:                                               ; preds = %.thread116, %.thread
  %.pn92115 = phi { ptr, i32 } [ %87, %.thread ], [ %78, %.thread116 ]
  call void @__cxa_free_exception(ptr %76) #8
  br label %91

91:                                               ; preds = %88, %90, %86, %80
  %.pn92.pn = phi { ptr, i32 } [ %.pn92115, %90 ], [ %89, %88 ], [ %.pn90, %86 ], [ %81, %80 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %7) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %7) #8
  br label %294

92:                                               ; preds = %45
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %47, ptr noundef nonnull %11, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %93 unwind label %98

93:                                               ; preds = %92
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  %94 = load i32, ptr %48, align 8, !tbaa !39
  %.not = icmp eq i32 %94, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %93
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %14) #8
  %95 = load i32, ptr %37, align 8, !tbaa !38
  invoke void @_Z10WS_Tet_ptsj(ptr dead_on_unwind nonnull writable sret(%class.mdvector) align 8 %14, i32 noundef %95)
          to label %107 unwind label %185

96:                                               ; preds = %45
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %100

98:                                               ; preds = %92
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  br label %100

100:                                              ; preds = %98, %96
  %.pn95 = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  br label %293

.lr.ph:                                           ; preds = %93, %.lr.ph
  %.088121 = phi i32 [ %104, %.lr.ph ], [ 0, %93 ]
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105) %10, i32 noundef %.088121)
  %102 = load double, ptr %101, align 8, !tbaa !40
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105) %47, i32 noundef %.088121)
  store double %102, ptr %103, align 8, !tbaa !40
  %104 = add nuw i32 %.088121, 1
  %105 = load i32, ptr %48, align 8, !tbaa !39
  %106 = icmp ult i32 %104, %105
  br i1 %106, label %.lr.ph, label %._crit_edge, !llvm.loop !42

107:                                              ; preds = %._crit_edge
  %108 = getelementptr inbounds i8, ptr %0, i64 576
  %109 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %108, ptr noundef nonnull align 8 dereferenceable(105) %14)
          to label %110 unwind label %187

110:                                              ; preds = %107
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %14) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %15) #8
  %111 = load i32, ptr %37, align 8, !tbaa !38
  invoke void @_Z14WS_Tet_weightsj(ptr dead_on_unwind nonnull writable sret(%class.mdvector) align 8 %15, i32 noundef %111)
          to label %112 unwind label %190

112:                                              ; preds = %110
  %113 = getelementptr inbounds i8, ptr %0, i64 4144
  %114 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %113, ptr noundef nonnull align 8 dereferenceable(105) %15)
          to label %115 unwind label %192

115:                                              ; preds = %112
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %15) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %15) #8
  %116 = getelementptr inbounds i8, ptr %0, i64 688
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %117 = getelementptr inbounds i8, ptr %0, i64 64
  %118 = load i32, ptr %117, align 8, !tbaa !44
  store i32 %118, ptr %17, align 4, !tbaa !35
  %119 = getelementptr inbounds i8, ptr %17, i64 4
  %120 = load i32, ptr %28, align 4, !tbaa !36
  store i32 %120, ptr %119, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr nonnull %17, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %121 unwind label %195

121:                                              ; preds = %115
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %116, ptr noundef nonnull %16, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %122 unwind label %197

122:                                              ; preds = %121
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %123 = getelementptr inbounds i8, ptr %0, i64 84
  %124 = load i32, ptr %123, align 4, !tbaa !45
  %.not151 = icmp eq i32 %124, 0
  %125 = load i32, ptr %48, align 8
  %.not152 = icmp eq i32 %125, 0
  %or.cond = select i1 %.not151, i1 true, i1 %.not152
  br i1 %or.cond, label %._crit_edge143, label %.preheader120

.preheader120:                                    ; preds = %122, %._crit_edge125
  %126 = phi i32 [ %200, %._crit_edge125 ], [ %125, %122 ]
  %127 = phi i32 [ %201, %._crit_edge125 ], [ 1, %122 ]
  %.083142 = phi i32 [ %202, %._crit_edge125 ], [ 0, %122 ]
  %.084141 = phi i32 [ %.185.lcssa, %._crit_edge125 ], [ 0, %122 ]
  %.not153 = icmp eq i32 %127, 0
  br i1 %.not153, label %._crit_edge125, label %.lr.ph124

.lr.ph124:                                        ; preds = %.preheader120
  switch i32 %.083142, label %.lr.ph124.split [
    i32 0, label %.lr.ph124.split.us
    i32 1, label %.lr.ph124.split.us126
    i32 2, label %.lr.ph124.split.us131
    i32 3, label %.lr.ph124.split.us136
  ]

.lr.ph124.split.us:                               ; preds = %.lr.ph124, %.lr.ph124.split.us
  %.082123.us = phi i32 [ %136, %.lr.ph124.split.us ], [ %.083142, %.lr.ph124 ]
  %.185122.us = phi i32 [ %135, %.lr.ph124.split.us ], [ %.084141, %.lr.ph124 ]
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %43, i32 noundef %.082123.us, i32 noundef 0)
  %129 = load double, ptr %128, align 8, !tbaa !40
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %116, i32 noundef %.185122.us, i32 noundef 0)
  store double %129, ptr %130, align 8, !tbaa !40
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %43, i32 noundef %.082123.us, i32 noundef 1)
  %132 = load double, ptr %131, align 8, !tbaa !40
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %116, i32 noundef %.185122.us, i32 noundef 1)
  store double %132, ptr %133, align 8, !tbaa !40
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %116, i32 noundef %.185122.us, i32 noundef 2)
  store double -1.000000e+00, ptr %134, align 8, !tbaa !40
  %135 = add i32 %.185122.us, 1
  %136 = add nuw i32 %.082123.us, 1
  %137 = load i32, ptr %48, align 8, !tbaa !39
  %138 = icmp ult i32 %136, %137
  br i1 %138, label %.lr.ph124.split.us, label %._crit_edge125, !llvm.loop !46

.lr.ph124.split.us126:                            ; preds = %.lr.ph124, %.lr.ph124.split.us126
  %.082123.us127 = phi i32 [ %147, %.lr.ph124.split.us126 ], [ 0, %.lr.ph124 ]
  %.185122.us128 = phi i32 [ %146, %.lr.ph124.split.us126 ], [ %.084141, %.lr.ph124 ]
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %43, i32 noundef %.082123.us127, i32 noundef 0)
  %140 = load double, ptr %139, align 8, !tbaa !40
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %116, i32 noundef %.185122.us128, i32 noundef 0)
  store double %140, ptr %141, align 8, !tbaa !40
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %116, i32 noundef %.185122.us128, i32 noundef 1)
  store double -1.000000e+00, ptr %142, align 8, !tbaa !40
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %43, i32 noundef %.082123.us127, i32 noundef 1)
  %144 = load double, ptr %143, align 8, !tbaa !40
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %116, i32 noundef %.185122.us128, i32 noundef 2)
  store double %144, ptr %145, align 8, !tbaa !40
  %146 = add i32 %.185122.us128, 1
  %147 = add nuw i32 %.082123.us127, 1
  %148 = load i32, ptr %48, align 8, !tbaa !39
  %149 = icmp ult i32 %147, %148
  br i1 %149, label %.lr.ph124.split.us126, label %._crit_edge125, !llvm.loop !46

.lr.ph124.split.us131:                            ; preds = %.lr.ph124, %.lr.ph124.split.us131
  %.082123.us132 = phi i32 [ %158, %.lr.ph124.split.us131 ], [ 0, %.lr.ph124 ]
  %.185122.us133 = phi i32 [ %157, %.lr.ph124.split.us131 ], [ %.084141, %.lr.ph124 ]
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %116, i32 noundef %.185122.us133, i32 noundef 0)
  store double -1.000000e+00, ptr %150, align 8, !tbaa !40
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %43, i32 noundef %.082123.us132, i32 noundef 1)
  %152 = load double, ptr %151, align 8, !tbaa !40
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %116, i32 noundef %.185122.us133, i32 noundef 1)
  store double %152, ptr %153, align 8, !tbaa !40
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %43, i32 noundef %.082123.us132, i32 noundef 0)
  %155 = load double, ptr %154, align 8, !tbaa !40
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %116, i32 noundef %.185122.us133, i32 noundef 2)
  store double %155, ptr %156, align 8, !tbaa !40
  %157 = add i32 %.185122.us133, 1
  %158 = add nuw i32 %.082123.us132, 1
  %159 = load i32, ptr %48, align 8, !tbaa !39
  %160 = icmp ult i32 %158, %159
  br i1 %160, label %.lr.ph124.split.us131, label %._crit_edge125, !llvm.loop !46

.lr.ph124.split.us136:                            ; preds = %.lr.ph124, %.lr.ph124.split.us136
  %.082123.us137 = phi i32 [ %176, %.lr.ph124.split.us136 ], [ 0, %.lr.ph124 ]
  %.185122.us138 = phi i32 [ %175, %.lr.ph124.split.us136 ], [ %.084141, %.lr.ph124 ]
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %43, i32 noundef %.082123.us137, i32 noundef 0)
  %162 = load double, ptr %161, align 8, !tbaa !40
  %163 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %116, i32 noundef %.185122.us138, i32 noundef 0)
  store double %162, ptr %163, align 8, !tbaa !40
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %43, i32 noundef %.082123.us137, i32 noundef 1)
  %165 = load double, ptr %164, align 8, !tbaa !40
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %116, i32 noundef %.185122.us138, i32 noundef 1)
  store double %165, ptr %166, align 8, !tbaa !40
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %43, i32 noundef %.082123.us137, i32 noundef 0)
  %168 = load double, ptr %167, align 8, !tbaa !40
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %43, i32 noundef %.082123.us137, i32 noundef 1)
  %170 = load double, ptr %169, align 8, !tbaa !40
  %171 = fadd double %168, %170
  %172 = fadd double %171, 1.000000e+00
  %173 = fneg double %172
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %116, i32 noundef %.185122.us138, i32 noundef 2)
  store double %173, ptr %174, align 8, !tbaa !40
  %175 = add i32 %.185122.us138, 1
  %176 = add nuw i32 %.082123.us137, 1
  %177 = load i32, ptr %48, align 8, !tbaa !39
  %178 = icmp ult i32 %176, %177
  br i1 %178, label %.lr.ph124.split.us136, label %._crit_edge125, !llvm.loop !46

.lr.ph124.split:                                  ; preds = %.lr.ph124
  %umax = call i32 @llvm.umax.i32(i32 %126, i32 1)
  %179 = add i32 %.084141, %umax
  br label %._crit_edge125

._crit_edge143:                                   ; preds = %._crit_edge125, %122
  %180 = getelementptr inbounds i8, ptr %0, i64 800
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  %181 = getelementptr inbounds i8, ptr %0, i64 72
  %182 = load i32, ptr %181, align 8, !tbaa !47
  store i32 %182, ptr %20, align 4, !tbaa !35
  %183 = getelementptr inbounds i8, ptr %20, i64 4
  %184 = load i32, ptr %28, align 4, !tbaa !36
  store i32 %184, ptr %183, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr nonnull %20, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %205 unwind label %213

185:                                              ; preds = %._crit_edge
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %189

187:                                              ; preds = %107
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %14) #8
  br label %189

189:                                              ; preds = %187, %185
  %.pn97 = phi { ptr, i32 } [ %188, %187 ], [ %186, %185 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %14) #8
  br label %293

190:                                              ; preds = %110
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %194

192:                                              ; preds = %112
  %193 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %15) #8
  br label %194

194:                                              ; preds = %192, %190
  %.pn99 = phi { ptr, i32 } [ %193, %192 ], [ %191, %190 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %15) #8
  br label %293

195:                                              ; preds = %115
  %196 = landingpad { ptr, i32 }
          cleanup
  br label %199

197:                                              ; preds = %121
  %198 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  br label %199

199:                                              ; preds = %197, %195
  %.pn101 = phi { ptr, i32 } [ %198, %197 ], [ %196, %195 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  br label %293

._crit_edge125:                                   ; preds = %.lr.ph124.split.us136, %.lr.ph124.split.us131, %.lr.ph124.split.us126, %.lr.ph124.split.us, %.lr.ph124.split, %.preheader120
  %200 = phi i32 [ %126, %.preheader120 ], [ %126, %.lr.ph124.split ], [ %137, %.lr.ph124.split.us ], [ %148, %.lr.ph124.split.us126 ], [ %159, %.lr.ph124.split.us131 ], [ %177, %.lr.ph124.split.us136 ]
  %201 = phi i32 [ 0, %.preheader120 ], [ %126, %.lr.ph124.split ], [ %137, %.lr.ph124.split.us ], [ %148, %.lr.ph124.split.us126 ], [ %159, %.lr.ph124.split.us131 ], [ %177, %.lr.ph124.split.us136 ]
  %.185.lcssa = phi i32 [ %.084141, %.preheader120 ], [ %179, %.lr.ph124.split ], [ %135, %.lr.ph124.split.us ], [ %146, %.lr.ph124.split.us126 ], [ %157, %.lr.ph124.split.us131 ], [ %175, %.lr.ph124.split.us136 ]
  %202 = add nuw i32 %.083142, 1
  %203 = load i32, ptr %123, align 4, !tbaa !45
  %204 = icmp ult i32 %202, %203
  br i1 %204, label %.preheader120, label %._crit_edge143, !llvm.loop !48

205:                                              ; preds = %._crit_edge143
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %180, ptr noundef nonnull %19, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %206 unwind label %215

206:                                              ; preds = %205
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  %207 = load i32, ptr %37, align 8, !tbaa !38
  %.not154 = icmp eq i32 %207, -1
  br i1 %.not154, label %._crit_edge150, label %.preheader119

.preheader119:                                    ; preds = %206, %._crit_edge148
  %208 = phi i32 [ %226, %._crit_edge148 ], [ %207, %206 ]
  %.065149 = phi i32 [ %227, %._crit_edge148 ], [ 0, %206 ]
  %209 = sub nsw i32 1, %.065149
  %210 = sub i32 0, %208
  %.not155 = icmp eq i32 %209, %210
  br i1 %.not155, label %._crit_edge148, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader119
  %211 = shl nuw i32 %.065149, 1
  %212 = uitofp i32 %211 to double
  br label %.preheader

._crit_edge150:                                   ; preds = %._crit_edge148, %206
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %22) #8
  invoke void @_Z10WS_Tet_ptsj(ptr dead_on_unwind nonnull writable sret(%class.mdvector) align 8 %22, i32 noundef 6)
          to label %276 unwind label %283

213:                                              ; preds = %._crit_edge143
  %214 = landingpad { ptr, i32 }
          cleanup
  br label %217

215:                                              ; preds = %205
  %216 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br label %217

217:                                              ; preds = %215, %213
  %.pn103 = phi { ptr, i32 } [ %216, %215 ], [ %214, %213 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  br label %293

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge146
  %218 = phi i32 [ %208, %.preheader.lr.ph ], [ %230, %._crit_edge146 ]
  %219 = phi i32 [ %208, %.preheader.lr.ph ], [ %231, %._crit_edge146 ]
  %.064147 = phi i32 [ 0, %.preheader.lr.ph ], [ %232, %._crit_edge146 ]
  %220 = add i32 %219, 1
  %221 = sub i32 %220, %.065149
  %.not156 = icmp eq i32 %221, %.064147
  br i1 %.not156, label %._crit_edge146, label %.lr.ph145

.lr.ph145:                                        ; preds = %.preheader
  %222 = add nsw i32 %.064147, -1
  %223 = mul nsw i32 %222, %.064147
  %.neg = sdiv i32 %223, -2
  %224 = shl nuw i32 %.064147, 1
  %225 = uitofp i32 %224 to double
  br label %235

._crit_edge148:                                   ; preds = %._crit_edge146, %.preheader119
  %226 = phi i32 [ %208, %.preheader119 ], [ %230, %._crit_edge146 ]
  %227 = add nuw nsw i32 %.065149, 1
  %228 = add i32 %226, 1
  %229 = icmp ult i32 %227, %228
  br i1 %229, label %.preheader119, label %._crit_edge150, !llvm.loop !50

._crit_edge146:                                   ; preds = %235, %.preheader
  %230 = phi i32 [ %218, %.preheader ], [ %271, %235 ]
  %231 = phi i32 [ %219, %.preheader ], [ %271, %235 ]
  %232 = add nuw nsw i32 %.064147, 1
  %233 = add i32 %209, %231
  %234 = icmp ult i32 %232, %233
  br i1 %234, label %.preheader, label %._crit_edge148, !llvm.loop !51

235:                                              ; preds = %.lr.ph145, %235
  %236 = phi i32 [ %221, %.lr.ph145 ], [ %273, %235 ]
  %237 = phi i32 [ %220, %.lr.ph145 ], [ %272, %235 ]
  %238 = phi i32 [ %219, %.lr.ph145 ], [ %271, %235 ]
  %.0144 = phi i32 [ 0, %.lr.ph145 ], [ %270, %235 ]
  %239 = add i32 %238, 2
  %240 = mul i32 %237, %239
  %241 = add i32 %238, 3
  %242 = mul i32 %240, %241
  %243 = udiv i32 %242, 6
  %244 = sub i32 %239, %.065149
  %245 = mul i32 %236, %244
  %246 = sub i32 %241, %.065149
  %247 = mul i32 %245, %246
  %248 = udiv i32 %247, 6
  %249 = mul i32 %236, %.064147
  %250 = add i32 %.0144, %.neg
  %251 = add i32 %250, %249
  %252 = add i32 %251, %243
  %253 = sub i32 %252, %248
  %254 = shl nuw i32 %.0144, 1
  %255 = uitofp i32 %254 to double
  %256 = uitofp i32 %238 to double
  %257 = fdiv double %255, %256
  %258 = fadd double %257, -1.000000e+00
  %259 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %180, i32 noundef %253, i32 noundef 0)
  store double %258, ptr %259, align 8, !tbaa !40
  %260 = load i32, ptr %37, align 8, !tbaa !38
  %261 = uitofp i32 %260 to double
  %262 = fdiv double %225, %261
  %263 = fadd double %262, -1.000000e+00
  %264 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %180, i32 noundef %253, i32 noundef 1)
  store double %263, ptr %264, align 8, !tbaa !40
  %265 = load i32, ptr %37, align 8, !tbaa !38
  %266 = uitofp i32 %265 to double
  %267 = fdiv double %212, %266
  %268 = fadd double %267, -1.000000e+00
  %269 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %180, i32 noundef %253, i32 noundef 2)
  store double %268, ptr %269, align 8, !tbaa !40
  %270 = add nuw nsw i32 %.0144, 1
  %271 = load i32, ptr %37, align 8, !tbaa !38
  %272 = add i32 %271, 1
  %273 = sub i32 %272, %.065149
  %274 = sub i32 %273, %.064147
  %275 = icmp ult i32 %270, %274
  br i1 %275, label %235, label %._crit_edge146, !llvm.loop !52

276:                                              ; preds = %._crit_edge150
  %277 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %24, ptr noundef nonnull align 8 dereferenceable(105) %22)
          to label %278 unwind label %285

278:                                              ; preds = %276
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %22) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %22) #8
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %23) #8
  invoke void @_Z14WS_Tet_weightsj(ptr dead_on_unwind nonnull writable sret(%class.mdvector) align 8 %23, i32 noundef 6)
          to label %279 unwind label %288

279:                                              ; preds = %278
  %280 = getelementptr inbounds i8, ptr %0, i64 4368
  %281 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %280, ptr noundef nonnull align 8 dereferenceable(105) %23)
          to label %282 unwind label %290

282:                                              ; preds = %279
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %23) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %23) #8
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %10) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %10) #8
  ret void

283:                                              ; preds = %._crit_edge150
  %284 = landingpad { ptr, i32 }
          cleanup
  br label %287

285:                                              ; preds = %276
  %286 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %22) #8
  br label %287

287:                                              ; preds = %285, %283
  %.pn105 = phi { ptr, i32 } [ %286, %285 ], [ %284, %283 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %22) #8
  br label %293

288:                                              ; preds = %278
  %289 = landingpad { ptr, i32 }
          cleanup
  br label %292

290:                                              ; preds = %279
  %291 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %23) #8
  br label %292

292:                                              ; preds = %290, %288
  %.pn107 = phi { ptr, i32 } [ %291, %290 ], [ %289, %288 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %23) #8
  br label %293

293:                                              ; preds = %217, %292, %287, %199, %194, %189, %100
  %.pn107.pn.pn.pn = phi { ptr, i32 } [ %.pn101, %199 ], [ %.pn99, %194 ], [ %.pn97, %189 ], [ %.pn95, %100 ], [ %.pn103, %217 ], [ %.pn107, %292 ], [ %.pn105, %287 ]
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %10) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %10) #8
  br label %294

294:                                              ; preds = %293, %91, %55, %54
  %.pn107.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn, %293 ], [ %56, %55 ], [ %.pn92.pn, %91 ], [ %.pn, %54 ]
  resume { ptr, i32 } %.pn107.pn.pn.pn.pn

295:                                              ; preds = %79
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef, double noundef, i1 noundef zeroext) local_unnamed_addr #2 align 2

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

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

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

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

declare void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, i32 noundef) local_unnamed_addr #4

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

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

declare void @_Z10WS_Tri_ptsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8, i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

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

; 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 #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2 align 2

declare void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

declare void @_Z14WS_Tri_weightsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) local_unnamed_addr #1 align 2

declare void @_Z10WS_Tet_ptsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8, i32 noundef) local_unnamed_addr #4

declare void @_Z14WS_Tet_weightsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #7

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = { nounwind "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !11, i64 76}
!6 = !{!"_ZTS8Elements", !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !12, i64 104, !12, i64 216, !12, i64 328, !12, i64 440, !20, i64 552, !12, i64 576, !12, i64 688, !12, i64 800, !12, i64 912, !12, i64 1024, !24, i64 1136, !24, i64 1248, !24, i64 1360, !24, i64 1472, !24, i64 1584, !15, i64 1696, !15, i64 1720, !15, i64 1744, !15, i64 1768, !12, i64 1792, !12, i64 1904, !12, i64 2016, !12, i64 2128, !12, i64 2240, !12, i64 2352, !12, i64 2464, !12, i64 2576, !12, i64 2688, !12, i64 2800, !12, i64 2912, !12, i64 3024, !12, i64 3136, !12, i64 3248, !12, i64 3360, !12, i64 3472, !12, i64 3584, !12, i64 3696, !12, i64 3808, !12, i64 3920, !12, i64 4032, !12, i64 4144, !12, i64 4256, !12, i64 4368, !12, i64 4480, !12, i64 4592, !12, i64 4704, !12, i64 4816, !12, i64 4928, !12, i64 5040, !12, i64 5152, !12, i64 5264, !12, i64 5376, !12, i64 5488, !12, i64 5600, !12, i64 5712, !12, i64 5824, !12, i64 5936, !11, i64 6048, !15, i64 6056, !15, i64 6080, !15, i64 6104, !15, i64 6128, !15, i64 6152, !15, i64 6176, !15, i64 6200, !25, i64 6224, !12, i64 6248, !12, i64 6360, !12, i64 6472, !12, i64 6584, !12, i64 6696, !12, i64 6808, !12, i64 6920, !12, i64 7032, !12, i64 7144, !13, i64 7256, !13, i64 7264, !13, i64 7272, !13, i64 7280, !13, i64 7288, !12, i64 7296, !12, i64 7408, !12, i64 7520, !12, i64 7632, !12, i64 7744, !12, i64 7856, !12, i64 7968, !12, i64 8080, !12, i64 8192, !12, i64 8304, !12, i64 8416, !12, i64 8528, !12, i64 8640, !12, i64 8752, !12, i64 8864, !12, i64 8976, !12, i64 9088, !12, i64 9200, !12, i64 9312, !12, i64 9424, !12, i64 9536, !12, i64 9648, !12, i64 9760, !12, i64 9872, !12, i64 9984, !12, i64 10096, !12, i64 10208, !12, i64 10320, !12, i64 10432, !12, i64 10544, !12, i64 10656, !12, i64 10768, !12, i64 10880, !12, i64 10992, !12, i64 11104, !12, i64 11216, !12, i64 11328, !12, i64 11440, !12, i64 11552, !12, i64 11664, !12, i64 11776, !12, i64 11888, !12, i64 12000, !29, i64 12112, !29, i64 12344, !12, i64 12576, !12, i64 12688, !12, i64 12800, !12, i64 12912, !12, i64 13024, !12, i64 13136, !11, i64 13248, !12, i64 13256, !12, i64 13368, !11, i64 13480, !7, i64 13488, !25, i64 13496, !24, i64 13520, !12, i64 13632, !12, i64 13744, !12, i64 13856}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS8ELE_TYPE", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_ZTS8mdvectorIdE", !11, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !14, i64 48, !15, i64 72, !7, i64 96, !19, i64 104}
!13 = !{!"long", !8, i64 0}
!14 = !{!"_ZTSSt5arrayIjLm6EE", !8, i64 0}
!15 = !{!"_ZTSSt6vectorIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!19 = !{!"bool", !8, i64 0}
!20 = !{!"_ZTSSt6vectorIjSaIjEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!24 = !{!"_ZTS8mdvectorIjE", !11, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !14, i64 48, !20, i64 72, !7, i64 96, !19, i64 104}
!25 = !{!"_ZTSSt6vectorIiSaIiEE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!29 = !{!"_ZTS6mdviewIdE", !30, i64 0, !24, i64 112, !11, i64 224}
!30 = !{!"_ZTS8mdvectorIPdE", !11, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !14, i64 48, !31, i64 72, !7, i64 96, !19, i64 104}
!31 = !{!"_ZTSSt6vectorIPdSaIS0_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIPdSaIS0_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPdSaIS0_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPdSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!35 = !{!11, !11, i64 0}
!36 = !{!6, !11, i64 52}
!37 = !{!6, !7, i64 8}
!38 = !{!6, !11, i64 32}
!39 = !{!6, !11, i64 80}
!40 = !{!41, !41, i64 0}
!41 = !{!"double", !8, i64 0}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.mustprogress"}
!44 = !{!6, !11, i64 64}
!45 = !{!6, !11, i64 84}
!46 = distinct !{!46, !43}
!47 = !{!6, !11, i64 72}
!48 = distinct !{!48, !43, !49}
!49 = !{!"llvm.loop.unswitch.partial.disable"}
!50 = distinct !{!50, !43}
!51 = distinct !{!51, !43}
!52 = distinct !{!52, !43}


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