; LLVM IR from arasgungore/filters-and-fractals :: main (adjustSaturation)

; 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.PPMImage = type { i32, i32, ptr }
%struct.PPMPixel = type { i8, i8, i8 }

; 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: nounwind uwtable
declare dso_local ptr @convertHSLtoRGB(double noundef, double noundef, double noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @convertRGBtoHSL(double noundef, double noundef, double noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @adjustSaturation(ptr noundef %0, double noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store double %1, ptr %4, align 8, !tbaa !9
  %11 = load double, ptr %4, align 8, !tbaa !9
  %12 = fdiv double %11, 1.000000e+02
  store double %12, ptr %4, align 8, !tbaa !9
  %13 = load double, ptr %4, align 8, !tbaa !9
  %14 = fcmp olt double %13, -1.000000e+00
  br i1 %14, label %15, label %16

15:                                               ; preds = %2
  store double -1.000000e+00, ptr %4, align 8, !tbaa !9
  br label %21

16:                                               ; preds = %2
  %17 = load double, ptr %4, align 8, !tbaa !9
  %18 = fcmp ogt double %17, 1.000000e+00
  br i1 %18, label %19, label %20

19:                                               ; preds = %16
  store double 1.000000e+00, ptr %4, align 8, !tbaa !9
  br label %20

20:                                               ; preds = %19, %16
  br label %21

21:                                               ; preds = %20, %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 0, ptr %5, align 4, !tbaa !11
  br label %22

22:                                               ; preds = %133, %21
  %23 = load i32, ptr %5, align 4, !tbaa !11
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.PPMImage, ptr %24, i32 0, i32 0
  %26 = load i32, ptr %25, align 8, !tbaa !13
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.PPMImage, ptr %27, i32 0, i32 1
  %29 = load i32, ptr %28, align 4, !tbaa !15
  %30 = mul i32 %26, %29
  %31 = icmp ult i32 %23, %30
  br i1 %31, label %32, label %136

32:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.PPMImage, ptr %33, i32 0, i32 2
  %35 = load ptr, ptr %34, align 8, !tbaa !16
  %36 = load i32, ptr %5, align 4, !tbaa !11
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds %struct.PPMPixel, ptr %35, i64 %37
  %39 = getelementptr inbounds %struct.PPMPixel, ptr %38, i32 0, i32 0
  %40 = load i8, ptr %39, align 1, !tbaa !17
  %41 = uitofp i8 %40 to double
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.PPMImage, ptr %42, i32 0, i32 2
  %44 = load ptr, ptr %43, align 8, !tbaa !16
  %45 = load i32, ptr %5, align 4, !tbaa !11
  %46 = zext i32 %45 to i64
  %47 = getelementptr inbounds %struct.PPMPixel, ptr %44, i64 %46
  %48 = getelementptr inbounds %struct.PPMPixel, ptr %47, i32 0, i32 1
  %49 = load i8, ptr %48, align 1, !tbaa !19
  %50 = uitofp i8 %49 to double
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.PPMImage, ptr %51, i32 0, i32 2
  %53 = load ptr, ptr %52, align 8, !tbaa !16
  %54 = load i32, ptr %5, align 4, !tbaa !11
  %55 = zext i32 %54 to i64
  %56 = getelementptr inbounds %struct.PPMPixel, ptr %53, i64 %55
  %57 = getelementptr inbounds %struct.PPMPixel, ptr %56, i32 0, i32 2
  %58 = load i8, ptr %57, align 1, !tbaa !20
  %59 = uitofp i8 %58 to double
  %60 = call ptr @convertRGBtoHSL(double noundef %41, double noundef %50, double noundef %59)
  store ptr %60, ptr %6, align 8, !tbaa !5
  %61 = load double, ptr %4, align 8, !tbaa !9
  %62 = fcmp oge double %61, 0.000000e+00
  br i1 %62, label %63, label %79

63:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds double, ptr %64, i64 1
  %66 = load double, ptr %65, align 8, !tbaa !9
  store double %66, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds double, ptr %67, i64 1
  %69 = load double, ptr %68, align 8, !tbaa !9
  %70 = fsub double 1.000000e+00, %69
  store double %70, ptr %8, align 8, !tbaa !9
  %71 = load double, ptr %4, align 8, !tbaa !9
  %72 = load double, ptr %8, align 8, !tbaa !9
  %73 = fmul double %71, %72
  %74 = load double, ptr %7, align 8, !tbaa !9
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds double, ptr %75, i64 1
  %77 = load double, ptr %76, align 8, !tbaa !9
  %78 = call double @llvm.fmuladd.f64(double %73, double %74, double %77)
  store double %78, ptr %76, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  br label %89

79:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds double, ptr %80, i64 1
  %82 = load double, ptr %81, align 8, !tbaa !9
  store double %82, ptr %9, align 8, !tbaa !9
  %83 = load double, ptr %4, align 8, !tbaa !9
  %84 = load double, ptr %9, align 8, !tbaa !9
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = getelementptr inbounds double, ptr %85, i64 1
  %87 = load double, ptr %86, align 8, !tbaa !9
  %88 = call double @llvm.fmuladd.f64(double %83, double %84, double %87)
  store double %88, ptr %86, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  br label %89

89:                                               ; preds = %79, %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = getelementptr inbounds double, ptr %90, i64 0
  %92 = load double, ptr %91, align 8, !tbaa !9
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds double, ptr %93, i64 1
  %95 = load double, ptr %94, align 8, !tbaa !9
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds double, ptr %96, i64 2
  %98 = load double, ptr %97, align 8, !tbaa !9
  %99 = call ptr @convertHSLtoRGB(double noundef %92, double noundef %95, double noundef %98)
  store ptr %99, ptr %10, align 8, !tbaa !5
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = getelementptr inbounds double, ptr %100, i64 0
  %102 = load double, ptr %101, align 8, !tbaa !9
  %103 = fptoui double %102 to i8
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.PPMImage, ptr %104, i32 0, i32 2
  %106 = load ptr, ptr %105, align 8, !tbaa !16
  %107 = load i32, ptr %5, align 4, !tbaa !11
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds %struct.PPMPixel, ptr %106, i64 %108
  %110 = getelementptr inbounds %struct.PPMPixel, ptr %109, i32 0, i32 0
  store i8 %103, ptr %110, align 1, !tbaa !17
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = getelementptr inbounds double, ptr %111, i64 1
  %113 = load double, ptr %112, align 8, !tbaa !9
  %114 = fptoui double %113 to i8
  %115 = load ptr, ptr %3, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.PPMImage, ptr %115, i32 0, i32 2
  %117 = load ptr, ptr %116, align 8, !tbaa !16
  %118 = load i32, ptr %5, align 4, !tbaa !11
  %119 = zext i32 %118 to i64
  %120 = getelementptr inbounds %struct.PPMPixel, ptr %117, i64 %119
  %121 = getelementptr inbounds %struct.PPMPixel, ptr %120, i32 0, i32 1
  store i8 %114, ptr %121, align 1, !tbaa !19
  %122 = load ptr, ptr %10, align 8, !tbaa !5
  %123 = getelementptr inbounds double, ptr %122, i64 2
  %124 = load double, ptr %123, align 8, !tbaa !9
  %125 = fptoui double %124 to i8
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.PPMImage, ptr %126, i32 0, i32 2
  %128 = load ptr, ptr %127, align 8, !tbaa !16
  %129 = load i32, ptr %5, align 4, !tbaa !11
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds %struct.PPMPixel, ptr %128, i64 %130
  %132 = getelementptr inbounds %struct.PPMPixel, ptr %131, i32 0, i32 2
  store i8 %125, ptr %132, align 1, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %133

133:                                              ; preds = %89
  %134 = load i32, ptr %5, align 4, !tbaa !11
  %135 = add i32 %134, 1
  store i32 %135, ptr %5, align 4, !tbaa !11
  br label %22, !llvm.loop !21

136:                                              ; preds = %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"", !12, i64 0, !12, i64 4, !6, i64 8}
!15 = !{!14, !12, i64 4}
!16 = !{!14, !6, i64 8}
!17 = !{!18, !7, i64 0}
!18 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2}
!19 = !{!18, !7, i64 1}
!20 = !{!18, !7, i64 2}
!21 = distinct !{!21, !22}
!22 = !{!"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.PPMPixel = type { i8, i8, i8 }

; Function Attrs: nounwind uwtable
declare dso_local ptr @convertHSLtoRGB(double noundef, double noundef, double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @convertRGBtoHSL(double noundef, double noundef, double noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @adjustSaturation(ptr nocapture noundef readonly %0, double noundef %1) local_unnamed_addr #0 {
  %3 = fdiv double %1, 1.000000e+02
  %4 = fcmp olt double %3, -1.000000e+00
  br i1 %4, label %7, label %5

5:                                                ; preds = %2
  %6 = fcmp ogt double %3, 1.000000e+00
  br i1 %6, label %.thread, label %7

7:                                                ; preds = %2, %5
  %.0 = phi double [ %3, %5 ], [ -1.000000e+00, %2 ]
  %8 = getelementptr inbounds i8, ptr %0, i64 4
  %9 = load i32, ptr %0, align 8, !tbaa !5
  %10 = load i32, ptr %8, align 4, !tbaa !11
  %11 = mul i32 %10, %9
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.thread:                                          ; preds = %5
  %12 = getelementptr inbounds i8, ptr %0, i64 4
  %13 = load i32, ptr %0, align 8, !tbaa !5
  %14 = load i32, ptr %12, align 4, !tbaa !11
  %15 = mul i32 %14, %13
  %.not45 = icmp eq i32 %15, 0
  br i1 %.not45, label %._crit_edge, label %.lr.ph.thread

.lr.ph.thread:                                    ; preds = %.thread
  %16 = getelementptr inbounds i8, ptr %0, i64 8
  br label %.lr.ph.split.preheader

.lr.ph:                                           ; preds = %7
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  %18 = fcmp ult double %.0, 0.000000e+00
  br i1 %18, label %.lr.ph.split.us.preheader, label %.lr.ph.split.preheader

.lr.ph.split.preheader:                           ; preds = %.lr.ph.thread, %.lr.ph
  %19 = phi ptr [ %16, %.lr.ph.thread ], [ %17, %.lr.ph ]
  %.04648 = phi double [ 1.000000e+00, %.lr.ph.thread ], [ %.0, %.lr.ph ]
  %20 = phi ptr [ %12, %.lr.ph.thread ], [ %8, %.lr.ph ]
  %.pre = load ptr, ptr %19, align 8, !tbaa !12
  br label %.lr.ph.split

.lr.ph.split.us.preheader:                        ; preds = %.lr.ph
  %.pre43 = load ptr, ptr %17, align 8, !tbaa !12
  br label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph.split.us.preheader, %.lr.ph.split.us
  %21 = phi ptr [ %.pre43, %.lr.ph.split.us.preheader ], [ %41, %.lr.ph.split.us ]
  %indvars.iv40 = phi i64 [ 0, %.lr.ph.split.us.preheader ], [ %indvars.iv.next41, %.lr.ph.split.us ]
  %22 = getelementptr inbounds %struct.PPMPixel, ptr %21, i64 %indvars.iv40
  %23 = load i8, ptr %22, align 1, !tbaa !13
  %24 = uitofp i8 %23 to double
  %25 = getelementptr inbounds i8, ptr %22, i64 1
  %26 = load i8, ptr %25, align 1, !tbaa !15
  %27 = uitofp i8 %26 to double
  %28 = getelementptr inbounds i8, ptr %22, i64 2
  %29 = load i8, ptr %28, align 1, !tbaa !16
  %30 = uitofp i8 %29 to double
  %31 = tail call ptr @convertRGBtoHSL(double noundef %24, double noundef %27, double noundef %30)
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = load double, ptr %32, align 8, !tbaa !17
  %34 = tail call double @llvm.fmuladd.f64(double %.0, double %33, double %33)
  store double %34, ptr %32, align 8, !tbaa !17
  %35 = load double, ptr %31, align 8, !tbaa !17
  %36 = getelementptr inbounds i8, ptr %31, i64 16
  %37 = load double, ptr %36, align 8, !tbaa !17
  %38 = tail call ptr @convertHSLtoRGB(double noundef %35, double noundef %34, double noundef %37)
  %39 = load double, ptr %38, align 8, !tbaa !17
  %40 = fptoui double %39 to i8
  %41 = load ptr, ptr %17, align 8, !tbaa !12
  %42 = getelementptr inbounds %struct.PPMPixel, ptr %41, i64 %indvars.iv40
  store i8 %40, ptr %42, align 1, !tbaa !13
  %43 = getelementptr inbounds i8, ptr %38, i64 8
  %44 = load double, ptr %43, align 8, !tbaa !17
  %45 = fptoui double %44 to i8
  %46 = getelementptr inbounds %struct.PPMPixel, ptr %41, i64 %indvars.iv40, i32 1
  store i8 %45, ptr %46, align 1, !tbaa !15
  %47 = getelementptr inbounds i8, ptr %38, i64 16
  %48 = load double, ptr %47, align 8, !tbaa !17
  %49 = fptoui double %48 to i8
  %50 = getelementptr inbounds %struct.PPMPixel, ptr %41, i64 %indvars.iv40, i32 2
  store i8 %49, ptr %50, align 1, !tbaa !16
  %indvars.iv.next41 = add nuw nsw i64 %indvars.iv40, 1
  %51 = load i32, ptr %0, align 8, !tbaa !5
  %52 = load i32, ptr %8, align 4, !tbaa !11
  %53 = mul i32 %52, %51
  %54 = zext i32 %53 to i64
  %55 = icmp ult i64 %indvars.iv.next41, %54
  br i1 %55, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !19

.lr.ph.split:                                     ; preds = %.lr.ph.split.preheader, %.lr.ph.split
  %56 = phi ptr [ %.pre, %.lr.ph.split.preheader ], [ %78, %.lr.ph.split ]
  %indvars.iv = phi i64 [ 0, %.lr.ph.split.preheader ], [ %indvars.iv.next, %.lr.ph.split ]
  %57 = getelementptr inbounds %struct.PPMPixel, ptr %56, i64 %indvars.iv
  %58 = load i8, ptr %57, align 1, !tbaa !13
  %59 = uitofp i8 %58 to double
  %60 = getelementptr inbounds i8, ptr %57, i64 1
  %61 = load i8, ptr %60, align 1, !tbaa !15
  %62 = uitofp i8 %61 to double
  %63 = getelementptr inbounds i8, ptr %57, i64 2
  %64 = load i8, ptr %63, align 1, !tbaa !16
  %65 = uitofp i8 %64 to double
  %66 = tail call ptr @convertRGBtoHSL(double noundef %59, double noundef %62, double noundef %65)
  %67 = getelementptr inbounds i8, ptr %66, i64 8
  %68 = load double, ptr %67, align 8, !tbaa !17
  %69 = fsub double 1.000000e+00, %68
  %70 = fmul double %.04648, %69
  %71 = tail call double @llvm.fmuladd.f64(double %70, double %68, double %68)
  store double %71, ptr %67, align 8, !tbaa !17
  %72 = load double, ptr %66, align 8, !tbaa !17
  %73 = getelementptr inbounds i8, ptr %66, i64 16
  %74 = load double, ptr %73, align 8, !tbaa !17
  %75 = tail call ptr @convertHSLtoRGB(double noundef %72, double noundef %71, double noundef %74)
  %76 = load double, ptr %75, align 8, !tbaa !17
  %77 = fptoui double %76 to i8
  %78 = load ptr, ptr %19, align 8, !tbaa !12
  %79 = getelementptr inbounds %struct.PPMPixel, ptr %78, i64 %indvars.iv
  store i8 %77, ptr %79, align 1, !tbaa !13
  %80 = getelementptr inbounds i8, ptr %75, i64 8
  %81 = load double, ptr %80, align 8, !tbaa !17
  %82 = fptoui double %81 to i8
  %83 = getelementptr inbounds %struct.PPMPixel, ptr %78, i64 %indvars.iv, i32 1
  store i8 %82, ptr %83, align 1, !tbaa !15
  %84 = getelementptr inbounds i8, ptr %75, i64 16
  %85 = load double, ptr %84, align 8, !tbaa !17
  %86 = fptoui double %85 to i8
  %87 = getelementptr inbounds %struct.PPMPixel, ptr %78, i64 %indvars.iv, i32 2
  store i8 %86, ptr %87, align 1, !tbaa !16
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %88 = load i32, ptr %0, align 8, !tbaa !5
  %89 = load i32, ptr %20, align 4, !tbaa !11
  %90 = mul i32 %89, %88
  %91 = zext i32 %90 to i64
  %92 = icmp ult i64 %indvars.iv.next, %91
  br i1 %92, label %.lr.ph.split, label %._crit_edge, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph.split, %.lr.ph.split.us, %.thread, %7
  ret void
}

attributes #0 = { 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 = !{!"", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2}
!15 = !{!14, !8, i64 1}
!16 = !{!14, !8, i64 2}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass