; LLVM IR from romerojosh/zefr :: src/tets.ll (ZN4Tets20set_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] }>
%class.Tets = type { %class.Elements, %class.mdvector, %class.mdvector, %class.mdvector }

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 @_ZN4Tets20set_vandermonde_matsEv(ptr noundef nonnull align 8 dereferenceable(14304) %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 [3 x double], align 16
  %23 = alloca [3 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
  %28 = alloca %"class.std::vector.0", align 8
  %29 = alloca %"class.std::initializer_list", align 8
  %30 = alloca [2 x i32], align 4
  %31 = alloca %"class.std::allocator.2", align 1
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca %"class.std::vector.0", align 8
  %35 = alloca %"class.std::initializer_list", align 8
  %36 = alloca [2 x i32], align 4
  %37 = alloca %"class.std::allocator.2", align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %38 = load ptr, ptr %2, align 8
  %39 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 67
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %40 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %41 = load i32, ptr %40, align 4, !tbaa !9
  store i32 %41, ptr %5, align 4, !tbaa !36
  %42 = getelementptr inbounds i32, ptr %5, i64 1
  %43 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %44 = load i32, ptr %43, align 4, !tbaa !9
  store i32 %44, ptr %42, align 4, !tbaa !36
  %45 = getelementptr inbounds %"class.std::initializer_list", ptr %4, i32 0, i32 0
  store ptr %5, ptr %45, align 8, !tbaa !37
  %46 = getelementptr inbounds %"class.std::initializer_list", ptr %4, i32 0, i32 1
  store i64 2, ptr %46, 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
  %47 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8
  %49 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 1
  %50 = load i64, ptr %49, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr %48, i64 %50, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %51 unwind label %59

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

52:                                               ; preds = %51
  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 %53

53:                                               ; preds = %100, %52
  %54 = load i32, ptr %9, align 4, !tbaa !36
  %55 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %56 = load i32, ptr %55, align 4, !tbaa !9
  %57 = icmp ult i32 %54, %56
  br i1 %57, label %68, label %58

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

59:                                               ; preds = %1
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %7, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %8, align 4
  br label %67

63:                                               ; preds = %51
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %7, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  br label %67

67:                                               ; preds = %63, %59
  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 %482

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

69:                                               ; preds = %96, %68
  %70 = load i32, ptr %11, align 4, !tbaa !36
  %71 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %72 = load i32, ptr %71, align 4, !tbaa !9
  %73 = icmp ult i32 %70, %72
  br i1 %73, label %75, label %74

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

75:                                               ; preds = %69
  %76 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 5
  %77 = load i32, ptr %76, align 8, !tbaa !40
  %78 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 28
  %79 = load i32, ptr %9, align 4, !tbaa !36
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %78, i32 noundef %79, i32 noundef 0)
  %81 = load double, ptr %80, align 8, !tbaa !41
  %82 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 28
  %83 = load i32, ptr %9, align 4, !tbaa !36
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %82, i32 noundef %83, i32 noundef 1)
  %85 = load double, ptr %84, align 8, !tbaa !41
  %86 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 28
  %87 = load i32, ptr %9, align 4, !tbaa !36
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %86, i32 noundef %87, i32 noundef 2)
  %89 = load double, ptr %88, align 8, !tbaa !41
  %90 = load i32, ptr %11, align 4, !tbaa !36
  %91 = call noundef double @_Z9Dubiner3Djdddj(i32 noundef %77, double noundef %81, double noundef %85, double noundef %89, i32 noundef %90)
  %92 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 67
  %93 = load i32, ptr %9, align 4, !tbaa !36
  %94 = load i32, ptr %11, align 4, !tbaa !36
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %92, i32 noundef %93, i32 noundef %94)
  store double %91, ptr %95, align 8, !tbaa !41
  br label %96

96:                                               ; preds = %75
  %97 = load i32, ptr %11, align 4, !tbaa !36
  %98 = add i32 %97, 1
  store i32 %98, ptr %11, align 4, !tbaa !36
  br label %69, !llvm.loop !43

99:                                               ; preds = %74
  br label %100

100:                                              ; preds = %99
  %101 = load i32, ptr %9, align 4, !tbaa !36
  %102 = add i32 %101, 1
  store i32 %102, ptr %9, align 4, !tbaa !36
  br label %53, !llvm.loop !45

103:                                              ; preds = %58
  %104 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 68
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %105 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %106 = load i32, ptr %105, align 4, !tbaa !9
  store i32 %106, ptr %14, align 4, !tbaa !36
  %107 = getelementptr inbounds i32, ptr %14, i64 1
  %108 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %109 = load i32, ptr %108, align 4, !tbaa !9
  store i32 %109, ptr %107, align 4, !tbaa !36
  %110 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 0
  store ptr %14, ptr %110, align 8, !tbaa !37
  %111 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 1
  store i64 2, ptr %111, 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
  %112 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %113 = load ptr, ptr %112, align 8
  %114 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %115 = load i64, ptr %114, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %113, i64 %115, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %116 unwind label %152

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

117:                                              ; preds = %116
  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
  %118 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 67
  %119 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 68
  call void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %118, ptr noundef nonnull align 8 dereferenceable(105) %119)
  %120 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 69
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %121 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %122 = load i32, ptr %121, align 4, !tbaa !9
  %123 = mul i32 3, %122
  %124 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 13
  %125 = load i32, ptr %124, align 8, !tbaa !46
  %126 = add i32 %123, %125
  store i32 %126, ptr %18, align 4, !tbaa !36
  %127 = getelementptr inbounds i32, ptr %18, i64 1
  %128 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %129 = load i32, ptr %128, align 4, !tbaa !9
  %130 = mul i32 3, %129
  %131 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 13
  %132 = load i32, ptr %131, align 8, !tbaa !46
  %133 = add i32 %130, %132
  store i32 %133, ptr %127, align 4, !tbaa !36
  %134 = getelementptr inbounds %"class.std::initializer_list", ptr %17, i32 0, i32 0
  store ptr %18, ptr %134, align 8, !tbaa !37
  %135 = getelementptr inbounds %"class.std::initializer_list", ptr %17, i32 0, i32 1
  store i64 2, ptr %135, 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
  %136 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %137 = load ptr, ptr %136, align 8
  %138 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %139 = load i64, ptr %138, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %137, i64 %139, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %140 unwind label %161

140:                                              ; preds = %117
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %120, ptr noundef %16, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %141 unwind label %165

141:                                              ; preds = %140
  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 %142

142:                                              ; preds = %359, %141
  %143 = load i32, ptr %20, align 4, !tbaa !36
  %144 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %145 = load i32, ptr %144, align 4, !tbaa !9
  %146 = mul i32 3, %145
  %147 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 13
  %148 = load i32, ptr %147, align 8, !tbaa !46
  %149 = add i32 %146, %148
  %150 = icmp ult i32 %143, %149
  br i1 %150, label %170, label %151

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

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

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

160:                                              ; preds = %156, %152
  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 %482

161:                                              ; preds = %117
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %7, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %8, align 4
  br label %169

165:                                              ; preds = %140
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %7, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  br label %169

169:                                              ; preds = %165, %161
  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 %482

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

171:                                              ; preds = %355, %170
  %172 = load i32, ptr %21, align 4, !tbaa !36
  %173 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %174 = load i32, ptr %173, align 4, !tbaa !9
  %175 = mul i32 3, %174
  %176 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 13
  %177 = load i32, ptr %176, align 8, !tbaa !46
  %178 = add i32 %175, %177
  %179 = icmp ult i32 %172, %178
  br i1 %179, label %181, label %180

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

181:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #5
  %182 = load i32, ptr %21, align 4, !tbaa !36
  %183 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %184 = load i32, ptr %183, align 4, !tbaa !9
  %185 = mul i32 3, %184
  %186 = icmp ult i32 %182, %185
  br i1 %186, label %187, label %243

187:                                              ; preds = %181
  %188 = load i32, ptr %21, align 4, !tbaa !36
  %189 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %190 = load i32, ptr %189, align 4, !tbaa !9
  %191 = icmp ult i32 %188, %190
  br i1 %191, label %192, label %196

192:                                              ; preds = %187
  %193 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  store double 1.000000e+00, ptr %193, align 16, !tbaa !41
  %194 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 1
  store double 0.000000e+00, ptr %194, align 8, !tbaa !41
  %195 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 2
  store double 0.000000e+00, ptr %195, align 16, !tbaa !41
  br label %218

196:                                              ; preds = %187
  %197 = load i32, ptr %21, align 4, !tbaa !36
  %198 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %199 = load i32, ptr %198, align 4, !tbaa !9
  %200 = mul i32 2, %199
  %201 = icmp ult i32 %197, %200
  br i1 %201, label %202, label %206

202:                                              ; preds = %196
  %203 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  store double 0.000000e+00, ptr %203, align 16, !tbaa !41
  %204 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 1
  store double 1.000000e+00, ptr %204, align 8, !tbaa !41
  %205 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 2
  store double 0.000000e+00, ptr %205, align 16, !tbaa !41
  br label %217

206:                                              ; preds = %196
  %207 = load i32, ptr %21, align 4, !tbaa !36
  %208 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %209 = load i32, ptr %208, align 4, !tbaa !9
  %210 = mul i32 3, %209
  %211 = icmp ult i32 %207, %210
  br i1 %211, label %212, label %216

212:                                              ; preds = %206
  %213 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  store double 0.000000e+00, ptr %213, align 16, !tbaa !41
  %214 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 1
  store double 0.000000e+00, ptr %214, align 8, !tbaa !41
  %215 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 2
  store double 1.000000e+00, ptr %215, align 16, !tbaa !41
  br label %216

216:                                              ; preds = %212, %206
  br label %217

217:                                              ; preds = %216, %202
  br label %218

218:                                              ; preds = %217, %192
  %219 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 28
  %220 = load i32, ptr %21, align 4, !tbaa !36
  %221 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %222 = load i32, ptr %221, align 4, !tbaa !9
  %223 = urem i32 %220, %222
  %224 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %219, i32 noundef %223, i32 noundef 0)
  %225 = load double, ptr %224, align 8, !tbaa !41
  %226 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
  store double %225, ptr %226, align 16, !tbaa !41
  %227 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 28
  %228 = load i32, ptr %21, align 4, !tbaa !36
  %229 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %230 = load i32, ptr %229, align 4, !tbaa !9
  %231 = urem i32 %228, %230
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %227, i32 noundef %231, i32 noundef 1)
  %233 = load double, ptr %232, align 8, !tbaa !41
  %234 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 1
  store double %233, ptr %234, align 8, !tbaa !41
  %235 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 28
  %236 = load i32, ptr %21, align 4, !tbaa !36
  %237 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %238 = load i32, ptr %237, align 4, !tbaa !9
  %239 = urem i32 %236, %238
  %240 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %235, i32 noundef %239, i32 noundef 2)
  %241 = load double, ptr %240, align 8, !tbaa !41
  %242 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 2
  store double %241, ptr %242, align 16, !tbaa !41
  br label %298

243:                                              ; preds = %181
  %244 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 42
  %245 = load i32, ptr %21, align 4, !tbaa !36
  %246 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %247 = load i32, ptr %246, align 4, !tbaa !9
  %248 = mul i32 3, %247
  %249 = sub i32 %245, %248
  %250 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %244, i32 noundef %249, i32 noundef 0)
  %251 = load double, ptr %250, align 8, !tbaa !41
  %252 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  store double %251, ptr %252, align 16, !tbaa !41
  %253 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 42
  %254 = load i32, ptr %21, align 4, !tbaa !36
  %255 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %256 = load i32, ptr %255, align 4, !tbaa !9
  %257 = mul i32 3, %256
  %258 = sub i32 %254, %257
  %259 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %253, i32 noundef %258, i32 noundef 1)
  %260 = load double, ptr %259, align 8, !tbaa !41
  %261 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 1
  store double %260, ptr %261, align 8, !tbaa !41
  %262 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 42
  %263 = load i32, ptr %21, align 4, !tbaa !36
  %264 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %265 = load i32, ptr %264, align 4, !tbaa !9
  %266 = mul i32 3, %265
  %267 = sub i32 %263, %266
  %268 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %262, i32 noundef %267, i32 noundef 2)
  %269 = load double, ptr %268, align 8, !tbaa !41
  %270 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 2
  store double %269, ptr %270, align 16, !tbaa !41
  %271 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 29
  %272 = load i32, ptr %21, align 4, !tbaa !36
  %273 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %274 = load i32, ptr %273, align 4, !tbaa !9
  %275 = mul i32 3, %274
  %276 = sub i32 %272, %275
  %277 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %271, i32 noundef %276, i32 noundef 0)
  %278 = load double, ptr %277, align 8, !tbaa !41
  %279 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
  store double %278, ptr %279, align 16, !tbaa !41
  %280 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 29
  %281 = load i32, ptr %21, align 4, !tbaa !36
  %282 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %283 = load i32, ptr %282, align 4, !tbaa !9
  %284 = mul i32 3, %283
  %285 = sub i32 %281, %284
  %286 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %280, i32 noundef %285, i32 noundef 1)
  %287 = load double, ptr %286, align 8, !tbaa !41
  %288 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 1
  store double %287, ptr %288, align 8, !tbaa !41
  %289 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 29
  %290 = load i32, ptr %21, align 4, !tbaa !36
  %291 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %292 = load i32, ptr %291, align 4, !tbaa !9
  %293 = mul i32 3, %292
  %294 = sub i32 %290, %293
  %295 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %289, i32 noundef %294, i32 noundef 2)
  %296 = load double, ptr %295, align 8, !tbaa !41
  %297 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 2
  store double %296, ptr %297, align 16, !tbaa !41
  br label %298

298:                                              ; preds = %243, %218
  %299 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 5
  %300 = load i32, ptr %299, align 8, !tbaa !40
  %301 = add i32 %300, 1
  %302 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
  %303 = load double, ptr %302, align 16, !tbaa !41
  %304 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 1
  %305 = load double, ptr %304, align 8, !tbaa !41
  %306 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 2
  %307 = load double, ptr %306, align 16, !tbaa !41
  %308 = load i32, ptr %20, align 4, !tbaa !36
  %309 = call noundef double @_Z12RTMonomial3Djdddjj(i32 noundef %301, double noundef %303, double noundef %305, double noundef %307, i32 noundef 0, i32 noundef %308)
  %310 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  %311 = load double, ptr %310, align 16, !tbaa !41
  %312 = fmul double %309, %311
  %313 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 69
  %314 = load i32, ptr %20, align 4, !tbaa !36
  %315 = load i32, ptr %21, align 4, !tbaa !36
  %316 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %313, i32 noundef %314, i32 noundef %315)
  store double %312, ptr %316, align 8, !tbaa !41
  %317 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 5
  %318 = load i32, ptr %317, align 8, !tbaa !40
  %319 = add i32 %318, 1
  %320 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
  %321 = load double, ptr %320, align 16, !tbaa !41
  %322 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 1
  %323 = load double, ptr %322, align 8, !tbaa !41
  %324 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 2
  %325 = load double, ptr %324, align 16, !tbaa !41
  %326 = load i32, ptr %20, align 4, !tbaa !36
  %327 = call noundef double @_Z12RTMonomial3Djdddjj(i32 noundef %319, double noundef %321, double noundef %323, double noundef %325, i32 noundef 1, i32 noundef %326)
  %328 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 1
  %329 = load double, ptr %328, align 8, !tbaa !41
  %330 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 69
  %331 = load i32, ptr %20, align 4, !tbaa !36
  %332 = load i32, ptr %21, align 4, !tbaa !36
  %333 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %330, i32 noundef %331, i32 noundef %332)
  %334 = load double, ptr %333, align 8, !tbaa !41
  %335 = call double @llvm.fmuladd.f64(double %327, double %329, double %334)
  store double %335, ptr %333, align 8, !tbaa !41
  %336 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 5
  %337 = load i32, ptr %336, align 8, !tbaa !40
  %338 = add i32 %337, 1
  %339 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
  %340 = load double, ptr %339, align 16, !tbaa !41
  %341 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 1
  %342 = load double, ptr %341, align 8, !tbaa !41
  %343 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 2
  %344 = load double, ptr %343, align 16, !tbaa !41
  %345 = load i32, ptr %20, align 4, !tbaa !36
  %346 = call noundef double @_Z12RTMonomial3Djdddjj(i32 noundef %338, double noundef %340, double noundef %342, double noundef %344, i32 noundef 2, i32 noundef %345)
  %347 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 2
  %348 = load double, ptr %347, align 16, !tbaa !41
  %349 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 69
  %350 = load i32, ptr %20, align 4, !tbaa !36
  %351 = load i32, ptr %21, align 4, !tbaa !36
  %352 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %349, i32 noundef %350, i32 noundef %351)
  %353 = load double, ptr %352, align 8, !tbaa !41
  %354 = call double @llvm.fmuladd.f64(double %346, double %348, double %353)
  store double %354, ptr %352, align 8, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #5
  br label %355

355:                                              ; preds = %298
  %356 = load i32, ptr %21, align 4, !tbaa !36
  %357 = add i32 %356, 1
  store i32 %357, ptr %21, align 4, !tbaa !36
  br label %171, !llvm.loop !47

358:                                              ; preds = %180
  br label %359

359:                                              ; preds = %358
  %360 = load i32, ptr %20, align 4, !tbaa !36
  %361 = add i32 %360, 1
  store i32 %361, ptr %20, align 4, !tbaa !36
  br label %142, !llvm.loop !48

362:                                              ; preds = %151
  %363 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 70
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %364 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %365 = load i32, ptr %364, align 4, !tbaa !9
  %366 = mul i32 3, %365
  %367 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 13
  %368 = load i32, ptr %367, align 8, !tbaa !46
  %369 = add i32 %366, %368
  store i32 %369, ptr %26, align 4, !tbaa !36
  %370 = getelementptr inbounds i32, ptr %26, i64 1
  %371 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 12
  %372 = load i32, ptr %371, align 4, !tbaa !9
  %373 = mul i32 3, %372
  %374 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 13
  %375 = load i32, ptr %374, align 8, !tbaa !46
  %376 = mul i32 %373, %375
  store i32 %376, ptr %370, align 4, !tbaa !36
  %377 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 0
  store ptr %26, ptr %377, align 8, !tbaa !37
  %378 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 1
  store i64 2, ptr %378, 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
  %379 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %380 = load ptr, ptr %379, align 8
  %381 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %382 = load i64, ptr %381, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr %380, i64 %382, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %383 unwind label %407

383:                                              ; preds = %362
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %363, ptr noundef %24, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %384 unwind label %411

384:                                              ; preds = %383
  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
  %385 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 69
  %386 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 70
  call void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %385, ptr noundef nonnull align 8 dereferenceable(105) %386)
  %387 = getelementptr inbounds %class.Tets, ptr %38, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %388 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 17
  %389 = load i32, ptr %388, align 8, !tbaa !49
  store i32 %389, ptr %30, align 4, !tbaa !36
  %390 = getelementptr inbounds i32, ptr %30, i64 1
  %391 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 17
  %392 = load i32, ptr %391, align 8, !tbaa !49
  store i32 %392, ptr %390, align 4, !tbaa !36
  %393 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 0
  store ptr %30, ptr %393, align 8, !tbaa !37
  %394 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 1
  store i64 2, ptr %394, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #5
  %395 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %396 = load ptr, ptr %395, align 8
  %397 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %398 = load i64, ptr %397, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr %396, i64 %398, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %399 unwind label %416

399:                                              ; preds = %384
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %387, ptr noundef %28, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %400 unwind label %420

400:                                              ; preds = %399
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 0, ptr %32, align 4, !tbaa !36
  br label %401

401:                                              ; preds = %453, %400
  %402 = load i32, ptr %32, align 4, !tbaa !36
  %403 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 17
  %404 = load i32, ptr %403, align 8, !tbaa !49
  %405 = icmp ult i32 %402, %404
  br i1 %405, label %425, label %406

406:                                              ; preds = %401
  store i32 14, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br label %456

407:                                              ; preds = %362
  %408 = landingpad { ptr, i32 }
          cleanup
  %409 = extractvalue { ptr, i32 } %408, 0
  store ptr %409, ptr %7, align 8
  %410 = extractvalue { ptr, i32 } %408, 1
  store i32 %410, ptr %8, align 4
  br label %415

411:                                              ; preds = %383
  %412 = landingpad { ptr, i32 }
          cleanup
  %413 = extractvalue { ptr, i32 } %412, 0
  store ptr %413, ptr %7, align 8
  %414 = extractvalue { ptr, i32 } %412, 1
  store i32 %414, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  br label %415

415:                                              ; preds = %411, %407
  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 %482

416:                                              ; preds = %384
  %417 = landingpad { ptr, i32 }
          cleanup
  %418 = extractvalue { ptr, i32 } %417, 0
  store ptr %418, ptr %7, align 8
  %419 = extractvalue { ptr, i32 } %417, 1
  store i32 %419, ptr %8, align 4
  br label %424

420:                                              ; preds = %399
  %421 = landingpad { ptr, i32 }
          cleanup
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %7, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  br label %424

424:                                              ; preds = %420, %416
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %482

425:                                              ; preds = %401
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  store i32 0, ptr %33, align 4, !tbaa !36
  br label %426

426:                                              ; preds = %449, %425
  %427 = load i32, ptr %33, align 4, !tbaa !36
  %428 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 17
  %429 = load i32, ptr %428, align 8, !tbaa !49
  %430 = icmp ult i32 %427, %429
  br i1 %430, label %432, label %431

431:                                              ; preds = %426
  store i32 17, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  br label %452

432:                                              ; preds = %426
  %433 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 5
  %434 = load i32, ptr %433, align 8, !tbaa !40
  %435 = getelementptr inbounds %class.Tets, ptr %38, i32 0, i32 3
  %436 = load i32, ptr %32, align 4, !tbaa !36
  %437 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %435, i32 noundef %436, i32 noundef 0)
  %438 = load double, ptr %437, align 8, !tbaa !41
  %439 = getelementptr inbounds %class.Tets, ptr %38, i32 0, i32 3
  %440 = load i32, ptr %32, align 4, !tbaa !36
  %441 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %439, i32 noundef %440, i32 noundef 1)
  %442 = load double, ptr %441, align 8, !tbaa !41
  %443 = load i32, ptr %33, align 4, !tbaa !36
  %444 = call noundef double @_Z9Dubiner2Djddj(i32 noundef %434, double noundef %438, double noundef %442, i32 noundef %443)
  %445 = getelementptr inbounds %class.Tets, ptr %38, i32 0, i32 1
  %446 = load i32, ptr %32, align 4, !tbaa !36
  %447 = load i32, ptr %33, align 4, !tbaa !36
  %448 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %445, i32 noundef %446, i32 noundef %447)
  store double %444, ptr %448, align 8, !tbaa !41
  br label %449

449:                                              ; preds = %432
  %450 = load i32, ptr %33, align 4, !tbaa !36
  %451 = add i32 %450, 1
  store i32 %451, ptr %33, align 4, !tbaa !36
  br label %426, !llvm.loop !50

452:                                              ; preds = %431
  br label %453

453:                                              ; preds = %452
  %454 = load i32, ptr %32, align 4, !tbaa !36
  %455 = add i32 %454, 1
  store i32 %455, ptr %32, align 4, !tbaa !36
  br label %401, !llvm.loop !51

456:                                              ; preds = %406
  %457 = getelementptr inbounds %class.Tets, ptr %38, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %458 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 17
  %459 = load i32, ptr %458, align 8, !tbaa !49
  store i32 %459, ptr %36, align 4, !tbaa !36
  %460 = getelementptr inbounds i32, ptr %36, i64 1
  %461 = getelementptr inbounds %class.Elements, ptr %38, i32 0, i32 17
  %462 = load i32, ptr %461, align 8, !tbaa !49
  store i32 %462, ptr %460, align 4, !tbaa !36
  %463 = getelementptr inbounds %"class.std::initializer_list", ptr %35, i32 0, i32 0
  store ptr %36, ptr %463, align 8, !tbaa !37
  %464 = getelementptr inbounds %"class.std::initializer_list", ptr %35, i32 0, i32 1
  store i64 2, ptr %464, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #5
  %465 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 0
  %466 = load ptr, ptr %465, align 8
  %467 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 1
  %468 = load i64, ptr %467, align 8
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr %466, i64 %468, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %469 unwind label %473

469:                                              ; preds = %456
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %457, ptr noundef %34, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %470 unwind label %477

470:                                              ; preds = %469
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  %471 = getelementptr inbounds %class.Tets, ptr %38, i32 0, i32 1
  %472 = getelementptr inbounds %class.Tets, ptr %38, i32 0, i32 2
  call void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %471, ptr noundef nonnull align 8 dereferenceable(105) %472)
  ret void

473:                                              ; preds = %456
  %474 = landingpad { ptr, i32 }
          cleanup
  %475 = extractvalue { ptr, i32 } %474, 0
  store ptr %475, ptr %7, align 8
  %476 = extractvalue { ptr, i32 } %474, 1
  store i32 %476, ptr %8, align 4
  br label %481

477:                                              ; preds = %469
  %478 = landingpad { ptr, i32 }
          cleanup
  %479 = extractvalue { ptr, i32 } %478, 0
  store ptr %479, ptr %7, align 8
  %480 = extractvalue { ptr, i32 } %478, 1
  store i32 %480, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #5
  br label %481

481:                                              ; preds = %477, %473
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  br label %482

482:                                              ; preds = %481, %424, %415, %169, %160, %67
  %483 = load ptr, ptr %7, align 8
  %484 = load i32, ptr %8, align 4
  %485 = insertvalue { ptr, i32 } poison, ptr %483, 0
  %486 = insertvalue { ptr, i32 } %485, i32 %484, 1
  resume { ptr, i32 } %486
}

declare noundef double @_Z9Dubiner3Djdddj(i32 noundef, double 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 @_Z12RTMonomial3Djdddjj(i32 noundef, double 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

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

; 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}
!49 = !{!10, !12, i64 80}
!50 = distinct !{!50, !44}
!51 = distinct !{!51, !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 @_ZN4Tets20set_vandermonde_matsEv(ptr noundef nonnull align 8 dereferenceable(14304) %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 = alloca %"class.std::vector.0", align 8
  %15 = alloca [2 x i32], align 4
  %16 = alloca %"class.std::allocator.2", align 1
  %17 = alloca %"class.std::vector.0", align 8
  %18 = alloca [2 x i32], align 4
  %19 = alloca %"class.std::allocator.2", align 1
  %20 = getelementptr inbounds i8, ptr %0, i64 4592
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %21 = getelementptr inbounds i8, ptr %0, i64 60
  %22 = load i32, ptr %21, align 4, !tbaa !5
  store i32 %22, ptr %3, align 4, !tbaa !35
  %23 = getelementptr inbounds i8, ptr %3, i64 4
  store i32 %22, ptr %23, 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 %24 unwind label %31

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

25:                                               ; preds = %24
  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
  %26 = load i32, ptr %21, align 4, !tbaa !5
  %.not = icmp eq i32 %26, 0
  br i1 %.not, label %._crit_edge106, label %.preheader99.preheader

.preheader99.preheader:                           ; preds = %25
  %27 = getelementptr inbounds i8, ptr %0, i64 32
  %28 = getelementptr inbounds i8, ptr %0, i64 576
  br label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %._crit_edge, %.preheader99.preheader
  %.076105 = phi i32 [ %36, %._crit_edge ], [ 0, %.preheader99.preheader ]
  br label %.lr.ph

._crit_edge106:                                   ; preds = %._crit_edge, %25
  %.lcssa103 = phi i32 [ 0, %25 ], [ %48, %._crit_edge ]
  %29 = getelementptr inbounds i8, ptr %0, i64 4704
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  store i32 %.lcssa103, ptr %6, align 4, !tbaa !35
  %30 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 %.lcssa103, ptr %30, 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 %50 unwind label %76

31:                                               ; preds = %1
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %35

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

35:                                               ; preds = %33, %31
  %.pn = phi { ptr, i32 } [ %34, %33 ], [ %32, %31 ]
  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 %199

._crit_edge:                                      ; preds = %.lr.ph
  %36 = add nuw i32 %.076105, 1
  %37 = icmp ult i32 %36, %48
  br i1 %37, label %.lr.ph.preheader, label %._crit_edge106, !llvm.loop !36

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.077104 = phi i32 [ %47, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %38 = load i32, ptr %27, align 8, !tbaa !39
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %28, i32 noundef %.076105, i32 noundef 0)
  %40 = load double, ptr %39, align 8, !tbaa !40
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %28, i32 noundef %.076105, i32 noundef 1)
  %42 = load double, ptr %41, align 8, !tbaa !40
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %28, i32 noundef %.076105, i32 noundef 2)
  %44 = load double, ptr %43, align 8, !tbaa !40
  %45 = call noundef double @_Z9Dubiner3Djdddj(i32 noundef %38, double noundef %40, double noundef %42, double noundef %44, i32 noundef %.077104)
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %20, i32 noundef %.076105, i32 noundef %.077104)
  store double %45, ptr %46, align 8, !tbaa !40
  %47 = add nuw i32 %.077104, 1
  %48 = load i32, ptr %21, align 4, !tbaa !5
  %49 = icmp ult i32 %47, %48
  br i1 %49, label %.lr.ph, label %._crit_edge, !llvm.loop !42

50:                                               ; preds = %._crit_edge106
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %29, ptr noundef nonnull %5, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %51 unwind label %78

51:                                               ; preds = %50
  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) %20, ptr noundef nonnull align 8 dereferenceable(105) %29)
  %52 = getelementptr inbounds i8, ptr %0, i64 4816
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %53 = load i32, ptr %21, align 4, !tbaa !5
  %54 = mul i32 %53, 3
  %55 = getelementptr inbounds i8, ptr %0, i64 64
  %56 = load i32, ptr %55, align 8, !tbaa !43
  %57 = add i32 %54, %56
  store i32 %57, ptr %9, align 4, !tbaa !35
  %58 = getelementptr inbounds i8, ptr %9, i64 4
  store i32 %57, ptr %58, 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 %59 unwind label %81

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

60:                                               ; preds = %59
  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
  %61 = load i32, ptr %21, align 4, !tbaa !5
  %62 = mul i32 %61, 3
  %63 = load i32, ptr %55, align 8, !tbaa !43
  %64 = sub i32 0, %63
  %.not124 = icmp eq i32 %62, %64
  br i1 %.not124, label %._crit_edge111, label %.preheader98.lr.ph

.preheader98.lr.ph:                               ; preds = %60
  %65 = getelementptr inbounds i8, ptr %0, i64 1792
  %66 = getelementptr inbounds i8, ptr %0, i64 688
  %67 = getelementptr inbounds i8, ptr %0, i64 576
  %68 = getelementptr inbounds i8, ptr %0, i64 32
  br label %.preheader98

.preheader98:                                     ; preds = %.preheader98.lr.ph, %._crit_edge109
  %69 = phi i32 [ %63, %.preheader98.lr.ph ], [ %86, %._crit_edge109 ]
  %70 = phi i32 [ %61, %.preheader98.lr.ph ], [ %87, %._crit_edge109 ]
  %.078110 = phi i32 [ 0, %.preheader98.lr.ph ], [ %88, %._crit_edge109 ]
  %71 = mul i32 %70, 3
  %72 = sub i32 0, %69
  %.not125 = icmp eq i32 %71, %72
  br i1 %.not125, label %.preheader98.._crit_edge109_crit_edge, label %.lr.ph108

.preheader98.._crit_edge109_crit_edge:            ; preds = %.preheader98
  %.pre = add i32 %71, %69
  br label %._crit_edge109

._crit_edge111:                                   ; preds = %._crit_edge109, %60
  %.lcssa102 = phi i32 [ %62, %60 ], [ %.pre-phi, %._crit_edge109 ]
  %.lcssa101 = phi i32 [ %63, %60 ], [ %86, %._crit_edge109 ]
  %.lcssa100 = phi i32 [ 0, %60 ], [ %.pre-phi136, %._crit_edge109 ]
  %73 = getelementptr inbounds i8, ptr %0, i64 4928
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  store i32 %.lcssa100, ptr %12, align 4, !tbaa !35
  %74 = getelementptr inbounds i8, ptr %12, i64 4
  %75 = mul i32 %.lcssa102, %.lcssa101
  store i32 %75, ptr %74, 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 %157 unwind label %170

76:                                               ; preds = %._crit_edge106
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %80

78:                                               ; preds = %50
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  br label %80

80:                                               ; preds = %78, %76
  %.pn83 = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  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 %199

81:                                               ; preds = %51
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %85

83:                                               ; preds = %59
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %85

85:                                               ; preds = %83, %81
  %.pn85 = phi { ptr, i32 } [ %84, %83 ], [ %82, %81 ]
  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 %199

._crit_edge109:                                   ; preds = %133, %.preheader98.._crit_edge109_crit_edge
  %.pre-phi136 = phi i32 [ %.pre, %.preheader98.._crit_edge109_crit_edge ], [ %155, %133 ]
  %.pre-phi = phi i32 [ %71, %.preheader98.._crit_edge109_crit_edge ], [ %153, %133 ]
  %86 = phi i32 [ %69, %.preheader98.._crit_edge109_crit_edge ], [ %154, %133 ]
  %87 = phi i32 [ %70, %.preheader98.._crit_edge109_crit_edge ], [ %152, %133 ]
  %88 = add nuw i32 %.078110, 1
  %89 = icmp ult i32 %88, %.pre-phi136
  br i1 %89, label %.preheader98, label %._crit_edge111, !llvm.loop !44

.lr.ph108:                                        ; preds = %.preheader98, %133
  %90 = phi i32 [ %153, %133 ], [ %71, %.preheader98 ]
  %91 = phi i32 [ %152, %133 ], [ %70, %.preheader98 ]
  %.079107 = phi i32 [ %151, %133 ], [ 0, %.preheader98 ]
  %92 = icmp ult i32 %.079107, %90
  br i1 %92, label %93, label %110

93:                                               ; preds = %.lr.ph108
  %94 = icmp ult i32 %.079107, %91
  br i1 %94, label %99, label %95

95:                                               ; preds = %93
  %96 = shl i32 %91, 1
  %97 = icmp ult i32 %.079107, %96
  br i1 %97, label %99, label %98

98:                                               ; preds = %95
  br label %99

99:                                               ; preds = %95, %93, %98
  %.sroa.1222.2 = phi double [ 1.000000e+00, %98 ], [ 0.000000e+00, %93 ], [ 0.000000e+00, %95 ]
  %.sroa.721.2 = phi double [ 0.000000e+00, %98 ], [ 0.000000e+00, %93 ], [ 1.000000e+00, %95 ]
  %.sroa.020.2 = phi double [ 0.000000e+00, %98 ], [ 1.000000e+00, %93 ], [ 0.000000e+00, %95 ]
  %100 = urem i32 %.079107, %91
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %67, i32 noundef %100, i32 noundef 0)
  %102 = load double, ptr %101, align 8, !tbaa !40
  %103 = load i32, ptr %21, align 4, !tbaa !5
  %104 = urem i32 %.079107, %103
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %67, i32 noundef %104, i32 noundef 1)
  %106 = load double, ptr %105, align 8, !tbaa !40
  %107 = load i32, ptr %21, align 4, !tbaa !5
  %108 = urem i32 %.079107, %107
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %67, i32 noundef %108, i32 noundef 2)
  br label %133

110:                                              ; preds = %.lr.ph108
  %111 = sub i32 %.079107, %90
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %65, i32 noundef %111, i32 noundef 0)
  %113 = load double, ptr %112, align 8, !tbaa !40
  %114 = load i32, ptr %21, align 4, !tbaa !5
  %.neg = mul i32 %114, -3
  %115 = add i32 %.neg, %.079107
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %65, i32 noundef %115, i32 noundef 1)
  %117 = load double, ptr %116, align 8, !tbaa !40
  %118 = load i32, ptr %21, align 4, !tbaa !5
  %.neg94 = mul i32 %118, -3
  %119 = add i32 %.neg94, %.079107
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %65, i32 noundef %119, i32 noundef 2)
  %121 = load double, ptr %120, align 8, !tbaa !40
  %122 = load i32, ptr %21, align 4, !tbaa !5
  %.neg95 = mul i32 %122, -3
  %123 = add i32 %.neg95, %.079107
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %66, i32 noundef %123, i32 noundef 0)
  %125 = load double, ptr %124, align 8, !tbaa !40
  %126 = load i32, ptr %21, align 4, !tbaa !5
  %.neg96 = mul i32 %126, -3
  %127 = add i32 %.neg96, %.079107
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %66, i32 noundef %127, i32 noundef 1)
  %129 = load double, ptr %128, align 8, !tbaa !40
  %130 = load i32, ptr %21, align 4, !tbaa !5
  %.neg97 = mul i32 %130, -3
  %131 = add i32 %.neg97, %.079107
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %66, i32 noundef %131, i32 noundef 2)
  br label %133

133:                                              ; preds = %110, %99
  %.sroa.1222.3 = phi double [ %.sroa.1222.2, %99 ], [ %121, %110 ]
  %.sroa.721.3 = phi double [ %.sroa.721.2, %99 ], [ %117, %110 ]
  %.sroa.020.3 = phi double [ %.sroa.020.2, %99 ], [ %113, %110 ]
  %.sroa.12.0.in = phi ptr [ %109, %99 ], [ %132, %110 ]
  %.sroa.7.0 = phi double [ %106, %99 ], [ %129, %110 ]
  %.sroa.013.0 = phi double [ %102, %99 ], [ %125, %110 ]
  %.sroa.12.0 = load double, ptr %.sroa.12.0.in, align 8, !tbaa !40
  %134 = load i32, ptr %68, align 8, !tbaa !39
  %135 = add i32 %134, 1
  %136 = call noundef double @_Z12RTMonomial3Djdddjj(i32 noundef %135, double noundef %.sroa.013.0, double noundef %.sroa.7.0, double noundef %.sroa.12.0, i32 noundef 0, i32 noundef %.078110)
  %137 = fmul double %.sroa.020.3, %136
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %52, i32 noundef %.078110, i32 noundef %.079107)
  store double %137, ptr %138, align 8, !tbaa !40
  %139 = load i32, ptr %68, align 8, !tbaa !39
  %140 = add i32 %139, 1
  %141 = call noundef double @_Z12RTMonomial3Djdddjj(i32 noundef %140, double noundef %.sroa.013.0, double noundef %.sroa.7.0, double noundef %.sroa.12.0, i32 noundef 1, i32 noundef %.078110)
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %52, i32 noundef %.078110, i32 noundef %.079107)
  %143 = load double, ptr %142, align 8, !tbaa !40
  %144 = call double @llvm.fmuladd.f64(double %141, double %.sroa.721.3, double %143)
  store double %144, ptr %142, align 8, !tbaa !40
  %145 = load i32, ptr %68, align 8, !tbaa !39
  %146 = add i32 %145, 1
  %147 = call noundef double @_Z12RTMonomial3Djdddjj(i32 noundef %146, double noundef %.sroa.013.0, double noundef %.sroa.7.0, double noundef %.sroa.12.0, i32 noundef 2, i32 noundef %.078110)
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %52, i32 noundef %.078110, i32 noundef %.079107)
  %149 = load double, ptr %148, align 8, !tbaa !40
  %150 = call double @llvm.fmuladd.f64(double %147, double %.sroa.1222.3, double %149)
  store double %150, ptr %148, align 8, !tbaa !40
  %151 = add nuw i32 %.079107, 1
  %152 = load i32, ptr %21, align 4, !tbaa !5
  %153 = mul i32 %152, 3
  %154 = load i32, ptr %55, align 8, !tbaa !43
  %155 = add i32 %153, %154
  %156 = icmp ult i32 %151, %155
  br i1 %156, label %.lr.ph108, label %._crit_edge109, !llvm.loop !45

157:                                              ; preds = %._crit_edge111
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %73, ptr noundef nonnull %11, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %158 unwind label %172

158:                                              ; preds = %157
  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) %52, ptr noundef nonnull align 8 dereferenceable(105) %73)
  %159 = getelementptr inbounds i8, ptr %0, i64 13968
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %160 = getelementptr inbounds i8, ptr %0, i64 80
  %161 = load i32, ptr %160, align 8, !tbaa !46
  store i32 %161, ptr %15, align 4, !tbaa !35
  %162 = getelementptr inbounds i8, ptr %15, i64 4
  store i32 %161, ptr %162, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr nonnull %15, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %163 unwind label %175

163:                                              ; preds = %158
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %159, ptr noundef nonnull %14, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %164 unwind label %177

164:                                              ; preds = %163
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  %165 = load i32, ptr %160, align 8, !tbaa !46
  %.not126 = icmp eq i32 %165, 0
  br i1 %.not126, label %._crit_edge119, label %.preheader.preheader

.preheader.preheader:                             ; preds = %164
  %166 = getelementptr inbounds i8, ptr %0, i64 32
  %167 = getelementptr inbounds i8, ptr %0, i64 14192
  br label %.lr.ph116.preheader

.lr.ph116.preheader:                              ; preds = %._crit_edge117, %.preheader.preheader
  %.075118 = phi i32 [ %180, %._crit_edge117 ], [ 0, %.preheader.preheader ]
  br label %.lr.ph116

._crit_edge119:                                   ; preds = %._crit_edge117, %164
  %.lcssa = phi i32 [ 0, %164 ], [ %190, %._crit_edge117 ]
  %168 = getelementptr inbounds i8, ptr %0, i64 14080
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  store i32 %.lcssa, ptr %18, align 4, !tbaa !35
  %169 = getelementptr inbounds i8, ptr %18, i64 4
  store i32 %.lcssa, ptr %169, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #5
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  invoke void @_ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr nonnull %18, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %192 unwind label %194

170:                                              ; preds = %._crit_edge111
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %174

172:                                              ; preds = %157
  %173 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %174

174:                                              ; preds = %172, %170
  %.pn87 = phi { ptr, i32 } [ %173, %172 ], [ %171, %170 ]
  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 %199

175:                                              ; preds = %158
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %179

177:                                              ; preds = %163
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  br label %179

179:                                              ; preds = %177, %175
  %.pn89 = phi { ptr, i32 } [ %178, %177 ], [ %176, %175 ]
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %199

._crit_edge117:                                   ; preds = %.lr.ph116
  %180 = add nuw i32 %.075118, 1
  %181 = icmp ult i32 %180, %190
  br i1 %181, label %.lr.ph116.preheader, label %._crit_edge119, !llvm.loop !47

.lr.ph116:                                        ; preds = %.lr.ph116.preheader, %.lr.ph116
  %.074115 = phi i32 [ %189, %.lr.ph116 ], [ 0, %.lr.ph116.preheader ]
  %182 = load i32, ptr %166, align 8, !tbaa !39
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %167, i32 noundef %.075118, i32 noundef 0)
  %184 = load double, ptr %183, align 8, !tbaa !40
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %167, i32 noundef %.075118, i32 noundef 1)
  %186 = load double, ptr %185, align 8, !tbaa !40
  %187 = call noundef double @_Z9Dubiner2Djddj(i32 noundef %182, double noundef %184, double noundef %186, i32 noundef %.074115)
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %159, i32 noundef %.075118, i32 noundef %.074115)
  store double %187, ptr %188, align 8, !tbaa !40
  %189 = add nuw i32 %.074115, 1
  %190 = load i32, ptr %160, align 8, !tbaa !46
  %191 = icmp ult i32 %189, %190
  br i1 %191, label %.lr.ph116, label %._crit_edge117, !llvm.loop !48

192:                                              ; preds = %._crit_edge119
  invoke void @_ZN8mdvectorIdE6assignESt6vectorIjSaIjEEdb(ptr noundef nonnull align 8 dereferenceable(105) %168, ptr noundef nonnull %17, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %193 unwind label %196

193:                                              ; preds = %192
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @_ZNK8mdvectorIdE7inverseERS0_(ptr noundef nonnull align 8 dereferenceable(105) %159, ptr noundef nonnull align 8 dereferenceable(105) %168)
  ret void

194:                                              ; preds = %._crit_edge119
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %198

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

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

199:                                              ; preds = %198, %179, %174, %85, %80, %35
  %.pn91.pn = phi { ptr, i32 } [ %.pn91, %198 ], [ %.pn89, %179 ], [ %.pn87, %174 ], [ %.pn85, %85 ], [ %.pn83, %80 ], [ %.pn, %35 ]
  resume { ptr, i32 } %.pn91.pn
}

declare noundef double @_Z9Dubiner3Djdddj(i32 noundef, double 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 @_Z12RTMonomial3Djdddjj(i32 noundef, double 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

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 @_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}
!46 = !{!6, !11, i64 80}
!47 = distinct !{!47, !37, !38}
!48 = distinct !{!48, !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