; LLVM IR from jingweizhanghuai/Morn :: src/image (morn_image_draw)

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

%struct.DrawPara = type { ptr, ptr, i32 }
%struct.MImagePoint = type { float, float }
%struct.MImageCircle = type { %struct.MImagePoint, float }

@morn_default_color = external hidden global [4 x i8], align 1
@.str = external hidden unnamed_addr constant [83 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@__FUNCTION__.m_ImageDrawCircle = external hidden unnamed_addr constant [18 x i8], align 1

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

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

declare void @m_Exception(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1

declare void @mImageCopy(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @PointDraw(ptr noundef, ptr noundef) #2

declare void @mLineTravel(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @m_ImageDrawCircle(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.DrawPara, align 8
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %struct.MImagePoint, align 4
  %17 = alloca %struct.MImagePoint, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  %22 = icmp eq ptr %21, null
  br i1 %22, label %27, label %23

23:                                               ; preds = %5
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = ptrtoint ptr %24 to i64
  %26 = icmp eq i64 %25, -1
  br i1 %26, label %27, label %28

27:                                               ; preds = %23, %5
  store ptr @morn_default_color, ptr %9, align 8, !tbaa !5
  br label %28

28:                                               ; preds = %27, %23
  br label %29

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %30 = load i32, ptr %10, align 4, !tbaa !9
  %31 = icmp slt i32 %30, -1
  br i1 %31, label %35, label %32

32:                                               ; preds = %29
  %33 = load i32, ptr %10, align 4, !tbaa !9
  %34 = icmp sgt i32 %33, 4
  br label %35

35:                                               ; preds = %32, %29
  %36 = phi i1 [ true, %29 ], [ %34, %32 ]
  %37 = zext i1 %36 to i32
  store i32 %37, ptr %11, align 4, !tbaa !9
  %38 = load i32, ptr %11, align 4, !tbaa !9
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %40, label %42

40:                                               ; preds = %35
  %41 = load i32, ptr %11, align 4, !tbaa !9
  call void (i32, i32, ptr, i32, ptr, ptr, ...) @m_Exception(i32 noundef %41, i32 noundef -1, ptr noundef @.str, i32 noundef 129, ptr noundef @__FUNCTION__.m_ImageDrawCircle, ptr noundef @.str.1)
  br label %42

42:                                               ; preds = %40, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %43

43:                                               ; preds = %42
  %44 = load i32, ptr %10, align 4, !tbaa !9
  %45 = icmp sle i32 %44, 0
  br i1 %45, label %46, label %47

46:                                               ; preds = %43
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %46, %43
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = icmp eq ptr %48, null
  br i1 %49, label %61, label %50

50:                                               ; preds = %47
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = ptrtoint ptr %51 to i64
  %53 = icmp eq i64 %52, -1
  br i1 %53, label %61, label %54

54:                                               ; preds = %50
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = icmp ne ptr %55, %56
  br i1 %57, label %58, label %61

58:                                               ; preds = %54
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  call void @mImageCopy(ptr noundef %59, ptr noundef %60)
  br label %63

61:                                               ; preds = %54, %50, %47
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %62, ptr %7, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %61, %58
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #5
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.DrawPara, ptr %12, i32 0, i32 0
  store ptr %64, ptr %65, align 8, !tbaa !11
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.DrawPara, ptr %12, i32 0, i32 1
  store ptr %66, ptr %67, align 8, !tbaa !13
  %68 = load i32, ptr %10, align 4, !tbaa !9
  %69 = getelementptr inbounds %struct.DrawPara, ptr %12, i32 0, i32 2
  store i32 %68, ptr %69, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.MImageCircle, ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds %struct.MImagePoint, ptr %71, i32 0, i32 0
  %73 = load float, ptr %72, align 4, !tbaa !15
  store float %73, ptr %13, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.MImageCircle, ptr %74, i32 0, i32 0
  %76 = getelementptr inbounds %struct.MImagePoint, ptr %75, i32 0, i32 1
  %77 = load float, ptr %76, align 4, !tbaa !20
  store float %77, ptr %14, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.MImageCircle, ptr %78, i32 0, i32 1
  %80 = load float, ptr %79, align 4, !tbaa !21
  store float %80, ptr %15, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store float 0.000000e+00, ptr %18, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %81 = load float, ptr %13, align 4, !tbaa !19
  %82 = load float, ptr %15, align 4, !tbaa !19
  %83 = fsub float %81, %82
  %84 = fadd float %83, 1.000000e+00
  store float %84, ptr %19, align 4, !tbaa !19
  br label %85

85:                                               ; preds = %155, %63
  %86 = load float, ptr %19, align 4, !tbaa !19
  %87 = load float, ptr %13, align 4, !tbaa !19
  %88 = load float, ptr %15, align 4, !tbaa !19
  %89 = fadd float %87, %88
  %90 = fadd float %89, 1.000000e+00
  %91 = fcmp olt float %86, %90
  br i1 %91, label %93, label %92

92:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %158

93:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %94 = load float, ptr %19, align 4, !tbaa !19
  %95 = load float, ptr %13, align 4, !tbaa !19
  %96 = load float, ptr %15, align 4, !tbaa !19
  %97 = fadd float %95, %96
  %98 = fcmp ogt float %94, %97
  br i1 %98, label %99, label %100

99:                                               ; preds = %93
  store float 0.000000e+00, ptr %20, align 4, !tbaa !19
  br label %115

100:                                              ; preds = %93
  %101 = load float, ptr %15, align 4, !tbaa !19
  %102 = load float, ptr %15, align 4, !tbaa !19
  %103 = load float, ptr %19, align 4, !tbaa !19
  %104 = load float, ptr %13, align 4, !tbaa !19
  %105 = fsub float %103, %104
  %106 = load float, ptr %19, align 4, !tbaa !19
  %107 = load float, ptr %13, align 4, !tbaa !19
  %108 = fsub float %106, %107
  %109 = fmul float %105, %108
  %110 = fneg float %109
  %111 = call float @llvm.fmuladd.f32(float %101, float %102, float %110)
  %112 = fpext float %111 to double
  %113 = call double @sqrt(double noundef %112) #5
  %114 = fptrunc double %113 to float
  store float %114, ptr %20, align 4, !tbaa !19
  br label %115

115:                                              ; preds = %100, %99
  br label %116

116:                                              ; preds = %115
  %117 = load float, ptr %19, align 4, !tbaa !19
  %118 = fsub float %117, 1.000000e+00
  %119 = getelementptr inbounds %struct.MImagePoint, ptr %16, i32 0, i32 0
  store float %118, ptr %119, align 4, !tbaa !22
  %120 = load float, ptr %14, align 4, !tbaa !19
  %121 = load float, ptr %18, align 4, !tbaa !19
  %122 = fadd float %120, %121
  %123 = getelementptr inbounds %struct.MImagePoint, ptr %16, i32 0, i32 1
  store float %122, ptr %123, align 4, !tbaa !23
  br label %124

124:                                              ; preds = %116
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  %127 = load float, ptr %19, align 4, !tbaa !19
  %128 = getelementptr inbounds %struct.MImagePoint, ptr %17, i32 0, i32 0
  store float %127, ptr %128, align 4, !tbaa !22
  %129 = load float, ptr %14, align 4, !tbaa !19
  %130 = load float, ptr %20, align 4, !tbaa !19
  %131 = fadd float %129, %130
  %132 = getelementptr inbounds %struct.MImagePoint, ptr %17, i32 0, i32 1
  store float %131, ptr %132, align 4, !tbaa !23
  br label %133

133:                                              ; preds = %126
  br label %134

134:                                              ; preds = %133
  call void @mLineTravel(ptr noundef %16, ptr noundef %17, i32 noundef 1, ptr noundef @PointDraw, ptr noundef %12)
  br label %135

135:                                              ; preds = %134
  %136 = load float, ptr %19, align 4, !tbaa !19
  %137 = fsub float %136, 1.000000e+00
  %138 = getelementptr inbounds %struct.MImagePoint, ptr %16, i32 0, i32 0
  store float %137, ptr %138, align 4, !tbaa !22
  %139 = load float, ptr %14, align 4, !tbaa !19
  %140 = load float, ptr %18, align 4, !tbaa !19
  %141 = fsub float %139, %140
  %142 = getelementptr inbounds %struct.MImagePoint, ptr %16, i32 0, i32 1
  store float %141, ptr %142, align 4, !tbaa !23
  br label %143

143:                                              ; preds = %135
  br label %144

144:                                              ; preds = %143
  br label %145

145:                                              ; preds = %144
  %146 = load float, ptr %19, align 4, !tbaa !19
  %147 = getelementptr inbounds %struct.MImagePoint, ptr %17, i32 0, i32 0
  store float %146, ptr %147, align 4, !tbaa !22
  %148 = load float, ptr %14, align 4, !tbaa !19
  %149 = load float, ptr %20, align 4, !tbaa !19
  %150 = fsub float %148, %149
  %151 = getelementptr inbounds %struct.MImagePoint, ptr %17, i32 0, i32 1
  store float %150, ptr %151, align 4, !tbaa !23
  br label %152

152:                                              ; preds = %145
  br label %153

153:                                              ; preds = %152
  call void @mLineTravel(ptr noundef %16, ptr noundef %17, i32 noundef 1, ptr noundef @PointDraw, ptr noundef %12)
  %154 = load float, ptr %20, align 4, !tbaa !19
  store float %154, ptr %18, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %155

155:                                              ; preds = %153
  %156 = load float, ptr %19, align 4, !tbaa !19
  %157 = fadd float %156, 1.000000e+00
  store float %157, ptr %19, align 4, !tbaa !19
  br label %85, !llvm.loop !24

158:                                              ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  ret void
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"DrawPara", !6, i64 0, !6, i64 8, !10, i64 16}
!13 = !{!12, !6, i64 8}
!14 = !{!12, !10, i64 16}
!15 = !{!16, !18, i64 0}
!16 = !{!"MImageCircle", !17, i64 0, !18, i64 8}
!17 = !{!"MImagePoint", !18, i64 0, !18, i64 4}
!18 = !{!"float", !7, i64 0}
!19 = !{!18, !18, i64 0}
!20 = !{!16, !18, i64 4}
!21 = !{!16, !18, i64 8}
!22 = !{!17, !18, i64 0}
!23 = !{!17, !18, i64 4}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


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

%struct.DrawPara = type { ptr, ptr, i32 }
%struct.MImagePoint = type { float, float }

@morn_default_color = external hidden global [4 x i8], align 1
@.str = external hidden unnamed_addr constant [83 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@__FUNCTION__.m_ImageDrawCircle = external hidden unnamed_addr constant [18 x i8], align 1

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

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

declare void @m_Exception(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1

declare void @mImageCopy(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @PointDraw(ptr noundef, ptr noundef) #2

declare void @mLineTravel(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @m_ImageDrawCircle(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #2 {
  %6 = alloca %struct.DrawPara, align 8
  %7 = alloca %struct.MImagePoint, align 4
  %8 = alloca %struct.MImagePoint, align 4
  %9 = icmp eq ptr %3, null
  %10 = icmp eq ptr %3, inttoptr (i64 -1 to ptr)
  %or.cond = or i1 %9, %10
  %spec.store.select = select i1 %or.cond, ptr @morn_default_color, ptr %3
  %11 = add i32 %4, -5
  %12 = icmp ult i32 %11, -6
  br i1 %12, label %13, label %14

13:                                               ; preds = %5
  tail call void (i32, i32, ptr, i32, ptr, ptr, ...) @m_Exception(i32 noundef 1, i32 noundef -1, ptr noundef nonnull @.str, i32 noundef 129, ptr noundef nonnull @__FUNCTION__.m_ImageDrawCircle, ptr noundef nonnull @.str.1) #5
  br label %14

14:                                               ; preds = %13, %5
  %spec.store.select6 = tail call i32 @llvm.smax.i32(i32 %4, i32 1)
  %magicptr = ptrtoint ptr %1 to i64
  switch i64 %magicptr, label %15 [
    i64 -1, label %17
    i64 0, label %17
  ]

15:                                               ; preds = %14
  %.not = icmp eq ptr %1, %0
  br i1 %.not, label %17, label %16

16:                                               ; preds = %15
  tail call void @mImageCopy(ptr noundef %0, ptr noundef %1) #5
  br label %17

17:                                               ; preds = %15, %14, %14, %16
  %.055 = phi ptr [ %1, %16 ], [ %0, %14 ], [ %0, %14 ], [ %0, %15 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  store ptr %.055, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %6, i64 8
  store ptr %spec.store.select, ptr %18, align 8, !tbaa !11
  %19 = getelementptr inbounds i8, ptr %6, i64 16
  store i32 %spec.store.select6, ptr %19, align 8, !tbaa !12
  %20 = load float, ptr %2, align 4, !tbaa !13
  %21 = getelementptr inbounds i8, ptr %2, i64 4
  %22 = load float, ptr %21, align 4, !tbaa !17
  %23 = getelementptr inbounds i8, ptr %2, i64 8
  %24 = load float, ptr %23, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %25 = fsub float %20, %24
  %26 = fadd float %20, %24
  %27 = fadd float %26, 1.000000e+00
  %.05358 = fadd float %25, 1.000000e+00
  %28 = fcmp olt float %.05358, %27
  br i1 %28, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %17
  %29 = getelementptr inbounds i8, ptr %7, i64 4
  %30 = getelementptr inbounds i8, ptr %8, i64 4
  br label %31

._crit_edge:                                      ; preds = %38, %17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  ret void

31:                                               ; preds = %.lr.ph, %38
  %.05360 = phi float [ %.05358, %.lr.ph ], [ %.053, %38 ]
  %.05459 = phi float [ 0.000000e+00, %.lr.ph ], [ %.0, %38 ]
  %32 = fcmp ogt float %.05360, %26
  br i1 %32, label %38, label %33

33:                                               ; preds = %31
  %34 = fsub float %.05360, %20
  %35 = fneg float %34
  %36 = fmul float %34, %35
  %37 = call float @llvm.fmuladd.f32(float %24, float %24, float %36)
  %sqrtf = call float @sqrtf(float noundef %37) #6
  br label %38

38:                                               ; preds = %31, %33
  %.0 = phi float [ %sqrtf, %33 ], [ 0.000000e+00, %31 ]
  %39 = fadd float %.05360, -1.000000e+00
  store float %39, ptr %7, align 4, !tbaa !19
  %40 = fadd float %22, %.05459
  store float %40, ptr %29, align 4, !tbaa !20
  store float %.05360, ptr %8, align 4, !tbaa !19
  %41 = fadd float %22, %.0
  store float %41, ptr %30, align 4, !tbaa !20
  call void @mLineTravel(ptr noundef nonnull %7, ptr noundef nonnull %8, i32 noundef 1, ptr noundef nonnull @PointDraw, ptr noundef nonnull %6) #5
  store float %39, ptr %7, align 4, !tbaa !19
  %42 = fsub float %22, %.05459
  store float %42, ptr %29, align 4, !tbaa !20
  store float %.05360, ptr %8, align 4, !tbaa !19
  %43 = fsub float %22, %.0
  store float %43, ptr %30, align 4, !tbaa !20
  call void @mLineTravel(ptr noundef nonnull %7, ptr noundef nonnull %8, i32 noundef 1, ptr noundef nonnull @PointDraw, ptr noundef nonnull %6) #5
  %.053 = fadd float %.05360, 1.000000e+00
  %44 = fcmp olt float %.053, %27
  br i1 %44, label %31, label %._crit_edge, !llvm.loop !21
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

declare float @sqrtf(float) local_unnamed_addr

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { mustprogress nofree nounwind willreturn memory(write) "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 = !{!6, !7, i64 0}
!6 = !{!"DrawPara", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !10, i64 16}
!13 = !{!14, !16, i64 0}
!14 = !{!"MImageCircle", !15, i64 0, !16, i64 8}
!15 = !{!"MImagePoint", !16, i64 0, !16, i64 4}
!16 = !{!"float", !8, i64 0}
!17 = !{!14, !16, i64 4}
!18 = !{!14, !16, i64 8}
!19 = !{!15, !16, i64 0}
!20 = !{!15, !16, i64 4}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass