; LLVM IR from romerojosh/zefr :: src/tris.ll (ZN4Tris8set_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.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.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.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 }

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

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

57:                                               ; preds = %56
  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
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #7
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %58 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !41
  %60 = getelementptr inbounds %struct.InputStruct, ptr %59, i32 0, i32 20
  %61 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef @.str)
          to label %62 unwind label %84

62:                                               ; preds = %57
  br i1 %61, label %63, label %96

63:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #7
  %64 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 5
  %65 = load i32, ptr %64, align 8, !tbaa !42
  %66 = add i32 %65, 1
  invoke void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %10, i32 noundef %66)
          to label %67 unwind label %88

67:                                               ; preds = %63
  %68 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 38
  %69 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %68, ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #7
  %70 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 5
  %71 = load i32, ptr %70, align 8, !tbaa !42
  %72 = add i32 %71, 1
  invoke void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %11, i32 noundef %72)
          to label %73 unwind label %92

73:                                               ; preds = %67
  %74 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  br label %151

75:                                               ; preds = %1
  %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
  br label %83

79:                                               ; preds = %56
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %7, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  br label %83

83:                                               ; preds = %79, %75
  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 %445

84:                                               ; preds = %57
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  br label %444

88:                                               ; preds = %63
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %7, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  br label %444

92:                                               ; preds = %67
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %7, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  br label %444

96:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 392, ptr %12) #7
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12)
          to label %97 unwind label %120

97:                                               ; preds = %96
  %98 = getelementptr inbounds i8, ptr %12, i64 16
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef @.str.1)
          to label %100 unwind label %124

100:                                              ; preds = %97
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef @.str.2)
          to label %102 unwind label %124

102:                                              ; preds = %100
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %101, i32 noundef 59)
          to label %104 unwind label %124

104:                                              ; preds = %102
  %105 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef @.str.2)
          to label %106 unwind label %124

106:                                              ; preds = %104
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef @__func__._ZN4Tris8set_locsEv)
          to label %108 unwind label %124

108:                                              ; preds = %106
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef @.str.3)
          to label %110 unwind label %124

110:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #7
  %111 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 1
  %112 = load ptr, ptr %111, align 8, !tbaa !41
  %113 = getelementptr inbounds %struct.InputStruct, ptr %112, 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 %13, ptr noundef @.str.4, ptr noundef nonnull align 8 dereferenceable(32) %113)
          to label %114 unwind label %128

114:                                              ; preds = %110
  %115 = 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) %109, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %116 unwind label %132

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

118:                                              ; preds = %116
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %117, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %119 unwind label %141

119:                                              ; preds = %118
  store i1 false, ptr %15, align 1
  invoke void @__cxa_throw(ptr %117, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #8
          to label %450 unwind label %141

120:                                              ; preds = %96
  %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 %150

124:                                              ; preds = %108, %106, %104, %102, %100, %97
  %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
  br label %149

128:                                              ; preds = %110
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %7, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %8, align 4
  br label %136

132:                                              ; preds = %114
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %7, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %136

136:                                              ; preds = %132, %128
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #7
  br label %149

137:                                              ; preds = %116
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %7, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %8, align 4
  br label %145

141:                                              ; preds = %119, %118
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %7, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br label %145

145:                                              ; preds = %141, %137
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #7
  %146 = load i1, ptr %15, align 1
  br i1 %146, label %147, label %148

147:                                              ; preds = %145
  call void @__cxa_free_exception(ptr %117) #7
  br label %148

148:                                              ; preds = %147, %145
  br label %149

149:                                              ; preds = %148, %136, %124
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #7
  br label %150

150:                                              ; preds = %149, %120
  call void @llvm.lifetime.end.p0(i64 392, ptr %12) #7
  br label %444

151:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  %152 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 17
  %153 = load i32, ptr %152, align 8, !tbaa !43
  invoke void @_Z22Gauss_Legendre_weightsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %16, i32 noundef %153)
          to label %154 unwind label %172

154:                                              ; preds = %151
  %155 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 64
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %156 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 17
  %157 = load i32, ptr %156, align 8, !tbaa !43
  store i32 %157, ptr %19, align 4, !tbaa !36
  %158 = getelementptr inbounds %"class.std::initializer_list", ptr %18, i32 0, i32 0
  store ptr %19, ptr %158, align 8, !tbaa !38
  %159 = getelementptr inbounds %"class.std::initializer_list", ptr %18, i32 0, i32 1
  store i64 1, ptr %159, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #7
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  %160 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 0
  %161 = load ptr, ptr %160, align 8
  %162 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 1
  %163 = load i64, ptr %162, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr %161, i64 %163, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %164 unwind label %176

164:                                              ; preds = %154
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %155, ptr noundef %17, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %165 unwind label %180

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

166:                                              ; preds = %194, %165
  %167 = load i32, ptr %21, align 4, !tbaa !36
  %168 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 17
  %169 = load i32, ptr %168, align 8, !tbaa !43
  %170 = icmp ult i32 %167, %169
  br i1 %170, label %185, label %171

171:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %201

172:                                              ; preds = %151
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %7, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %8, align 4
  br label %443

176:                                              ; preds = %154
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %7, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %8, align 4
  br label %184

180:                                              ; preds = %164
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %7, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  br label %184

184:                                              ; preds = %180, %176
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %442

185:                                              ; preds = %166
  %186 = load i32, ptr %21, align 4, !tbaa !36
  %187 = zext i32 %186 to i64
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %187) #7
  %189 = load double, ptr %188, align 8, !tbaa !44
  %190 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 64
  %191 = load i32, ptr %21, align 4, !tbaa !36
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105) %190, i32 noundef %191)
          to label %193 unwind label %197

193:                                              ; preds = %185
  store double %189, ptr %192, align 8, !tbaa !44
  br label %194

194:                                              ; preds = %193
  %195 = load i32, ptr %21, align 4, !tbaa !36
  %196 = add i32 %195, 1
  store i32 %196, ptr %21, align 4, !tbaa !36
  br label %166, !llvm.loop !46

197:                                              ; preds = %185
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %7, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %442

201:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 112, ptr %22) #7
  %202 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 5
  %203 = load i32, ptr %202, align 8, !tbaa !42
  invoke void @_Z10WS_Tri_ptsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8 %22, i32 noundef %203)
          to label %204 unwind label %234

204:                                              ; preds = %201
  %205 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 28
  %206 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %205, ptr noundef nonnull align 8 dereferenceable(105) %22)
          to label %207 unwind label %238

207:                                              ; preds = %204
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %22) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 112, ptr %23) #7
  %208 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 5
  %209 = load i32, ptr %208, align 8, !tbaa !42
  invoke void @_Z14WS_Tri_weightsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8 %23, i32 noundef %209)
          to label %210 unwind label %243

210:                                              ; preds = %207
  %211 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 63
  %212 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %211, ptr noundef nonnull align 8 dereferenceable(105) %23)
          to label %213 unwind label %247

213:                                              ; preds = %210
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %23) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %23) #7
  %214 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 29
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %215 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 13
  %216 = load i32, ptr %215, align 8, !tbaa !48
  store i32 %216, ptr %26, align 4, !tbaa !36
  %217 = getelementptr inbounds i32, ptr %26, i64 1
  %218 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 10
  %219 = load i32, ptr %218, align 4, !tbaa !37
  store i32 %219, ptr %217, align 4, !tbaa !36
  %220 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 0
  store ptr %26, ptr %220, align 8, !tbaa !38
  %221 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 1
  store i64 2, ptr %221, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #7
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #7
  %222 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %223 = load ptr, ptr %222, align 8
  %224 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %225 = load i64, ptr %224, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr %223, i64 %225, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %226 unwind label %252

226:                                              ; preds = %213
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %214, ptr noundef %24, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %227 unwind label %256

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

228:                                              ; preds = %332, %227
  %229 = load i32, ptr %29, align 4, !tbaa !36
  %230 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 18
  %231 = load i32, ptr %230, align 4, !tbaa !49
  %232 = icmp ult i32 %229, %231
  br i1 %232, label %261, label %233

233:                                              ; preds = %228
  store i32 5, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %335

234:                                              ; preds = %201
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %7, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %8, align 4
  br label %242

238:                                              ; preds = %204
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %7, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %8, align 4
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %22) #7
  br label %242

242:                                              ; preds = %238, %234
  call void @llvm.lifetime.end.p0(i64 112, ptr %22) #7
  br label %442

243:                                              ; preds = %207
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %7, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %8, align 4
  br label %251

247:                                              ; preds = %210
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %7, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %8, align 4
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %23) #7
  br label %251

251:                                              ; preds = %247, %243
  call void @llvm.lifetime.end.p0(i64 112, ptr %23) #7
  br label %442

252:                                              ; preds = %213
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %7, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %8, align 4
  br label %260

256:                                              ; preds = %226
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %7, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  br label %260

260:                                              ; preds = %256, %252
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %442

261:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store i32 0, ptr %31, align 4, !tbaa !36
  br label %262

262:                                              ; preds = %328, %261
  %263 = load i32, ptr %31, align 4, !tbaa !36
  %264 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 17
  %265 = load i32, ptr %264, align 8, !tbaa !43
  %266 = icmp ult i32 %263, %265
  br i1 %266, label %268, label %267

267:                                              ; preds = %262
  store i32 8, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %331

268:                                              ; preds = %262
  %269 = load i32, ptr %29, align 4, !tbaa !36
  switch i32 %269, label %325 [
    i32 0, label %270
    i32 1, label %287
    i32 2, label %308
  ]

270:                                              ; preds = %268
  %271 = load i32, ptr %31, align 4, !tbaa !36
  %272 = zext i32 %271 to i64
  %273 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %272) #7
  %274 = load double, ptr %273, align 8, !tbaa !44
  %275 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 29
  %276 = load i32, ptr %28, 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 %283

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

282:                                              ; preds = %278
  store double -1.000000e+00, ptr %281, align 8, !tbaa !44
  br label %325

283:                                              ; preds = %312, %308, %299, %287, %278, %270
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %7, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %441

287:                                              ; preds = %268
  %288 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 17
  %289 = load i32, ptr %288, align 8, !tbaa !43
  %290 = load i32, ptr %31, align 4, !tbaa !36
  %291 = sub i32 %289, %290
  %292 = sub i32 %291, 1
  %293 = zext i32 %292 to i64
  %294 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %293) #7
  %295 = load double, ptr %294, align 8, !tbaa !44
  %296 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 29
  %297 = load i32, ptr %28, align 4, !tbaa !36
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %296, i32 noundef %297, i32 noundef 0)
          to label %299 unwind label %283

299:                                              ; preds = %287
  store double %295, ptr %298, align 8, !tbaa !44
  %300 = load i32, ptr %31, align 4, !tbaa !36
  %301 = zext i32 %300 to i64
  %302 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %301) #7
  %303 = load double, ptr %302, align 8, !tbaa !44
  %304 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 29
  %305 = load i32, ptr %28, align 4, !tbaa !36
  %306 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %304, i32 noundef %305, i32 noundef 1)
          to label %307 unwind label %283

307:                                              ; preds = %299
  store double %303, ptr %306, align 8, !tbaa !44
  br label %325

308:                                              ; preds = %268
  %309 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 29
  %310 = load i32, ptr %28, align 4, !tbaa !36
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %309, i32 noundef %310, i32 noundef 0)
          to label %312 unwind label %283

312:                                              ; preds = %308
  store double -1.000000e+00, ptr %311, align 8, !tbaa !44
  %313 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 17
  %314 = load i32, ptr %313, align 8, !tbaa !43
  %315 = load i32, ptr %31, align 4, !tbaa !36
  %316 = sub i32 %314, %315
  %317 = sub i32 %316, 1
  %318 = zext i32 %317 to i64
  %319 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %318) #7
  %320 = load double, ptr %319, align 8, !tbaa !44
  %321 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 29
  %322 = load i32, ptr %28, 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 1)
          to label %324 unwind label %283

324:                                              ; preds = %312
  store double %320, ptr %323, align 8, !tbaa !44
  br label %325

325:                                              ; preds = %324, %307, %282, %268
  %326 = load i32, ptr %28, align 4, !tbaa !36
  %327 = add i32 %326, 1
  store i32 %327, ptr %28, align 4, !tbaa !36
  br label %328

328:                                              ; preds = %325
  %329 = load i32, ptr %31, align 4, !tbaa !36
  %330 = add i32 %329, 1
  store i32 %330, ptr %31, align 4, !tbaa !36
  br label %262, !llvm.loop !50

331:                                              ; preds = %267
  br label %332

332:                                              ; preds = %331
  %333 = load i32, ptr %29, align 4, !tbaa !36
  %334 = add i32 %333, 1
  store i32 %334, ptr %29, align 4, !tbaa !36
  br label %228, !llvm.loop !51

335:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #7
  %336 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 5
  %337 = load i32, ptr %336, align 8, !tbaa !42
  invoke void @_Z9Shape_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %32, i32 noundef %337)
          to label %338 unwind label %360

338:                                              ; preds = %335
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  %339 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  %340 = trunc i64 %339 to i32
  store i32 %340, ptr %33, align 4, !tbaa !36
  %341 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 30
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %342 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 15
  %343 = load i32, ptr %342, align 8, !tbaa !52
  store i32 %343, ptr %36, align 4, !tbaa !36
  %344 = getelementptr inbounds i32, ptr %36, i64 1
  %345 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 10
  %346 = load i32, ptr %345, align 4, !tbaa !37
  store i32 %346, ptr %344, align 4, !tbaa !36
  %347 = getelementptr inbounds %"class.std::initializer_list", ptr %35, i32 0, i32 0
  store ptr %36, ptr %347, align 8, !tbaa !38
  %348 = getelementptr inbounds %"class.std::initializer_list", ptr %35, i32 0, i32 1
  store i64 2, ptr %348, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #7
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #7
  %349 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 0
  %350 = load ptr, ptr %349, align 8
  %351 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 1
  %352 = load i64, ptr %351, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr %350, i64 %352, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %353 unwind label %364

353:                                              ; preds = %338
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %341, ptr noundef %34, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %354 unwind label %368

354:                                              ; preds = %353
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  store i32 0, ptr %38, align 4, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #7
  store i32 0, ptr %39, align 4, !tbaa !36
  br label %355

355:                                              ; preds = %408, %354
  %356 = load i32, ptr %39, align 4, !tbaa !36
  %357 = load i32, ptr %33, align 4, !tbaa !36
  %358 = icmp ult i32 %356, %357
  br i1 %358, label %373, label %359

359:                                              ; preds = %355
  store i32 12, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  br label %411

360:                                              ; preds = %335
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %7, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %8, align 4
  br label %440

364:                                              ; preds = %338
  %365 = landingpad { ptr, i32 }
          cleanup
  %366 = extractvalue { ptr, i32 } %365, 0
  store ptr %366, ptr %7, align 8
  %367 = extractvalue { ptr, i32 } %365, 1
  store i32 %367, ptr %8, align 4
  br label %372

368:                                              ; preds = %353
  %369 = landingpad { ptr, i32 }
          cleanup
  %370 = extractvalue { ptr, i32 } %369, 0
  store ptr %370, ptr %7, align 8
  %371 = extractvalue { ptr, i32 } %369, 1
  store i32 %371, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  br label %372

372:                                              ; preds = %368, %364
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %439

373:                                              ; preds = %355
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  store i32 0, ptr %40, align 4, !tbaa !36
  br label %374

374:                                              ; preds = %400, %373
  %375 = load i32, ptr %40, align 4, !tbaa !36
  %376 = load i32, ptr %33, align 4, !tbaa !36
  %377 = load i32, ptr %39, align 4, !tbaa !36
  %378 = sub i32 %376, %377
  %379 = icmp ult i32 %375, %378
  br i1 %379, label %381, label %380

380:                                              ; preds = %374
  store i32 15, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  br label %407

381:                                              ; preds = %374
  %382 = load i32, ptr %40, align 4, !tbaa !36
  %383 = zext i32 %382 to i64
  %384 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %383) #7
  %385 = load double, ptr %384, align 8, !tbaa !44
  %386 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 30
  %387 = load i32, ptr %38, align 4, !tbaa !36
  %388 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %386, i32 noundef %387, i32 noundef 0)
          to label %389 unwind label %403

389:                                              ; preds = %381
  store double %385, ptr %388, align 8, !tbaa !44
  %390 = load i32, ptr %39, align 4, !tbaa !36
  %391 = zext i32 %390 to i64
  %392 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %391) #7
  %393 = load double, ptr %392, align 8, !tbaa !44
  %394 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 30
  %395 = load i32, ptr %38, align 4, !tbaa !36
  %396 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %394, i32 noundef %395, i32 noundef 1)
          to label %397 unwind label %403

397:                                              ; preds = %389
  store double %393, ptr %396, align 8, !tbaa !44
  %398 = load i32, ptr %38, align 4, !tbaa !36
  %399 = add i32 %398, 1
  store i32 %399, ptr %38, align 4, !tbaa !36
  br label %400

400:                                              ; preds = %397
  %401 = load i32, ptr %40, align 4, !tbaa !36
  %402 = add i32 %401, 1
  store i32 %402, ptr %40, align 4, !tbaa !36
  br label %374, !llvm.loop !53

403:                                              ; preds = %389, %381
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %7, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  br label %438

407:                                              ; preds = %380
  br label %408

408:                                              ; preds = %407
  %409 = load i32, ptr %39, align 4, !tbaa !36
  %410 = add i32 %409, 1
  store i32 %410, ptr %39, align 4, !tbaa !36
  br label %355, !llvm.loop !54

411:                                              ; preds = %359
  call void @llvm.lifetime.start.p0(i64 112, ptr %41) #7
  invoke void @_Z10WS_Tri_ptsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8 %41, i32 noundef 8)
          to label %412 unwind label %420

412:                                              ; preds = %411
  %413 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 32
  %414 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %413, ptr noundef nonnull align 8 dereferenceable(105) %41)
          to label %415 unwind label %424

415:                                              ; preds = %412
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %41) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 112, ptr %42) #7
  invoke void @_Z14WS_Tri_weightsj(ptr dead_on_unwind writable sret(%class.mdvector) align 8 %42, i32 noundef 8)
          to label %416 unwind label %429

416:                                              ; preds = %415
  %417 = getelementptr inbounds %class.Elements, ptr %43, i32 0, i32 65
  %418 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %417, ptr noundef nonnull align 8 dereferenceable(105) %42)
          to label %419 unwind label %433

419:                                              ; preds = %416
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %42) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  ret void

420:                                              ; preds = %411
  %421 = landingpad { ptr, i32 }
          cleanup
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %7, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %8, align 4
  br label %428

424:                                              ; preds = %412
  %425 = landingpad { ptr, i32 }
          cleanup
  %426 = extractvalue { ptr, i32 } %425, 0
  store ptr %426, ptr %7, align 8
  %427 = extractvalue { ptr, i32 } %425, 1
  store i32 %427, ptr %8, align 4
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %41) #7
  br label %428

428:                                              ; preds = %424, %420
  call void @llvm.lifetime.end.p0(i64 112, ptr %41) #7
  br label %438

429:                                              ; preds = %415
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %7, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %8, align 4
  br label %437

433:                                              ; preds = %416
  %434 = landingpad { ptr, i32 }
          cleanup
  %435 = extractvalue { ptr, i32 } %434, 0
  store ptr %435, ptr %7, align 8
  %436 = extractvalue { ptr, i32 } %434, 1
  store i32 %436, ptr %8, align 4
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %42) #7
  br label %437

437:                                              ; preds = %433, %429
  call void @llvm.lifetime.end.p0(i64 112, ptr %42) #7
  br label %438

438:                                              ; preds = %437, %428, %403
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  br label %439

439:                                              ; preds = %438, %372
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  br label %440

440:                                              ; preds = %439, %360
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  br label %441

441:                                              ; preds = %440, %283
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %442

442:                                              ; preds = %441, %260, %251, %242, %197, %184
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  br label %443

443:                                              ; preds = %442, %172
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  br label %444

444:                                              ; preds = %443, %150, %92, %88, %84
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  br label %445

445:                                              ; preds = %444, %83
  %446 = load ptr, ptr %7, align 8
  %447 = load i32, ptr %8, align 4
  %448 = insertvalue { ptr, i32 } poison, ptr %446, 0
  %449 = insertvalue { ptr, i32 } %448, i32 %447, 1
  resume { ptr, i32 } %449

450:                                              ; preds = %119
  unreachable
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 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)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 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)) #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 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)) #1 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 #2 align 2

declare void @_Z22Gauss_Legendre_weightsj(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(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) #2 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)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105)) unnamed_addr #2 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 @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef, i32 noundef) #2 align 2

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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}


; 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.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.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] }

@.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__._ZN4Tris8set_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 uwtable
define dso_local void @_ZN4Tris8set_locsEv(ptr noundef nonnull align 8 dereferenceable(13968) %0) unnamed_addr #1 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.std::vector", align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::vector.0", align 8
  %13 = alloca [1 x i32], align 4
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %class.mdvector, align 8
  %16 = alloca %class.mdvector, align 8
  %17 = alloca %"class.std::vector.0", align 8
  %18 = alloca [2 x i32], align 4
  %19 = alloca %"class.std::allocator.2", align 1
  %20 = alloca %"class.std::vector", align 8
  %21 = alloca %"class.std::vector.0", align 8
  %22 = alloca [2 x i32], align 4
  %23 = alloca %"class.std::allocator.2", align 1
  %24 = alloca %class.mdvector, align 8
  %25 = alloca %class.mdvector, align 8
  %26 = getelementptr inbounds i8, ptr %0, i64 1024
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  %27 = getelementptr inbounds i8, ptr %0, i64 76
  %28 = load i32, ptr %27, align 4, !tbaa !5
  store i32 %28, ptr %3, align 4, !tbaa !35
  %29 = getelementptr inbounds i8, ptr %3, i64 4
  %30 = getelementptr inbounds i8, ptr %0, i64 52
  %31 = load i32, ptr %30, align 4, !tbaa !36
  store i32 %31, ptr %29, 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 %32 unwind label %51

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

33:                                               ; preds = %32
  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
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %34 = getelementptr inbounds i8, ptr %0, i64 8
  %35 = load ptr, ptr %34, align 8, !tbaa !37
  %36 = getelementptr inbounds i8, ptr %35, i64 136
  %37 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull @.str)
  br i1 %37, label %38, label %60

38:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #8
  %39 = getelementptr inbounds i8, ptr %0, i64 32
  %40 = load i32, ptr %39, align 8, !tbaa !38
  %41 = add i32 %40, 1
  invoke void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %6, i32 noundef %41)
          to label %42 unwind label %56

42:                                               ; preds = %38
  %43 = getelementptr inbounds i8, ptr %0, i64 1696
  %44 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  %45 = load i32, ptr %39, align 8, !tbaa !38
  %46 = add i32 %45, 1
  invoke void @_Z18Gauss_Legendre_ptsj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %7, i32 noundef %46)
          to label %47 unwind label %58

47:                                               ; preds = %42
  %48 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #8
  %49 = getelementptr inbounds i8, ptr %0, i64 80
  %50 = load i32, ptr %49, align 8, !tbaa !39
  invoke void @_Z22Gauss_Legendre_weightsj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %11, i32 noundef %50)
          to label %99 unwind label %106

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

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

55:                                               ; preds = %53, %51
  %.pn = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  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 %248

56:                                               ; preds = %38
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  br label %247

58:                                               ; preds = %42
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  br label %247

60:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %8) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8)
          to label %61 unwind label %84

61:                                               ; preds = %60
  %62 = getelementptr inbounds i8, ptr %8, i64 16
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull @.str.1)
          to label %64 unwind label %86

64:                                               ; preds = %61
  %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 %86

66:                                               ; preds = %64
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %65, i32 noundef 59)
          to label %68 unwind label %86

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.2)
          to label %70 unwind label %86

70:                                               ; preds = %68
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull @__func__._ZN4Tris8set_locsEv)
          to label %72 unwind label %86

72:                                               ; preds = %70
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull @.str.3)
          to label %74 unwind label %86

74:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  %75 = load ptr, ptr %34, align 8, !tbaa !37
  %76 = getelementptr inbounds i8, ptr %75, 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 %9, ptr noundef nonnull @.str.4, ptr noundef nonnull align 8 dereferenceable(32) %76)
          to label %77 unwind label %88

77:                                               ; preds = %74
  %78 = 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) %73, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %79 unwind label %90

79:                                               ; preds = %77
  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
  %80 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(128) %8)
          to label %81 unwind label %.thread

81:                                               ; preds = %79
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %80, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %83 unwind label %.thread104

.thread104:                                       ; preds = %81
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br label %96

83:                                               ; preds = %81
  invoke void @__cxa_throw(ptr nonnull %80, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %249 unwind label %94

84:                                               ; preds = %60
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %98

86:                                               ; preds = %72, %70, %68, %66, %64, %61
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %97

88:                                               ; preds = %74
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %92

90:                                               ; preds = %77
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  br label %92

92:                                               ; preds = %90, %88
  %.pn74 = phi { ptr, i32 } [ %91, %90 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %97

.thread:                                          ; preds = %79
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br label %96

94:                                               ; preds = %83
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br label %97

96:                                               ; preds = %.thread104, %.thread
  %.pn76103 = phi { ptr, i32 } [ %93, %.thread ], [ %82, %.thread104 ]
  call void @__cxa_free_exception(ptr %80) #8
  br label %97

97:                                               ; preds = %94, %96, %92, %86
  %.pn76.pn = phi { ptr, i32 } [ %.pn76103, %96 ], [ %95, %94 ], [ %.pn74, %92 ], [ %87, %86 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8) #8
  br label %98

98:                                               ; preds = %97, %84
  %.pn76.pn.pn = phi { ptr, i32 } [ %.pn76.pn, %97 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %8) #8
  br label %247

99:                                               ; preds = %47
  %100 = getelementptr inbounds i8, ptr %0, i64 4256
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #8
  %101 = load i32, ptr %49, align 8, !tbaa !39
  store i32 %101, ptr %13, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr nonnull %13, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %102 unwind label %108

102:                                              ; preds = %99
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %100, ptr noundef nonnull %12, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %103 unwind label %110

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

._crit_edge:                                      ; preds = %.lr.ph, %103
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %15) #8
  %105 = load i32, ptr %39, align 8, !tbaa !38
  invoke void @_Z10WS_Tri_ptsj(ptr dead_on_unwind nonnull writable sret(%class.mdvector) align 8 %15, i32 noundef %105)
          to label %120 unwind label %178

106:                                              ; preds = %47
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %246

108:                                              ; preds = %99
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %112

110:                                              ; preds = %102
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br label %112

112:                                              ; preds = %110, %108
  %.pn80 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  br label %245

.lr.ph:                                           ; preds = %103, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %103 ]
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv) #8
  %114 = load double, ptr %113, align 8, !tbaa !40
  %115 = trunc nuw i64 %indvars.iv to i32
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105) %100, i32 noundef %115)
  store double %114, ptr %116, align 8, !tbaa !40
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %117 = load i32, ptr %49, align 8, !tbaa !39
  %118 = zext i32 %117 to i64
  %119 = icmp ult i64 %indvars.iv.next, %118
  br i1 %119, label %.lr.ph, label %._crit_edge, !llvm.loop !42

120:                                              ; preds = %._crit_edge
  %121 = getelementptr inbounds i8, ptr %0, i64 576
  %122 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %121, ptr noundef nonnull align 8 dereferenceable(105) %15)
          to label %123 unwind label %180

123:                                              ; preds = %120
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %15) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %16) #8
  %124 = load i32, ptr %39, align 8, !tbaa !38
  invoke void @_Z14WS_Tri_weightsj(ptr dead_on_unwind nonnull writable sret(%class.mdvector) align 8 %16, i32 noundef %124)
          to label %125 unwind label %183

125:                                              ; preds = %123
  %126 = getelementptr inbounds i8, ptr %0, i64 4144
  %127 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %126, ptr noundef nonnull align 8 dereferenceable(105) %16)
          to label %128 unwind label %185

128:                                              ; preds = %125
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %16) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %16) #8
  %129 = getelementptr inbounds i8, ptr %0, i64 688
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %130 = getelementptr inbounds i8, ptr %0, i64 64
  %131 = load i32, ptr %130, align 8, !tbaa !44
  store i32 %131, ptr %18, align 4, !tbaa !35
  %132 = getelementptr inbounds i8, ptr %18, i64 4
  %133 = load i32, ptr %30, align 4, !tbaa !36
  store i32 %133, ptr %132, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr nonnull %18, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %134 unwind label %188

134:                                              ; preds = %128
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %129, ptr noundef nonnull %17, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %135 unwind label %190

135:                                              ; preds = %134
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  %136 = getelementptr inbounds i8, ptr %0, i64 84
  %137 = load i32, ptr %136, align 4, !tbaa !45
  %.not133 = icmp eq i32 %137, 0
  %138 = load i32, ptr %49, align 8
  %.not134 = icmp eq i32 %138, 0
  %or.cond = select i1 %.not133, i1 true, i1 %.not134
  br i1 %or.cond, label %._crit_edge124, label %.preheader106

.preheader106:                                    ; preds = %135, %._crit_edge111
  %139 = phi i32 [ %193, %._crit_edge111 ], [ %138, %135 ]
  %140 = phi i32 [ %194, %._crit_edge111 ], [ %138, %135 ]
  %.067123 = phi i32 [ %195, %._crit_edge111 ], [ 0, %135 ]
  %.068122 = phi i32 [ %.169.lcssa, %._crit_edge111 ], [ 0, %135 ]
  %.not135 = icmp eq i32 %140, 0
  br i1 %.not135, label %._crit_edge111, label %.lr.ph110

.lr.ph110:                                        ; preds = %.preheader106
  switch i32 %.067123, label %.lr.ph110.split [
    i32 0, label %.lr.ph110.split.us
    i32 1, label %.lr.ph110.split.us112
    i32 2, label %.lr.ph110.split.us117
  ]

.lr.ph110.split.us:                               ; preds = %.lr.ph110, %.lr.ph110.split.us
  %indvars.iv150 = phi i64 [ %indvars.iv.next151, %.lr.ph110.split.us ], [ 0, %.lr.ph110 ]
  %.169108.us = phi i32 [ %145, %.lr.ph110.split.us ], [ %.068122, %.lr.ph110 ]
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv150) #8
  %142 = load double, ptr %141, align 8, !tbaa !40
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %129, i32 noundef %.169108.us, i32 noundef 0)
  store double %142, ptr %143, align 8, !tbaa !40
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %129, i32 noundef %.169108.us, i32 noundef 1)
  store double -1.000000e+00, ptr %144, align 8, !tbaa !40
  %145 = add i32 %.169108.us, 1
  %indvars.iv.next151 = add nuw nsw i64 %indvars.iv150, 1
  %146 = load i32, ptr %49, align 8, !tbaa !39
  %147 = zext i32 %146 to i64
  %148 = icmp ult i64 %indvars.iv.next151, %147
  br i1 %148, label %.lr.ph110.split.us, label %._crit_edge111, !llvm.loop !46

.lr.ph110.split.us112:                            ; preds = %.lr.ph110, %.lr.ph110.split.us112
  %indvars.iv147 = phi i64 [ %indvars.iv.next148, %.lr.ph110.split.us112 ], [ 0, %.lr.ph110 ]
  %149 = phi i32 [ %161, %.lr.ph110.split.us112 ], [ %140, %.lr.ph110 ]
  %.169108.us114 = phi i32 [ %160, %.lr.ph110.split.us112 ], [ %.068122, %.lr.ph110 ]
  %150 = trunc nuw i64 %indvars.iv147 to i32
  %151 = xor i32 %150, -1
  %152 = add i32 %149, %151
  %153 = zext i32 %152 to i64
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %153) #8
  %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) %129, i32 noundef %.169108.us114, i32 noundef 0)
  store double %155, ptr %156, align 8, !tbaa !40
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv147) #8
  %158 = load double, ptr %157, align 8, !tbaa !40
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %129, i32 noundef %.169108.us114, i32 noundef 1)
  store double %158, ptr %159, align 8, !tbaa !40
  %160 = add i32 %.169108.us114, 1
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %161 = load i32, ptr %49, align 8, !tbaa !39
  %162 = zext i32 %161 to i64
  %163 = icmp ult i64 %indvars.iv.next148, %162
  br i1 %163, label %.lr.ph110.split.us112, label %._crit_edge111, !llvm.loop !46

.lr.ph110.split.us117:                            ; preds = %.lr.ph110, %.lr.ph110.split.us117
  %.066109.us118 = phi i32 [ %173, %.lr.ph110.split.us117 ], [ 0, %.lr.ph110 ]
  %.169108.us119 = phi i32 [ %172, %.lr.ph110.split.us117 ], [ %.068122, %.lr.ph110 ]
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %129, i32 noundef %.169108.us119, i32 noundef 0)
  store double -1.000000e+00, ptr %164, align 8, !tbaa !40
  %165 = load i32, ptr %49, align 8, !tbaa !39
  %166 = xor i32 %.066109.us118, -1
  %167 = add i32 %165, %166
  %168 = zext i32 %167 to i64
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %168) #8
  %170 = load double, ptr %169, align 8, !tbaa !40
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %129, i32 noundef %.169108.us119, i32 noundef 1)
  store double %170, ptr %171, align 8, !tbaa !40
  %172 = add i32 %.169108.us119, 1
  %173 = add nuw i32 %.066109.us118, 1
  %174 = load i32, ptr %49, align 8, !tbaa !39
  %175 = icmp ult i32 %173, %174
  br i1 %175, label %.lr.ph110.split.us117, label %._crit_edge111, !llvm.loop !46

.lr.ph110.split:                                  ; preds = %.lr.ph110
  %umax = call i32 @llvm.umax.i32(i32 %139, i32 1)
  %176 = add i32 %.068122, %umax
  br label %._crit_edge111

._crit_edge124:                                   ; preds = %._crit_edge111, %135
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #8
  %177 = load i32, ptr %39, align 8, !tbaa !38
  invoke void @_Z9Shape_ptsj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %20, i32 noundef %177)
          to label %198 unwind label %210

178:                                              ; preds = %._crit_edge
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %182

180:                                              ; preds = %120
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %15) #8
  br label %182

182:                                              ; preds = %180, %178
  %.pn82 = phi { ptr, i32 } [ %181, %180 ], [ %179, %178 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %15) #8
  br label %245

183:                                              ; preds = %123
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %187

185:                                              ; preds = %125
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %16) #8
  br label %187

187:                                              ; preds = %185, %183
  %.pn84 = phi { ptr, i32 } [ %186, %185 ], [ %184, %183 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %16) #8
  br label %245

188:                                              ; preds = %128
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %192

190:                                              ; preds = %134
  %191 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  br label %192

192:                                              ; preds = %190, %188
  %.pn86 = phi { ptr, i32 } [ %191, %190 ], [ %189, %188 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  br label %245

._crit_edge111:                                   ; preds = %.lr.ph110.split.us117, %.lr.ph110.split.us112, %.lr.ph110.split.us, %.lr.ph110.split, %.preheader106
  %193 = phi i32 [ %139, %.preheader106 ], [ %139, %.lr.ph110.split ], [ %146, %.lr.ph110.split.us ], [ %161, %.lr.ph110.split.us112 ], [ %174, %.lr.ph110.split.us117 ]
  %194 = phi i32 [ 0, %.preheader106 ], [ %139, %.lr.ph110.split ], [ %146, %.lr.ph110.split.us ], [ %161, %.lr.ph110.split.us112 ], [ %174, %.lr.ph110.split.us117 ]
  %.169.lcssa = phi i32 [ %.068122, %.preheader106 ], [ %176, %.lr.ph110.split ], [ %145, %.lr.ph110.split.us ], [ %160, %.lr.ph110.split.us112 ], [ %172, %.lr.ph110.split.us117 ]
  %195 = add nuw i32 %.067123, 1
  %196 = load i32, ptr %136, align 4, !tbaa !45
  %197 = icmp ult i32 %195, %196
  br i1 %197, label %.preheader106, label %._crit_edge124, !llvm.loop !47

198:                                              ; preds = %._crit_edge124
  %199 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %200 = getelementptr inbounds i8, ptr %0, i64 800
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  %201 = getelementptr inbounds i8, ptr %0, i64 72
  %202 = load i32, ptr %201, align 8, !tbaa !49
  store i32 %202, ptr %22, align 4, !tbaa !35
  %203 = getelementptr inbounds i8, ptr %22, i64 4
  %204 = load i32, ptr %30, align 4, !tbaa !36
  store i32 %204, ptr %203, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr nonnull %22, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %205 unwind label %212

205:                                              ; preds = %198
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %200, ptr noundef nonnull %21, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %206 unwind label %214

206:                                              ; preds = %205
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  %207 = and i64 %199, 4294967295
  %.not136 = icmp eq i64 %207, 0
  br i1 %.not136, label %._crit_edge132, label %.preheader.preheader

.preheader.preheader:                             ; preds = %206
  %wide.trip.count = and i64 %199, 4294967295
  br label %.lr.ph127

.lr.ph127:                                        ; preds = %._crit_edge128, %.preheader.preheader
  %indvars.iv156 = phi i64 [ 0, %.preheader.preheader ], [ %indvars.iv.next157, %._crit_edge128 ]
  %.042130 = phi i32 [ 0, %.preheader.preheader ], [ %224, %._crit_edge128 ]
  %208 = sub i64 %199, %indvars.iv156
  %209 = and i64 %208, 4294967295
  br label %217

._crit_edge132:                                   ; preds = %._crit_edge128, %206
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %24) #8
  invoke void @_Z10WS_Tri_ptsj(ptr dead_on_unwind nonnull writable sret(%class.mdvector) align 8 %24, i32 noundef 8)
          to label %226 unwind label %233

210:                                              ; preds = %._crit_edge124
  %211 = landingpad { ptr, i32 }
          cleanup
  br label %244

212:                                              ; preds = %198
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %216

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

216:                                              ; preds = %214, %212
  %.pn88 = phi { ptr, i32 } [ %215, %214 ], [ %213, %212 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  br label %243

._crit_edge128:                                   ; preds = %217
  %indvars.iv.next157 = add nuw nsw i64 %indvars.iv156, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next157, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge132, label %.lr.ph127, !llvm.loop !50

217:                                              ; preds = %.lr.ph127, %217
  %indvars.iv153 = phi i64 [ 0, %.lr.ph127 ], [ %indvars.iv.next154, %217 ]
  %.1125 = phi i32 [ %.042130, %.lr.ph127 ], [ %224, %217 ]
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv153) #8
  %219 = load double, ptr %218, align 8, !tbaa !40
  %220 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %200, i32 noundef %.1125, i32 noundef 0)
  store double %219, ptr %220, align 8, !tbaa !40
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv156) #8
  %222 = load double, ptr %221, align 8, !tbaa !40
  %223 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %200, i32 noundef %.1125, i32 noundef 1)
  store double %222, ptr %223, align 8, !tbaa !40
  %224 = add i32 %.1125, 1
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %225 = icmp ult i64 %indvars.iv.next154, %209
  br i1 %225, label %217, label %._crit_edge128, !llvm.loop !51

226:                                              ; preds = %._crit_edge132
  %227 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %26, ptr noundef nonnull align 8 dereferenceable(105) %24)
          to label %228 unwind label %235

228:                                              ; preds = %226
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %24) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %24) #8
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %25) #8
  invoke void @_Z14WS_Tri_weightsj(ptr dead_on_unwind nonnull writable sret(%class.mdvector) align 8 %25, i32 noundef 8)
          to label %229 unwind label %238

229:                                              ; preds = %228
  %230 = getelementptr inbounds i8, ptr %0, i64 4368
  %231 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN8mdvectorIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %230, ptr noundef nonnull align 8 dereferenceable(105) %25)
          to label %232 unwind label %240

232:                                              ; preds = %229
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %25) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %25) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #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
  ret void

233:                                              ; preds = %._crit_edge132
  %234 = landingpad { ptr, i32 }
          cleanup
  br label %237

235:                                              ; preds = %226
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %24) #8
  br label %237

237:                                              ; preds = %235, %233
  %.pn90 = phi { ptr, i32 } [ %236, %235 ], [ %234, %233 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %24) #8
  br label %243

238:                                              ; preds = %228
  %239 = landingpad { ptr, i32 }
          cleanup
  br label %242

240:                                              ; preds = %229
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %25) #8
  br label %242

242:                                              ; preds = %240, %238
  %.pn92 = phi { ptr, i32 } [ %241, %240 ], [ %239, %238 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %25) #8
  br label %243

243:                                              ; preds = %237, %242, %216
  %.pn92.pn.pn = phi { ptr, i32 } [ %.pn88, %216 ], [ %.pn92, %242 ], [ %.pn90, %237 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  br label %244

244:                                              ; preds = %243, %210
  %.pn92.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn, %243 ], [ %211, %210 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #8
  br label %245

245:                                              ; preds = %244, %192, %187, %182, %112
  %.pn92.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn.pn, %244 ], [ %.pn86, %192 ], [ %.pn84, %187 ], [ %.pn82, %182 ], [ %.pn80, %112 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  br label %246

246:                                              ; preds = %245, %106
  %.pn92.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn.pn.pn, %245 ], [ %107, %106 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  br label %247

247:                                              ; preds = %246, %98, %58, %56
  %.pn92.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn.pn.pn.pn, %246 ], [ %59, %58 ], [ %57, %56 ], [ %.pn76.pn.pn, %98 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  br label %248

248:                                              ; preds = %247, %55
  %.pn92.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn.pn.pn.pn.pn, %247 ], [ %.pn, %55 ]
  resume { ptr, i32 } %.pn92.pn.pn.pn.pn.pn.pn.pn

249:                                              ; preds = %83
  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 #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 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 #2 align 2

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 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 #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 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 #1 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 #2 align 2

declare void @_Z22Gauss_Legendre_weightsj(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(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; 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 #2 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 #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105)) unnamed_addr #2 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 @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

declare void @_Z9Shape_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 i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = distinct !{!47, !43, !48}
!48 = !{!"llvm.loop.unswitch.partial.disable"}
!49 = !{!6, !11, i64 72}
!50 = distinct !{!50, !43}
!51 = distinct !{!51, !43}


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