; LLVM IR from buresjan/optim_lbm :: nomad/src/Math/ArrayOfDouble.ll (ZN9NOMAD_4_313ArrayOfDouble5resetEmRKNS_6DoubleE)

; 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.NOMAD_4_3::ArrayOfDouble" = type { ptr, i64, ptr }
%"class.NOMAD_4_3::Double" = type <{ ptr, double, i8, [7 x i8] }>

declare i32 @__gxx_personality_v0(...)

declare void @_ZN9NOMAD_4_36DoubleC1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.uadd.with.overflow.i64(i64, i64) #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPvm(ptr noundef, i64 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9NOMAD_4_36Double9isDefinedEv(ptr noundef nonnull align 8 dereferenceable(17)) #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9NOMAD_4_313ArrayOfDouble5resetEmRKNS_6DoubleE(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %1, ptr noundef nonnull align 8 dereferenceable(17) %2) #7 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  %9 = load ptr, ptr %4, align 8
  %10 = load i64, ptr %5, align 8, !tbaa !9
  %11 = icmp eq i64 %10, 0
  br i1 %11, label %12, label %31

12:                                               ; preds = %3
  %13 = getelementptr inbounds %"class.NOMAD_4_3::ArrayOfDouble", ptr %9, i32 0, i32 1
  store i64 0, ptr %13, align 8, !tbaa !11
  %14 = getelementptr inbounds %"class.NOMAD_4_3::ArrayOfDouble", ptr %9, i32 0, i32 2
  %15 = load ptr, ptr %14, align 8, !tbaa !13
  %16 = icmp eq ptr %15, null
  br i1 %16, label %29, label %17

17:                                               ; preds = %12
  %18 = getelementptr inbounds i8, ptr %15, i64 -8
  %19 = load i64, ptr %18, align 8
  %20 = getelementptr inbounds %"class.NOMAD_4_3::Double", ptr %15, i64 %19
  %21 = icmp eq ptr %15, %20
  br i1 %21, label %26, label %22

22:                                               ; preds = %22, %17
  %23 = phi ptr [ %20, %17 ], [ %24, %22 ]
  %24 = getelementptr inbounds %"class.NOMAD_4_3::Double", ptr %23, i64 -1
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %24) #8
  %25 = icmp eq ptr %24, %15
  br i1 %25, label %26, label %22

26:                                               ; preds = %22, %17
  %27 = mul i64 24, %19
  %28 = add i64 %27, 8
  call void @_ZdaPvm(ptr noundef %18, i64 noundef %28) #9
  br label %29

29:                                               ; preds = %26, %12
  %30 = getelementptr inbounds %"class.NOMAD_4_3::ArrayOfDouble", ptr %9, i32 0, i32 2
  store ptr null, ptr %30, align 8, !tbaa !13
  br label %94

31:                                               ; preds = %3
  %32 = load i64, ptr %5, align 8, !tbaa !9
  %33 = getelementptr inbounds %"class.NOMAD_4_3::ArrayOfDouble", ptr %9, i32 0, i32 1
  store i64 %32, ptr %33, align 8, !tbaa !11
  %34 = getelementptr inbounds %"class.NOMAD_4_3::ArrayOfDouble", ptr %9, i32 0, i32 2
  %35 = load ptr, ptr %34, align 8, !tbaa !13
  %36 = icmp eq ptr %35, null
  br i1 %36, label %49, label %37

37:                                               ; preds = %31
  %38 = getelementptr inbounds i8, ptr %35, i64 -8
  %39 = load i64, ptr %38, align 8
  %40 = getelementptr inbounds %"class.NOMAD_4_3::Double", ptr %35, i64 %39
  %41 = icmp eq ptr %35, %40
  br i1 %41, label %46, label %42

42:                                               ; preds = %42, %37
  %43 = phi ptr [ %40, %37 ], [ %44, %42 ]
  %44 = getelementptr inbounds %"class.NOMAD_4_3::Double", ptr %43, i64 -1
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %44) #8
  %45 = icmp eq ptr %44, %35
  br i1 %45, label %46, label %42

46:                                               ; preds = %42, %37
  %47 = mul i64 24, %39
  %48 = add i64 %47, 8
  call void @_ZdaPvm(ptr noundef %38, i64 noundef %48) #9
  br label %49

49:                                               ; preds = %46, %31
  %50 = getelementptr inbounds %"class.NOMAD_4_3::ArrayOfDouble", ptr %9, i32 0, i32 1
  %51 = load i64, ptr %50, align 8, !tbaa !11
  %52 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %51, i64 24)
  %53 = extractvalue { i64, i1 } %52, 1
  %54 = extractvalue { i64, i1 } %52, 0
  %55 = call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %54, i64 8)
  %56 = extractvalue { i64, i1 } %55, 1
  %57 = or i1 %53, %56
  %58 = extractvalue { i64, i1 } %55, 0
  %59 = select i1 %57, i64 -1, i64 %58
  %60 = call noalias noundef nonnull ptr @_Znam(i64 noundef %59) #10
  store i64 %51, ptr %60, align 16
  %61 = getelementptr inbounds i8, ptr %60, i64 8
  %62 = icmp eq i64 %51, 0
  br i1 %62, label %70, label %63

63:                                               ; preds = %49
  %64 = getelementptr inbounds %"class.NOMAD_4_3::Double", ptr %61, i64 %51
  br label %65

65:                                               ; preds = %67, %63
  %66 = phi ptr [ %61, %63 ], [ %68, %67 ]
  invoke void @_ZN9NOMAD_4_36DoubleC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %66)
          to label %67 unwind label %83

67:                                               ; preds = %65
  %68 = getelementptr inbounds %"class.NOMAD_4_3::Double", ptr %66, i64 1
  %69 = icmp eq ptr %68, %64
  br i1 %69, label %70, label %65

70:                                               ; preds = %67, %49
  %71 = getelementptr inbounds %"class.NOMAD_4_3::ArrayOfDouble", ptr %9, i32 0, i32 2
  store ptr %61, ptr %71, align 8, !tbaa !13
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = call noundef zeroext i1 @_ZNK9NOMAD_4_36Double9isDefinedEv(ptr noundef nonnull align 8 dereferenceable(17) %72)
  br i1 %73, label %74, label %93

74:                                               ; preds = %70
  %75 = getelementptr inbounds %"class.NOMAD_4_3::ArrayOfDouble", ptr %9, i32 0, i32 2
  %76 = load ptr, ptr %75, align 8, !tbaa !13
  %77 = getelementptr inbounds %"class.NOMAD_4_3::ArrayOfDouble", ptr %9, i32 0, i32 2
  %78 = load ptr, ptr %77, align 8, !tbaa !13
  %79 = getelementptr inbounds %"class.NOMAD_4_3::ArrayOfDouble", ptr %9, i32 0, i32 1
  %80 = load i64, ptr %79, align 8, !tbaa !11
  %81 = getelementptr inbounds %"class.NOMAD_4_3::Double", ptr %78, i64 %80
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZSt4fillIPN9NOMAD_4_36DoubleES1_EvT_S3_RKT0_(ptr noundef %76, ptr noundef %81, ptr noundef nonnull align 8 dereferenceable(17) %82)
  br label %93

83:                                               ; preds = %65
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %7, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %8, align 4
  %87 = icmp eq ptr %61, %66
  br i1 %87, label %92, label %88

88:                                               ; preds = %88, %83
  %89 = phi ptr [ %66, %83 ], [ %90, %88 ]
  %90 = getelementptr inbounds %"class.NOMAD_4_3::Double", ptr %89, i64 -1
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %90) #8
  %91 = icmp eq ptr %90, %61
  br i1 %91, label %92, label %88

92:                                               ; preds = %88, %83
  call void @_ZdaPvm(ptr noundef %60, i64 noundef %59) #9
  br label %95

93:                                               ; preds = %74, %70
  br label %94

94:                                               ; preds = %93, %29
  ret void

95:                                               ; preds = %92
  %96 = load ptr, ptr %7, align 8
  %97 = load i32, ptr %8, align 4
  %98 = insertvalue { ptr, i32 } poison, ptr %96, 0
  %99 = insertvalue { ptr, i32 } %98, i32 %97, 1
  resume { ptr, i32 } %99
}

attributes #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 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nobuiltin 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 #5 = { 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 #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 = { 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 #8 = { nounwind }
attributes #9 = { builtin nounwind }
attributes #10 = { builtin allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"_ZTSN9NOMAD_4_313ArrayOfDoubleE", !10, i64 8, !6, i64 16}
!13 = !{!12, !6, i64 16}


; 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.NOMAD_4_3::Double" = type <{ ptr, double, i8, [7 x i8] }>

declare i32 @__gxx_personality_v0(...)

declare void @_ZN9NOMAD_4_36DoubleC1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.uadd.with.overflow.i64(i64, i64) #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPvm(ptr noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9NOMAD_4_36Double9isDefinedEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPN9NOMAD_4_36DoubleES1_EvT_S3_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9NOMAD_4_313ArrayOfDouble5resetEmRKNS_6DoubleE(ptr nocapture noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %1, ptr noundef nonnull align 8 dereferenceable(17) %2) local_unnamed_addr #7 align 2 personality ptr @__gxx_personality_v0 {
  %4 = icmp eq i64 %1, 0
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %4, label %7, label %21

7:                                                ; preds = %3
  store i64 0, ptr %5, align 8, !tbaa !5
  %8 = load ptr, ptr %6, align 8, !tbaa !11
  %9 = icmp eq ptr %8, null
  br i1 %9, label %20, label %10

10:                                               ; preds = %7
  %11 = getelementptr inbounds i8, ptr %8, i64 -8
  %12 = load i64, ptr %11, align 8
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %.loopexit, label %.preheader.preheader

.preheader.preheader:                             ; preds = %10
  %14 = getelementptr inbounds %"class.NOMAD_4_3::Double", ptr %8, i64 %12
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %15 = phi ptr [ %16, %.preheader ], [ %14, %.preheader.preheader ]
  %16 = getelementptr inbounds i8, ptr %15, i64 -24
  tail call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %16) #8
  %17 = icmp eq ptr %16, %8
  br i1 %17, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %10
  %18 = mul i64 %12, 24
  %19 = add i64 %18, 8
  tail call void @_ZdaPvm(ptr noundef nonnull %11, i64 noundef %19) #9
  br label %20

20:                                               ; preds = %.loopexit, %7
  store ptr null, ptr %6, align 8, !tbaa !11
  br label %60

21:                                               ; preds = %3
  store i64 %1, ptr %5, align 8, !tbaa !5
  %22 = load ptr, ptr %6, align 8, !tbaa !11
  %23 = icmp eq ptr %22, null
  br i1 %23, label %34, label %24

24:                                               ; preds = %21
  %25 = getelementptr inbounds i8, ptr %22, i64 -8
  %26 = load i64, ptr %25, align 8
  %27 = icmp eq i64 %26, 0
  br i1 %27, label %.loopexit24, label %.preheader23.preheader

.preheader23.preheader:                           ; preds = %24
  %28 = getelementptr inbounds %"class.NOMAD_4_3::Double", ptr %22, i64 %26
  br label %.preheader23

.preheader23:                                     ; preds = %.preheader23.preheader, %.preheader23
  %29 = phi ptr [ %30, %.preheader23 ], [ %28, %.preheader23.preheader ]
  %30 = getelementptr inbounds i8, ptr %29, i64 -24
  tail call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %30) #8
  %31 = icmp eq ptr %30, %22
  br i1 %31, label %.loopexit24, label %.preheader23

.loopexit24:                                      ; preds = %.preheader23, %24
  %32 = mul i64 %26, 24
  %33 = add i64 %32, 8
  tail call void @_ZdaPvm(ptr noundef nonnull %25, i64 noundef %33) #9
  %.pr = load i64, ptr %5, align 8, !tbaa !5
  br label %34

34:                                               ; preds = %.loopexit24, %21
  %35 = phi i64 [ %.pr, %.loopexit24 ], [ %1, %21 ]
  %36 = tail call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %35, i64 24)
  %37 = extractvalue { i64, i1 } %36, 1
  %38 = extractvalue { i64, i1 } %36, 0
  %39 = tail call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %38, i64 8)
  %40 = extractvalue { i64, i1 } %39, 1
  %41 = or i1 %37, %40
  %42 = extractvalue { i64, i1 } %39, 0
  %43 = select i1 %41, i64 -1, i64 %42
  %44 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %43) #10
  store i64 %35, ptr %44, align 16
  %.ptr14 = getelementptr inbounds i8, ptr %44, i64 8
  %45 = icmp eq i64 %35, 0
  br i1 %45, label %.loopexit22, label %46

46:                                               ; preds = %34
  %47 = getelementptr inbounds %"class.NOMAD_4_3::Double", ptr %.ptr14, i64 %35
  br label %48

48:                                               ; preds = %49, %46
  %.idx = phi i64 [ 8, %46 ], [ %.add, %49 ]
  %.ptr.ptr = getelementptr inbounds i8, ptr %44, i64 %.idx
  invoke void @_ZN9NOMAD_4_36DoubleC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %.ptr.ptr)
          to label %49 unwind label %56

49:                                               ; preds = %48
  %.add = add nuw nsw i64 %.idx, 24
  %.ptr13 = getelementptr inbounds i8, ptr %44, i64 %.add
  %50 = icmp eq ptr %.ptr13, %47
  br i1 %50, label %.loopexit22, label %48

.loopexit22:                                      ; preds = %49, %34
  store ptr %.ptr14, ptr %6, align 8, !tbaa !11
  %51 = tail call noundef zeroext i1 @_ZNK9NOMAD_4_36Double9isDefinedEv(ptr noundef nonnull align 8 dereferenceable(17) %2)
  br i1 %51, label %52, label %60

52:                                               ; preds = %.loopexit22
  %53 = load ptr, ptr %6, align 8, !tbaa !11
  %54 = load i64, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.NOMAD_4_3::Double", ptr %53, i64 %54
  tail call void @_ZSt4fillIPN9NOMAD_4_36DoubleES1_EvT_S3_RKT0_(ptr noundef %53, ptr noundef %55, ptr noundef nonnull align 8 dereferenceable(17) %2)
  br label %60

56:                                               ; preds = %48
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = icmp eq i64 %.idx, 8
  br i1 %58, label %.loopexit21, label %.preheader20

.preheader20:                                     ; preds = %56, %.preheader20
  %.idx15 = phi i64 [ %.add16, %.preheader20 ], [ %.idx, %56 ]
  %.add16 = add nsw i64 %.idx15, -24
  %.ptr18 = getelementptr inbounds i8, ptr %44, i64 %.add16
  tail call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %.ptr18) #8
  %59 = icmp eq i64 %.add16, 8
  br i1 %59, label %.loopexit21, label %.preheader20

.loopexit21:                                      ; preds = %.preheader20, %56
  tail call void @_ZdaPvm(ptr noundef nonnull %44, i64 noundef %43) #9
  resume { ptr, i32 } %57

60:                                               ; preds = %.loopexit22, %52, %20
  ret void
}

attributes #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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nobuiltin 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 #5 = { 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 #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 = { 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 #8 = { nounwind }
attributes #9 = { builtin nounwind }
attributes #10 = { builtin allocsize(0) }

!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 8}
!6 = !{!"_ZTSN9NOMAD_4_313ArrayOfDoubleE", !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 16}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass