; LLVM IR from romerojosh/zefr :: src/points.ll (Z22Gauss_Legendre_weightsj)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@.str = external hidden unnamed_addr constant [64 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@constinit.9 = external hidden constant [3 x double], align 8
@constinit.10 = external hidden constant [6 x double], align 8
@constinit.11 = external hidden constant [7 x double], align 8
@constinit.12 = external hidden constant [8 x double], align 8
@constinit.13 = external hidden constant [9 x double], align 8
@constinit.14 = external hidden constant [10 x double], align 8
@__func__._Z22Gauss_Legendre_weightsj = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6

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

declare ptr @__cxa_allocate_exception(i64)

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) #2 align 2

declare void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare void @__cxa_free_exception(ptr)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z22Gauss_Legendre_weightsj(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, i32 noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i1, align 1
  %6 = alloca double, align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::initializer_list", align 8
  %11 = alloca [1 x double], align 8
  %12 = alloca %"class.std::initializer_list", align 8
  %13 = alloca [2 x double], align 8
  %14 = alloca %"class.std::initializer_list", align 8
  %15 = alloca [3 x double], align 8
  %16 = alloca %"class.std::initializer_list", align 8
  %17 = alloca [4 x double], align 8
  %18 = alloca %"class.std::initializer_list", align 8
  %19 = alloca [5 x double], align 8
  %20 = alloca %"class.std::initializer_list", align 8
  %21 = alloca [6 x double], align 8
  %22 = alloca %"class.std::initializer_list", align 8
  %23 = alloca [7 x double], align 8
  %24 = alloca %"class.std::initializer_list", align 8
  %25 = alloca [8 x double], align 8
  %26 = alloca %"class.std::initializer_list", align 8
  %27 = alloca [9 x double], align 8
  %28 = alloca %"class.std::initializer_list", align 8
  %29 = alloca [10 x double], align 8
  %30 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca i1, align 1
  store ptr %0, ptr %3, align 8
  store i32 %1, ptr %4, align 4, !tbaa !5
  store i1 false, ptr %5, align 1
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = zext i32 %33 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  store double 0.000000e+00, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKdRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %34, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %35 unwind label %37

35:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  %36 = load i32, ptr %4, align 4, !tbaa !5
  switch i32 %36, label %203 [
    i32 0, label %245
    i32 1, label %41
    i32 2, label %54
    i32 3, label %68
    i32 4, label %81
    i32 5, label %109
    i32 6, label %138
    i32 7, label %151
    i32 8, label %164
    i32 9, label %177
    i32 10, label %190
  ]

37:                                               ; preds = %2
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %8, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %250

41:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  store double 2.000000e+00, ptr %11, align 8, !tbaa !9
  %42 = getelementptr inbounds %"class.std::initializer_list", ptr %10, i32 0, i32 0
  store ptr %11, ptr %42, align 8, !tbaa !11
  %43 = getelementptr inbounds %"class.std::initializer_list", ptr %10, i32 0, i32 1
  store i64 1, ptr %43, align 8, !tbaa !15
  %44 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8
  %46 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  %47 = load i64, ptr %46, align 8
  %48 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %45, i64 %47)
          to label %49 unwind label %50

49:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %245

50:                                               ; preds = %41
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %8, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %249

54:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  store double 1.000000e+00, ptr %13, align 8, !tbaa !9
  %55 = getelementptr inbounds double, ptr %13, i64 1
  store double 1.000000e+00, ptr %55, align 8, !tbaa !9
  %56 = getelementptr inbounds %"class.std::initializer_list", ptr %12, i32 0, i32 0
  store ptr %13, ptr %56, align 8, !tbaa !11
  %57 = getelementptr inbounds %"class.std::initializer_list", ptr %12, i32 0, i32 1
  store i64 2, ptr %57, align 8, !tbaa !15
  %58 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %59 = load ptr, ptr %58, align 8
  %60 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %61 = load i64, ptr %60, align 8
  %62 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %59, i64 %61)
          to label %63 unwind label %64

63:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %245

64:                                               ; preds = %54
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %8, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %249

68:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 @constinit.9, i64 24, i1 false), !tbaa.struct !16
  %69 = getelementptr inbounds %"class.std::initializer_list", ptr %14, i32 0, i32 0
  store ptr %15, ptr %69, align 8, !tbaa !11
  %70 = getelementptr inbounds %"class.std::initializer_list", ptr %14, i32 0, i32 1
  store i64 3, ptr %70, align 8, !tbaa !15
  %71 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8
  %73 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 1
  %74 = load i64, ptr %73, align 8
  %75 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %72, i64 %74)
          to label %76 unwind label %77

76:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  br label %245

77:                                               ; preds = %68
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %8, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  br label %249

81:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  %82 = call double @sqrt(double noundef 3.000000e+01) #8
  %83 = fsub double 1.800000e+01, %82
  %84 = fmul double 0x3F9C71C71C71C71C, %83
  store double %84, ptr %17, align 8, !tbaa !9
  %85 = getelementptr inbounds double, ptr %17, i64 1
  %86 = call double @sqrt(double noundef 3.000000e+01) #8
  %87 = fadd double 1.800000e+01, %86
  %88 = fmul double 0x3F9C71C71C71C71C, %87
  store double %88, ptr %85, align 8, !tbaa !9
  %89 = getelementptr inbounds double, ptr %17, i64 2
  %90 = call double @sqrt(double noundef 3.000000e+01) #8
  %91 = fadd double 1.800000e+01, %90
  %92 = fmul double 0x3F9C71C71C71C71C, %91
  store double %92, ptr %89, align 8, !tbaa !9
  %93 = getelementptr inbounds double, ptr %17, i64 3
  %94 = call double @sqrt(double noundef 3.000000e+01) #8
  %95 = fsub double 1.800000e+01, %94
  %96 = fmul double 0x3F9C71C71C71C71C, %95
  store double %96, ptr %93, align 8, !tbaa !9
  %97 = getelementptr inbounds %"class.std::initializer_list", ptr %16, i32 0, i32 0
  store ptr %17, ptr %97, align 8, !tbaa !11
  %98 = getelementptr inbounds %"class.std::initializer_list", ptr %16, i32 0, i32 1
  store i64 4, ptr %98, align 8, !tbaa !15
  %99 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8
  %101 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %102 = load i64, ptr %101, align 8
  %103 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %100, i64 %102)
          to label %104 unwind label %105

104:                                              ; preds = %81
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  br label %245

105:                                              ; preds = %81
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %8, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  br label %249

109:                                              ; preds = %35
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #8
  %110 = call double @sqrt(double noundef 7.000000e+01) #8
  %111 = call double @llvm.fmuladd.f64(double -1.300000e+01, double %110, double 3.220000e+02)
  %112 = fmul double 0x3F523456789ABCDF, %111
  store double %112, ptr %19, align 8, !tbaa !9
  %113 = getelementptr inbounds double, ptr %19, i64 1
  %114 = call double @sqrt(double noundef 7.000000e+01) #8
  %115 = call double @llvm.fmuladd.f64(double 1.300000e+01, double %114, double 3.220000e+02)
  %116 = fmul double 0x3F523456789ABCDF, %115
  store double %116, ptr %113, align 8, !tbaa !9
  %117 = getelementptr inbounds double, ptr %19, i64 2
  store double 0x3FE23456789ABCDF, ptr %117, align 8, !tbaa !9
  %118 = getelementptr inbounds double, ptr %19, i64 3
  %119 = call double @sqrt(double noundef 7.000000e+01) #8
  %120 = call double @llvm.fmuladd.f64(double 1.300000e+01, double %119, double 3.220000e+02)
  %121 = fmul double 0x3F523456789ABCDF, %120
  store double %121, ptr %118, align 8, !tbaa !9
  %122 = getelementptr inbounds double, ptr %19, i64 4
  %123 = call double @sqrt(double noundef 7.000000e+01) #8
  %124 = call double @llvm.fmuladd.f64(double -1.300000e+01, double %123, double 3.220000e+02)
  %125 = fmul double 0x3F523456789ABCDF, %124
  store double %125, ptr %122, align 8, !tbaa !9
  %126 = getelementptr inbounds %"class.std::initializer_list", ptr %18, i32 0, i32 0
  store ptr %19, ptr %126, align 8, !tbaa !11
  %127 = getelementptr inbounds %"class.std::initializer_list", ptr %18, i32 0, i32 1
  store i64 5, ptr %127, align 8, !tbaa !15
  %128 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8
  %130 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 1
  %131 = load i64, ptr %130, align 8
  %132 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %129, i64 %131)
          to label %133 unwind label %134

133:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #8
  br label %245

134:                                              ; preds = %109
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %8, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #8
  br label %249

138:                                              ; preds = %35
  call void @llvm.lifetime.start.p0(i64 48, ptr %21) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 @constinit.10, i64 48, i1 false), !tbaa.struct !18
  %139 = getelementptr inbounds %"class.std::initializer_list", ptr %20, i32 0, i32 0
  store ptr %21, ptr %139, align 8, !tbaa !11
  %140 = getelementptr inbounds %"class.std::initializer_list", ptr %20, i32 0, i32 1
  store i64 6, ptr %140, align 8, !tbaa !15
  %141 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %142 = load ptr, ptr %141, align 8
  %143 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %144 = load i64, ptr %143, align 8
  %145 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %142, i64 %144)
          to label %146 unwind label %147

146:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #8
  br label %245

147:                                              ; preds = %138
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %8, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #8
  br label %249

151:                                              ; preds = %35
  call void @llvm.lifetime.start.p0(i64 56, ptr %23) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 @constinit.11, i64 56, i1 false), !tbaa.struct !19
  %152 = getelementptr inbounds %"class.std::initializer_list", ptr %22, i32 0, i32 0
  store ptr %23, ptr %152, align 8, !tbaa !11
  %153 = getelementptr inbounds %"class.std::initializer_list", ptr %22, i32 0, i32 1
  store i64 7, ptr %153, align 8, !tbaa !15
  %154 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 0
  %155 = load ptr, ptr %154, align 8
  %156 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 1
  %157 = load i64, ptr %156, align 8
  %158 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %155, i64 %157)
          to label %159 unwind label %160

159:                                              ; preds = %151
  call void @llvm.lifetime.end.p0(i64 56, ptr %23) #8
  br label %245

160:                                              ; preds = %151
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %8, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %23) #8
  br label %249

164:                                              ; preds = %35
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 8 @constinit.12, i64 64, i1 false), !tbaa.struct !20
  %165 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 0
  store ptr %25, ptr %165, align 8, !tbaa !11
  %166 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 1
  store i64 8, ptr %166, align 8, !tbaa !15
  %167 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %168 = load ptr, ptr %167, align 8
  %169 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %170 = load i64, ptr %169, align 8
  %171 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %168, i64 %170)
          to label %172 unwind label %173

172:                                              ; preds = %164
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #8
  br label %245

173:                                              ; preds = %164
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %8, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #8
  br label %249

177:                                              ; preds = %35
  call void @llvm.lifetime.start.p0(i64 72, ptr %27) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 @constinit.13, i64 72, i1 false), !tbaa.struct !21
  %178 = getelementptr inbounds %"class.std::initializer_list", ptr %26, i32 0, i32 0
  store ptr %27, ptr %178, align 8, !tbaa !11
  %179 = getelementptr inbounds %"class.std::initializer_list", ptr %26, i32 0, i32 1
  store i64 9, ptr %179, align 8, !tbaa !15
  %180 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 0
  %181 = load ptr, ptr %180, align 8
  %182 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 1
  %183 = load i64, ptr %182, align 8
  %184 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %181, i64 %183)
          to label %185 unwind label %186

185:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 72, ptr %27) #8
  br label %245

186:                                              ; preds = %177
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %8, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %27) #8
  br label %249

190:                                              ; preds = %35
  call void @llvm.lifetime.start.p0(i64 80, ptr %29) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 @constinit.14, i64 80, i1 false), !tbaa.struct !22
  %191 = getelementptr inbounds %"class.std::initializer_list", ptr %28, i32 0, i32 0
  store ptr %29, ptr %191, align 8, !tbaa !11
  %192 = getelementptr inbounds %"class.std::initializer_list", ptr %28, i32 0, i32 1
  store i64 10, ptr %192, align 8, !tbaa !15
  %193 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 0
  %194 = load ptr, ptr %193, align 8
  %195 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 1
  %196 = load i64, ptr %195, align 8
  %197 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %194, i64 %196)
          to label %198 unwind label %199

198:                                              ; preds = %190
  call void @llvm.lifetime.end.p0(i64 80, ptr %29) #8
  br label %245

199:                                              ; preds = %190
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %8, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 80, ptr %29) #8
  br label %249

203:                                              ; preds = %35
  call void @llvm.lifetime.start.p0(i64 392, ptr %30) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %30)
          to label %204 unwind label %223

204:                                              ; preds = %203
  %205 = getelementptr inbounds i8, ptr %30, i64 16
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %205, ptr noundef @.str)
          to label %207 unwind label %227

207:                                              ; preds = %204
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %206, ptr noundef @.str.5)
          to label %209 unwind label %227

209:                                              ; preds = %207
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %208, i32 noundef 204)
          to label %211 unwind label %227

211:                                              ; preds = %209
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %210, ptr noundef @.str.5)
          to label %213 unwind label %227

213:                                              ; preds = %211
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %212, ptr noundef @__func__._Z22Gauss_Legendre_weightsj)
          to label %215 unwind label %227

215:                                              ; preds = %213
  %216 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %214, ptr noundef @.str.6)
          to label %217 unwind label %227

217:                                              ; preds = %215
  %218 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %216, ptr noundef @.str.15)
          to label %219 unwind label %227

219:                                              ; preds = %217
  store i1 true, ptr %32, align 1
  %220 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %31, ptr noundef nonnull align 8 dereferenceable(128) %30)
          to label %221 unwind label %231

221:                                              ; preds = %219
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %220, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %222 unwind label %235

222:                                              ; preds = %221
  store i1 false, ptr %32, align 1
  invoke void @__cxa_throw(ptr %220, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %255 unwind label %235

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

227:                                              ; preds = %217, %215, %213, %211, %209, %207, %204
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %8, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %9, align 4
  br label %243

231:                                              ; preds = %219
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %8, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %9, align 4
  br label %239

235:                                              ; preds = %222, %221
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %8, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  br label %239

239:                                              ; preds = %235, %231
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #8
  %240 = load i1, ptr %32, align 1
  br i1 %240, label %241, label %242

241:                                              ; preds = %239
  call void @__cxa_free_exception(ptr %220) #8
  br label %242

242:                                              ; preds = %241, %239
  br label %243

243:                                              ; preds = %242, %227
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %30) #8
  br label %244

244:                                              ; preds = %243, %223
  call void @llvm.lifetime.end.p0(i64 392, ptr %30) #8
  br label %249

245:                                              ; preds = %198, %185, %172, %159, %146, %133, %104, %76, %63, %49, %35
  store i1 true, ptr %5, align 1
  %246 = load i1, ptr %5, align 1
  br i1 %246, label %248, label %247

247:                                              ; preds = %245
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  br label %248

248:                                              ; preds = %247, %245
  ret void

249:                                              ; preds = %244, %199, %186, %173, %160, %147, %134, %105, %77, %64, %50
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  br label %250

250:                                              ; preds = %249, %37
  %251 = load ptr, ptr %8, align 8
  %252 = load i32, ptr %9, align 4
  %253 = insertvalue { ptr, i32 } poison, ptr %251, 0
  %254 = insertvalue { ptr, i32 } %253, i32 %252, 1
  resume { ptr, i32 } %254

255:                                              ; preds = %222
  unreachable
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSSt16initializer_listIdE", !13, i64 0, !14, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!12, !14, i64 8}
!16 = !{i64 0, i64 24, !17}
!17 = !{!7, !7, i64 0}
!18 = !{i64 0, i64 48, !17}
!19 = !{i64 0, i64 56, !17}
!20 = !{i64 0, i64 64, !17}
!21 = !{i64 0, i64 72, !17}
!22 = !{i64 0, i64 80, !17}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@.str = external hidden unnamed_addr constant [64 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@constinit.9 = external hidden local_unnamed_addr constant [3 x double], align 8
@constinit.10 = external hidden local_unnamed_addr constant [6 x double], align 8
@constinit.11 = external hidden local_unnamed_addr constant [7 x double], align 8
@constinit.12 = external hidden local_unnamed_addr constant [8 x double], align 8
@constinit.13 = external hidden local_unnamed_addr constant [9 x double], align 8
@constinit.14 = external hidden local_unnamed_addr constant [10 x double], align 8
@__func__._Z22Gauss_Legendre_weightsj = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2 align 2

declare void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z22Gauss_Legendre_weightsj(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, i32 noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca double, align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca [1 x double], align 8
  %6 = alloca [2 x double], align 16
  %7 = alloca [3 x double], align 8
  %8 = alloca [4 x double], align 16
  %9 = alloca [5 x double], align 16
  %10 = alloca [6 x double], align 8
  %11 = alloca [7 x double], align 8
  %12 = alloca [8 x double], align 8
  %13 = alloca [9 x double], align 8
  %14 = alloca [10 x double], align 8
  %15 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = zext i32 %1 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  store double 0.000000e+00, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #7
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKdRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %17, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %18 unwind label %19

18:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  switch i32 %1, label %74 [
    i32 0, label %105
    i32 1, label %21
    i32 2, label %26
    i32 3, label %31
    i32 4, label %36
    i32 5, label %42
    i32 6, label %49
    i32 7, label %54
    i32 8, label %59
    i32 9, label %64
    i32 10, label %69
  ]

19:                                               ; preds = %2
  %20 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  br label %107

21:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  store double 2.000000e+00, ptr %5, align 8, !tbaa !5
  %22 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nonnull %5, i64 1)
          to label %23 unwind label %24

23:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %105

24:                                               ; preds = %21
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %106

26:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %6, align 16, !tbaa !5
  %27 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nonnull %6, i64 2)
          to label %28 unwind label %29

28:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %105

29:                                               ; preds = %26
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %106

31:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) @constinit.9, i64 24, i1 false), !tbaa.struct !9
  %32 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nonnull %7, i64 3)
          to label %33 unwind label %34

33:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  br label %105

34:                                               ; preds = %31
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  br label %106

36:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #7
  store <2 x double> <double 0x3FD64340F7E7B66A, double 0x3FE4DE5F840C24CA>, ptr %8, align 16, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %8, i64 16
  store <2 x double> <double 0x3FE4DE5F840C24CA, double 0x3FD64340F7E7B66A>, ptr %37, align 16, !tbaa !5
  %38 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nonnull %8, i64 4)
          to label %39 unwind label %40

39:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  br label %105

40:                                               ; preds = %36
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  br label %106

42:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #7
  store <2 x double> <double 0x3FCE539EC36E038C, double 0x3FDEA1DA25AE415B>, ptr %9, align 16, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %9, i64 16
  store <2 x double> <double 0x3FE23456789ABCDF, double 0x3FDEA1DA25AE415B>, ptr %43, align 16, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %9, i64 32
  store double 0x3FCE539EC36E038C, ptr %44, align 16, !tbaa !5
  %45 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nonnull %9, i64 5)
          to label %46 unwind label %47

46:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #7
  br label %105

47:                                               ; preds = %42
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #7
  br label %106

49:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) @constinit.10, i64 48, i1 false), !tbaa.struct !11
  %50 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nonnull %10, i64 6)
          to label %51 unwind label %52

51:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #7
  br label %105

52:                                               ; preds = %49
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #7
  br label %106

54:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %11) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %11, ptr noundef nonnull align 8 dereferenceable(56) @constinit.11, i64 56, i1 false), !tbaa.struct !12
  %55 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nonnull %11, i64 7)
          to label %56 unwind label %57

56:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #7
  br label %105

57:                                               ; preds = %54
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #7
  br label %106

59:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %12, ptr noundef nonnull align 8 dereferenceable(64) @constinit.12, i64 64, i1 false), !tbaa.struct !13
  %60 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nonnull %12, i64 8)
          to label %61 unwind label %62

61:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #7
  br label %105

62:                                               ; preds = %59
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #7
  br label %106

64:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %13) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %13, ptr noundef nonnull align 8 dereferenceable(72) @constinit.13, i64 72, i1 false), !tbaa.struct !14
  %65 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nonnull %13, i64 9)
          to label %66 unwind label %67

66:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %13) #7
  br label %105

67:                                               ; preds = %64
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %13) #7
  br label %106

69:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %14) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %14, ptr noundef nonnull align 8 dereferenceable(80) @constinit.14, i64 80, i1 false), !tbaa.struct !15
  %70 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nonnull %14, i64 10)
          to label %71 unwind label %72

71:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #7
  br label %105

72:                                               ; preds = %69
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #7
  br label %106

74:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %15) #7
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %15)
          to label %75 unwind label %95

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

78:                                               ; preds = %75
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull @.str.5)
          to label %80 unwind label %97

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

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

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

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

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

90:                                               ; preds = %88
  %91 = call ptr @__cxa_allocate_exception(i64 16) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #7
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(128) %15)
          to label %92 unwind label %.thread

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

.thread38:                                        ; preds = %92
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  br label %102

94:                                               ; preds = %92
  invoke void @__cxa_throw(ptr nonnull %91, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %108 unwind label %100

95:                                               ; preds = %74
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %104

97:                                               ; preds = %88, %86, %84, %82, %80, %78, %75
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %103

.thread:                                          ; preds = %90
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  br label %102

100:                                              ; preds = %94
  %101 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  br label %103

102:                                              ; preds = %.thread38, %.thread
  %.pn37 = phi { ptr, i32 } [ %99, %.thread ], [ %93, %.thread38 ]
  call void @__cxa_free_exception(ptr %91) #7
  br label %103

103:                                              ; preds = %100, %102, %97
  %.pn.pn = phi { ptr, i32 } [ %.pn37, %102 ], [ %101, %100 ], [ %98, %97 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %15) #7
  br label %104

104:                                              ; preds = %103, %95
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %103 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %15) #7
  br label %106

105:                                              ; preds = %18, %23, %28, %33, %39, %46, %51, %56, %61, %66, %71
  ret void

106:                                              ; preds = %104, %72, %67, %62, %57, %52, %47, %40, %34, %29, %24
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %104 ], [ %73, %72 ], [ %68, %67 ], [ %63, %62 ], [ %58, %57 ], [ %53, %52 ], [ %48, %47 ], [ %41, %40 ], [ %35, %34 ], [ %30, %29 ], [ %25, %24 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  br label %107

107:                                              ; preds = %106, %19
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %106 ], [ %20, %19 ]
  resume { ptr, i32 } %.pn.pn.pn.pn.pn

108:                                              ; preds = %94
  unreachable
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 24, !10}
!10 = !{!7, !7, i64 0}
!11 = !{i64 0, i64 48, !10}
!12 = !{i64 0, i64 56, !10}
!13 = !{i64 0, i64 64, !10}
!14 = !{i64 0, i64 72, !10}
!15 = !{i64 0, i64 80, !10}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass