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

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

%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::allocator.2" = type { i8 }
%class.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.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.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] }>
%"struct.std::array" = type { [6 x i32] }
%"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] }>
%class.mdvector = type <{ i32, [4 x i8], i64, i64, %"struct.std::array", %"struct.std::array", %"class.std::vector", ptr, i8, [7 x i8] }>

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 void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef, double noundef, i1 noundef zeroext) #1 align 2

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

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

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

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

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

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

42:                                               ; preds = %41
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !36
  br label %43

43:                                               ; preds = %86, %42
  %44 = load i32, ptr %9, align 4, !tbaa !36
  %45 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %46 = load i32, ptr %45, align 4, !tbaa !9
  %47 = icmp ult i32 %44, %46
  br i1 %47, label %58, label %48

48:                                               ; preds = %43
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %89

49:                                               ; preds = %1
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %7, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %8, align 4
  br label %57

53:                                               ; preds = %41
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %7, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  br label %57

57:                                               ; preds = %53, %49
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %318

58:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !36
  br label %59

59:                                               ; preds = %82, %58
  %60 = load i32, ptr %11, align 4, !tbaa !36
  %61 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = icmp ult i32 %60, %62
  br i1 %63, label %65, label %64

64:                                               ; preds = %59
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %85

65:                                               ; preds = %59
  %66 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 5
  %67 = load i32, ptr %66, align 8, !tbaa !40
  %68 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 28
  %69 = load i32, ptr %9, align 4, !tbaa !36
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %68, i32 noundef %69, i32 noundef 0)
  %71 = load double, ptr %70, align 8, !tbaa !41
  %72 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 28
  %73 = load i32, ptr %9, align 4, !tbaa !36
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %72, i32 noundef %73, i32 noundef 1)
  %75 = load double, ptr %74, align 8, !tbaa !41
  %76 = load i32, ptr %11, align 4, !tbaa !36
  %77 = call noundef double @_Z9Dubiner2Djddj(i32 noundef %67, double noundef %71, double noundef %75, i32 noundef %76)
  %78 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 67
  %79 = load i32, ptr %9, align 4, !tbaa !36
  %80 = load i32, ptr %11, align 4, !tbaa !36
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %78, i32 noundef %79, i32 noundef %80)
  store double %77, ptr %81, align 8, !tbaa !41
  br label %82

82:                                               ; preds = %65
  %83 = load i32, ptr %11, align 4, !tbaa !36
  %84 = add i32 %83, 1
  store i32 %84, ptr %11, align 4, !tbaa !36
  br label %59, !llvm.loop !43

85:                                               ; preds = %64
  br label %86

86:                                               ; preds = %85
  %87 = load i32, ptr %9, align 4, !tbaa !36
  %88 = add i32 %87, 1
  store i32 %88, ptr %9, align 4, !tbaa !36
  br label %43, !llvm.loop !45

89:                                               ; preds = %48
  %90 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 68
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %91 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %92 = load i32, ptr %91, align 4, !tbaa !9
  store i32 %92, ptr %14, align 4, !tbaa !36
  %93 = getelementptr inbounds i32, ptr %14, i64 1
  %94 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %95 = load i32, ptr %94, align 4, !tbaa !9
  store i32 %95, ptr %93, align 4, !tbaa !36
  %96 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 0
  store ptr %14, ptr %96, align 8, !tbaa !37
  %97 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 1
  store i64 2, ptr %97, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  %98 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8
  %100 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %101 = load i64, ptr %100, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %99, i64 %101, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %102 unwind label %138

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

103:                                              ; preds = %102
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %104 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 67
  %105 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 68
  call void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %104, ptr noundef nonnull align 8 dereferenceable(105) %105)
  %106 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 69
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %107 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %108 = load i32, ptr %107, align 4, !tbaa !9
  %109 = mul i32 2, %108
  %110 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 13
  %111 = load i32, ptr %110, align 8, !tbaa !46
  %112 = add i32 %109, %111
  store i32 %112, ptr %18, align 4, !tbaa !36
  %113 = getelementptr inbounds i32, ptr %18, i64 1
  %114 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %115 = load i32, ptr %114, align 4, !tbaa !9
  %116 = mul i32 2, %115
  %117 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 13
  %118 = load i32, ptr %117, align 8, !tbaa !46
  %119 = add i32 %116, %118
  store i32 %119, ptr %113, align 4, !tbaa !36
  %120 = getelementptr inbounds %"class.std::initializer_list", ptr %17, i32 0, i32 0
  store ptr %18, ptr %120, align 8, !tbaa !37
  %121 = getelementptr inbounds %"class.std::initializer_list", ptr %17, i32 0, i32 1
  store i64 2, ptr %121, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  %122 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8
  %124 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %125 = load i64, ptr %124, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %123, i64 %125, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %126 unwind label %147

126:                                              ; preds = %103
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %106, ptr noundef %16, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %127 unwind label %151

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

128:                                              ; preds = %281, %127
  %129 = load i32, ptr %20, align 4, !tbaa !36
  %130 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %131 = load i32, ptr %130, align 4, !tbaa !9
  %132 = mul i32 2, %131
  %133 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 13
  %134 = load i32, ptr %133, align 8, !tbaa !46
  %135 = add i32 %132, %134
  %136 = icmp ult i32 %129, %135
  br i1 %136, label %156, label %137

137:                                              ; preds = %128
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %284

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

142:                                              ; preds = %102
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %7, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  br label %146

146:                                              ; preds = %142, %138
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %318

147:                                              ; preds = %103
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %7, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %8, align 4
  br label %155

151:                                              ; preds = %126
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %7, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  br label %155

155:                                              ; preds = %151, %147
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %318

156:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !36
  br label %157

157:                                              ; preds = %277, %156
  %158 = load i32, ptr %21, align 4, !tbaa !36
  %159 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %160 = load i32, ptr %159, align 4, !tbaa !9
  %161 = mul i32 2, %160
  %162 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 13
  %163 = load i32, ptr %162, align 8, !tbaa !46
  %164 = add i32 %161, %163
  %165 = icmp ult i32 %158, %164
  br i1 %165, label %167, label %166

166:                                              ; preds = %157
  store i32 11, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %280

167:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  %168 = load i32, ptr %21, align 4, !tbaa !36
  %169 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %170 = load i32, ptr %169, align 4, !tbaa !9
  %171 = mul i32 2, %170
  %172 = icmp ult i32 %168, %171
  br i1 %172, label %173, label %206

173:                                              ; preds = %167
  %174 = load i32, ptr %21, align 4, !tbaa !36
  %175 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %176 = load i32, ptr %175, align 4, !tbaa !9
  %177 = icmp ult i32 %174, %176
  %178 = zext i1 %177 to i64
  %179 = select i1 %177, i32 1, i32 0
  %180 = sitofp i32 %179 to double
  %181 = getelementptr inbounds [2 x double], ptr %22, i64 0, i64 0
  store double %180, ptr %181, align 16, !tbaa !41
  %182 = load i32, ptr %21, align 4, !tbaa !36
  %183 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %184 = load i32, ptr %183, align 4, !tbaa !9
  %185 = icmp ult i32 %182, %184
  %186 = zext i1 %185 to i64
  %187 = select i1 %185, i32 0, i32 1
  %188 = sitofp i32 %187 to double
  %189 = getelementptr inbounds [2 x double], ptr %22, i64 0, i64 1
  store double %188, ptr %189, align 8, !tbaa !41
  %190 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 28
  %191 = load i32, ptr %21, align 4, !tbaa !36
  %192 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %193 = load i32, ptr %192, align 4, !tbaa !9
  %194 = urem i32 %191, %193
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %190, i32 noundef %194, i32 noundef 0)
  %196 = load double, ptr %195, align 8, !tbaa !41
  %197 = getelementptr inbounds [2 x double], ptr %23, i64 0, i64 0
  store double %196, ptr %197, align 16, !tbaa !41
  %198 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 28
  %199 = load i32, ptr %21, align 4, !tbaa !36
  %200 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %201 = load i32, ptr %200, align 4, !tbaa !9
  %202 = urem i32 %199, %201
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %198, i32 noundef %202, i32 noundef 1)
  %204 = load double, ptr %203, align 8, !tbaa !41
  %205 = getelementptr inbounds [2 x double], ptr %23, i64 0, i64 1
  store double %204, ptr %205, align 8, !tbaa !41
  br label %243

206:                                              ; preds = %167
  %207 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 42
  %208 = load i32, ptr %21, align 4, !tbaa !36
  %209 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %210 = load i32, ptr %209, align 4, !tbaa !9
  %211 = mul i32 2, %210
  %212 = sub i32 %208, %211
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %207, i32 noundef %212, i32 noundef 0)
  %214 = load double, ptr %213, align 8, !tbaa !41
  %215 = getelementptr inbounds [2 x double], ptr %22, i64 0, i64 0
  store double %214, ptr %215, align 16, !tbaa !41
  %216 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 42
  %217 = load i32, ptr %21, align 4, !tbaa !36
  %218 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %219 = load i32, ptr %218, align 4, !tbaa !9
  %220 = mul i32 2, %219
  %221 = sub i32 %217, %220
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %216, i32 noundef %221, i32 noundef 1)
  %223 = load double, ptr %222, align 8, !tbaa !41
  %224 = getelementptr inbounds [2 x double], ptr %22, i64 0, i64 1
  store double %223, ptr %224, align 8, !tbaa !41
  %225 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 29
  %226 = load i32, ptr %21, align 4, !tbaa !36
  %227 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %228 = load i32, ptr %227, align 4, !tbaa !9
  %229 = mul i32 2, %228
  %230 = sub i32 %226, %229
  %231 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %225, i32 noundef %230, i32 noundef 0)
  %232 = load double, ptr %231, align 8, !tbaa !41
  %233 = getelementptr inbounds [2 x double], ptr %23, i64 0, i64 0
  store double %232, ptr %233, align 16, !tbaa !41
  %234 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 29
  %235 = load i32, ptr %21, align 4, !tbaa !36
  %236 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %237 = load i32, ptr %236, align 4, !tbaa !9
  %238 = mul i32 2, %237
  %239 = sub i32 %235, %238
  %240 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %234, i32 noundef %239, i32 noundef 1)
  %241 = load double, ptr %240, align 8, !tbaa !41
  %242 = getelementptr inbounds [2 x double], ptr %23, i64 0, i64 1
  store double %241, ptr %242, align 8, !tbaa !41
  br label %243

243:                                              ; preds = %206, %173
  %244 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 5
  %245 = load i32, ptr %244, align 8, !tbaa !40
  %246 = add i32 %245, 1
  %247 = getelementptr inbounds [2 x double], ptr %23, i64 0, i64 0
  %248 = load double, ptr %247, align 16, !tbaa !41
  %249 = getelementptr inbounds [2 x double], ptr %23, i64 0, i64 1
  %250 = load double, ptr %249, align 8, !tbaa !41
  %251 = load i32, ptr %20, align 4, !tbaa !36
  %252 = call noundef double @_Z12RTMonomial2Djddjj(i32 noundef %246, double noundef %248, double noundef %250, i32 noundef 0, i32 noundef %251)
  %253 = getelementptr inbounds [2 x double], ptr %22, i64 0, i64 0
  %254 = load double, ptr %253, align 16, !tbaa !41
  %255 = fmul double %252, %254
  %256 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 69
  %257 = load i32, ptr %20, align 4, !tbaa !36
  %258 = load i32, ptr %21, align 4, !tbaa !36
  %259 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %256, i32 noundef %257, i32 noundef %258)
  store double %255, ptr %259, align 8, !tbaa !41
  %260 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 5
  %261 = load i32, ptr %260, align 8, !tbaa !40
  %262 = add i32 %261, 1
  %263 = getelementptr inbounds [2 x double], ptr %23, i64 0, i64 0
  %264 = load double, ptr %263, align 16, !tbaa !41
  %265 = getelementptr inbounds [2 x double], ptr %23, i64 0, i64 1
  %266 = load double, ptr %265, align 8, !tbaa !41
  %267 = load i32, ptr %20, align 4, !tbaa !36
  %268 = call noundef double @_Z12RTMonomial2Djddjj(i32 noundef %262, double noundef %264, double noundef %266, i32 noundef 1, i32 noundef %267)
  %269 = getelementptr inbounds [2 x double], ptr %22, i64 0, i64 1
  %270 = load double, ptr %269, align 8, !tbaa !41
  %271 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 69
  %272 = load i32, ptr %20, align 4, !tbaa !36
  %273 = load i32, ptr %21, align 4, !tbaa !36
  %274 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %271, i32 noundef %272, i32 noundef %273)
  %275 = load double, ptr %274, align 8, !tbaa !41
  %276 = call double @llvm.fmuladd.f64(double %268, double %270, double %275)
  store double %276, ptr %274, align 8, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  br label %277

277:                                              ; preds = %243
  %278 = load i32, ptr %21, align 4, !tbaa !36
  %279 = add i32 %278, 1
  store i32 %279, ptr %21, align 4, !tbaa !36
  br label %157, !llvm.loop !47

280:                                              ; preds = %166
  br label %281

281:                                              ; preds = %280
  %282 = load i32, ptr %20, align 4, !tbaa !36
  %283 = add i32 %282, 1
  store i32 %283, ptr %20, align 4, !tbaa !36
  br label %128, !llvm.loop !48

284:                                              ; preds = %137
  %285 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 70
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %286 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %287 = load i32, ptr %286, align 4, !tbaa !9
  %288 = mul i32 2, %287
  %289 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 13
  %290 = load i32, ptr %289, align 8, !tbaa !46
  %291 = add i32 %288, %290
  store i32 %291, ptr %26, align 4, !tbaa !36
  %292 = getelementptr inbounds i32, ptr %26, i64 1
  %293 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 12
  %294 = load i32, ptr %293, align 4, !tbaa !9
  %295 = mul i32 2, %294
  %296 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 13
  %297 = load i32, ptr %296, align 8, !tbaa !46
  %298 = mul i32 %295, %297
  store i32 %298, ptr %292, align 4, !tbaa !36
  %299 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 0
  store ptr %26, ptr %299, align 8, !tbaa !37
  %300 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 1
  store i64 2, ptr %300, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  %301 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %302 = load ptr, ptr %301, align 8
  %303 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %304 = load i64, ptr %303, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr %302, i64 %304, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %305 unwind label %309

305:                                              ; preds = %284
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %285, ptr noundef %24, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %306 unwind label %313

306:                                              ; preds = %305
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  %307 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 69
  %308 = getelementptr inbounds %class.Elements, ptr %28, i32 0, i32 70
  call void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %307, ptr noundef nonnull align 8 dereferenceable(105) %308)
  ret void

309:                                              ; preds = %284
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %7, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %8, align 4
  br label %317

313:                                              ; preds = %305
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %7, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  br label %317

317:                                              ; preds = %313, %309
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %318

318:                                              ; preds = %317, %155, %146, %57
  %319 = load ptr, ptr %7, align 8
  %320 = load i32, ptr %8, align 4
  %321 = insertvalue { ptr, i32 } poison, ptr %319, 0
  %322 = insertvalue { ptr, i32 } %321, i32 %320, 1
  resume { ptr, i32 } %322
}

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

; 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

declare noundef double @_Z12RTMonomial2Djddjj(i32 noundef, double noundef, double noundef, i32 noundef, i32 noundef) #3

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

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

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

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }

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 void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef, double noundef, i1 noundef zeroext) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local 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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Tris20set_vandermonde_matsEv(ptr noundef nonnull align 8 dereferenceable(13968) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::vector.0", align 8
  %3 = alloca [2 x i32], align 4
  %4 = alloca %"class.std::allocator.2", align 1
  %5 = alloca %"class.std::vector.0", align 8
  %6 = alloca [2 x i32], align 4
  %7 = alloca %"class.std::allocator.2", align 1
  %8 = alloca %"class.std::vector.0", align 8
  %9 = alloca [2 x i32], align 4
  %10 = alloca %"class.std::allocator.2", align 1
  %11 = alloca %"class.std::vector.0", align 8
  %12 = alloca [2 x i32], align 4
  %13 = alloca %"class.std::allocator.2", align 1
  %14 = getelementptr inbounds i8, ptr %0, i64 4592
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %15 = getelementptr inbounds i8, ptr %0, i64 60
  %16 = load i32, ptr %15, align 4, !tbaa !5
  store i32 %16, ptr %3, align 4, !tbaa !35
  %17 = getelementptr inbounds i8, ptr %3, i64 4
  store i32 %16, ptr %17, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr nonnull %3, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %18 unwind label %25

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

19:                                               ; preds = %18
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  %20 = load i32, ptr %15, align 4, !tbaa !5
  %.not = icmp eq i32 %20, 0
  br i1 %.not, label %._crit_edge64, label %.preheader58.preheader

.preheader58.preheader:                           ; preds = %19
  %21 = getelementptr inbounds i8, ptr %0, i64 32
  %22 = getelementptr inbounds i8, ptr %0, i64 576
  br label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %._crit_edge, %.preheader58.preheader
  %.04763 = phi i32 [ %30, %._crit_edge ], [ 0, %.preheader58.preheader ]
  br label %.lr.ph

._crit_edge64:                                    ; preds = %._crit_edge, %19
  %.lcssa61 = phi i32 [ 0, %19 ], [ %40, %._crit_edge ]
  %23 = getelementptr inbounds i8, ptr %0, i64 4704
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  store i32 %.lcssa61, ptr %6, align 4, !tbaa !35
  %24 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 %.lcssa61, ptr %24, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %6, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %42 unwind label %68

25:                                               ; preds = %1
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %29

27:                                               ; preds = %18
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  br label %29

29:                                               ; preds = %27, %25
  %.pn = phi { ptr, i32 } [ %28, %27 ], [ %26, %25 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %138

._crit_edge:                                      ; preds = %.lr.ph
  %30 = add nuw i32 %.04763, 1
  %31 = icmp ult i32 %30, %40
  br i1 %31, label %.lr.ph.preheader, label %._crit_edge64, !llvm.loop !36

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.04862 = phi i32 [ %39, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %32 = load i32, ptr %21, align 8, !tbaa !39
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %22, i32 noundef %.04763, i32 noundef 0)
  %34 = load double, ptr %33, align 8, !tbaa !40
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %22, i32 noundef %.04763, i32 noundef 1)
  %36 = load double, ptr %35, align 8, !tbaa !40
  %37 = call noundef double @_Z9Dubiner2Djddj(i32 noundef %32, double noundef %34, double noundef %36, i32 noundef %.04862)
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %14, i32 noundef %.04763, i32 noundef %.04862)
  store double %37, ptr %38, align 8, !tbaa !40
  %39 = add nuw i32 %.04862, 1
  %40 = load i32, ptr %15, align 4, !tbaa !5
  %41 = icmp ult i32 %39, %40
  br i1 %41, label %.lr.ph, label %._crit_edge, !llvm.loop !42

42:                                               ; preds = %._crit_edge64
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %23, ptr noundef nonnull %5, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %43 unwind label %70

43:                                               ; preds = %42
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %14, ptr noundef nonnull align 8 dereferenceable(105) %23)
  %44 = getelementptr inbounds i8, ptr %0, i64 4816
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %45 = load i32, ptr %15, align 4, !tbaa !5
  %46 = shl i32 %45, 1
  %47 = getelementptr inbounds i8, ptr %0, i64 64
  %48 = load i32, ptr %47, align 8, !tbaa !43
  %49 = add i32 %46, %48
  store i32 %49, ptr %9, align 4, !tbaa !35
  %50 = getelementptr inbounds i8, ptr %9, i64 4
  store i32 %49, ptr %50, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr nonnull %9, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %51 unwind label %73

51:                                               ; preds = %43
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %44, ptr noundef nonnull %8, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %52 unwind label %75

52:                                               ; preds = %51
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  %53 = load i32, ptr %15, align 4, !tbaa !5
  %54 = shl i32 %53, 1
  %55 = load i32, ptr %47, align 8, !tbaa !43
  %56 = sub i32 0, %55
  %.not75 = icmp eq i32 %54, %56
  br i1 %.not75, label %._crit_edge69, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %52
  %57 = getelementptr inbounds i8, ptr %0, i64 1792
  %58 = getelementptr inbounds i8, ptr %0, i64 688
  %59 = getelementptr inbounds i8, ptr %0, i64 576
  %60 = getelementptr inbounds i8, ptr %0, i64 32
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge67
  %61 = phi i32 [ %55, %.preheader.lr.ph ], [ %78, %._crit_edge67 ]
  %62 = phi i32 [ %53, %.preheader.lr.ph ], [ %79, %._crit_edge67 ]
  %.04668 = phi i32 [ 0, %.preheader.lr.ph ], [ %80, %._crit_edge67 ]
  %63 = shl i32 %62, 1
  %64 = sub i32 0, %61
  %.not76 = icmp eq i32 %63, %64
  br i1 %.not76, label %.preheader.._crit_edge67_crit_edge, label %.lr.ph66

.preheader.._crit_edge67_crit_edge:               ; preds = %.preheader
  %.pre = add i32 %63, %61
  br label %._crit_edge67

._crit_edge69:                                    ; preds = %._crit_edge67, %52
  %.lcssa60 = phi i32 [ %54, %52 ], [ %.pre-phi, %._crit_edge67 ]
  %.lcssa59 = phi i32 [ %55, %52 ], [ %78, %._crit_edge67 ]
  %.lcssa = phi i32 [ 0, %52 ], [ %.pre-phi82, %._crit_edge67 ]
  %65 = getelementptr inbounds i8, ptr %0, i64 4928
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  store i32 %.lcssa, ptr %12, align 4, !tbaa !35
  %66 = getelementptr inbounds i8, ptr %12, i64 4
  %67 = mul i32 %.lcssa60, %.lcssa59
  store i32 %67, ptr %66, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr nonnull %12, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %131 unwind label %133

68:                                               ; preds = %._crit_edge64
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %72

70:                                               ; preds = %42
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  br label %72

72:                                               ; preds = %70, %68
  %.pn51 = phi { ptr, i32 } [ %71, %70 ], [ %69, %68 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %138

73:                                               ; preds = %43
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %77

75:                                               ; preds = %51
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %77

77:                                               ; preds = %75, %73
  %.pn53 = phi { ptr, i32 } [ %76, %75 ], [ %74, %73 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %138

._crit_edge67:                                    ; preds = %113, %.preheader.._crit_edge67_crit_edge
  %.pre-phi82 = phi i32 [ %.pre, %.preheader.._crit_edge67_crit_edge ], [ %129, %113 ]
  %.pre-phi = phi i32 [ %63, %.preheader.._crit_edge67_crit_edge ], [ %127, %113 ]
  %78 = phi i32 [ %61, %.preheader.._crit_edge67_crit_edge ], [ %128, %113 ]
  %79 = phi i32 [ %62, %.preheader.._crit_edge67_crit_edge ], [ %126, %113 ]
  %80 = add nuw i32 %.04668, 1
  %81 = icmp ult i32 %80, %.pre-phi82
  br i1 %81, label %.preheader, label %._crit_edge69, !llvm.loop !44

.lr.ph66:                                         ; preds = %.preheader, %113
  %82 = phi i32 [ %127, %113 ], [ %63, %.preheader ]
  %83 = phi i32 [ %126, %113 ], [ %62, %.preheader ]
  %.04565 = phi i32 [ %125, %113 ], [ 0, %.preheader ]
  %84 = icmp ult i32 %.04565, %82
  br i1 %84, label %85, label %95

85:                                               ; preds = %.lr.ph66
  %86 = icmp ult i32 %.04565, %83
  %87 = uitofp i1 %86 to double
  %not. = xor i1 %86, true
  %88 = uitofp i1 %not. to double
  %89 = urem i32 %.04565, %83
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %59, i32 noundef %89, i32 noundef 0)
  %91 = load double, ptr %90, align 8, !tbaa !40
  %92 = load i32, ptr %15, align 4, !tbaa !5
  %93 = urem i32 %.04565, %92
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %59, i32 noundef %93, i32 noundef 1)
  br label %113

95:                                               ; preds = %.lr.ph66
  %96 = sub i32 %.04565, %82
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %57, i32 noundef %96, i32 noundef 0)
  %98 = load double, ptr %97, align 8, !tbaa !40
  %99 = load i32, ptr %15, align 4, !tbaa !5
  %100 = shl i32 %99, 1
  %101 = sub i32 %.04565, %100
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %57, i32 noundef %101, i32 noundef 1)
  %103 = load double, ptr %102, align 8, !tbaa !40
  %104 = load i32, ptr %15, align 4, !tbaa !5
  %105 = shl i32 %104, 1
  %106 = sub i32 %.04565, %105
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %58, i32 noundef %106, i32 noundef 0)
  %108 = load double, ptr %107, align 8, !tbaa !40
  %109 = load i32, ptr %15, align 4, !tbaa !5
  %110 = shl i32 %109, 1
  %111 = sub i32 %.04565, %110
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %58, i32 noundef %111, i32 noundef 1)
  br label %113

113:                                              ; preds = %95, %85
  %.sroa.5.0 = phi double [ %88, %85 ], [ %103, %95 ]
  %.sroa.04.0 = phi double [ %87, %85 ], [ %98, %95 ]
  %.sroa.6.0.in = phi ptr [ %94, %85 ], [ %112, %95 ]
  %.sroa.01.0 = phi double [ %91, %85 ], [ %108, %95 ]
  %.sroa.6.0 = load double, ptr %.sroa.6.0.in, align 8, !tbaa !40
  %114 = load i32, ptr %60, align 8, !tbaa !39
  %115 = add i32 %114, 1
  %116 = call noundef double @_Z12RTMonomial2Djddjj(i32 noundef %115, double noundef %.sroa.01.0, double noundef %.sroa.6.0, i32 noundef 0, i32 noundef %.04668)
  %117 = fmul double %.sroa.04.0, %116
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %44, i32 noundef %.04668, i32 noundef %.04565)
  store double %117, ptr %118, align 8, !tbaa !40
  %119 = load i32, ptr %60, align 8, !tbaa !39
  %120 = add i32 %119, 1
  %121 = call noundef double @_Z12RTMonomial2Djddjj(i32 noundef %120, double noundef %.sroa.01.0, double noundef %.sroa.6.0, i32 noundef 1, i32 noundef %.04668)
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %44, i32 noundef %.04668, i32 noundef %.04565)
  %123 = load double, ptr %122, align 8, !tbaa !40
  %124 = call double @llvm.fmuladd.f64(double %121, double %.sroa.5.0, double %123)
  store double %124, ptr %122, align 8, !tbaa !40
  %125 = add nuw i32 %.04565, 1
  %126 = load i32, ptr %15, align 4, !tbaa !5
  %127 = shl i32 %126, 1
  %128 = load i32, ptr %47, align 8, !tbaa !43
  %129 = add i32 %127, %128
  %130 = icmp ult i32 %125, %129
  br i1 %130, label %.lr.ph66, label %._crit_edge67, !llvm.loop !45

131:                                              ; preds = %._crit_edge69
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %65, ptr noundef nonnull %11, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %132 unwind label %135

132:                                              ; preds = %131
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %44, ptr noundef nonnull align 8 dereferenceable(105) %65)
  ret void

133:                                              ; preds = %._crit_edge69
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %137

135:                                              ; preds = %131
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %137

137:                                              ; preds = %135, %133
  %.pn55 = phi { ptr, i32 } [ %136, %135 ], [ %134, %133 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %138

138:                                              ; preds = %137, %77, %72, %29
  %.pn55.pn = phi { ptr, i32 } [ %.pn55, %137 ], [ %.pn53, %77 ], [ %.pn51, %72 ], [ %.pn, %29 ]
  resume { ptr, i32 } %.pn55.pn
}

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

; 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

declare noundef double @_Z12RTMonomial2Djddjj(i32 noundef, double noundef, double noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

attributes #0 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }

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

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


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