; LLVM IR from romerojosh/zefr :: src/tris.ll (ZN4Tris10calc_shapeER8mdvectorIdEPKd)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = 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::vector.125" = type { %"struct.std::_Vector_base.126" }
%"struct.std::_Vector_base.126" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.127" = type { i8 }
%"class.std::initializer_list" = type { ptr, i64 }
%"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::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.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.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] }>

@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@constinit = external hidden constant [6 x i32], align 4
@__func__._ZN4Tris10calc_shapeER8mdvectorIdEPKd = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1

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
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64) #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 @_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 @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

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

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

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

; 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

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

; 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

declare noundef double @_Z9Dubiner2Djddj(i32 noundef, double noundef, double noundef, i32 noundef) #4

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #6

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Tris10calc_shapeER8mdvectorIdEPKd(ptr noundef nonnull align 8 dereferenceable(13968) %0, ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::vector.125", align 8
  %8 = alloca %"class.std::allocator.127", align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::initializer_list", align 8
  %12 = alloca [3 x i32], align 4
  %13 = alloca %"class.std::initializer_list", align 8
  %14 = alloca [6 x i32], align 4
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca i1, align 1
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca i32, align 4
  %21 = alloca %class.mdvector, align 8
  %22 = alloca %"class.std::vector.0", align 8
  %23 = alloca %"class.std::initializer_list", align 8
  %24 = alloca [2 x i32], align 4
  %25 = alloca %"class.std::allocator.2", align 1
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca %class.mdvector, align 8
  %31 = alloca %"class.std::vector.0", align 8
  %32 = alloca %"class.std::initializer_list", align 8
  %33 = alloca [2 x i32], align 4
  %34 = alloca %"class.std::allocator.2", align 1
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca %class.mdvector, align 8
  %38 = alloca %"class.std::vector.0", align 8
  %39 = alloca %"class.std::initializer_list", align 8
  %40 = alloca [2 x i32], align 4
  %41 = alloca %"class.std::allocator.2", align 1
  %42 = alloca i32, align 4
  %43 = alloca double, align 8
  %44 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %45 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #8
  call void @_ZNSaISt6vectorIjSaIjEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  invoke void @_ZNSt6vectorIS_IjSaIjEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 3, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %46 unwind label %93

46:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorISt6vectorIjSaIjEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !9
  %47 = getelementptr inbounds i32, ptr %12, i64 1
  store i32 1, ptr %47, align 4, !tbaa !9
  %48 = getelementptr inbounds i32, ptr %12, i64 2
  store i32 2, ptr %48, align 4, !tbaa !9
  %49 = getelementptr inbounds %"class.std::initializer_list", ptr %11, i32 0, i32 0
  store ptr %12, ptr %49, align 8, !tbaa !11
  %50 = getelementptr inbounds %"class.std::initializer_list", ptr %11, i32 0, i32 1
  store i64 3, ptr %50, align 8, !tbaa !14
  %51 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #8
  %52 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8
  %54 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %55 = load i64, ptr %54, align 8
  %56 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr %53, i64 %55)
          to label %57 unwind label %97

57:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 @constinit, i64 24, i1 false), !tbaa.struct !15
  %58 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 0
  store ptr %14, ptr %58, align 8, !tbaa !11
  %59 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 1
  store i64 6, ptr %59, align 8, !tbaa !14
  %60 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #8
  %61 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8
  %63 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %64 = load i64, ptr %63, align 8
  %65 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %60, ptr %62, i64 %64)
          to label %66 unwind label %101

66:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %67 = getelementptr inbounds %class.Elements, ptr %45, i32 0, i32 19
  %68 = load i32, ptr %67, align 8, !tbaa !17
  %69 = invoke noundef i32 @_Z18tri_nodes_to_orderj(i32 noundef %68)
          to label %70 unwind label %105

70:                                               ; preds = %66
  store i32 %69, ptr %15, align 4, !tbaa !9
  %71 = load i32, ptr %15, align 4, !tbaa !9
  %72 = icmp ugt i32 %71, 2
  br i1 %72, label %73, label %131

73:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 392, ptr %16) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %16)
          to label %74 unwind label %109

74:                                               ; preds = %73
  %75 = getelementptr inbounds i8, ptr %16, i64 16
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef @.str.1)
          to label %77 unwind label %113

77:                                               ; preds = %74
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef @.str.2)
          to label %79 unwind label %113

79:                                               ; preds = %77
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %78, i32 noundef 504)
          to label %81 unwind label %113

81:                                               ; preds = %79
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef @.str.2)
          to label %83 unwind label %113

83:                                               ; preds = %81
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef @__func__._ZN4Tris10calc_shapeER8mdvectorIdEPKd)
          to label %85 unwind label %113

85:                                               ; preds = %83
  %86 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef @.str.3)
          to label %87 unwind label %113

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

89:                                               ; preds = %87
  store i1 true, ptr %18, align 1
  %90 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(128) %16)
          to label %91 unwind label %117

91:                                               ; preds = %89
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %90, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %92 unwind label %121

92:                                               ; preds = %91
  store i1 false, ptr %18, align 1
  invoke void @__cxa_throw(ptr %90, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %369 unwind label %121

93:                                               ; preds = %3
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %9, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %10, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIjSaIjEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #8
  br label %363

97:                                               ; preds = %46
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %9, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #8
  br label %362

101:                                              ; preds = %57
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %9, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  br label %362

105:                                              ; preds = %66
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %9, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %10, align 4
  br label %361

109:                                              ; preds = %73
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %9, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %10, align 4
  br label %130

113:                                              ; preds = %87, %85, %83, %81, %79, %77, %74
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %9, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %10, align 4
  br label %129

117:                                              ; preds = %89
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %9, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %10, align 4
  br label %125

121:                                              ; preds = %92, %91
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %9, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  br label %125

125:                                              ; preds = %121, %117
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  %126 = load i1, ptr %18, align 1
  br i1 %126, label %127, label %128

127:                                              ; preds = %125
  call void @__cxa_free_exception(ptr %90) #8
  br label %128

128:                                              ; preds = %127, %125
  br label %129

129:                                              ; preds = %128, %113
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %16) #8
  br label %130

130:                                              ; preds = %129, %109
  call void @llvm.lifetime.end.p0(i64 392, ptr %16) #8
  br label %361

131:                                              ; preds = %70
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #8
  %132 = load i32, ptr %15, align 4, !tbaa !9
  invoke void @_Z9Shape_ptsj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %19, i32 noundef %132)
          to label %133 unwind label %154

133:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %134 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %135 = trunc i64 %134 to i32
  store i32 %135, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 112, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %136 = getelementptr inbounds %class.Elements, ptr %45, i32 0, i32 19
  %137 = load i32, ptr %136, align 8, !tbaa !17
  store i32 %137, ptr %24, align 4, !tbaa !9
  %138 = getelementptr inbounds i32, ptr %24, i64 1
  %139 = getelementptr inbounds %class.Elements, ptr %45, i32 0, i32 10
  %140 = load i32, ptr %139, align 4, !tbaa !42
  store i32 %140, ptr %138, align 4, !tbaa !9
  %141 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 0
  store ptr %24, ptr %141, align 8, !tbaa !11
  %142 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 1
  store i64 2, ptr %142, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  %143 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %144 = load ptr, ptr %143, align 8
  %145 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %146 = load i64, ptr %145, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr %144, i64 %146, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %147 unwind label %158

147:                                              ; preds = %133
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %21, ptr noundef %22, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %148 unwind label %162

148:                                              ; preds = %147
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 0, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %149

149:                                              ; preds = %200, %148
  %150 = load i32, ptr %27, align 4, !tbaa !9
  %151 = load i32, ptr %20, align 4, !tbaa !9
  %152 = icmp ult i32 %150, %151
  br i1 %152, label %167, label %153

153:                                              ; preds = %149
  store i32 2, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %203

154:                                              ; preds = %131
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %9, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %10, align 4
  br label %360

158:                                              ; preds = %133
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %9, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %10, align 4
  br label %166

162:                                              ; preds = %147
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %9, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %10, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  br label %166

166:                                              ; preds = %162, %158
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %359

167:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %168

168:                                              ; preds = %192, %167
  %169 = load i32, ptr %29, align 4, !tbaa !9
  %170 = load i32, ptr %20, align 4, !tbaa !9
  %171 = load i32, ptr %27, align 4, !tbaa !9
  %172 = sub i32 %170, %171
  %173 = icmp ult i32 %169, %172
  br i1 %173, label %175, label %174

174:                                              ; preds = %168
  store i32 5, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %199

175:                                              ; preds = %168
  %176 = load i32, ptr %29, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %177) #8
  %179 = load double, ptr %178, align 8, !tbaa !43
  %180 = load i32, ptr %26, align 4, !tbaa !9
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %21, i32 noundef %180, i32 noundef 0)
          to label %182 unwind label %195

182:                                              ; preds = %175
  store double %179, ptr %181, align 8, !tbaa !43
  %183 = load i32, ptr %27, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %184) #8
  %186 = load double, ptr %185, align 8, !tbaa !43
  %187 = load i32, ptr %26, align 4, !tbaa !9
  %188 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %21, i32 noundef %187, i32 noundef 1)
          to label %189 unwind label %195

189:                                              ; preds = %182
  store double %186, ptr %188, align 8, !tbaa !43
  %190 = load i32, ptr %26, align 4, !tbaa !9
  %191 = add i32 %190, 1
  store i32 %191, ptr %26, align 4, !tbaa !9
  br label %192

192:                                              ; preds = %189
  %193 = load i32, ptr %29, align 4, !tbaa !9
  %194 = add i32 %193, 1
  store i32 %194, ptr %29, align 4, !tbaa !9
  br label %168, !llvm.loop !45

195:                                              ; preds = %182, %175
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %9, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %358

199:                                              ; preds = %174
  br label %200

200:                                              ; preds = %199
  %201 = load i32, ptr %27, align 4, !tbaa !9
  %202 = add i32 %201, 1
  store i32 %202, ptr %27, align 4, !tbaa !9
  br label %149, !llvm.loop !47

203:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 112, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %204 = getelementptr inbounds %class.Elements, ptr %45, i32 0, i32 19
  %205 = load i32, ptr %204, align 8, !tbaa !17
  store i32 %205, ptr %33, align 4, !tbaa !9
  %206 = getelementptr inbounds i32, ptr %33, i64 1
  %207 = getelementptr inbounds %class.Elements, ptr %45, i32 0, i32 19
  %208 = load i32, ptr %207, align 8, !tbaa !17
  store i32 %208, ptr %206, align 4, !tbaa !9
  %209 = getelementptr inbounds %"class.std::initializer_list", ptr %32, i32 0, i32 0
  store ptr %33, ptr %209, align 8, !tbaa !11
  %210 = getelementptr inbounds %"class.std::initializer_list", ptr %32, i32 0, i32 1
  store i64 2, ptr %210, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  %211 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 0
  %212 = load ptr, ptr %211, align 8
  %213 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 1
  %214 = load i64, ptr %213, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr %212, i64 %214, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %215 unwind label %223

215:                                              ; preds = %203
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %30, ptr noundef %31, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %216 unwind label %227

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

217:                                              ; preds = %264, %216
  %218 = load i32, ptr %35, align 4, !tbaa !9
  %219 = getelementptr inbounds %class.Elements, ptr %45, i32 0, i32 19
  %220 = load i32, ptr %219, align 8, !tbaa !17
  %221 = icmp ult i32 %218, %220
  br i1 %221, label %232, label %222

222:                                              ; preds = %217
  store i32 8, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %267

223:                                              ; preds = %203
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %9, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %10, align 4
  br label %231

227:                                              ; preds = %215
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %9, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %10, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  br label %231

231:                                              ; preds = %227, %223
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %357

232:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store i32 0, ptr %36, align 4, !tbaa !9
  br label %233

233:                                              ; preds = %256, %232
  %234 = load i32, ptr %36, align 4, !tbaa !9
  %235 = getelementptr inbounds %class.Elements, ptr %45, i32 0, i32 19
  %236 = load i32, ptr %235, align 8, !tbaa !17
  %237 = icmp ult i32 %234, %236
  br i1 %237, label %239, label %238

238:                                              ; preds = %233
  store i32 11, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %263

239:                                              ; preds = %233
  %240 = load i32, ptr %15, align 4, !tbaa !9
  %241 = load i32, ptr %35, align 4, !tbaa !9
  %242 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %21, i32 noundef %241, i32 noundef 0)
          to label %243 unwind label %259

243:                                              ; preds = %239
  %244 = load double, ptr %242, align 8, !tbaa !43
  %245 = load i32, ptr %35, align 4, !tbaa !9
  %246 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %21, i32 noundef %245, i32 noundef 1)
          to label %247 unwind label %259

247:                                              ; preds = %243
  %248 = load double, ptr %246, align 8, !tbaa !43
  %249 = load i32, ptr %36, align 4, !tbaa !9
  %250 = invoke noundef double @_Z9Dubiner2Djddj(i32 noundef %240, double noundef %244, double noundef %248, i32 noundef %249)
          to label %251 unwind label %259

251:                                              ; preds = %247
  %252 = load i32, ptr %35, align 4, !tbaa !9
  %253 = load i32, ptr %36, align 4, !tbaa !9
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %30, i32 noundef %252, i32 noundef %253)
          to label %255 unwind label %259

255:                                              ; preds = %251
  store double %250, ptr %254, align 8, !tbaa !43
  br label %256

256:                                              ; preds = %255
  %257 = load i32, ptr %36, align 4, !tbaa !9
  %258 = add i32 %257, 1
  store i32 %258, ptr %36, align 4, !tbaa !9
  br label %233, !llvm.loop !48

259:                                              ; preds = %251, %247, %243, %239
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %9, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %356

263:                                              ; preds = %238
  br label %264

264:                                              ; preds = %263
  %265 = load i32, ptr %35, align 4, !tbaa !9
  %266 = add i32 %265, 1
  store i32 %266, ptr %35, align 4, !tbaa !9
  br label %217, !llvm.loop !49

267:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 112, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %268 = getelementptr inbounds %class.Elements, ptr %45, i32 0, i32 19
  %269 = load i32, ptr %268, align 8, !tbaa !17
  store i32 %269, ptr %40, align 4, !tbaa !9
  %270 = getelementptr inbounds i32, ptr %40, i64 1
  %271 = getelementptr inbounds %class.Elements, ptr %45, i32 0, i32 19
  %272 = load i32, ptr %271, align 8, !tbaa !17
  store i32 %272, ptr %270, align 4, !tbaa !9
  %273 = getelementptr inbounds %"class.std::initializer_list", ptr %39, i32 0, i32 0
  store ptr %40, ptr %273, align 8, !tbaa !11
  %274 = getelementptr inbounds %"class.std::initializer_list", ptr %39, i32 0, i32 1
  store i64 2, ptr %274, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  %275 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 0
  %276 = load ptr, ptr %275, align 8
  %277 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 1
  %278 = load i64, ptr %277, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr %276, i64 %278, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %279 unwind label %288

279:                                              ; preds = %267
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %37, ptr noundef %38, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %280 unwind label %292

280:                                              ; preds = %279
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  invoke void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %30, ptr noundef nonnull align 8 dereferenceable(105) %37)
          to label %281 unwind label %297

281:                                              ; preds = %280
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  store i32 0, ptr %42, align 4, !tbaa !9
  br label %282

282:                                              ; preds = %345, %281
  %283 = load i32, ptr %42, align 4, !tbaa !9
  %284 = getelementptr inbounds %class.Elements, ptr %45, i32 0, i32 19
  %285 = load i32, ptr %284, align 8, !tbaa !17
  %286 = icmp ult i32 %283, %285
  br i1 %286, label %301, label %287

287:                                              ; preds = %282
  store i32 14, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %353

288:                                              ; preds = %267
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %9, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %10, align 4
  br label %296

292:                                              ; preds = %279
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %9, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %10, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  br label %296

296:                                              ; preds = %292, %288
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  br label %355

297:                                              ; preds = %280
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %9, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %10, align 4
  br label %354

301:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  store double 0.000000e+00, ptr %43, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  store i32 0, ptr %44, align 4, !tbaa !9
  br label %302

302:                                              ; preds = %326, %301
  %303 = load i32, ptr %44, align 4, !tbaa !9
  %304 = getelementptr inbounds %class.Elements, ptr %45, i32 0, i32 19
  %305 = load i32, ptr %304, align 8, !tbaa !17
  %306 = icmp ult i32 %303, %305
  br i1 %306, label %308, label %307

307:                                              ; preds = %302
  store i32 17, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  br label %333

308:                                              ; preds = %302
  %309 = load i32, ptr %44, align 4, !tbaa !9
  %310 = load i32, ptr %42, align 4, !tbaa !9
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %37, i32 noundef %309, i32 noundef %310)
          to label %312 unwind label %329

312:                                              ; preds = %308
  %313 = load double, ptr %311, align 8, !tbaa !43
  %314 = load i32, ptr %15, align 4, !tbaa !9
  %315 = load ptr, ptr %6, align 8, !tbaa !5
  %316 = getelementptr inbounds double, ptr %315, i64 0
  %317 = load double, ptr %316, align 8, !tbaa !43
  %318 = load ptr, ptr %6, align 8, !tbaa !5
  %319 = getelementptr inbounds double, ptr %318, i64 1
  %320 = load double, ptr %319, align 8, !tbaa !43
  %321 = load i32, ptr %44, align 4, !tbaa !9
  %322 = invoke noundef double @_Z9Dubiner2Djddj(i32 noundef %314, double noundef %317, double noundef %320, i32 noundef %321)
          to label %323 unwind label %329

323:                                              ; preds = %312
  %324 = load double, ptr %43, align 8, !tbaa !43
  %325 = call double @llvm.fmuladd.f64(double %313, double %322, double %324)
  store double %325, ptr %43, align 8, !tbaa !43
  br label %326

326:                                              ; preds = %323
  %327 = load i32, ptr %44, align 4, !tbaa !9
  %328 = add i32 %327, 1
  store i32 %328, ptr %44, align 4, !tbaa !9
  br label %302, !llvm.loop !50

329:                                              ; preds = %312, %308
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %9, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  br label %352

333:                                              ; preds = %307
  %334 = load double, ptr %43, align 8, !tbaa !43
  %335 = load ptr, ptr %5, align 8, !tbaa !5
  %336 = load i32, ptr %15, align 4, !tbaa !9
  %337 = zext i32 %336 to i64
  %338 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %337) #8
  %339 = load i32, ptr %42, align 4, !tbaa !9
  %340 = zext i32 %339 to i64
  %341 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %338, i64 noundef %340) #8
  %342 = load i32, ptr %341, align 4, !tbaa !9
  %343 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105) %335, i32 noundef %342)
          to label %344 unwind label %348

344:                                              ; preds = %333
  store double %334, ptr %343, align 8, !tbaa !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %345

345:                                              ; preds = %344
  %346 = load i32, ptr %42, align 4, !tbaa !9
  %347 = add i32 %346, 1
  store i32 %347, ptr %42, align 4, !tbaa !9
  br label %282, !llvm.loop !51

348:                                              ; preds = %333
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %9, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %10, align 4
  br label %352

352:                                              ; preds = %348, %329
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %354

353:                                              ; preds = %287
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %37) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr %37) #8
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %30) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %21) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @_ZNSt6vectorIS_IjSaIjEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  ret void

354:                                              ; preds = %352, %297
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %37) #8
  br label %355

355:                                              ; preds = %354, %296
  call void @llvm.lifetime.end.p0(i64 112, ptr %37) #8
  br label %356

356:                                              ; preds = %355, %259
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %30) #8
  br label %357

357:                                              ; preds = %356, %231
  call void @llvm.lifetime.end.p0(i64 112, ptr %30) #8
  br label %358

358:                                              ; preds = %357, %195
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %21) #8
  br label %359

359:                                              ; preds = %358, %166
  call void @llvm.lifetime.end.p0(i64 112, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br label %360

360:                                              ; preds = %359, %154
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  br label %361

361:                                              ; preds = %360, %130, %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %362

362:                                              ; preds = %361, %101, %97
  call void @_ZNSt6vectorIS_IjSaIjEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  br label %363

363:                                              ; preds = %362, %93
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  br label %364

364:                                              ; preds = %363
  %365 = load ptr, ptr %9, align 8
  %366 = load i32, ptr %10, align 4
  %367 = insertvalue { ptr, i32 } poison, ptr %365, 0
  %368 = insertvalue { ptr, i32 } %367, i32 %366, 1
  resume { ptr, i32 } %368

369:                                              ; preds = %92
  unreachable
}

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7

declare noundef i32 @_Z18tri_nodes_to_orderj(i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IjSaIjEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIjSaIjEEED2Ev(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 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 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

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


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = 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::vector.125" = type { %"struct.std::_Vector_base.126" }
%"struct.std::_Vector_base.126" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.127" = type { i8 }
%"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::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.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 }

@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@constinit = external hidden local_unnamed_addr constant [6 x i32], align 4
@__func__._ZN4Tris10calc_shapeER8mdvectorIdEPKd = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1

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
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64) 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 @_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 @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

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

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

; 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

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

; 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

declare noundef double @_Z9Dubiner2Djddj(i32 noundef, double noundef, double noundef, i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #6

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Tris10calc_shapeER8mdvectorIdEPKd(ptr nocapture noundef nonnull readonly align 8 dereferenceable(13968) %0, ptr noundef nonnull align 8 dereferenceable(105) %1, ptr nocapture noundef readonly %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector.125", align 8
  %5 = alloca %"class.std::allocator.127", align 1
  %6 = alloca [3 x i32], align 4
  %7 = alloca [6 x i32], align 4
  %8 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %class.mdvector, align 8
  %12 = alloca %"class.std::vector.0", align 8
  %13 = alloca [2 x i32], align 4
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %class.mdvector, align 8
  %16 = alloca %"class.std::vector.0", align 8
  %17 = alloca [2 x i32], align 4
  %18 = alloca %"class.std::allocator.2", align 1
  %19 = alloca %class.mdvector, align 8
  %20 = alloca %"class.std::vector.0", align 8
  %21 = alloca [2 x i32], align 4
  %22 = alloca %"class.std::allocator.2", align 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #8
  call void @_ZNSaISt6vectorIjSaIjEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  invoke void @_ZNSt6vectorIS_IjSaIjEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 3, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %23 unwind label %58

23:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorISt6vectorIjSaIjEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #8
  store i32 0, ptr %6, align 4, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 1, ptr %24, align 4, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %6, i64 8
  store i32 2, ptr %25, align 4, !tbaa !5
  %26 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 1) #8
  %27 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr nonnull %6, i64 3)
          to label %28 unwind label %60

28:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(24) @constinit, i64 24, i1 false), !tbaa.struct !9
  %29 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 2) #8
  %30 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr nonnull %7, i64 6)
          to label %31 unwind label %62

31:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  %32 = getelementptr inbounds i8, ptr %0, i64 88
  %33 = load i32, ptr %32, align 8, !tbaa !11
  %34 = invoke noundef i32 @_Z18tri_nodes_to_orderj(i32 noundef %33)
          to label %35 unwind label %64

35:                                               ; preds = %31
  %36 = icmp ugt i32 %34, 2
  br i1 %36, label %37, label %76

37:                                               ; preds = %35
  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 %38 unwind label %66

38:                                               ; preds = %37
  %39 = getelementptr inbounds i8, ptr %8, i64 16
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull @.str.1)
          to label %41 unwind label %68

41:                                               ; preds = %38
  %42 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull @.str.2)
          to label %43 unwind label %68

43:                                               ; preds = %41
  %44 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %42, i32 noundef 504)
          to label %45 unwind label %68

45:                                               ; preds = %43
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull @.str.2)
          to label %47 unwind label %68

47:                                               ; preds = %45
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull @__func__._ZN4Tris10calc_shapeER8mdvectorIdEPKd)
          to label %49 unwind label %68

49:                                               ; preds = %47
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull @.str.3)
          to label %51 unwind label %68

51:                                               ; preds = %49
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull @.str.5)
          to label %53 unwind label %68

53:                                               ; preds = %51
  %54 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull align 8 dereferenceable(128) %8)
          to label %55 unwind label %.thread

55:                                               ; preds = %53
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %57 unwind label %.thread99

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

57:                                               ; preds = %55
  invoke void @__cxa_throw(ptr nonnull %54, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %167 unwind label %71

58:                                               ; preds = %3
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIjSaIjEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  br label %166

60:                                               ; preds = %23
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  br label %165

62:                                               ; preds = %28
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  br label %165

64:                                               ; preds = %31
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %165

66:                                               ; preds = %37
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %75

68:                                               ; preds = %51, %49, %47, %45, %43, %41, %38
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %74

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

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

73:                                               ; preds = %.thread99, %.thread
  %.pn8998 = phi { ptr, i32 } [ %70, %.thread ], [ %56, %.thread99 ]
  call void @__cxa_free_exception(ptr %54) #8
  br label %74

74:                                               ; preds = %71, %73, %68
  %.pn89.pn = phi { ptr, i32 } [ %.pn8998, %73 ], [ %72, %71 ], [ %69, %68 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8) #8
  br label %75

75:                                               ; preds = %74, %66
  %.pn89.pn.pn = phi { ptr, i32 } [ %.pn89.pn, %74 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %8) #8
  br label %165

76:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #8
  invoke void @_Z9Shape_ptsj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %10, i32 noundef %34)
          to label %77 unwind label %90

77:                                               ; preds = %76
  %78 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %79 = load i32, ptr %32, align 8, !tbaa !11
  store i32 %79, ptr %13, align 4, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %13, i64 4
  %81 = getelementptr inbounds i8, ptr %0, i64 52
  %82 = load i32, ptr %81, align 4, !tbaa !38
  store i32 %82, ptr %80, align 4, !tbaa !5
  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 2, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %83 unwind label %92

83:                                               ; preds = %77
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %11, ptr noundef nonnull %12, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %84 unwind label %94

84:                                               ; preds = %83
  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 8, ptr nonnull %13) #8
  %85 = and i64 %78, 4294967295
  %.not = icmp eq i64 %85, 0
  br i1 %.not, label %._crit_edge109, label %.preheader102.preheader

.preheader102.preheader:                          ; preds = %84
  %wide.trip.count = and i64 %78, 4294967295
  br label %.lr.ph

.lr.ph:                                           ; preds = %._crit_edge, %.preheader102.preheader
  %indvars.iv134 = phi i64 [ 0, %.preheader102.preheader ], [ %indvars.iv.next135, %._crit_edge ]
  %.071108 = phi i32 [ 0, %.preheader102.preheader ], [ %104, %._crit_edge ]
  %86 = sub i64 %78, %indvars.iv134
  %87 = and i64 %86, 4294967295
  br label %97

._crit_edge109:                                   ; preds = %._crit_edge, %84
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %88 = load i32, ptr %32, align 8, !tbaa !11
  store i32 %88, ptr %17, align 4, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %17, i64 4
  store i32 %88, ptr %89, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr nonnull %17, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %106 unwind label %110

90:                                               ; preds = %76
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %164

92:                                               ; preds = %77
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %96

94:                                               ; preds = %83
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br label %96

96:                                               ; preds = %94, %92
  %.pn = phi { ptr, i32 } [ %95, %94 ], [ %93, %92 ]
  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 8, ptr nonnull %13) #8
  br label %163

._crit_edge:                                      ; preds = %97
  %indvars.iv.next135 = add nuw nsw i64 %indvars.iv134, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next135, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge109, label %.lr.ph, !llvm.loop !39

97:                                               ; preds = %.lr.ph, %97
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %97 ]
  %.172106 = phi i32 [ %.071108, %.lr.ph ], [ %104, %97 ]
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv) #8
  %99 = load double, ptr %98, align 8, !tbaa !41
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %11, i32 noundef %.172106, i32 noundef 0)
  store double %99, ptr %100, align 8, !tbaa !41
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv134) #8
  %102 = load double, ptr %101, align 8, !tbaa !41
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %11, i32 noundef %.172106, i32 noundef 1)
  store double %102, ptr %103, align 8, !tbaa !41
  %104 = add i32 %.172106, 1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %105 = icmp ult i64 %indvars.iv.next, %87
  br i1 %105, label %97, label %._crit_edge, !llvm.loop !43

106:                                              ; preds = %._crit_edge109
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %15, ptr noundef nonnull %16, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %107 unwind label %112

107:                                              ; preds = %106
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %108 = load i32, ptr %32, align 8, !tbaa !11
  %.not124 = icmp eq i32 %108, 0
  br i1 %.not124, label %._crit_edge114, label %.lr.ph111.preheader

.lr.ph111.preheader:                              ; preds = %107, %._crit_edge112
  %.068113 = phi i32 [ %115, %._crit_edge112 ], [ 0, %107 ]
  br label %.lr.ph111

._crit_edge114:                                   ; preds = %._crit_edge112, %107
  %.lcssa = phi i32 [ 0, %107 ], [ %125, %._crit_edge112 ]
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  store i32 %.lcssa, ptr %21, align 4, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %21, i64 4
  store i32 %.lcssa, ptr %109, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr nonnull %21, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %129 unwind label %136

110:                                              ; preds = %._crit_edge109
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %114

112:                                              ; preds = %106
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  br label %114

114:                                              ; preds = %112, %110
  %.pn78 = phi { ptr, i32 } [ %113, %112 ], [ %111, %110 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  br label %162

._crit_edge112:                                   ; preds = %122
  %115 = add nuw i32 %.068113, 1
  %116 = icmp ult i32 %115, %125
  br i1 %116, label %.lr.ph111.preheader, label %._crit_edge114, !llvm.loop !44

.lr.ph111:                                        ; preds = %.lr.ph111.preheader, %122
  %.067110 = phi i32 [ %124, %122 ], [ 0, %.lr.ph111.preheader ]
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %11, i32 noundef %.068113, i32 noundef 0)
  %118 = load double, ptr %117, align 8, !tbaa !41
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %11, i32 noundef %.068113, i32 noundef 1)
  %120 = load double, ptr %119, align 8, !tbaa !41
  %121 = invoke noundef double @_Z9Dubiner2Djddj(i32 noundef %34, double noundef %118, double noundef %120, i32 noundef %.067110)
          to label %122 unwind label %127

122:                                              ; preds = %.lr.ph111
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %15, i32 noundef %.068113, i32 noundef %.067110)
  store double %121, ptr %123, align 8, !tbaa !41
  %124 = add nuw i32 %.067110, 1
  %125 = load i32, ptr %32, align 8, !tbaa !11
  %126 = icmp ult i32 %124, %125
  br i1 %126, label %.lr.ph111, label %._crit_edge112, !llvm.loop !46

127:                                              ; preds = %.lr.ph111
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %161

129:                                              ; preds = %._crit_edge114
  invoke void @_ZN8mdvectorIdEC2ESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %19, ptr noundef nonnull %20, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %130 unwind label %138

130:                                              ; preds = %129
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  call void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %15, ptr noundef nonnull align 8 dereferenceable(105) %19)
  %131 = load i32, ptr %32, align 8, !tbaa !11
  %.not127 = icmp eq i32 %131, 0
  br i1 %.not127, label %._crit_edge122, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %130
  %132 = getelementptr inbounds i8, ptr %2, i64 8
  %133 = zext nneg i32 %34 to i64
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge119
  %134 = phi i32 [ 1, %.preheader.lr.ph ], [ %145, %._crit_edge119 ]
  %indvars.iv137 = phi i64 [ 0, %.preheader.lr.ph ], [ %indvars.iv.next138, %._crit_edge119 ]
  %.not128 = icmp eq i32 %134, 0
  br i1 %.not128, label %._crit_edge119, label %.lr.ph118.preheader

.lr.ph118.preheader:                              ; preds = %.preheader
  %135 = trunc nuw i64 %indvars.iv137 to i32
  br label %.lr.ph118

._crit_edge122:                                   ; preds = %._crit_edge119, %130
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %19) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %19) #8
  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 @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %11) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %11) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @_ZNSt6vectorIS_IjSaIjEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  ret void

136:                                              ; preds = %._crit_edge114
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %140

138:                                              ; preds = %129
  %139 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  br label %140

140:                                              ; preds = %138, %136
  %.pn80 = phi { ptr, i32 } [ %139, %138 ], [ %137, %136 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  br label %160

._crit_edge119:                                   ; preds = %153, %.preheader
  %.050.lcssa = phi double [ 0.000000e+00, %.preheader ], [ %154, %153 ]
  %141 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IjSaIjEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %133) #8
  %142 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %141, i64 noundef %indvars.iv137) #8
  %143 = load i32, ptr %142, align 4, !tbaa !5
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEj(ptr noundef nonnull align 8 dereferenceable(105) %1, i32 noundef %143)
  store double %.050.lcssa, ptr %144, align 8, !tbaa !41
  %indvars.iv.next138 = add nuw nsw i64 %indvars.iv137, 1
  %145 = load i32, ptr %32, align 8, !tbaa !11
  %146 = zext i32 %145 to i64
  %147 = icmp ult i64 %indvars.iv.next138, %146
  br i1 %147, label %.preheader, label %._crit_edge122, !llvm.loop !47

.lr.ph118:                                        ; preds = %.lr.ph118.preheader, %153
  %.0117 = phi i32 [ %155, %153 ], [ 0, %.lr.ph118.preheader ]
  %.050116 = phi double [ %154, %153 ], [ 0.000000e+00, %.lr.ph118.preheader ]
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %19, i32 noundef %.0117, i32 noundef %135)
  %149 = load double, ptr %148, align 8, !tbaa !41
  %150 = load double, ptr %2, align 8, !tbaa !41
  %151 = load double, ptr %132, align 8, !tbaa !41
  %152 = invoke noundef double @_Z9Dubiner2Djddj(i32 noundef %34, double noundef %150, double noundef %151, i32 noundef %.0117)
          to label %153 unwind label %158

153:                                              ; preds = %.lr.ph118
  %154 = call double @llvm.fmuladd.f64(double %149, double %152, double %.050116)
  %155 = add nuw i32 %.0117, 1
  %156 = load i32, ptr %32, align 8, !tbaa !11
  %157 = icmp ult i32 %155, %156
  br i1 %157, label %.lr.ph118, label %._crit_edge119, !llvm.loop !48

158:                                              ; preds = %.lr.ph118
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %19) #8
  br label %160

160:                                              ; preds = %158, %140
  %.pn82 = phi { ptr, i32 } [ %159, %158 ], [ %.pn80, %140 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %19) #8
  br label %161

161:                                              ; preds = %160, %127
  %.pn84 = phi { ptr, i32 } [ %128, %127 ], [ %.pn82, %160 ]
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %15) #8
  br label %162

162:                                              ; preds = %161, %114
  %.pn84.pn = phi { ptr, i32 } [ %.pn84, %161 ], [ %.pn78, %114 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %15) #8
  call void @_ZN8mdvectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %11) #8
  br label %163

163:                                              ; preds = %162, %96
  %.pn84.pn.pn = phi { ptr, i32 } [ %.pn84.pn, %162 ], [ %.pn, %96 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %11) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %164

164:                                              ; preds = %163, %90
  %.pn84.pn.pn.pn = phi { ptr, i32 } [ %.pn84.pn.pn, %163 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  br label %165

165:                                              ; preds = %64, %75, %164, %62, %60
  %.pn89.pn.pn.pn.pn = phi { ptr, i32 } [ %63, %62 ], [ %61, %60 ], [ %.pn89.pn.pn, %75 ], [ %.pn84.pn.pn.pn, %164 ], [ %65, %64 ]
  call void @_ZNSt6vectorIS_IjSaIjEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  br label %166

166:                                              ; preds = %165, %58
  %.pn89.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn89.pn.pn.pn.pn, %165 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn89.pn.pn.pn.pn.pn

167:                                              ; preds = %57
  unreachable
}

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7

declare noundef i32 @_Z18tri_nodes_to_orderj(i32 noundef) local_unnamed_addr #4

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

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 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 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

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


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