; LLVM IR from romerojosh/zefr :: src/polynomials.ll (Z12RTMonomial2Djddjj)

; 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"

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_Z12RTMonomial2Djddjj(i32 noundef %0, double noundef %1, double noundef %2, i32 noundef %3, i32 noundef %4) #2 {
  %6 = alloca double, align 8
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca double, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store i32 %0, ptr %7, align 4, !tbaa !5
  store double %1, ptr %8, align 8, !tbaa !9
  store double %2, ptr %9, align 8, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %24 = load i32, ptr %7, align 4, !tbaa !5
  %25 = add i32 %24, 1
  %26 = load i32, ptr %7, align 4, !tbaa !5
  %27 = add i32 %26, 2
  %28 = mul i32 %25, %27
  store i32 %28, ptr %13, align 4, !tbaa !5
  %29 = load i32, ptr %11, align 4, !tbaa !5
  %30 = load i32, ptr %13, align 4, !tbaa !5
  %31 = icmp ult i32 %29, %30
  br i1 %31, label %32, label %93

32:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  %33 = load i32, ptr %11, align 4, !tbaa !5
  %34 = udiv i32 %33, 2
  store i32 %34, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  %35 = load i32, ptr %11, align 4, !tbaa !5
  %36 = urem i32 %35, 2
  store i32 %36, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %37

37:                                               ; preds = %84, %32
  %38 = load i32, ptr %17, align 4, !tbaa !5
  %39 = load i32, ptr %7, align 4, !tbaa !5
  %40 = icmp ule i32 %38, %39
  br i1 %40, label %42, label %41

41:                                               ; preds = %37
  store i32 2, ptr %18, align 4
  br label %87

42:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %78, %42
  %44 = load i32, ptr %19, align 4, !tbaa !5
  %45 = load i32, ptr %7, align 4, !tbaa !5
  %46 = icmp ule i32 %44, %45
  br i1 %46, label %48, label %47

47:                                               ; preds = %43
  store i32 5, ptr %18, align 4
  br label %81

48:                                               ; preds = %43
  %49 = load i32, ptr %19, align 4, !tbaa !5
  %50 = load i32, ptr %17, align 4, !tbaa !5
  %51 = add i32 %49, %50
  %52 = load i32, ptr %7, align 4, !tbaa !5
  %53 = icmp ule i32 %51, %52
  br i1 %53, label %54, label %77

54:                                               ; preds = %48
  %55 = load i32, ptr %16, align 4, !tbaa !5
  %56 = load i32, ptr %14, align 4, !tbaa !5
  %57 = icmp eq i32 %55, %56
  br i1 %57, label %58, label %74

58:                                               ; preds = %54
  %59 = load i32, ptr %10, align 4, !tbaa !5
  %60 = load i32, ptr %15, align 4, !tbaa !5
  %61 = icmp eq i32 %59, %60
  br i1 %61, label %62, label %70

62:                                               ; preds = %58
  %63 = load double, ptr %8, align 8, !tbaa !9
  %64 = load i32, ptr %19, align 4, !tbaa !5
  %65 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %63, i32 noundef %64)
  %66 = load double, ptr %9, align 8, !tbaa !9
  %67 = load i32, ptr %17, align 4, !tbaa !5
  %68 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %66, i32 noundef %67)
  %69 = fmul double %65, %68
  br label %71

70:                                               ; preds = %58
  br label %71

71:                                               ; preds = %70, %62
  %72 = phi double [ %69, %62 ], [ 0.000000e+00, %70 ]
  store double %72, ptr %12, align 8, !tbaa !9
  %73 = load double, ptr %12, align 8, !tbaa !9
  store double %73, ptr %6, align 8
  store i32 1, ptr %18, align 4
  br label %81

74:                                               ; preds = %54
  %75 = load i32, ptr %16, align 4, !tbaa !5
  %76 = add i32 %75, 1
  store i32 %76, ptr %16, align 4, !tbaa !5
  br label %77

77:                                               ; preds = %74, %48
  br label %78

78:                                               ; preds = %77
  %79 = load i32, ptr %19, align 4, !tbaa !5
  %80 = add i32 %79, 1
  store i32 %80, ptr %19, align 4, !tbaa !5
  br label %43, !llvm.loop !11

81:                                               ; preds = %71, %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  %82 = load i32, ptr %18, align 4
  switch i32 %82, label %87 [
    i32 5, label %83
  ]

83:                                               ; preds = %81
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr %17, align 4, !tbaa !5
  %86 = add i32 %85, 1
  store i32 %86, ptr %17, align 4, !tbaa !5
  br label %37, !llvm.loop !13

87:                                               ; preds = %81, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  %88 = load i32, ptr %18, align 4
  switch i32 %88, label %90 [
    i32 2, label %89
  ]

89:                                               ; preds = %87
  store i32 0, ptr %18, align 4
  br label %90

90:                                               ; preds = %89, %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  %91 = load i32, ptr %18, align 4
  switch i32 %91, label %162 [
    i32 0, label %92
  ]

92:                                               ; preds = %90
  br label %161

93:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  %94 = load i32, ptr %11, align 4, !tbaa !5
  %95 = load i32, ptr %13, align 4, !tbaa !5
  %96 = sub i32 %94, %95
  store i32 %96, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  store i32 0, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %97

97:                                               ; preds = %152, %93
  %98 = load i32, ptr %22, align 4, !tbaa !5
  %99 = load i32, ptr %7, align 4, !tbaa !5
  %100 = icmp ule i32 %98, %99
  br i1 %100, label %102, label %101

101:                                              ; preds = %97
  store i32 8, ptr %18, align 4
  br label %155

102:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %103

103:                                              ; preds = %146, %102
  %104 = load i32, ptr %23, align 4, !tbaa !5
  %105 = load i32, ptr %7, align 4, !tbaa !5
  %106 = icmp ule i32 %104, %105
  br i1 %106, label %108, label %107

107:                                              ; preds = %103
  store i32 11, ptr %18, align 4
  br label %149

108:                                              ; preds = %103
  %109 = load i32, ptr %23, align 4, !tbaa !5
  %110 = load i32, ptr %22, align 4, !tbaa !5
  %111 = add i32 %109, %110
  %112 = load i32, ptr %7, align 4, !tbaa !5
  %113 = icmp eq i32 %111, %112
  br i1 %113, label %114, label %145

114:                                              ; preds = %108
  %115 = load i32, ptr %21, align 4, !tbaa !5
  %116 = load i32, ptr %20, align 4, !tbaa !5
  %117 = icmp eq i32 %115, %116
  br i1 %117, label %118, label %142

118:                                              ; preds = %114
  %119 = load i32, ptr %10, align 4, !tbaa !5
  %120 = icmp eq i32 %119, 0
  br i1 %120, label %121, label %130

121:                                              ; preds = %118
  %122 = load double, ptr %8, align 8, !tbaa !9
  %123 = load i32, ptr %23, align 4, !tbaa !5
  %124 = add i32 %123, 1
  %125 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %122, i32 noundef %124)
  %126 = load double, ptr %9, align 8, !tbaa !9
  %127 = load i32, ptr %22, align 4, !tbaa !5
  %128 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %126, i32 noundef %127)
  %129 = fmul double %125, %128
  br label %139

130:                                              ; preds = %118
  %131 = load double, ptr %8, align 8, !tbaa !9
  %132 = load i32, ptr %23, align 4, !tbaa !5
  %133 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %131, i32 noundef %132)
  %134 = load double, ptr %9, align 8, !tbaa !9
  %135 = load i32, ptr %22, align 4, !tbaa !5
  %136 = add i32 %135, 1
  %137 = call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %134, i32 noundef %136)
  %138 = fmul double %133, %137
  br label %139

139:                                              ; preds = %130, %121
  %140 = phi double [ %129, %121 ], [ %138, %130 ]
  store double %140, ptr %12, align 8, !tbaa !9
  %141 = load double, ptr %12, align 8, !tbaa !9
  store double %141, ptr %6, align 8
  store i32 1, ptr %18, align 4
  br label %149

142:                                              ; preds = %114
  %143 = load i32, ptr %21, align 4, !tbaa !5
  %144 = add i32 %143, 1
  store i32 %144, ptr %21, align 4, !tbaa !5
  br label %145

145:                                              ; preds = %142, %108
  br label %146

146:                                              ; preds = %145
  %147 = load i32, ptr %23, align 4, !tbaa !5
  %148 = add i32 %147, 1
  store i32 %148, ptr %23, align 4, !tbaa !5
  br label %103, !llvm.loop !14

149:                                              ; preds = %139, %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  %150 = load i32, ptr %18, align 4
  switch i32 %150, label %155 [
    i32 11, label %151
  ]

151:                                              ; preds = %149
  br label %152

152:                                              ; preds = %151
  %153 = load i32, ptr %22, align 4, !tbaa !5
  %154 = add i32 %153, 1
  store i32 %154, ptr %22, align 4, !tbaa !5
  br label %97, !llvm.loop !15

155:                                              ; preds = %149, %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  %156 = load i32, ptr %18, align 4
  switch i32 %156, label %158 [
    i32 8, label %157
  ]

157:                                              ; preds = %155
  store i32 0, ptr %18, align 4
  br label %158

158:                                              ; preds = %157, %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  %159 = load i32, ptr %18, align 4
  switch i32 %159, label %162 [
    i32 0, label %160
  ]

160:                                              ; preds = %158
  br label %161

161:                                              ; preds = %160, %92
  store double 0.000000e+00, ptr %6, align 8
  store i32 1, ptr %18, align 4
  br label %162

162:                                              ; preds = %161, %158, %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  %163 = load double, ptr %6, align 8
  ret double %163
}

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

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


; 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"

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef double @_Z12RTMonomial2Djddjj(i32 noundef %0, double noundef %1, double noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #1 {
  %6 = add i32 %0, 1
  %7 = add i32 %0, 2
  %8 = mul i32 %6, %7
  %9 = icmp ugt i32 %8, %4
  br i1 %9, label %10, label %27

10:                                               ; preds = %5
  %11 = lshr i32 %4, 1
  %12 = and i32 %4, 1
  br label %.preheader

.preheader:                                       ; preds = %10, %25
  %.071107 = phi i32 [ 0, %10 ], [ %26, %25 ]
  %.072106 = phi i32 [ 0, %10 ], [ %.274, %25 ]
  br label %13

13:                                               ; preds = %.preheader, %23
  %.066105 = phi i32 [ 0, %.preheader ], [ %24, %23 ]
  %.173104 = phi i32 [ %.072106, %.preheader ], [ %.274, %23 ]
  %14 = add i32 %.066105, %.071107
  %.not83 = icmp ugt i32 %14, %0
  br i1 %.not83, label %23, label %15

15:                                               ; preds = %13
  %16 = icmp eq i32 %.173104, %11
  br i1 %16, label %17, label %21

17:                                               ; preds = %15
  %18 = icmp eq i32 %12, %3
  br i1 %18, label %19, label %.thread85

19:                                               ; preds = %17
  %20 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %1, i32 noundef %.066105)
  br label %.thread85.sink.split

21:                                               ; preds = %15
  %22 = add i32 %.173104, 1
  br label %23

23:                                               ; preds = %13, %21
  %.274 = phi i32 [ %22, %21 ], [ %.173104, %13 ]
  %24 = add i32 %.066105, 1
  %.not82 = icmp ugt i32 %24, %0
  br i1 %.not82, label %25, label %13, !llvm.loop !5

25:                                               ; preds = %23
  %26 = add i32 %.071107, 1
  %.not81 = icmp ugt i32 %26, %0
  br i1 %.not81, label %.thread85, label %.preheader, !llvm.loop !7

27:                                               ; preds = %5
  %28 = sub i32 %4, %8
  br label %.preheader92

.preheader92:                                     ; preds = %27, %46
  %.061103 = phi i32 [ 0, %27 ], [ %47, %46 ]
  %.062102 = phi i32 [ 0, %27 ], [ %.2, %46 ]
  br label %29

29:                                               ; preds = %.preheader92, %44
  %.0101 = phi i32 [ 0, %.preheader92 ], [ %45, %44 ]
  %.1100 = phi i32 [ %.062102, %.preheader92 ], [ %.2, %44 ]
  %30 = add i32 %.0101, %.061103
  %31 = icmp eq i32 %30, %0
  br i1 %31, label %32, label %44

32:                                               ; preds = %29
  %33 = icmp eq i32 %.1100, %28
  br i1 %33, label %34, label %42

34:                                               ; preds = %32
  %35 = icmp eq i32 %3, 0
  br i1 %35, label %36, label %39

36:                                               ; preds = %34
  %37 = add i32 %.0101, 1
  %38 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %1, i32 noundef %37)
  br label %.thread85.sink.split

39:                                               ; preds = %34
  %40 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %1, i32 noundef %.0101)
  %41 = add i32 %.061103, 1
  br label %.thread85.sink.split

42:                                               ; preds = %32
  %43 = add i32 %.1100, 1
  br label %44

44:                                               ; preds = %29, %42
  %.2 = phi i32 [ %43, %42 ], [ %.1100, %29 ]
  %45 = add i32 %.0101, 1
  %.not80 = icmp ugt i32 %45, %0
  br i1 %.not80, label %46, label %29, !llvm.loop !8

46:                                               ; preds = %44
  %47 = add i32 %.061103, 1
  %.not = icmp ugt i32 %47, %0
  br i1 %.not, label %.thread85, label %.preheader92, !llvm.loop !9

.thread85.sink.split:                             ; preds = %19, %36, %39
  %.sink119 = phi i32 [ %41, %39 ], [ %.061103, %36 ], [ %.071107, %19 ]
  %.sink = phi double [ %40, %39 ], [ %38, %36 ], [ %20, %19 ]
  %48 = tail call noundef double @_ZSt3powIdjEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %2, i32 noundef %.sink119)
  %49 = fmul double %.sink, %48
  br label %.thread85

.thread85:                                        ; preds = %46, %25, %.thread85.sink.split, %17
  %.6 = phi double [ 0.000000e+00, %17 ], [ %49, %.thread85.sink.split ], [ 0.000000e+00, %25 ], [ 0.000000e+00, %46 ]
  ret double %.6
}

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

!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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}
!9 = distinct !{!9, !6}


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