; LLVM IR from romerojosh/zefr :: src/hexas.ll (ZN5Hexas12calc_d_shapeER8mdvectorIdEPKd)

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

%"class.std::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.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.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::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.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] }>

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef double @_ZL11Lagrange_d1RKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, double noundef) #3

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEdj(ptr noundef nonnull align 8 dereferenceable(24), double noundef, i32 noundef) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Hexas12calc_d_shapeER8mdvectorIdEPKd(ptr noundef nonnull align 8 dereferenceable(13968) %0, ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef %2) unnamed_addr #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::vector.7", align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %19 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds double, ptr %20, i64 0
  %22 = load double, ptr %21, align 8, !tbaa !9
  store double %22, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds double, ptr %23, i64 1
  %25 = load double, ptr %24, align 8, !tbaa !9
  store double %25, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds double, ptr %26, i64 2
  %28 = load double, ptr %27, align 8, !tbaa !9
  store double %28, ptr %9, align 8, !tbaa !9
  %29 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 81
  %30 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  %31 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %32 = load i32, ptr %31, align 8, !tbaa !11
  %33 = zext i32 %32 to i64
  %34 = icmp ne i64 %30, %33
  br i1 %34, label %35, label %64

35:                                               ; preds = %3
  %36 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 81
  %37 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %38 = load i32, ptr %37, align 8, !tbaa !11
  %39 = zext i32 %38 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %39)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %40 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %41 = load i32, ptr %40, align 8, !tbaa !11
  %42 = sub i32 %41, 1
  %43 = uitofp i32 %42 to double
  %44 = fdiv double 2.000000e+00, %43
  store double %44, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !38
  br label %45

45:                                               ; preds = %60, %35
  %46 = load i32, ptr %11, align 4, !tbaa !38
  %47 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %48 = load i32, ptr %47, align 8, !tbaa !11
  %49 = icmp ult i32 %46, %48
  br i1 %49, label %51, label %50

50:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %63

51:                                               ; preds = %45
  %52 = load i32, ptr %11, align 4, !tbaa !38
  %53 = sitofp i32 %52 to double
  %54 = load double, ptr %10, align 8, !tbaa !9
  %55 = call double @llvm.fmuladd.f64(double %53, double %54, double -1.000000e+00)
  %56 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 81
  %57 = load i32, ptr %11, align 4, !tbaa !38
  %58 = sext i32 %57 to i64
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %58) #6
  store double %55, ptr %59, align 8, !tbaa !9
  br label %60

60:                                               ; preds = %51
  %61 = load i32, ptr %11, align 4, !tbaa !38
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %11, align 4, !tbaa !38
  br label %45, !llvm.loop !39

63:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %64

64:                                               ; preds = %63, %3
  %65 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 88
  %66 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #6
  %67 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 19
  %68 = load i32, ptr %67, align 8, !tbaa !41
  %69 = zext i32 %68 to i64
  %70 = icmp ne i64 %66, %69
  br i1 %70, label %71, label %76

71:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #6
  %72 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 19
  %73 = load i32, ptr %72, align 8, !tbaa !41
  call void @_Z22structured_to_gmsh_hexj(ptr dead_on_unwind writable sret(%"class.std::vector.7") align 8 %12, i32 noundef %73)
  %74 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 88
  %75 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  br label %76

76:                                               ; preds = %71, %64
  %77 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 85
  %78 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #6
  %79 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %80 = load i32, ptr %79, align 8, !tbaa !11
  %81 = zext i32 %80 to i64
  %82 = icmp ne i64 %78, %81
  br i1 %82, label %83, label %108

83:                                               ; preds = %76
  %84 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 82
  %85 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %86 = load i32, ptr %85, align 8, !tbaa !11
  %87 = zext i32 %86 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %87)
  %88 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 83
  %89 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %90 = load i32, ptr %89, align 8, !tbaa !11
  %91 = zext i32 %90 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %91)
  %92 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 84
  %93 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %94 = load i32, ptr %93, align 8, !tbaa !11
  %95 = zext i32 %94 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %95)
  %96 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 85
  %97 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %98 = load i32, ptr %97, align 8, !tbaa !11
  %99 = zext i32 %98 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %99)
  %100 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 86
  %101 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %102 = load i32, ptr %101, align 8, !tbaa !11
  %103 = zext i32 %102 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %103)
  %104 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 87
  %105 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %106 = load i32, ptr %105, align 8, !tbaa !11
  %107 = zext i32 %106 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %107)
  br label %108

108:                                              ; preds = %83, %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !38
  br label %109

109:                                              ; preds = %164, %108
  %110 = load i32, ptr %13, align 4, !tbaa !38
  %111 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %112 = load i32, ptr %111, align 8, !tbaa !11
  %113 = icmp ult i32 %110, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %167

115:                                              ; preds = %109
  %116 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 81
  %117 = load double, ptr %7, align 8, !tbaa !9
  %118 = load i32, ptr %13, align 4, !tbaa !38
  %119 = call noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEdj(ptr noundef nonnull align 8 dereferenceable(24) %116, double noundef %117, i32 noundef %118)
  %120 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 82
  %121 = load i32, ptr %13, align 4, !tbaa !38
  %122 = sext i32 %121 to i64
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %122) #6
  store double %119, ptr %123, align 8, !tbaa !9
  %124 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 81
  %125 = load double, ptr %8, align 8, !tbaa !9
  %126 = load i32, ptr %13, align 4, !tbaa !38
  %127 = call noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEdj(ptr noundef nonnull align 8 dereferenceable(24) %124, double noundef %125, i32 noundef %126)
  %128 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 83
  %129 = load i32, ptr %13, align 4, !tbaa !38
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %128, i64 noundef %130) #6
  store double %127, ptr %131, align 8, !tbaa !9
  %132 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 81
  %133 = load double, ptr %9, align 8, !tbaa !9
  %134 = load i32, ptr %13, align 4, !tbaa !38
  %135 = call noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEdj(ptr noundef nonnull align 8 dereferenceable(24) %132, double noundef %133, i32 noundef %134)
  %136 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 84
  %137 = load i32, ptr %13, align 4, !tbaa !38
  %138 = sext i32 %137 to i64
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %136, i64 noundef %138) #6
  store double %135, ptr %139, align 8, !tbaa !9
  %140 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 81
  %141 = load i32, ptr %13, align 4, !tbaa !38
  %142 = load double, ptr %7, align 8, !tbaa !9
  %143 = call noundef double @_ZL11Lagrange_d1RKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %140, i32 noundef %141, double noundef %142)
  %144 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 85
  %145 = load i32, ptr %13, align 4, !tbaa !38
  %146 = sext i32 %145 to i64
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %144, i64 noundef %146) #6
  store double %143, ptr %147, align 8, !tbaa !9
  %148 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 81
  %149 = load i32, ptr %13, align 4, !tbaa !38
  %150 = load double, ptr %8, align 8, !tbaa !9
  %151 = call noundef double @_ZL11Lagrange_d1RKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %148, i32 noundef %149, double noundef %150)
  %152 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 86
  %153 = load i32, ptr %13, align 4, !tbaa !38
  %154 = sext i32 %153 to i64
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef %154) #6
  store double %151, ptr %155, align 8, !tbaa !9
  %156 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 81
  %157 = load i32, ptr %13, align 4, !tbaa !38
  %158 = load double, ptr %9, align 8, !tbaa !9
  %159 = call noundef double @_ZL11Lagrange_d1RKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %156, i32 noundef %157, double noundef %158)
  %160 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 87
  %161 = load i32, ptr %13, align 4, !tbaa !38
  %162 = sext i32 %161 to i64
  %163 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef %162) #6
  store double %159, ptr %163, align 8, !tbaa !9
  br label %164

164:                                              ; preds = %115
  %165 = load i32, ptr %13, align 4, !tbaa !38
  %166 = add nsw i32 %165, 1
  store i32 %166, ptr %13, align 4, !tbaa !38
  br label %109, !llvm.loop !42

167:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !38
  br label %168

168:                                              ; preds = %271, %167
  %169 = load i32, ptr %15, align 4, !tbaa !38
  %170 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %171 = load i32, ptr %170, align 8, !tbaa !11
  %172 = icmp ult i32 %169, %171
  br i1 %172, label %174, label %173

173:                                              ; preds = %168
  store i32 8, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %274

174:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !38
  br label %175

175:                                              ; preds = %267, %174
  %176 = load i32, ptr %17, align 4, !tbaa !38
  %177 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %178 = load i32, ptr %177, align 8, !tbaa !11
  %179 = icmp ult i32 %176, %178
  br i1 %179, label %181, label %180

180:                                              ; preds = %175
  store i32 11, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %270

181:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !38
  br label %182

182:                                              ; preds = %263, %181
  %183 = load i32, ptr %18, align 4, !tbaa !38
  %184 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 80
  %185 = load i32, ptr %184, align 8, !tbaa !11
  %186 = icmp ult i32 %183, %185
  br i1 %186, label %188, label %187

187:                                              ; preds = %182
  store i32 14, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %266

188:                                              ; preds = %182
  %189 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 85
  %190 = load i32, ptr %18, align 4, !tbaa !38
  %191 = sext i32 %190 to i64
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %189, i64 noundef %191) #6
  %193 = load double, ptr %192, align 8, !tbaa !9
  %194 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 83
  %195 = load i32, ptr %17, align 4, !tbaa !38
  %196 = sext i32 %195 to i64
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %194, i64 noundef %196) #6
  %198 = load double, ptr %197, align 8, !tbaa !9
  %199 = fmul double %193, %198
  %200 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 84
  %201 = load i32, ptr %15, align 4, !tbaa !38
  %202 = sext i32 %201 to i64
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %200, i64 noundef %202) #6
  %204 = load double, ptr %203, align 8, !tbaa !9
  %205 = fmul double %199, %204
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 88
  %208 = load i32, ptr %14, align 4, !tbaa !38
  %209 = sext i32 %208 to i64
  %210 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %207, i64 noundef %209) #6
  %211 = load i32, ptr %210, align 4, !tbaa !38
  %212 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %206, i32 noundef %211, i32 noundef 0)
  store double %205, ptr %212, align 8, !tbaa !9
  %213 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 82
  %214 = load i32, ptr %18, align 4, !tbaa !38
  %215 = sext i32 %214 to i64
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %213, i64 noundef %215) #6
  %217 = load double, ptr %216, align 8, !tbaa !9
  %218 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 86
  %219 = load i32, ptr %17, align 4, !tbaa !38
  %220 = sext i32 %219 to i64
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %218, i64 noundef %220) #6
  %222 = load double, ptr %221, align 8, !tbaa !9
  %223 = fmul double %217, %222
  %224 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 84
  %225 = load i32, ptr %15, align 4, !tbaa !38
  %226 = sext i32 %225 to i64
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %224, i64 noundef %226) #6
  %228 = load double, ptr %227, align 8, !tbaa !9
  %229 = fmul double %223, %228
  %230 = load ptr, ptr %5, align 8, !tbaa !5
  %231 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 88
  %232 = load i32, ptr %14, align 4, !tbaa !38
  %233 = sext i32 %232 to i64
  %234 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %231, i64 noundef %233) #6
  %235 = load i32, ptr %234, align 4, !tbaa !38
  %236 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %230, i32 noundef %235, i32 noundef 1)
  store double %229, ptr %236, align 8, !tbaa !9
  %237 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 82
  %238 = load i32, ptr %18, align 4, !tbaa !38
  %239 = sext i32 %238 to i64
  %240 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %237, i64 noundef %239) #6
  %241 = load double, ptr %240, align 8, !tbaa !9
  %242 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 83
  %243 = load i32, ptr %17, align 4, !tbaa !38
  %244 = sext i32 %243 to i64
  %245 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %242, i64 noundef %244) #6
  %246 = load double, ptr %245, align 8, !tbaa !9
  %247 = fmul double %241, %246
  %248 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 87
  %249 = load i32, ptr %15, align 4, !tbaa !38
  %250 = sext i32 %249 to i64
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %248, i64 noundef %250) #6
  %252 = load double, ptr %251, align 8, !tbaa !9
  %253 = fmul double %247, %252
  %254 = load ptr, ptr %5, align 8, !tbaa !5
  %255 = getelementptr inbounds %class.Elements, ptr %19, i32 0, i32 88
  %256 = load i32, ptr %14, align 4, !tbaa !38
  %257 = sext i32 %256 to i64
  %258 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %255, i64 noundef %257) #6
  %259 = load i32, ptr %258, align 4, !tbaa !38
  %260 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %254, i32 noundef %259, i32 noundef 2)
  store double %253, ptr %260, align 8, !tbaa !9
  %261 = load i32, ptr %14, align 4, !tbaa !38
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %14, align 4, !tbaa !38
  br label %263

263:                                              ; preds = %188
  %264 = load i32, ptr %18, align 4, !tbaa !38
  %265 = add nsw i32 %264, 1
  store i32 %265, ptr %18, align 4, !tbaa !38
  br label %182, !llvm.loop !43

266:                                              ; preds = %187
  br label %267

267:                                              ; preds = %266
  %268 = load i32, ptr %17, align 4, !tbaa !38
  %269 = add nsw i32 %268, 1
  store i32 %269, ptr %17, align 4, !tbaa !38
  br label %175, !llvm.loop !44

270:                                              ; preds = %180
  br label %271

271:                                              ; preds = %270
  %272 = load i32, ptr %15, align 4, !tbaa !38
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr %15, align 4, !tbaa !38
  br label %168, !llvm.loop !45

274:                                              ; preds = %173
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  ret void
}

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

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

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


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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef double @_ZL11Lagrange_d1RKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, double noundef) local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEdj(ptr noundef nonnull align 8 dereferenceable(24), double noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Hexas12calc_d_shapeER8mdvectorIdEPKd(ptr noundef nonnull align 8 dereferenceable(13968) %0, ptr noundef nonnull align 8 dereferenceable(105) %1, ptr nocapture noundef readonly %2) unnamed_addr #2 align 2 {
  %4 = alloca %"class.std::vector.7", align 8
  %5 = load double, ptr %2, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %2, i64 8
  %7 = load double, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %2, i64 16
  %9 = load double, ptr %8, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 6056
  %11 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  %12 = getelementptr inbounds i8, ptr %0, i64 6048
  %13 = load i32, ptr %12, align 8, !tbaa !9
  %14 = zext i32 %13 to i64
  %.not = icmp eq i64 %11, %14
  br i1 %.not, label %.loopexit, label %15

15:                                               ; preds = %3
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %14)
  %16 = load i32, ptr %12, align 8, !tbaa !9
  %17 = add i32 %16, -1
  %18 = uitofp i32 %17 to double
  %19 = fdiv double 2.000000e+00, %18
  %.not74 = icmp eq i32 %16, 0
  br i1 %.not74, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %15, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %15 ]
  %20 = trunc nuw nsw i64 %indvars.iv to i32
  %21 = uitofp nneg i32 %20 to double
  %22 = tail call double @llvm.fmuladd.f64(double %21, double %19, double -1.000000e+00)
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv) #6
  store double %22, ptr %23, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %24 = load i32, ptr %12, align 8, !tbaa !9
  %25 = zext i32 %24 to i64
  %26 = icmp ult i64 %indvars.iv.next, %25
  br i1 %26, label %.lr.ph, label %.loopexit, !llvm.loop !37

.loopexit:                                        ; preds = %.lr.ph, %15, %3
  %27 = getelementptr inbounds i8, ptr %0, i64 6224
  %28 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  %29 = getelementptr inbounds i8, ptr %0, i64 88
  %30 = load i32, ptr %29, align 8, !tbaa !39
  %31 = zext i32 %30 to i64
  %.not57 = icmp eq i64 %28, %31
  br i1 %.not57, label %34, label %32

32:                                               ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @_Z22structured_to_gmsh_hexj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.7") align 8 %4, i32 noundef %30)
  %33 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  br label %34

34:                                               ; preds = %32, %.loopexit
  %35 = getelementptr inbounds i8, ptr %0, i64 6152
  %36 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #6
  %37 = load i32, ptr %12, align 8, !tbaa !9
  %38 = zext i32 %37 to i64
  %.not58 = icmp eq i64 %36, %38
  br i1 %.not58, label %55, label %39

39:                                               ; preds = %34
  %40 = getelementptr inbounds i8, ptr %0, i64 6080
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %38)
  %41 = getelementptr inbounds i8, ptr %0, i64 6104
  %42 = load i32, ptr %12, align 8, !tbaa !9
  %43 = zext i32 %42 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %43)
  %44 = getelementptr inbounds i8, ptr %0, i64 6128
  %45 = load i32, ptr %12, align 8, !tbaa !9
  %46 = zext i32 %45 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %46)
  %47 = load i32, ptr %12, align 8, !tbaa !9
  %48 = zext i32 %47 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %48)
  %49 = getelementptr inbounds i8, ptr %0, i64 6176
  %50 = load i32, ptr %12, align 8, !tbaa !9
  %51 = zext i32 %50 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %51)
  %52 = getelementptr inbounds i8, ptr %0, i64 6200
  %53 = load i32, ptr %12, align 8, !tbaa !9
  %54 = zext i32 %53 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %54)
  %.pre = load i32, ptr %12, align 8, !tbaa !9
  br label %55

55:                                               ; preds = %39, %34
  %56 = phi i32 [ %.pre, %39 ], [ %37, %34 ]
  %.not75 = icmp eq i32 %56, 0
  br i1 %.not75, label %._crit_edge73, label %.lr.ph63

.lr.ph63:                                         ; preds = %55
  %57 = getelementptr inbounds i8, ptr %0, i64 6080
  %58 = getelementptr inbounds i8, ptr %0, i64 6104
  %59 = getelementptr inbounds i8, ptr %0, i64 6128
  %60 = getelementptr inbounds i8, ptr %0, i64 6176
  %61 = getelementptr inbounds i8, ptr %0, i64 6200
  br label %67

.preheader60:                                     ; preds = %67
  %.not76 = icmp eq i32 %81, 0
  br i1 %.not76, label %._crit_edge73, label %.preheader59.preheader

.preheader59.preheader:                           ; preds = %.preheader60
  %62 = getelementptr inbounds i8, ptr %0, i64 6104
  %63 = getelementptr inbounds i8, ptr %0, i64 6128
  %64 = getelementptr inbounds i8, ptr %0, i64 6080
  %65 = getelementptr inbounds i8, ptr %0, i64 6176
  %66 = getelementptr inbounds i8, ptr %0, i64 6200
  br label %.preheader59

67:                                               ; preds = %.lr.ph63, %67
  %indvars.iv84 = phi i64 [ 0, %.lr.ph63 ], [ %indvars.iv.next85, %67 ]
  %68 = trunc nuw nsw i64 %indvars.iv84 to i32
  %69 = call noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEdj(ptr noundef nonnull align 8 dereferenceable(24) %10, double noundef %5, i32 noundef %68)
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %indvars.iv84) #6
  store double %69, ptr %70, align 8, !tbaa !5
  %71 = call noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEdj(ptr noundef nonnull align 8 dereferenceable(24) %10, double noundef %7, i32 noundef %68)
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %indvars.iv84) #6
  store double %71, ptr %72, align 8, !tbaa !5
  %73 = call noundef double @_ZL8LagrangeRKSt6vectorIdSaIdEEdj(ptr noundef nonnull align 8 dereferenceable(24) %10, double noundef %9, i32 noundef %68)
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %indvars.iv84) #6
  store double %73, ptr %74, align 8, !tbaa !5
  %75 = call noundef double @_ZL11Lagrange_d1RKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %10, i32 noundef %68, double noundef %5)
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %indvars.iv84) #6
  store double %75, ptr %76, align 8, !tbaa !5
  %77 = call noundef double @_ZL11Lagrange_d1RKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %10, i32 noundef %68, double noundef %7)
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %indvars.iv84) #6
  store double %77, ptr %78, align 8, !tbaa !5
  %79 = call noundef double @_ZL11Lagrange_d1RKSt6vectorIdSaIdEEjd(ptr noundef nonnull align 8 dereferenceable(24) %10, i32 noundef %68, double noundef %9)
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %indvars.iv84) #6
  store double %79, ptr %80, align 8, !tbaa !5
  %indvars.iv.next85 = add nuw nsw i64 %indvars.iv84, 1
  %81 = load i32, ptr %12, align 8, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = icmp ult i64 %indvars.iv.next85, %82
  br i1 %83, label %67, label %.preheader60, !llvm.loop !40

.preheader59:                                     ; preds = %.preheader59.preheader, %._crit_edge69
  %84 = phi i32 [ %81, %.preheader59.preheader ], [ %88, %._crit_edge69 ]
  %indvars.iv97 = phi i64 [ 0, %.preheader59.preheader ], [ %indvars.iv.next98, %._crit_edge69 ]
  %.05271 = phi i32 [ 0, %.preheader59.preheader ], [ %.1.lcssa, %._crit_edge69 ]
  %.not78 = icmp eq i32 %84, 0
  br i1 %.not78, label %._crit_edge69, label %.preheader

._crit_edge73:                                    ; preds = %._crit_edge69, %55, %.preheader60
  ret void

.preheader:                                       ; preds = %.preheader59, %._crit_edge
  %85 = phi i32 [ %92, %._crit_edge ], [ %84, %.preheader59 ]
  %86 = phi i32 [ %93, %._crit_edge ], [ 1, %.preheader59 ]
  %indvars.iv94 = phi i64 [ %indvars.iv.next95, %._crit_edge ], [ 0, %.preheader59 ]
  %.167 = phi i32 [ %.2.lcssa, %._crit_edge ], [ %.05271, %.preheader59 ]
  %.not80 = icmp eq i32 %86, 0
  br i1 %.not80, label %._crit_edge, label %.lr.ph66

.lr.ph66:                                         ; preds = %.preheader
  %87 = sext i32 %.167 to i64
  br label %96

._crit_edge69:                                    ; preds = %._crit_edge, %.preheader59
  %88 = phi i32 [ 0, %.preheader59 ], [ %92, %._crit_edge ]
  %.1.lcssa = phi i32 [ %.05271, %.preheader59 ], [ %.2.lcssa, %._crit_edge ]
  %indvars.iv.next98 = add nuw nsw i64 %indvars.iv97, 1
  %89 = zext i32 %88 to i64
  %90 = icmp ult i64 %indvars.iv.next98, %89
  br i1 %90, label %.preheader59, label %._crit_edge73, !llvm.loop !41

._crit_edge.loopexit:                             ; preds = %96
  %91 = trunc nsw i64 %indvars.iv.next90 to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %.preheader, %._crit_edge.loopexit
  %92 = phi i32 [ %130, %._crit_edge.loopexit ], [ %85, %.preheader ]
  %93 = phi i32 [ %130, %._crit_edge.loopexit ], [ 0, %.preheader ]
  %.2.lcssa = phi i32 [ %91, %._crit_edge.loopexit ], [ %.167, %.preheader ]
  %indvars.iv.next95 = add nuw nsw i64 %indvars.iv94, 1
  %94 = zext i32 %93 to i64
  %95 = icmp ult i64 %indvars.iv.next95, %94
  br i1 %95, label %.preheader, label %._crit_edge69, !llvm.loop !43

96:                                               ; preds = %.lr.ph66, %96
  %indvars.iv89 = phi i64 [ %87, %.lr.ph66 ], [ %indvars.iv.next90, %96 ]
  %indvars.iv87 = phi i64 [ 0, %.lr.ph66 ], [ %indvars.iv.next88, %96 ]
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %indvars.iv87) #6
  %98 = load double, ptr %97, align 8, !tbaa !5
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %indvars.iv94) #6
  %100 = load double, ptr %99, align 8, !tbaa !5
  %101 = fmul double %98, %100
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %indvars.iv97) #6
  %103 = load double, ptr %102, align 8, !tbaa !5
  %104 = fmul double %101, %103
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv89) #6
  %106 = load i32, ptr %105, align 4, !tbaa !44
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %1, i32 noundef %106, i32 noundef 0)
  store double %104, ptr %107, align 8, !tbaa !5
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %indvars.iv87) #6
  %109 = load double, ptr %108, align 8, !tbaa !5
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %indvars.iv94) #6
  %111 = load double, ptr %110, align 8, !tbaa !5
  %112 = fmul double %109, %111
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %indvars.iv97) #6
  %114 = load double, ptr %113, align 8, !tbaa !5
  %115 = fmul double %112, %114
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv89) #6
  %117 = load i32, ptr %116, align 4, !tbaa !44
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %1, i32 noundef %117, i32 noundef 1)
  store double %115, ptr %118, align 8, !tbaa !5
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %indvars.iv87) #6
  %120 = load double, ptr %119, align 8, !tbaa !5
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %indvars.iv94) #6
  %122 = load double, ptr %121, align 8, !tbaa !5
  %123 = fmul double %120, %122
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %indvars.iv97) #6
  %125 = load double, ptr %124, align 8, !tbaa !5
  %126 = fmul double %123, %125
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv89) #6
  %128 = load i32, ptr %127, align 4, !tbaa !44
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8mdvectorIdEclEjj(ptr noundef nonnull align 8 dereferenceable(105) %1, i32 noundef %128, i32 noundef 2)
  store double %126, ptr %129, align 8, !tbaa !5
  %indvars.iv.next90 = add nsw i64 %indvars.iv89, 1
  %indvars.iv.next88 = add nuw nsw i64 %indvars.iv87, 1
  %130 = load i32, ptr %12, align 8, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = icmp ult i64 %indvars.iv.next88, %131
  br i1 %132, label %96, label %._crit_edge.loopexit, !llvm.loop !45
}

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

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


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