; LLVM IR from aap/librw :: src/ps2/ps2raster.ll (ZN2rw3ps210rasterLockEPNS_6RasterEii)

; 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.rw::Raster" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, i32, i32, i32, ptr, i32, i32 }
%"struct.rw::ps2::Ps2Raster" = type { i64, i32, i16, i8, i8, i64, i64, i32, i32, i32, i8, ptr, i32 }

@_ZN2rw3ps218nativeRasterOffsetE = external dso_local global i32, align 4
@.str.2 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@__PRETTY_FUNCTION__._ZN2rw3ps210rasterLockEPNS_6RasterEii = external hidden unnamed_addr constant [51 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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2rw3ps215unswizzleRasterEPNS_6RasterE(ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN2rw3ps2L15transferMinSizeEiiPiS1_(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN2rw3ps210rasterLockEPNS_6RasterEii(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = load i32, ptr @_ZN2rw3ps218nativeRasterOffsetE, align 4, !tbaa !9
  %14 = sext i32 %13 to i64
  %15 = getelementptr inbounds i8, ptr %12, i64 %14
  store ptr %15, ptr %7, align 8, !tbaa !5
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %"struct.rw::Raster", ptr %16, i32 0, i32 7
  %18 = load i32, ptr %17, align 4, !tbaa !11
  %19 = icmp ne i32 %18, 24
  br i1 %19, label %20, label %21

20:                                               ; preds = %3
  br label %23

21:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 1468, ptr noundef @__PRETTY_FUNCTION__._ZN2rw3ps210rasterLockEPNS_6RasterEii) #5
  unreachable

22:                                               ; No predecessors!
  br label %23

23:                                               ; preds = %22, %20
  %24 = load i32, ptr %5, align 4, !tbaa !9
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %26, label %94

26:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.rw::Raster", ptr %27, i32 0, i32 4
  %29 = load i32, ptr %28, align 8, !tbaa !13
  %30 = and i32 %29, 16384
  %31 = icmp ne i32 %30, 0
  %32 = zext i1 %31 to i64
  %33 = select i1 %31, i32 20, i32 19
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.rw::ps2::Ps2Raster", ptr %34, i32 0, i32 10
  %36 = load i8, ptr %35, align 4, !tbaa !14
  %37 = sext i8 %36 to i32
  call void @_ZN2rw3ps2L15transferMinSizeEiiPiS1_(i32 noundef %33, i32 noundef %37, ptr noundef %8, ptr noundef %9)
  br label %38

38:                                               ; preds = %67, %26
  %39 = load i32, ptr %5, align 4, !tbaa !9
  %40 = add nsw i32 %39, -1
  store i32 %40, ptr %5, align 4, !tbaa !9
  %41 = icmp ne i32 %39, 0
  br i1 %41, label %42, label %93

42:                                               ; preds = %38
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.rw::Raster", ptr %43, i32 0, i32 5
  %45 = load i32, ptr %44, align 4, !tbaa !18
  %46 = load i32, ptr %8, align 4, !tbaa !9
  %47 = icmp sgt i32 %45, %46
  br i1 %47, label %48, label %52

48:                                               ; preds = %42
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.rw::Raster", ptr %49, i32 0, i32 5
  %51 = load i32, ptr %50, align 4, !tbaa !18
  br label %54

52:                                               ; preds = %42
  %53 = load i32, ptr %8, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %52, %48
  %55 = phi i32 [ %51, %48 ], [ %53, %52 ]
  store i32 %55, ptr %10, align 4, !tbaa !9
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.rw::Raster", ptr %56, i32 0, i32 6
  %58 = load i32, ptr %57, align 8, !tbaa !19
  %59 = load i32, ptr %9, align 4, !tbaa !9
  %60 = icmp sgt i32 %58, %59
  br i1 %60, label %61, label %65

61:                                               ; preds = %54
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.rw::Raster", ptr %62, i32 0, i32 6
  %64 = load i32, ptr %63, align 8, !tbaa !19
  br label %67

65:                                               ; preds = %54
  %66 = load i32, ptr %9, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %65, %61
  %68 = phi i32 [ %64, %61 ], [ %66, %65 ]
  store i32 %68, ptr %11, align 4, !tbaa !9
  %69 = load i32, ptr %10, align 4, !tbaa !9
  %70 = load i32, ptr %11, align 4, !tbaa !9
  %71 = mul nsw i32 %69, %70
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.rw::Raster", ptr %72, i32 0, i32 7
  %74 = load i32, ptr %73, align 4, !tbaa !11
  %75 = mul nsw i32 %71, %74
  %76 = sdiv i32 %75, 8
  %77 = add nsw i32 %76, 15
  %78 = and i32 %77, -16
  %79 = add nsw i32 %78, 80
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.rw::Raster", ptr %80, i32 0, i32 9
  %82 = load ptr, ptr %81, align 8, !tbaa !20
  %83 = sext i32 %79 to i64
  %84 = getelementptr inbounds i8, ptr %82, i64 %83
  store ptr %84, ptr %81, align 8, !tbaa !20
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.rw::Raster", ptr %85, i32 0, i32 5
  %87 = load i32, ptr %86, align 4, !tbaa !18
  %88 = sdiv i32 %87, 2
  store i32 %88, ptr %86, align 4, !tbaa !18
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.rw::Raster", ptr %89, i32 0, i32 6
  %91 = load i32, ptr %90, align 8, !tbaa !19
  %92 = sdiv i32 %91, 2
  store i32 %92, ptr %90, align 8, !tbaa !19
  br label %38, !llvm.loop !21

93:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %94

94:                                               ; preds = %93, %23
  %95 = load i32, ptr %6, align 4, !tbaa !9
  %96 = and i32 %95, 4
  %97 = icmp eq i32 %96, 0
  br i1 %97, label %98, label %100

98:                                               ; preds = %94
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN2rw3ps215unswizzleRasterEPNS_6RasterE(ptr noundef %99)
  br label %100

100:                                              ; preds = %98, %94
  %101 = load i32, ptr %6, align 4, !tbaa !9
  %102 = and i32 %101, 2
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %109

104:                                              ; preds = %100
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.rw::Raster", ptr %105, i32 0, i32 3
  %107 = load i32, ptr %106, align 4, !tbaa !23
  %108 = or i32 %107, 2
  store i32 %108, ptr %106, align 4, !tbaa !23
  br label %109

109:                                              ; preds = %104, %100
  %110 = load i32, ptr %6, align 4, !tbaa !9
  %111 = and i32 %110, 1
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %118

113:                                              ; preds = %109
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.rw::Raster", ptr %114, i32 0, i32 3
  %116 = load i32, ptr %115, align 4, !tbaa !23
  %117 = or i32 %116, 4
  store i32 %117, ptr %115, align 4, !tbaa !23
  br label %118

118:                                              ; preds = %113, %109
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.rw::Raster", ptr %119, i32 0, i32 9
  %121 = load ptr, ptr %120, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret ptr %121
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn 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 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 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 = { nounwind }
attributes #5 = { noreturn 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 28}
!12 = !{!"_ZTSN2rw6RasterE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !10, i64 68, !10, i64 72, !6, i64 80, !10, i64 88, !10, i64 92}
!13 = !{!12, !10, i64 16}
!14 = !{!15, !7, i64 44}
!15 = !{!"_ZTSN2rw3ps29Ps2RasterE", !16, i64 0, !10, i64 8, !17, i64 12, !7, i64 14, !7, i64 15, !16, i64 16, !16, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !7, i64 44, !6, i64 48, !10, i64 56}
!16 = !{!"long", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!12, !10, i64 20}
!19 = !{!12, !10, i64 24}
!20 = !{!12, !6, i64 40}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!12, !10, i64 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"

@_ZN2rw3ps218nativeRasterOffsetE = external dso_local local_unnamed_addr global i32, align 4
@.str.2 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@__PRETTY_FUNCTION__._ZN2rw3ps210rasterLockEPNS_6RasterEii = external hidden unnamed_addr constant [51 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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2rw3ps215unswizzleRasterEPNS_6RasterE(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN2rw3ps2L15transferMinSizeEiiPiS1_(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN2rw3ps210rasterLockEPNS_6RasterEii(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = load i32, ptr @_ZN2rw3ps218nativeRasterOffsetE, align 4, !tbaa !5
  %7 = sext i32 %6 to i64
  %8 = getelementptr inbounds i8, ptr %0, i64 %7
  %9 = getelementptr inbounds i8, ptr %0, i64 28
  %10 = load i32, ptr %9, align 4, !tbaa !9
  %.not = icmp eq i32 %10, 24
  br i1 %.not, label %11, label %12

11:                                               ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 1468, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN2rw3ps210rasterLockEPNS_6RasterEii) #5
  unreachable

12:                                               ; preds = %3
  %13 = icmp sgt i32 %1, 0
  br i1 %13, label %14, label %45

14:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  %15 = getelementptr inbounds i8, ptr %0, i64 16
  %16 = load i32, ptr %15, align 8, !tbaa !12
  %17 = and i32 %16, 16384
  %.not27 = icmp eq i32 %17, 0
  %18 = select i1 %.not27, i32 19, i32 20
  %19 = getelementptr inbounds i8, ptr %8, i64 44
  %20 = load i8, ptr %19, align 4, !tbaa !13
  %21 = sext i8 %20 to i32
  call void @_ZN2rw3ps2L15transferMinSizeEiiPiS1_(i32 noundef %18, i32 noundef %21, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %22 = getelementptr inbounds i8, ptr %0, i64 20
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = load i32, ptr %5, align 4, !tbaa !5
  %25 = load i32, ptr %9, align 4, !tbaa !9
  %26 = getelementptr inbounds i8, ptr %0, i64 40
  %27 = load <2 x i32>, ptr %22, align 4, !tbaa !5
  %.promoted33 = load ptr, ptr %26, align 8, !tbaa !17
  br label %28

28:                                               ; preds = %14, %28
  %.035 = phi i32 [ %1, %14 ], [ %31, %28 ]
  %29 = phi ptr [ %.promoted33, %14 ], [ %42, %28 ]
  %30 = phi <2 x i32> [ %27, %14 ], [ %43, %28 ]
  %31 = add nsw i32 %.035, -1
  %32 = extractelement <2 x i32> %30, i64 0
  %. = call i32 @llvm.smax.i32(i32 %32, i32 %23)
  %33 = extractelement <2 x i32> %30, i64 1
  %34 = call i32 @llvm.smax.i32(i32 %33, i32 %24)
  %35 = mul nsw i32 %34, %.
  %36 = mul nsw i32 %35, %25
  %37 = sdiv i32 %36, 8
  %38 = add nsw i32 %37, 15
  %39 = and i32 %38, -16
  %40 = sext i32 %39 to i64
  %41 = getelementptr i8, ptr %29, i64 %40
  %42 = getelementptr i8, ptr %41, i64 80
  %43 = sdiv <2 x i32> %30, <i32 2, i32 2>
  %.not28 = icmp eq i32 %31, 0
  br i1 %.not28, label %44, label %28, !llvm.loop !18

44:                                               ; preds = %28
  store <2 x i32> %43, ptr %22, align 4, !tbaa !5
  store ptr %42, ptr %26, align 8, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br label %45

45:                                               ; preds = %44, %12
  %46 = and i32 %2, 4
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %49

48:                                               ; preds = %45
  call void @_ZN2rw3ps215unswizzleRasterEPNS_6RasterE(ptr noundef nonnull %0)
  br label %49

49:                                               ; preds = %48, %45
  %50 = and i32 %2, 2
  %.not29 = icmp eq i32 %50, 0
  br i1 %.not29, label %55, label %51

51:                                               ; preds = %49
  %52 = getelementptr inbounds i8, ptr %0, i64 12
  %53 = load i32, ptr %52, align 4, !tbaa !20
  %54 = or i32 %53, 2
  store i32 %54, ptr %52, align 4, !tbaa !20
  br label %55

55:                                               ; preds = %51, %49
  %56 = and i32 %2, 1
  %.not30 = icmp eq i32 %56, 0
  br i1 %.not30, label %61, label %57

57:                                               ; preds = %55
  %58 = getelementptr inbounds i8, ptr %0, i64 12
  %59 = load i32, ptr %58, align 4, !tbaa !20
  %60 = or i32 %59, 4
  store i32 %60, ptr %58, align 4, !tbaa !20
  br label %61

61:                                               ; preds = %57, %55
  %62 = getelementptr inbounds i8, ptr %0, i64 40
  %63 = load ptr, ptr %62, align 8, !tbaa !17
  ret ptr %63
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn 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 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 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { noreturn nounwind }
attributes #6 = { 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, !6, i64 28}
!10 = !{!"_ZTSN2rw6RasterE", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !6, i64 64, !6, i64 68, !6, i64 72, !11, i64 80, !6, i64 88, !6, i64 92}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 16}
!13 = !{!14, !7, i64 44}
!14 = !{!"_ZTSN2rw3ps29Ps2RasterE", !15, i64 0, !6, i64 8, !16, i64 12, !7, i64 14, !7, i64 15, !15, i64 16, !15, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !7, i64 44, !11, i64 48, !6, i64 56}
!15 = !{!"long", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!10, !11, i64 40}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!10, !6, i64 12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass