; LLVM IR from dloebl/cgif :: src (cgif_raw)

; 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.CGIFRaw_Config = type { ptr, ptr, ptr, i32, i16, i16, i16, i16 }
%struct.CGIFRaw = type { %struct.CGIFRaw_Config, i32 }

; Function Attrs: nounwind uwtable
define dso_local ptr @cgif_raw_newgif(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca [19 x i8], align 16
  %5 = alloca [13 x i8], align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i16, align 2
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 19, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 13, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %11, i32 0, i32 6
  %13 = load i16, ptr %12, align 8, !tbaa !9
  %14 = zext i16 %13 to i32
  %15 = icmp sgt i32 %14, 256
  br i1 %15, label %16, label %17

16:                                               ; preds = %1
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %132

17:                                               ; preds = %1
  %18 = call noalias ptr @malloc(i64 noundef 48) #6
  store ptr %18, ptr %6, align 8, !tbaa !5
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %22, label %21

21:                                               ; preds = %17
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %132

22:                                               ; preds = %17
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.CGIFRaw, ptr %23, i32 0, i32 0
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 %25, i64 40, i1 false)
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 0
  call void @initMainHeader(ptr noundef %26, ptr noundef %27)
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %28, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8, !tbaa !13
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %31, i32 0, i32 1
  %33 = load ptr, ptr %32, align 8, !tbaa !14
  %34 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 0
  %35 = call i32 %30(ptr noundef %33, ptr noundef %34, i64 noundef 13)
  store i32 %35, ptr %7, align 4, !tbaa !15
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %36, i32 0, i32 6
  %38 = load i16, ptr %37, align 8, !tbaa !9
  %39 = icmp ne i16 %38, 0
  br i1 %39, label %40, label %94

40:                                               ; preds = %22
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %41, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8, !tbaa !13
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %44, i32 0, i32 1
  %46 = load ptr, ptr %45, align 8, !tbaa !14
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %47, i32 0, i32 2
  %49 = load ptr, ptr %48, align 8, !tbaa !16
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %50, i32 0, i32 6
  %52 = load i16, ptr %51, align 8, !tbaa !9
  %53 = zext i16 %52 to i32
  %54 = mul nsw i32 %53, 3
  %55 = sext i32 %54 to i64
  %56 = call i32 %43(ptr noundef %46, ptr noundef %49, i64 noundef %55)
  %57 = load i32, ptr %7, align 4, !tbaa !15
  %58 = or i32 %57, %56
  store i32 %58, ptr %7, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %59, i32 0, i32 6
  %61 = load i16, ptr %60, align 8, !tbaa !9
  %62 = call zeroext i8 @calcNextPower2Ex(i16 noundef zeroext %61)
  store i8 %62, ptr %9, align 1, !tbaa !17
  %63 = load i8, ptr %9, align 1, !tbaa !17
  %64 = zext i8 %63 to i32
  %65 = icmp slt i32 %64, 1
  br i1 %65, label %66, label %67

66:                                               ; preds = %40
  br label %70

67:                                               ; preds = %40
  %68 = load i8, ptr %9, align 1, !tbaa !17
  %69 = zext i8 %68 to i32
  br label %70

70:                                               ; preds = %67, %66
  %71 = phi i32 [ 1, %66 ], [ %69, %67 ]
  %72 = trunc i32 %71 to i8
  store i8 %72, ptr %9, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 2, ptr %10) #5
  %73 = load i8, ptr %9, align 1, !tbaa !17
  %74 = zext i8 %73 to i32
  %75 = shl i32 1, %74
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %76, i32 0, i32 6
  %78 = load i16, ptr %77, align 8, !tbaa !9
  %79 = zext i16 %78 to i32
  %80 = sub nsw i32 %75, %79
  %81 = mul nsw i32 %80, 3
  %82 = trunc i32 %81 to i16
  store i16 %82, ptr %10, align 2, !tbaa !18
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %83, i32 0, i32 0
  %85 = load ptr, ptr %84, align 8, !tbaa !13
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %86, i32 0, i32 1
  %88 = load ptr, ptr %87, align 8, !tbaa !14
  %89 = load i16, ptr %10, align 2, !tbaa !18
  %90 = zext i16 %89 to i32
  %91 = call i32 @writeDummyBytes(ptr noundef %85, ptr noundef %88, i32 noundef %90)
  %92 = load i32, ptr %7, align 4, !tbaa !15
  %93 = or i32 %92, %91
  store i32 %93, ptr %7, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 2, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  br label %94

94:                                               ; preds = %70, %22
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %95, i32 0, i32 3
  %97 = load i32, ptr %96, align 8, !tbaa !19
  %98 = zext i32 %97 to i64
  %99 = and i64 %98, 1
  %100 = icmp ne i64 %99, 0
  br i1 %100, label %101, label %123

101:                                              ; preds = %94
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %102, i32 0, i32 3
  %104 = load i32, ptr %103, align 8, !tbaa !19
  %105 = zext i32 %104 to i64
  %106 = and i64 %105, 2
  %107 = icmp ne i64 %106, 0
  br i1 %107, label %123, label %108

108:                                              ; preds = %101
  %109 = getelementptr inbounds [19 x i8], ptr %4, i64 0, i64 0
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %110, i32 0, i32 7
  %112 = load i16, ptr %111, align 2, !tbaa !20
  call void @initAppExtBlock(ptr noundef %109, i16 noundef zeroext %112)
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %113, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8, !tbaa !13
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.CGIFRaw_Config, ptr %116, i32 0, i32 1
  %118 = load ptr, ptr %117, align 8, !tbaa !14
  %119 = getelementptr inbounds [19 x i8], ptr %4, i64 0, i64 0
  %120 = call i32 %115(ptr noundef %118, ptr noundef %119, i64 noundef 19)
  %121 = load i32, ptr %7, align 4, !tbaa !15
  %122 = or i32 %121, %120
  store i32 %122, ptr %7, align 4, !tbaa !15
  br label %123

123:                                              ; preds = %108, %101, %94
  %124 = load i32, ptr %7, align 4, !tbaa !15
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %128

126:                                              ; preds = %123
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %127) #5
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %132

128:                                              ; preds = %123
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.CGIFRaw, ptr %129, i32 0, i32 1
  store i32 6, ptr %130, align 8, !tbaa !21
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %131, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %132

132:                                              ; preds = %128, %126, %21, %16
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 13, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 19, ptr %4) #5
  %133 = load ptr, ptr %2, align 8
  ret ptr %133
}

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

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

; 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) #3

; Function Attrs: nounwind uwtable
declare hidden void @initMainHeader(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @calcNextPower2Ex(i16 noundef zeroext) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @writeDummyBytes(ptr noundef, ptr noundef, i32 noundef) #0

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

; Function Attrs: nounwind uwtable
declare hidden void @initAppExtBlock(ptr noundef, i16 noundef zeroext) #0

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

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 = { nocallback nofree nosync 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { nounwind }
attributes #6 = { 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 32}
!10 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !12, i64 28, !12, i64 30, !12, i64 32, !12, i64 34}
!11 = !{!"int", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!10, !6, i64 0}
!14 = !{!10, !6, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !6, i64 16}
!17 = !{!7, !7, i64 0}
!18 = !{!12, !12, i64 0}
!19 = !{!10, !11, i64 24}
!20 = !{!10, !12, i64 34}
!21 = !{!22, !11, i64 40}
!22 = !{!"", !10, i64 0, !11, i64 40}


; 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 noundef ptr @cgif_raw_newgif(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca [19 x i8], align 16
  %3 = alloca [13 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 19, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 13, ptr nonnull %3) #6
  %4 = getelementptr inbounds i8, ptr %0, i64 32
  %5 = load i16, ptr %4, align 8, !tbaa !5
  %6 = icmp ugt i16 %5, 256
  br i1 %6, label %52, label %7

7:                                                ; preds = %1
  %8 = tail call noalias dereferenceable_or_null(48) ptr @malloc(i64 noundef 48) #7
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %52, label %9

9:                                                ; preds = %7
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull align 8 dereferenceable(40) %0, i64 40, i1 false)
  call void @initMainHeader(ptr noundef nonnull %0, ptr noundef nonnull %3)
  %10 = load ptr, ptr %0, align 8, !tbaa !12
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !13
  %13 = call i32 %10(ptr noundef %12, ptr noundef nonnull %3, i64 noundef 13) #6
  %14 = load i16, ptr %4, align 8, !tbaa !5
  %.not35 = icmp eq i16 %14, 0
  br i1 %.not35, label %37, label %15

15:                                               ; preds = %9
  %16 = load ptr, ptr %0, align 8, !tbaa !12
  %17 = load ptr, ptr %11, align 8, !tbaa !13
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  %19 = load ptr, ptr %18, align 8, !tbaa !14
  %20 = zext i16 %14 to i64
  %21 = mul nuw nsw i64 %20, 3
  %22 = call i32 %16(ptr noundef %17, ptr noundef %19, i64 noundef %21) #6
  %23 = load i16, ptr %4, align 8, !tbaa !5
  %24 = call zeroext i8 @calcNextPower2Ex(i16 noundef zeroext %23)
  %narrow = call i8 @llvm.umax.i8(i8 %24, i8 1)
  %25 = zext nneg i8 %narrow to i32
  %26 = shl nuw i32 1, %25
  %27 = load i16, ptr %4, align 8, !tbaa !5
  %28 = trunc i32 %26 to i16
  %29 = sub i16 %28, %27
  %30 = mul i16 %29, 3
  %31 = load ptr, ptr %0, align 8, !tbaa !12
  %32 = load ptr, ptr %11, align 8, !tbaa !13
  %33 = zext i16 %30 to i32
  %34 = call i32 @writeDummyBytes(ptr noundef %31, ptr noundef %32, i32 noundef %33)
  %35 = or i32 %22, %34
  %36 = or i32 %35, %13
  br label %37

37:                                               ; preds = %15, %9
  %.032 = phi i32 [ %36, %15 ], [ %13, %9 ]
  %38 = getelementptr inbounds i8, ptr %0, i64 24
  %39 = load i32, ptr %38, align 8, !tbaa !15
  %40 = and i32 %39, 3
  %or.cond = icmp eq i32 %40, 1
  br i1 %or.cond, label %41, label %48

41:                                               ; preds = %37
  %42 = getelementptr inbounds i8, ptr %0, i64 34
  %43 = load i16, ptr %42, align 2, !tbaa !16
  call void @initAppExtBlock(ptr noundef nonnull %2, i16 noundef zeroext %43)
  %44 = load ptr, ptr %0, align 8, !tbaa !12
  %45 = load ptr, ptr %11, align 8, !tbaa !13
  %46 = call i32 %44(ptr noundef %45, ptr noundef nonnull %2, i64 noundef 19) #6
  %47 = or i32 %46, %.032
  br label %48

48:                                               ; preds = %41, %37
  %.1 = phi i32 [ %47, %41 ], [ %.032, %37 ]
  %.not38 = icmp eq i32 %.1, 0
  br i1 %.not38, label %50, label %49

49:                                               ; preds = %48
  call void @free(ptr noundef nonnull %8) #6
  br label %52

50:                                               ; preds = %48
  %51 = getelementptr inbounds i8, ptr %8, i64 40
  store i32 6, ptr %51, align 8, !tbaa !17
  br label %52

52:                                               ; preds = %7, %1, %50, %49
  %.0 = phi ptr [ null, %49 ], [ %8, %50 ], [ null, %1 ], [ null, %7 ]
  call void @llvm.lifetime.end.p0(i64 13, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 19, ptr nonnull %2) #6
  ret ptr %.0
}

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

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

; Function Attrs: mustprogress 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) #3

; Function Attrs: nounwind uwtable
declare hidden void @initMainHeader(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @calcNextPower2Ex(i16 noundef zeroext) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @writeDummyBytes(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare hidden void @initAppExtBlock(ptr noundef, i16 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

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

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 willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { 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, !11, i64 32}
!6 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 28, !11, i64 30, !11, i64 32, !11, i64 34}
!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 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !10, i64 24}
!16 = !{!6, !11, i64 34}
!17 = !{!18, !10, i64 40}
!18 = !{!"", !6, i64 0, !10, i64 40}


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