; LLVM IR from mkazhdan/DMG :: Util/TIFF (tif_write)

; 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.tiff = type { ptr, i32, i32, i32, i32, i32, ptr, i16, %struct.TIFFDirectory, %struct.TIFFHeader, ptr, ptr, i32, i16, i32, i32, i32, i16, i32, i32, i32, i32, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, ptr, %struct.TIFFTagMethods, ptr }
%struct.TIFFDirectory = type { [4 x i64], i32, i32, i32, i32, i32, i32, i32, i16, i16, i16, i16, i16, i16, i16, i16, i32, i16, i16, double, double, float, float, i16, i16, float, float, [2 x i16], [3 x ptr], [2 x i16], i16, ptr, i32, i32, ptr, ptr, i32, i16, ptr, [2 x i16], i16, [3 x ptr], i32, ptr, i32, ptr }
%struct.TIFFHeader = type { i16, i16, i32 }
%struct.TIFFTagMethods = type { ptr, ptr, 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: nounwind uwtable
define dso_local i32 @TIFFSetupStrips(ptr noundef %0) #1 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %6 = load ptr, ptr %3, align 8, !tbaa !5
  %7 = getelementptr inbounds %struct.tiff, ptr %6, i32 0, i32 8
  store ptr %7, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.tiff, ptr %8, i32 0, i32 3
  %10 = load i32, ptr %9, align 8, !tbaa !9
  %11 = and i32 %10, 1024
  %12 = icmp ne i32 %11, 0
  br i1 %12, label %13, label %39

13:                                               ; preds = %1
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.tiff, ptr %14, i32 0, i32 8
  %16 = getelementptr inbounds %struct.TIFFDirectory, ptr %15, i32 0, i32 0
  %17 = getelementptr inbounds [4 x i64], ptr %16, i64 0, i64 0
  %18 = load i64, ptr %17, align 8, !tbaa !19
  %19 = and i64 %18, 4
  %20 = icmp ne i64 %19, 0
  br i1 %20, label %21, label %32

21:                                               ; preds = %13
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.tiff, ptr %22, i32 0, i32 8
  %24 = getelementptr inbounds %struct.TIFFDirectory, ptr %23, i32 0, i32 2
  %25 = load i32, ptr %24, align 4, !tbaa !20
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %27, label %32

27:                                               ; preds = %21
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.TIFFDirectory, ptr %28, i32 0, i32 15
  %30 = load i16, ptr %29, align 2, !tbaa !21
  %31 = zext i16 %30 to i32
  br label %35

32:                                               ; preds = %21, %13
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = call i32 @TIFFNumberOfTiles(ptr noundef %33)
  br label %35

35:                                               ; preds = %32, %27
  %36 = phi i32 [ %31, %27 ], [ %34, %32 ]
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.TIFFDirectory, ptr %37, i32 0, i32 32
  store i32 %36, ptr %38, align 8, !tbaa !22
  br label %65

39:                                               ; preds = %1
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.tiff, ptr %40, i32 0, i32 8
  %42 = getelementptr inbounds %struct.TIFFDirectory, ptr %41, i32 0, i32 0
  %43 = getelementptr inbounds [4 x i64], ptr %42, i64 0, i64 0
  %44 = load i64, ptr %43, align 8, !tbaa !19
  %45 = and i64 %44, 131072
  %46 = icmp ne i64 %45, 0
  br i1 %46, label %47, label %58

47:                                               ; preds = %39
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.tiff, ptr %48, i32 0, i32 8
  %50 = getelementptr inbounds %struct.TIFFDirectory, ptr %49, i32 0, i32 2
  %51 = load i32, ptr %50, align 4, !tbaa !20
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %53, label %58

53:                                               ; preds = %47
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.TIFFDirectory, ptr %54, i32 0, i32 15
  %56 = load i16, ptr %55, align 2, !tbaa !21
  %57 = zext i16 %56 to i32
  br label %61

58:                                               ; preds = %47, %39
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = call i32 @TIFFNumberOfStrips(ptr noundef %59)
  br label %61

61:                                               ; preds = %58, %53
  %62 = phi i32 [ %57, %53 ], [ %60, %58 ]
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.TIFFDirectory, ptr %63, i32 0, i32 32
  store i32 %62, ptr %64, align 8, !tbaa !22
  br label %65

65:                                               ; preds = %61, %35
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.TIFFDirectory, ptr %66, i32 0, i32 32
  %68 = load i32, ptr %67, align 8, !tbaa !22
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.TIFFDirectory, ptr %69, i32 0, i32 33
  store i32 %68, ptr %70, align 4, !tbaa !23
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.TIFFDirectory, ptr %71, i32 0, i32 24
  %73 = load i16, ptr %72, align 2, !tbaa !24
  %74 = zext i16 %73 to i32
  %75 = icmp eq i32 %74, 2
  br i1 %75, label %76, label %85

76:                                               ; preds = %65
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.TIFFDirectory, ptr %77, i32 0, i32 15
  %79 = load i16, ptr %78, align 2, !tbaa !21
  %80 = zext i16 %79 to i32
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.TIFFDirectory, ptr %81, i32 0, i32 32
  %83 = load i32, ptr %82, align 8, !tbaa !22
  %84 = udiv i32 %83, %80
  store i32 %84, ptr %82, align 8, !tbaa !22
  br label %85

85:                                               ; preds = %76, %65
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.TIFFDirectory, ptr %86, i32 0, i32 33
  %88 = load i32, ptr %87, align 4, !tbaa !23
  %89 = zext i32 %88 to i64
  %90 = mul i64 %89, 4
  %91 = trunc i64 %90 to i32
  %92 = call ptr @_TIFFmalloc(i32 noundef %91)
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.TIFFDirectory, ptr %93, i32 0, i32 34
  store ptr %92, ptr %94, align 8, !tbaa !25
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.TIFFDirectory, ptr %95, i32 0, i32 33
  %97 = load i32, ptr %96, align 4, !tbaa !23
  %98 = zext i32 %97 to i64
  %99 = mul i64 %98, 4
  %100 = trunc i64 %99 to i32
  %101 = call ptr @_TIFFmalloc(i32 noundef %100)
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.TIFFDirectory, ptr %102, i32 0, i32 35
  store ptr %101, ptr %103, align 8, !tbaa !26
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.TIFFDirectory, ptr %104, i32 0, i32 34
  %106 = load ptr, ptr %105, align 8, !tbaa !25
  %107 = icmp eq ptr %106, null
  br i1 %107, label %113, label %108

108:                                              ; preds = %85
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.TIFFDirectory, ptr %109, i32 0, i32 35
  %111 = load ptr, ptr %110, align 8, !tbaa !26
  %112 = icmp eq ptr %111, null
  br i1 %112, label %113, label %114

113:                                              ; preds = %108, %85
  store i32 0, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %145

114:                                              ; preds = %108
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.TIFFDirectory, ptr %115, i32 0, i32 34
  %117 = load ptr, ptr %116, align 8, !tbaa !25
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.TIFFDirectory, ptr %118, i32 0, i32 33
  %120 = load i32, ptr %119, align 4, !tbaa !23
  %121 = zext i32 %120 to i64
  %122 = mul i64 %121, 4
  %123 = trunc i64 %122 to i32
  call void @_TIFFmemset(ptr noundef %117, i32 noundef 0, i32 noundef %123)
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.TIFFDirectory, ptr %124, i32 0, i32 35
  %126 = load ptr, ptr %125, align 8, !tbaa !26
  %127 = load ptr, ptr %4, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.TIFFDirectory, ptr %127, i32 0, i32 33
  %129 = load i32, ptr %128, align 4, !tbaa !23
  %130 = zext i32 %129 to i64
  %131 = mul i64 %130, 4
  %132 = trunc i64 %131 to i32
  call void @_TIFFmemset(ptr noundef %126, i32 noundef 0, i32 noundef %132)
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.tiff, ptr %133, i32 0, i32 8
  %135 = getelementptr inbounds %struct.TIFFDirectory, ptr %134, i32 0, i32 0
  %136 = getelementptr inbounds [4 x i64], ptr %135, i64 0, i64 0
  %137 = load i64, ptr %136, align 8, !tbaa !19
  %138 = or i64 %137, 33554432
  store i64 %138, ptr %136, align 8, !tbaa !19
  %139 = load ptr, ptr %3, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.tiff, ptr %139, i32 0, i32 8
  %141 = getelementptr inbounds %struct.TIFFDirectory, ptr %140, i32 0, i32 0
  %142 = getelementptr inbounds [4 x i64], ptr %141, i64 0, i64 0
  %143 = load i64, ptr %142, align 8, !tbaa !19
  %144 = or i64 %143, 16777216
  store i64 %144, ptr %142, align 8, !tbaa !19
  store i32 1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %145

145:                                              ; preds = %114, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %146 = load i32, ptr %2, align 4
  ret i32 %146
}

declare i32 @TIFFNumberOfTiles(ptr noundef) #2

declare i32 @TIFFNumberOfStrips(ptr noundef) #2

declare ptr @_TIFFmalloc(i32 noundef) #2

declare void @_TIFFmemset(ptr noundef, i32 noundef, i32 noundef) #2

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 = { "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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"tiff", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !6, i64 32, !12, i64 40, !13, i64 48, !16, i64 320, !6, i64 328, !6, i64 336, !11, i64 344, !12, i64 348, !11, i64 352, !11, i64 356, !11, i64 360, !12, i64 364, !11, i64 368, !11, i64 372, !11, i64 376, !11, i64 380, !11, i64 384, !6, i64 392, !6, i64 400, !6, i64 408, !11, i64 416, !6, i64 424, !6, i64 432, !6, i64 440, !6, i64 448, !6, i64 456, !6, i64 464, !6, i64 472, !6, i64 480, !6, i64 488, !6, i64 496, !6, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !11, i64 536, !11, i64 540, !6, i64 544, !11, i64 552, !6, i64 560, !11, i64 568, !6, i64 576, !11, i64 584, !6, i64 592, !6, i64 600, !6, i64 608, !6, i64 616, !6, i64 624, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !17, i64 672, !6, i64 680, !18, i64 688, !6, i64 712}
!11 = !{!"int", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!"", !7, i64 0, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !12, i64 60, !12, i64 62, !12, i64 64, !12, i64 66, !12, i64 68, !12, i64 70, !12, i64 72, !12, i64 74, !11, i64 76, !12, i64 80, !12, i64 82, !14, i64 88, !14, i64 96, !15, i64 104, !15, i64 108, !12, i64 112, !12, i64 114, !15, i64 116, !15, i64 120, !7, i64 124, !7, i64 128, !7, i64 152, !12, i64 156, !6, i64 160, !11, i64 168, !11, i64 172, !6, i64 176, !6, i64 184, !11, i64 192, !12, i64 196, !6, i64 200, !7, i64 208, !12, i64 212, !7, i64 216, !11, i64 240, !6, i64 248, !11, i64 256, !6, i64 264}
!14 = !{!"double", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!"", !12, i64 0, !12, i64 2, !11, i64 4}
!17 = !{!"long", !7, i64 0}
!18 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!17, !17, i64 0}
!20 = !{!10, !11, i64 84}
!21 = !{!13, !12, i64 74}
!22 = !{!13, !11, i64 168}
!23 = !{!13, !11, i64 172}
!24 = !{!13, !12, i64 114}
!25 = !{!13, !6, i64 176}
!26 = !{!13, !6, i64 184}


; 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: nounwind uwtable
define dso_local range(i32 0, 2) i32 @TIFFSetupStrips(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 48
  %3 = getelementptr inbounds i8, ptr %0, i64 16
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = and i32 %4, 1024
  %.not = icmp eq i32 %5, 0
  %6 = load i64, ptr %2, align 8, !tbaa !18
  br i1 %.not, label %19, label %7

7:                                                ; preds = %1
  %8 = and i64 %6, 4
  %.not31 = icmp eq i64 %8, 0
  br i1 %.not31, label %17, label %9

9:                                                ; preds = %7
  %10 = getelementptr inbounds i8, ptr %0, i64 84
  %11 = load i32, ptr %10, align 4, !tbaa !19
  %12 = icmp eq i32 %11, 0
  br i1 %12, label %13, label %17

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %0, i64 122
  %15 = load i16, ptr %14, align 2, !tbaa !20
  %16 = zext i16 %15 to i32
  br label %31

17:                                               ; preds = %9, %7
  %18 = tail call i32 @TIFFNumberOfTiles(ptr noundef nonnull %0) #2
  br label %31

19:                                               ; preds = %1
  %20 = and i64 %6, 131072
  %.not30 = icmp eq i64 %20, 0
  br i1 %.not30, label %29, label %21

21:                                               ; preds = %19
  %22 = getelementptr inbounds i8, ptr %0, i64 84
  %23 = load i32, ptr %22, align 4, !tbaa !19
  %24 = icmp eq i32 %23, 0
  br i1 %24, label %25, label %29

25:                                               ; preds = %21
  %26 = getelementptr inbounds i8, ptr %0, i64 122
  %27 = load i16, ptr %26, align 2, !tbaa !20
  %28 = zext i16 %27 to i32
  br label %31

29:                                               ; preds = %21, %19
  %30 = tail call i32 @TIFFNumberOfStrips(ptr noundef nonnull %0) #2
  br label %31

31:                                               ; preds = %25, %29, %13, %17
  %.sink = phi i32 [ %16, %13 ], [ %18, %17 ], [ %28, %25 ], [ %30, %29 ]
  %32 = getelementptr inbounds i8, ptr %0, i64 216
  store i32 %.sink, ptr %32, align 8, !tbaa !21
  %33 = getelementptr inbounds i8, ptr %0, i64 220
  store i32 %.sink, ptr %33, align 4, !tbaa !22
  %34 = getelementptr inbounds i8, ptr %0, i64 162
  %35 = load i16, ptr %34, align 2, !tbaa !23
  %36 = icmp eq i16 %35, 2
  br i1 %36, label %37, label %43

37:                                               ; preds = %31
  %38 = getelementptr inbounds i8, ptr %0, i64 216
  %39 = getelementptr inbounds i8, ptr %0, i64 122
  %40 = load i16, ptr %39, align 2, !tbaa !20
  %41 = zext i16 %40 to i32
  %42 = udiv i32 %.sink, %41
  store i32 %42, ptr %38, align 8, !tbaa !21
  br label %43

43:                                               ; preds = %37, %31
  %44 = shl i32 %.sink, 2
  %45 = tail call ptr @_TIFFmalloc(i32 noundef %44) #2
  %46 = getelementptr inbounds i8, ptr %0, i64 224
  store ptr %45, ptr %46, align 8, !tbaa !24
  %47 = load i32, ptr %33, align 4, !tbaa !22
  %48 = shl i32 %47, 2
  %49 = tail call ptr @_TIFFmalloc(i32 noundef %48) #2
  %50 = getelementptr inbounds i8, ptr %0, i64 232
  store ptr %49, ptr %50, align 8, !tbaa !25
  %51 = load ptr, ptr %46, align 8, !tbaa !24
  %52 = icmp eq ptr %51, null
  %53 = icmp eq ptr %49, null
  %or.cond = select i1 %52, i1 true, i1 %53
  br i1 %or.cond, label %62, label %54

54:                                               ; preds = %43
  %55 = load i32, ptr %33, align 4, !tbaa !22
  %56 = shl i32 %55, 2
  tail call void @_TIFFmemset(ptr noundef nonnull %51, i32 noundef 0, i32 noundef %56) #2
  %57 = load ptr, ptr %50, align 8, !tbaa !25
  %58 = load i32, ptr %33, align 4, !tbaa !22
  %59 = shl i32 %58, 2
  tail call void @_TIFFmemset(ptr noundef %57, i32 noundef 0, i32 noundef %59) #2
  %60 = load i64, ptr %2, align 8, !tbaa !18
  %61 = or i64 %60, 50331648
  store i64 %61, ptr %2, align 8, !tbaa !18
  br label %62

62:                                               ; preds = %43, %54
  %.0 = phi i32 [ 1, %54 ], [ 0, %43 ]
  ret i32 %.0
}

declare i32 @TIFFNumberOfTiles(ptr noundef) local_unnamed_addr #1

declare i32 @TIFFNumberOfStrips(ptr noundef) local_unnamed_addr #1

declare ptr @_TIFFmalloc(i32 noundef) local_unnamed_addr #1

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

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 = { "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 }

!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, !10, i64 16}
!6 = !{!"tiff", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 32, !11, i64 40, !12, i64 48, !15, i64 320, !7, i64 328, !7, i64 336, !10, i64 344, !11, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !11, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !7, i64 392, !7, i64 400, !7, i64 408, !10, i64 416, !7, i64 424, !7, i64 432, !7, i64 440, !7, i64 448, !7, i64 456, !7, i64 464, !7, i64 472, !7, i64 480, !7, i64 488, !7, i64 496, !7, i64 504, !7, i64 512, !7, i64 520, !7, i64 528, !10, i64 536, !10, i64 540, !7, i64 544, !10, i64 552, !7, i64 560, !10, i64 568, !7, i64 576, !10, i64 584, !7, i64 592, !7, i64 600, !7, i64 608, !7, i64 616, !7, i64 624, !7, i64 632, !7, i64 640, !7, i64 648, !7, i64 656, !7, i64 664, !16, i64 672, !7, i64 680, !17, i64 688, !7, i64 712}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!"", !8, i64 0, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !11, i64 60, !11, i64 62, !11, i64 64, !11, i64 66, !11, i64 68, !11, i64 70, !11, i64 72, !11, i64 74, !10, i64 76, !11, i64 80, !11, i64 82, !13, i64 88, !13, i64 96, !14, i64 104, !14, i64 108, !11, i64 112, !11, i64 114, !14, i64 116, !14, i64 120, !8, i64 124, !8, i64 128, !8, i64 152, !11, i64 156, !7, i64 160, !10, i64 168, !10, i64 172, !7, i64 176, !7, i64 184, !10, i64 192, !11, i64 196, !7, i64 200, !8, i64 208, !11, i64 212, !8, i64 216, !10, i64 240, !7, i64 248, !10, i64 256, !7, i64 264}
!13 = !{!"double", !8, i64 0}
!14 = !{!"float", !8, i64 0}
!15 = !{!"", !11, i64 0, !11, i64 2, !10, i64 4}
!16 = !{!"long", !8, i64 0}
!17 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16}
!18 = !{!16, !16, i64 0}
!19 = !{!6, !10, i64 84}
!20 = !{!12, !11, i64 74}
!21 = !{!12, !10, i64 168}
!22 = !{!12, !10, i64 172}
!23 = !{!12, !11, i64 114}
!24 = !{!12, !7, i64 176}
!25 = !{!12, !7, i64 184}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass