; 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_generateQuadratureWith974PointsEv(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 0x3F22DA1D4D545B29)
          to label %11 unwind label %42

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

12:                                               ; preds = %11
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 14, double noundef 0x3FA5FADF889A6D04, double noundef 0x3F4036B535CD70B5)
          to label %13 unwind label %42

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 38, double noundef 0x3FBAEAA18B3E64E3, double noundef 0x3F481C54581A2A9C)
          to label %14 unwind label %42

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 62, double noundef 0x3FC6667B42AE6FDD, double noundef 0x3F4D20BEBA250AA1)
          to label %15 unwind label %42

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 86, double noundef 0x3FCFB6C64BD232B6, double noundef 0x3F50337943B5AE92)
          to label %16 unwind label %42

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 110, double noundef 0x3FD485A3BB3ED874, double noundef 0x3F5141DBEBE4A0F1)
          to label %17 unwind label %42

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 134, double noundef 0x3FD910D3DD5E26A0, double noundef 0x3F51E7724F3994EA)
          to label %18 unwind label %42

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 158, double noundef 0x3FDD619BEEC81AF6, double noundef 0x3F52421680292321)
          to label %19 unwind label %42

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 182, double noundef 0x3FE0AFC54F0BAD07, double noundef 0x3F52693E4DB87FE4)
          to label %20 unwind label %42

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 206, double noundef 0x3FE40298D936C099, double noundef 0x3F526F988688BAAD)
          to label %21 unwind label %42

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 230, double noundef 0x3FE53DCA22831B40, double noundef 0x3F52736DDE4140B3)
          to label %22 unwind label %42

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 254, double noundef 0x3FE61D02194B29CE, double noundef 0x3F5284C459DF9C4A)
          to label %23 unwind label %42

23:                                               ; preds = %22
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 278, double noundef 0x3FE691BDCDBC0872, double noundef 0x3F52987A82F9C027)
          to label %24 unwind label %42

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 302, double noundef 0x3FBFA8C01819E96E, double noundef 0x3F465BDB1AD29343)
          to label %25 unwind label %42

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 326, double noundef 0x3FD2D22B5249637C, double noundef 0x3F4EFAB901698905)
          to label %26 unwind label %42

26:                                               ; preds = %25
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFiveER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 350, double noundef 0x3FDE10CCC6ACD4F1, double noundef 0x3F519A7C66CABA8A)
          to label %27 unwind label %42

27:                                               ; preds = %26
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFiveER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 374, double noundef 0x3FE4454632707137, double noundef 0x3F5280A0BC1B98D9)
          to label %28 unwind label %42

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 398, double noundef 0x3FAE964E1473D466, double noundef 0x3FC9F90C91A0ACCA, double noundef 0x3F4BA55F268C17F6)
          to label %29 unwind label %42

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 446, double noundef 0x3FC19C177A1387F7, double noundef 0x3FDD74EF8FF87456, double noundef 0x3F519DF309DDD65F)
          to label %30 unwind label %42

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 494, double noundef 0x3FD5B3D76B052EE5, double noundef 0x3FE01920CDD13C2E, double noundef 0x3F5229B5BE8E18D2)
          to label %31 unwind label %42

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 542, double noundef 0x3FC0470677EB1E1E, double noundef 0x3FD2085DC9EF495C, double noundef 0x3F4F58F0EEC43FD1)
          to label %32 unwind label %42

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 590, double noundef 0x3FD13C68B59B3BF3, double noundef 0x3FDBB8D47C36C4C1, double noundef 0x3F51B4A15477EF53)
          to label %33 unwind label %42

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 638, double noundef 0x3FC22C5B330FBB7D, double noundef 0x3FE4050D638AE743, double noundef 0x3F52762134F9471D)
          to label %34 unwind label %42

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 686, double noundef 0x3FB12CFF2B65B3A2, double noundef 0x3FD84F4A6CD7A276, double noundef 0x3F50C0F6CC2F1D29)
          to label %35 unwind label %42

35:                                               ; preds = %34
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 734, double noundef 0x3FB2115BFACEE363, double noundef 0x3FE1A7F0C0C1A74B, double noundef 0x3F522B510545E5C1)
          to label %36 unwind label %42

36:                                               ; preds = %35
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 782, double noundef 0x3FD1D11F75349394, double noundef 0x3FE34B76C989B968, double noundef 0x3F52655348C0B191)
          to label %37 unwind label %42

37:                                               ; preds = %36
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 830, double noundef 0x3FC956AF2C20021D, double noundef 0x3FD6F93604C709DB, double noundef 0x3F50EA350ADC5B38)
          to label %38 unwind label %42

38:                                               ; preds = %37
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 878, double noundef 0x3FCAB7B012351998, double noundef 0x3FE11DA0A6DCD0A2, double noundef 0x3F522423F8AACF1B)
          to label %39 unwind label %42

39:                                               ; preds = %38
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 926, double noundef 0x3FD9F3E98016138D, double noundef 0x3FE228F53ED0DCED, double noundef 0x3F52611627C9E8D0)
          to label %40 unwind label %42

40:                                               ; preds = %39
  store i1 true, ptr %5, align 1
  %41 = load i1, ptr %5, align 1
  br i1 %41, label %47, label %46

42:                                               ; preds = %39, %38, %37, %36, %35, %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
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %6, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %7, align 4
  call void @_ZN12CDenseMatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %48

46:                                               ; preds = %40
  call void @_ZN12CDenseMatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %47

47:                                               ; preds = %46, %40
  ret void

48:                                               ; preds = %42
  %49 = load ptr, ptr %6, align 8
  %50 = load i32, ptr %7, align 4
  %51 = insertvalue { ptr, i32 } poison, ptr %49, 0
  %52 = insertvalue { ptr, i32 } %51, i32 %50, 1
  resume { ptr, i32 } %52
}

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 @_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_generateQuadratureWith974PointsEv(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 0x3F22DA1D4D545B29)
          to label %4 unwind label %33

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

5:                                                ; preds = %4
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 14, double noundef 0x3FA5FADF889A6D04, double noundef 0x3F4036B535CD70B5)
          to label %6 unwind label %33

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 38, double noundef 0x3FBAEAA18B3E64E3, double noundef 0x3F481C54581A2A9C)
          to label %7 unwind label %33

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 62, double noundef 0x3FC6667B42AE6FDD, double noundef 0x3F4D20BEBA250AA1)
          to label %8 unwind label %33

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 86, double noundef 0x3FCFB6C64BD232B6, double noundef 0x3F50337943B5AE92)
          to label %9 unwind label %33

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 110, double noundef 0x3FD485A3BB3ED874, double noundef 0x3F5141DBEBE4A0F1)
          to label %10 unwind label %33

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 134, double noundef 0x3FD910D3DD5E26A0, double noundef 0x3F51E7724F3994EA)
          to label %11 unwind label %33

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 158, double noundef 0x3FDD619BEEC81AF6, double noundef 0x3F52421680292321)
          to label %12 unwind label %33

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 182, double noundef 0x3FE0AFC54F0BAD07, double noundef 0x3F52693E4DB87FE4)
          to label %13 unwind label %33

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 206, double noundef 0x3FE40298D936C099, double noundef 0x3F526F988688BAAD)
          to label %14 unwind label %33

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 230, double noundef 0x3FE53DCA22831B40, double noundef 0x3F52736DDE4140B3)
          to label %15 unwind label %33

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 254, double noundef 0x3FE61D02194B29CE, double noundef 0x3F5284C459DF9C4A)
          to label %16 unwind label %33

16:                                               ; preds = %15
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFourER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 278, double noundef 0x3FE691BDCDBC0872, double noundef 0x3F52987A82F9C027)
          to label %17 unwind label %33

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 302, double noundef 0x3FBFA8C01819E96E, double noundef 0x3F465BDB1AD29343)
          to label %18 unwind label %33

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 326, double noundef 0x3FD2D22B5249637C, double noundef 0x3F4EFAB901698905)
          to label %19 unwind label %33

19:                                               ; preds = %18
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFiveER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 350, double noundef 0x3FDE10CCC6ACD4F1, double noundef 0x3F519A7C66CABA8A)
          to label %20 unwind label %33

20:                                               ; preds = %19
  invoke void @_ZNK24CLebedevLaikovQuadrature17_generateCaseFiveER12CDenseMatrixidd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 374, double noundef 0x3FE4454632707137, double noundef 0x3F5280A0BC1B98D9)
          to label %21 unwind label %33

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 398, double noundef 0x3FAE964E1473D466, double noundef 0x3FC9F90C91A0ACCA, double noundef 0x3F4BA55F268C17F6)
          to label %22 unwind label %33

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 446, double noundef 0x3FC19C177A1387F7, double noundef 0x3FDD74EF8FF87456, double noundef 0x3F519DF309DDD65F)
          to label %23 unwind label %33

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 494, double noundef 0x3FD5B3D76B052EE5, double noundef 0x3FE01920CDD13C2E, double noundef 0x3F5229B5BE8E18D2)
          to label %24 unwind label %33

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 542, double noundef 0x3FC0470677EB1E1E, double noundef 0x3FD2085DC9EF495C, double noundef 0x3F4F58F0EEC43FD1)
          to label %25 unwind label %33

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 590, double noundef 0x3FD13C68B59B3BF3, double noundef 0x3FDBB8D47C36C4C1, double noundef 0x3F51B4A15477EF53)
          to label %26 unwind label %33

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 638, double noundef 0x3FC22C5B330FBB7D, double noundef 0x3FE4050D638AE743, double noundef 0x3F52762134F9471D)
          to label %27 unwind label %33

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 686, double noundef 0x3FB12CFF2B65B3A2, double noundef 0x3FD84F4A6CD7A276, double noundef 0x3F50C0F6CC2F1D29)
          to label %28 unwind label %33

28:                                               ; preds = %27
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 734, double noundef 0x3FB2115BFACEE363, double noundef 0x3FE1A7F0C0C1A74B, double noundef 0x3F522B510545E5C1)
          to label %29 unwind label %33

29:                                               ; preds = %28
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 782, double noundef 0x3FD1D11F75349394, double noundef 0x3FE34B76C989B968, double noundef 0x3F52655348C0B191)
          to label %30 unwind label %33

30:                                               ; preds = %29
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 830, double noundef 0x3FC956AF2C20021D, double noundef 0x3FD6F93604C709DB, double noundef 0x3F50EA350ADC5B38)
          to label %31 unwind label %33

31:                                               ; preds = %30
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 878, double noundef 0x3FCAB7B012351998, double noundef 0x3FE11DA0A6DCD0A2, double noundef 0x3F522423F8AACF1B)
          to label %32 unwind label %33

32:                                               ; preds = %31
  invoke void @_ZNK24CLebedevLaikovQuadrature16_generateCaseSixER12CDenseMatrixiddd(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 926, double noundef 0x3FD9F3E98016138D, double noundef 0x3FE228F53ED0DCED, double noundef 0x3F52611627C9E8D0)
          to label %35 unwind label %33

33:                                               ; preds = %32, %31, %30, %29, %28, %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
  %34 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN12CDenseMatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  resume { ptr, i32 } %34

35:                                               ; preds = %32
  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 @_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