; LLVM IR from VeloxChem/VeloxChem :: src/dft_func (LebedevLaikovQuadrature)

; 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.CDenseMatrix = type { i32, i32, %"class.std::vector" }
%"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.CLebedevLaikovQuadrature = type { i32 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK24CLebedevLaikovQuadrature32_generateQuadratureWith770PointsEv(ptr dead_on_unwind noalias writable sret(%class.CDenseMatrix) align 8 %0, ptr noundef nonnull align 4 dereferenceable(4) %1) #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %4, align 8
  store i1 false, ptr %5, align 1
  %9 = getelementptr inbounds %class.CLebedevLaikovQuadrature, ptr %8, i32 0, i32 0
  %10 = load i32, ptr %9, align 4, !tbaa !9
  call void @_ZN12CDenseMatrixC1Eii(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 4, i32 noundef %10)
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseOneER12CDenseMatrixid(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 0, double noundef 0x3F2CBE4AE8FFB925)
          to label %11 unwind label %37

11:                                               ; preds = %2
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseTwoER12CDenseMatrixid(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 6, double noundef 0x3F5788D6DA3152A6)
          to label %12 unwind label %37

12:                                               ; preds = %11
  invoke void @_ZNK24CLebedevLaikovQuadrature18_generateCaseThreeER12CDenseMatrixid(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 18, double noundef 0x3F574C0CD1A67886)
          to label %13 unwind label %37

13:                                               ; preds = %12
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 26, double noundef 0x3FAA0BE68B6C69F7, double noundef 0x3F4646ADE85F7485)
          to label %14 unwind label %37

14:                                               ; preds = %13
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 50, double noundef 0x3FBF711FA3AE343C, double noundef 0x3F503DE40D5FF3B2)
          to label %15 unwind label %37

15:                                               ; preds = %14
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 74, double noundef 0x3FC9F1B74005BDC8, double noundef 0x3F53562682F5AAAF)
          to label %16 unwind label %37

16:                                               ; preds = %15
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 98, double noundef 0x3FD239BEE3DBE1C4, double noundef 0x3F553E5538C3B17A)
          to label %17 unwind label %37

17:                                               ; preds = %16
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 122, double noundef 0x3FD7672B255F2AC8, double noundef 0x3F5660E1472048B0)
          to label %18 unwind label %37

18:                                               ; preds = %17
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 146, double noundef 0x3FDC5744E9A9573C, double noundef 0x3F56FC8F8B259CD3)
          to label %19 unwind label %37

19:                                               ; preds = %18
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 170, double noundef 0x3FE0733212C0AEC1, double noundef 0x3F573E3B13376FF8)
          to label %20 unwind label %37

20:                                               ; preds = %19
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 194, double noundef 0x3FE42E343165AEDB, double noundef 0x3F5749AFA7C770F0)
          to label %21 unwind label %37

21:                                               ; preds = %20
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 218, double noundef 0x3FE57E788806ABBA, double noundef 0x3F5754AC92ADB7FC)
          to label %22 unwind label %37

22:                                               ; preds = %21
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 242, double noundef 0x3FE655D89E746C12, double noundef 0x3F57745F72CA907D)
          to label %23 unwind label %37

23:                                               ; preds = %22
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFiveER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 266, double noundef 0x3FC28516E59E629C, double noundef 0x3F4E532796DC4881)
          to label %24 unwind label %37

24:                                               ; preds = %23
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFiveER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 290, double noundef 0x3FD5B29B90CAF8FE, double noundef 0x3F547BE2F9049AB2)
          to label %25 unwind label %37

25:                                               ; preds = %24
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFiveER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 314, double noundef 0x3FE1131756F01191, double noundef 0x3F56D864EC874EAC)
          to label %26 unwind label %37

26:                                               ; preds = %25
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 338, double noundef 0x3FB1C6D5F8B87A88, double noundef 0x3FCE257ACD15D5E2, double noundef 0x3F52775AB3486427)
          to label %27 unwind label %37

27:                                               ; preds = %26
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 386, double noundef 0x3FCD0B129A3EF560, double noundef 0x3FDA41040934CE14, double noundef 0x3F560C80190FA6F3)
          to label %28 unwind label %37

28:                                               ; preds = %27
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 434, double noundef 0x3FB48BA3FCB853F5, double noundef 0x3FE3E2C1ACA1B81A, double noundef 0x3F5758B43B85D15A)
          to label %29 unwind label %37

29:                                               ; preds = %28
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 482, double noundef 0x3FC2CA5742249915, double noundef 0x3FD4C512E946E480, double noundef 0x3F54AB365F99B60E)
          to label %30 unwind label %37

30:                                               ; preds = %29
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 530, double noundef 0x3FC41D8443D72180, double noundef 0x3FE0B7E553CA8033, double noundef 0x3F56D0C411D52B23)
          to label %31 unwind label %37

31:                                               ; preds = %30
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 578, double noundef 0x3FCE47EF81620B40, double noundef 0x3FE34192FEF1D28F, double noundef 0x3F573EB7C077A568)
          to label %32 unwind label %37

32:                                               ; preds = %31
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 626, double noundef 0x3FB3BFFB526C98D7, double noundef 0x3FDBD16DE8491789, double noundef 0x3F55ED8448F40CD3)
          to label %33 unwind label %37

33:                                               ; preds = %32
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 674, double noundef 0x3FD39A50C04700FD, double noundef 0x3FDF6A9F198A924C, double noundef 0x3F56D59AE809D8A6)
          to label %34 unwind label %37

34:                                               ; preds = %33
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 722, double noundef 0x3FD876BF375E74B8, double noundef 0x3FE213788AC9D1F7, double noundef 0x3F5732C6E4F191D8)
          to label %35 unwind label %37

35:                                               ; preds = %34
  store i1 true, ptr %5, align 1
  %36 = load i1, ptr %5, align 1
  br i1 %36, label %42, label %41

37:                                               ; preds = %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %2
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %6, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %7, align 4
  call void @_ZN12CDenseMatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %43

41:                                               ; preds = %35
  call void @_ZN12CDenseMatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %42

42:                                               ; preds = %41, %35
  ret void

43:                                               ; preds = %37
  %44 = load ptr, ptr %6, align 8
  %45 = load i32, ptr %7, align 4
  %46 = insertvalue { ptr, i32 } poison, ptr %44, 0
  %47 = insertvalue { ptr, i32 } %46, i32 %45, 1
  resume { ptr, i32 } %47
}

declare void @_ZN12CDenseMatrixC1Eii(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK24CLebedevLaikovQuadrature16_generateCaseOneER12CDenseMatrixid(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef) #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK24CLebedevLaikovQuadrature16_generateCaseTwoER12CDenseMatrixid(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK24CLebedevLaikovQuadrature18_generateCaseThreeER12CDenseMatrixid(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef, double noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFiveER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef, double noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef, double noundef, double noundef) #0 align 2

attributes #0 = { 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 #1 = { "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 = { 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 #3 = { 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, !11, i64 0}
!10 = !{!"_ZTS24CLebedevLaikovQuadrature", !11, i64 0}
!11 = !{!"int", !7, i64 0}


; 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.CDenseMatrix = type { i32, i32, %"class.std::vector" }
%"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 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK24CLebedevLaikovQuadrature32_generateQuadratureWith770PointsEv(ptr dead_on_unwind noalias nonnull writable sret(%class.CDenseMatrix) align 8 %0, ptr noundef nonnull align 4 dereferenceable(4) %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = load i32, ptr %1, align 4, !tbaa !5
  tail call void @_ZN12CDenseMatrixC1Eii(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 4, i32 noundef %3)
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseOneER12CDenseMatrixid(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 0, double noundef 0x3F2CBE4AE8FFB925)
          to label %4 unwind label %28

4:                                                ; preds = %2
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseTwoER12CDenseMatrixid(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 6, double noundef 0x3F5788D6DA3152A6)
          to label %5 unwind label %28

5:                                                ; preds = %4
  invoke void @_ZNK24CLebedevLaikovQuadrature18_generateCaseThreeER12CDenseMatrixid(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 18, double noundef 0x3F574C0CD1A67886)
          to label %6 unwind label %28

6:                                                ; preds = %5
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 26, double noundef 0x3FAA0BE68B6C69F7, double noundef 0x3F4646ADE85F7485)
          to label %7 unwind label %28

7:                                                ; preds = %6
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 50, double noundef 0x3FBF711FA3AE343C, double noundef 0x3F503DE40D5FF3B2)
          to label %8 unwind label %28

8:                                                ; preds = %7
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 74, double noundef 0x3FC9F1B74005BDC8, double noundef 0x3F53562682F5AAAF)
          to label %9 unwind label %28

9:                                                ; preds = %8
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 98, double noundef 0x3FD239BEE3DBE1C4, double noundef 0x3F553E5538C3B17A)
          to label %10 unwind label %28

10:                                               ; preds = %9
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 122, double noundef 0x3FD7672B255F2AC8, double noundef 0x3F5660E1472048B0)
          to label %11 unwind label %28

11:                                               ; preds = %10
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 146, double noundef 0x3FDC5744E9A9573C, double noundef 0x3F56FC8F8B259CD3)
          to label %12 unwind label %28

12:                                               ; preds = %11
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 170, double noundef 0x3FE0733212C0AEC1, double noundef 0x3F573E3B13376FF8)
          to label %13 unwind label %28

13:                                               ; preds = %12
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 194, double noundef 0x3FE42E343165AEDB, double noundef 0x3F5749AFA7C770F0)
          to label %14 unwind label %28

14:                                               ; preds = %13
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 218, double noundef 0x3FE57E788806ABBA, double noundef 0x3F5754AC92ADB7FC)
          to label %15 unwind label %28

15:                                               ; preds = %14
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 242, double noundef 0x3FE655D89E746C12, double noundef 0x3F57745F72CA907D)
          to label %16 unwind label %28

16:                                               ; preds = %15
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFiveER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 266, double noundef 0x3FC28516E59E629C, double noundef 0x3F4E532796DC4881)
          to label %17 unwind label %28

17:                                               ; preds = %16
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFiveER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 290, double noundef 0x3FD5B29B90CAF8FE, double noundef 0x3F547BE2F9049AB2)
          to label %18 unwind label %28

18:                                               ; preds = %17
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFiveER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 314, double noundef 0x3FE1131756F01191, double noundef 0x3F56D864EC874EAC)
          to label %19 unwind label %28

19:                                               ; preds = %18
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 338, double noundef 0x3FB1C6D5F8B87A88, double noundef 0x3FCE257ACD15D5E2, double noundef 0x3F52775AB3486427)
          to label %20 unwind label %28

20:                                               ; preds = %19
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 386, double noundef 0x3FCD0B129A3EF560, double noundef 0x3FDA41040934CE14, double noundef 0x3F560C80190FA6F3)
          to label %21 unwind label %28

21:                                               ; preds = %20
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 434, double noundef 0x3FB48BA3FCB853F5, double noundef 0x3FE3E2C1ACA1B81A, double noundef 0x3F5758B43B85D15A)
          to label %22 unwind label %28

22:                                               ; preds = %21
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 482, double noundef 0x3FC2CA5742249915, double noundef 0x3FD4C512E946E480, double noundef 0x3F54AB365F99B60E)
          to label %23 unwind label %28

23:                                               ; preds = %22
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 530, double noundef 0x3FC41D8443D72180, double noundef 0x3FE0B7E553CA8033, double noundef 0x3F56D0C411D52B23)
          to label %24 unwind label %28

24:                                               ; preds = %23
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 578, double noundef 0x3FCE47EF81620B40, double noundef 0x3FE34192FEF1D28F, double noundef 0x3F573EB7C077A568)
          to label %25 unwind label %28

25:                                               ; preds = %24
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 626, double noundef 0x3FB3BFFB526C98D7, double noundef 0x3FDBD16DE8491789, double noundef 0x3F55ED8448F40CD3)
          to label %26 unwind label %28

26:                                               ; preds = %25
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 674, double noundef 0x3FD39A50C04700FD, double noundef 0x3FDF6A9F198A924C, double noundef 0x3F56D59AE809D8A6)
          to label %27 unwind label %28

27:                                               ; preds = %26
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 722, double noundef 0x3FD876BF375E74B8, double noundef 0x3FE213788AC9D1F7, double noundef 0x3F5732C6E4F191D8)
          to label %30 unwind label %28

28:                                               ; preds = %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4, %2
  %29 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN12CDenseMatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  resume { ptr, i32 } %29

30:                                               ; preds = %27
  ret void
}

declare void @_ZN12CDenseMatrixC1Eii(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK24CLebedevLaikovQuadrature16_generateCaseOneER12CDenseMatrixid(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef) local_unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK24CLebedevLaikovQuadrature16_generateCaseTwoER12CDenseMatrixid(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK24CLebedevLaikovQuadrature18_generateCaseThreeER12CDenseMatrixid(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef, double noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFiveER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef, double noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef, double noundef, double noundef) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { "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 = { 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 #3 = { 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, !7, i64 0}
!6 = !{!"_ZTS24CLebedevLaikovQuadrature", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass