; LLVM IR from OAID/AutoKernel :: autokernel_plugin/tests/common/tengine_operations.ll (Z8rgb2gray5image)

; 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.image = type { i32, i32, i32, ptr }

; 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z10free_image5image(ptr noundef byval(%struct.image) align 8) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z8rgb2gray5image(ptr dead_on_unwind noalias writable sret(%struct.image) align 8 %0, ptr noundef byval(%struct.image) align 8 %1) #4 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca %struct.image, align 8
  %10 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 1
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %12 = getelementptr inbounds %struct.image, ptr %0, i32 0, i32 1
  store i32 %11, ptr %12, align 4, !tbaa !5
  %13 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 0
  %14 = load i32, ptr %13, align 8, !tbaa !11
  %15 = getelementptr inbounds %struct.image, ptr %0, i32 0, i32 0
  store i32 %14, ptr %15, align 8, !tbaa !11
  %16 = getelementptr inbounds %struct.image, ptr %0, i32 0, i32 2
  store i32 1, ptr %16, align 8, !tbaa !12
  %17 = getelementptr inbounds %struct.image, ptr %0, i32 0, i32 1
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = mul i64 4, %19
  %21 = getelementptr inbounds %struct.image, ptr %0, i32 0, i32 0
  %22 = load i32, ptr %21, align 8, !tbaa !11
  %23 = sext i32 %22 to i64
  %24 = mul i64 %20, %23
  %25 = call noalias ptr @malloc(i64 noundef %24) #6
  %26 = getelementptr inbounds %struct.image, ptr %0, i32 0, i32 3
  store ptr %25, ptr %26, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 0, ptr %3, align 4, !tbaa !14
  br label %27

27:                                               ; preds = %117, %2
  %28 = load i32, ptr %3, align 4, !tbaa !14
  %29 = getelementptr inbounds %struct.image, ptr %0, i32 0, i32 1
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = icmp slt i32 %28, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %27
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %120

33:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !14
  br label %34

34:                                               ; preds = %113, %33
  %35 = load i32, ptr %5, align 4, !tbaa !14
  %36 = getelementptr inbounds %struct.image, ptr %0, i32 0, i32 0
  %37 = load i32, ptr %36, align 8, !tbaa !11
  %38 = icmp slt i32 %35, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %34
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %116

40:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %41 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 3
  %42 = load ptr, ptr %41, align 8, !tbaa !13
  %43 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 1
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = mul nsw i32 0, %44
  %46 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 0
  %47 = load i32, ptr %46, align 8, !tbaa !11
  %48 = mul nsw i32 %45, %47
  %49 = load i32, ptr %3, align 4, !tbaa !14
  %50 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 0
  %51 = load i32, ptr %50, align 8, !tbaa !11
  %52 = mul nsw i32 %49, %51
  %53 = add nsw i32 %48, %52
  %54 = load i32, ptr %5, align 4, !tbaa !14
  %55 = add nsw i32 %53, %54
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds float, ptr %42, i64 %56
  %58 = load float, ptr %57, align 4, !tbaa !15
  store float %58, ptr %6, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %59 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 3
  %60 = load ptr, ptr %59, align 8, !tbaa !13
  %61 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 1
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = mul nsw i32 1, %62
  %64 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 0
  %65 = load i32, ptr %64, align 8, !tbaa !11
  %66 = mul nsw i32 %63, %65
  %67 = load i32, ptr %3, align 4, !tbaa !14
  %68 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 0
  %69 = load i32, ptr %68, align 8, !tbaa !11
  %70 = mul nsw i32 %67, %69
  %71 = add nsw i32 %66, %70
  %72 = load i32, ptr %5, align 4, !tbaa !14
  %73 = add nsw i32 %71, %72
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds float, ptr %60, i64 %74
  %76 = load float, ptr %75, align 4, !tbaa !15
  store float %76, ptr %7, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %77 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 3
  %78 = load ptr, ptr %77, align 8, !tbaa !13
  %79 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 1
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = mul nsw i32 2, %80
  %82 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 0
  %83 = load i32, ptr %82, align 8, !tbaa !11
  %84 = mul nsw i32 %81, %83
  %85 = load i32, ptr %3, align 4, !tbaa !14
  %86 = getelementptr inbounds %struct.image, ptr %1, i32 0, i32 0
  %87 = load i32, ptr %86, align 8, !tbaa !11
  %88 = mul nsw i32 %85, %87
  %89 = add nsw i32 %84, %88
  %90 = load i32, ptr %5, align 4, !tbaa !14
  %91 = add nsw i32 %89, %90
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds float, ptr %78, i64 %92
  %94 = load float, ptr %93, align 4, !tbaa !15
  store float %94, ptr %8, align 4, !tbaa !15
  %95 = load float, ptr %6, align 4, !tbaa !15
  %96 = load float, ptr %7, align 4, !tbaa !15
  %97 = fmul float %96, 5.870000e+02
  %98 = call float @llvm.fmuladd.f32(float %95, float 2.990000e+02, float %97)
  %99 = load float, ptr %8, align 4, !tbaa !15
  %100 = call float @llvm.fmuladd.f32(float %99, float 1.140000e+02, float %98)
  %101 = fadd float %100, 5.000000e+02
  %102 = fdiv float %101, 1.000000e+03
  %103 = getelementptr inbounds %struct.image, ptr %0, i32 0, i32 3
  %104 = load ptr, ptr %103, align 8, !tbaa !13
  %105 = load i32, ptr %3, align 4, !tbaa !14
  %106 = getelementptr inbounds %struct.image, ptr %0, i32 0, i32 0
  %107 = load i32, ptr %106, align 8, !tbaa !11
  %108 = mul nsw i32 %105, %107
  %109 = load i32, ptr %5, align 4, !tbaa !14
  %110 = add nsw i32 %108, %109
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds float, ptr %104, i64 %111
  store float %102, ptr %112, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %113

113:                                              ; preds = %40
  %114 = load i32, ptr %5, align 4, !tbaa !14
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %5, align 4, !tbaa !14
  br label %34, !llvm.loop !17

116:                                              ; preds = %39
  br label %117

117:                                              ; preds = %116
  %118 = load i32, ptr %3, align 4, !tbaa !14
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %3, align 4, !tbaa !14
  br label %27, !llvm.loop !19

120:                                              ; preds = %32
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %1, i64 24, i1 false), !tbaa.struct !20
  call void @_Z10free_image5image(ptr noundef byval(%struct.image) align 8 %9)
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind 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 #3 = { 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 #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind allocsize(0) }
attributes #7 = { 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 4}
!6 = !{!"_ZTS5image", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !10, i64 16}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{i64 0, i64 4, !14, i64 4, i64 4, !14, i64 8, i64 4, !14, i64 16, i64 8, !21}
!21 = !{!10, !10, 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"

%struct.image = type { i32, i32, i32, ptr }

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z10free_image5image(ptr noundef byval(%struct.image) align 8) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z8rgb2gray5image(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.image) align 8 %0, ptr nocapture noundef readonly byval(%struct.image) align 8 %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %1, i64 4
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 4
  store i32 %4, ptr %5, align 4, !tbaa !5
  %6 = load i32, ptr %1, align 8, !tbaa !11
  store i32 %6, ptr %0, align 8, !tbaa !11
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 1, ptr %7, align 8, !tbaa !12
  %8 = sext i32 %4 to i64
  %9 = shl nsw i64 %8, 2
  %10 = sext i32 %6 to i64
  %11 = mul i64 %9, %10
  %12 = tail call noalias ptr @malloc(i64 noundef %11) #4
  %13 = ptrtoint ptr %12 to i64
  %14 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %12, ptr %14, align 8, !tbaa !13
  %15 = icmp sgt i32 %4, 0
  br i1 %15, label %.preheader.lr.ph, label %._crit_edge18

.preheader.lr.ph:                                 ; preds = %2
  %16 = icmp sgt i32 %6, 0
  %17 = getelementptr inbounds i8, ptr %1, i64 16
  %18 = load ptr, ptr %17, align 8
  br i1 %16, label %.preheader.us.preheader, label %._crit_edge18

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %19 = ptrtoint ptr %18 to i64
  %20 = shl nuw nsw i32 %4, 1
  %21 = zext nneg i32 %4 to i64
  %wide.trip.count = zext nneg i32 %6 to i64
  %22 = sub i64 %13, %19
  %23 = shl nuw nsw i64 %10, 2
  %24 = mul i32 %4, %6
  %25 = shl i32 %24, 1
  %min.iters.check = icmp ult i32 %6, 4
  %diff.check29 = icmp ult i64 %22, 16
  %n.vec = and i64 %wide.trip.count, 2147483644
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us
  %indvars.iv21 = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next22, %._crit_edge.us ]
  %26 = mul nuw nsw i64 %indvars.iv21, %10
  %27 = trunc i64 %indvars.iv21 to i32
  %28 = add i32 %4, %27
  %29 = mul i32 %28, %6
  %30 = trunc i64 %indvars.iv21 to i32
  %31 = add i32 %20, %30
  %32 = mul i32 %31, %6
  %33 = sext i32 %29 to i64
  %34 = sext i32 %32 to i64
  %invariant.gep = getelementptr float, ptr %18, i64 %33
  %invariant.gep26 = getelementptr float, ptr %18, i64 %34
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %.preheader.us
  %35 = mul i64 %23, %indvars.iv21
  %36 = add i64 %22, %35
  %37 = mul i64 %indvars.iv21, %wide.trip.count
  %38 = trunc i64 %37 to i32
  %39 = add i32 %24, %38
  %40 = sext i32 %39 to i64
  %41 = shl nsw i64 %40, 2
  %42 = sub i64 %36, %41
  %43 = trunc i64 %37 to i32
  %44 = add i32 %25, %43
  %45 = sext i32 %44 to i64
  %46 = shl nsw i64 %45, 2
  %47 = sub i64 %36, %46
  %diff.check = icmp ult i64 %47, 16
  %diff.check28 = icmp ult i64 %42, 16
  %conflict.rdx = or i1 %diff.check, %diff.check28
  %conflict.rdx30 = or i1 %conflict.rdx, %diff.check29
  br i1 %conflict.rdx30, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %vector.memcheck, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %vector.memcheck ]
  %48 = add nuw nsw i64 %index, %26
  %49 = getelementptr inbounds float, ptr %18, i64 %48
  %wide.load = load <4 x float>, ptr %49, align 4, !tbaa !14
  %50 = getelementptr float, ptr %invariant.gep, i64 %index
  %wide.load31 = load <4 x float>, ptr %50, align 4, !tbaa !14
  %51 = getelementptr float, ptr %invariant.gep26, i64 %index
  %wide.load32 = load <4 x float>, ptr %51, align 4, !tbaa !14
  %52 = fmul <4 x float> %wide.load31, <float 5.870000e+02, float 5.870000e+02, float 5.870000e+02, float 5.870000e+02>
  %53 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load, <4 x float> <float 2.990000e+02, float 2.990000e+02, float 2.990000e+02, float 2.990000e+02>, <4 x float> %52)
  %54 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load32, <4 x float> <float 1.140000e+02, float 1.140000e+02, float 1.140000e+02, float 1.140000e+02>, <4 x float> %53)
  %55 = fadd <4 x float> %54, <float 5.000000e+02, float 5.000000e+02, float 5.000000e+02, float 5.000000e+02>
  %56 = fdiv <4 x float> %55, <float 1.000000e+03, float 1.000000e+03, float 1.000000e+03, float 1.000000e+03>
  %57 = getelementptr inbounds float, ptr %12, i64 %48
  store <4 x float> %56, ptr %57, align 4, !tbaa !14
  %index.next = add nuw i64 %index, 4
  %58 = icmp eq i64 %index.next, %n.vec
  br i1 %58, label %middle.block, label %vector.body, !llvm.loop !16

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.preheader.us
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.preheader.us ], [ %n.vec, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %59 = add nuw nsw i64 %indvars.iv, %26
  %60 = getelementptr inbounds float, ptr %18, i64 %59
  %61 = load float, ptr %60, align 4, !tbaa !14
  %gep = getelementptr float, ptr %invariant.gep, i64 %indvars.iv
  %62 = load float, ptr %gep, align 4, !tbaa !14
  %gep27 = getelementptr float, ptr %invariant.gep26, i64 %indvars.iv
  %63 = load float, ptr %gep27, align 4, !tbaa !14
  %64 = fmul float %62, 5.870000e+02
  %65 = tail call float @llvm.fmuladd.f32(float %61, float 2.990000e+02, float %64)
  %66 = tail call float @llvm.fmuladd.f32(float %63, float 1.140000e+02, float %65)
  %67 = fadd float %66, 5.000000e+02
  %68 = fdiv float %67, 1.000000e+03
  %69 = getelementptr inbounds float, ptr %12, i64 %59
  store float %68, ptr %69, align 4, !tbaa !14
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge.us, label %scalar.ph, !llvm.loop !20

._crit_edge.us:                                   ; preds = %scalar.ph, %middle.block
  %indvars.iv.next22 = add nuw nsw i64 %indvars.iv21, 1
  %exitcond25.not = icmp eq i64 %indvars.iv.next22, %21
  br i1 %exitcond25.not, label %._crit_edge18, label %.preheader.us, !llvm.loop !21

._crit_edge18:                                    ; preds = %._crit_edge.us, %.preheader.lr.ph, %2
  tail call void @_Z10free_image5image(ptr noundef nonnull byval(%struct.image) align 8 %1)
  ret void
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #3

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind 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 4}
!6 = !{!"_ZTS5image", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !10, i64 16}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !8, i64 0}
!16 = distinct !{!16, !17, !18, !19}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !17, !18}
!21 = distinct !{!21, !17}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass