; LLVM IR from ibr-ds/STANlite :: Enclave/sqlite (build)

; 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.SrcList = type { i32, i32, [1 x %struct.SrcList_item] }
%struct.SrcList_item = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, %struct.anon.1, i8, i32, ptr, ptr, i64, %union.anon.2, ptr }
%struct.anon.1 = type { i8, i8, [2 x i8] }
%union.anon.2 = type { 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

declare ptr @sqlite3DbRealloc(ptr noundef, ptr noundef, i64 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local ptr @sqlite3SrcListEnlarge(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.SrcList, ptr %15, i32 0, i32 0
  %17 = load i32, ptr %16, align 8, !tbaa !11
  %18 = load i32, ptr %8, align 4, !tbaa !9
  %19 = add i32 %17, %18
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.SrcList, ptr %20, i32 0, i32 1
  %22 = load i32, ptr %21, align 4, !tbaa !13
  %23 = icmp ugt i32 %19, %22
  br i1 %23, label %24, label %59

24:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.SrcList, ptr %25, i32 0, i32 0
  %27 = load i32, ptr %26, align 8, !tbaa !11
  %28 = mul nsw i32 %27, 2
  %29 = load i32, ptr %8, align 4, !tbaa !9
  %30 = add nsw i32 %28, %29
  store i32 %30, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = load i32, ptr %12, align 4, !tbaa !9
  %34 = sub nsw i32 %33, 1
  %35 = sext i32 %34 to i64
  %36 = mul i64 %35, 112
  %37 = add i64 120, %36
  %38 = call ptr @sqlite3DbRealloc(ptr noundef %31, ptr noundef %32, i64 noundef %37)
  store ptr %38, ptr %11, align 8, !tbaa !5
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  %40 = icmp eq ptr %39, null
  br i1 %40, label %41, label %43

41:                                               ; preds = %24
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %42, ptr %5, align 8
  store i32 1, ptr %14, align 4
  br label %56

43:                                               ; preds = %24
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %44, ptr %7, align 8, !tbaa !5
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  %47 = call i32 @sqlite3DbMallocSize(ptr noundef %45, ptr noundef %46)
  %48 = sext i32 %47 to i64
  %49 = sub i64 %48, 120
  %50 = udiv i64 %49, 112
  %51 = add i64 %50, 1
  %52 = trunc i64 %51 to i32
  store i32 %52, ptr %13, align 4, !tbaa !9
  %53 = load i32, ptr %13, align 4, !tbaa !9
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.SrcList, ptr %54, i32 0, i32 1
  store i32 %53, ptr %55, align 4, !tbaa !13
  store i32 0, ptr %14, align 4
  br label %56

56:                                               ; preds = %43, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  %57 = load i32, ptr %14, align 4
  switch i32 %57, label %117 [
    i32 0, label %58
  ]

58:                                               ; preds = %56
  br label %59

59:                                               ; preds = %58, %4
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.SrcList, ptr %60, i32 0, i32 0
  %62 = load i32, ptr %61, align 8, !tbaa !11
  %63 = sub nsw i32 %62, 1
  store i32 %63, ptr %10, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %81, %59
  %65 = load i32, ptr %10, align 4, !tbaa !9
  %66 = load i32, ptr %9, align 4, !tbaa !9
  %67 = icmp sge i32 %65, %66
  br i1 %67, label %68, label %84

68:                                               ; preds = %64
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.SrcList, ptr %69, i32 0, i32 2
  %71 = load i32, ptr %10, align 4, !tbaa !9
  %72 = load i32, ptr %8, align 4, !tbaa !9
  %73 = add nsw i32 %71, %72
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [1 x %struct.SrcList_item], ptr %70, i64 0, i64 %74
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.SrcList, ptr %76, i32 0, i32 2
  %78 = load i32, ptr %10, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [1 x %struct.SrcList_item], ptr %77, i64 0, i64 %79
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %75, ptr align 8 %80, i64 112, i1 false), !tbaa.struct !14
  br label %81

81:                                               ; preds = %68
  %82 = load i32, ptr %10, align 4, !tbaa !9
  %83 = add nsw i32 %82, -1
  store i32 %83, ptr %10, align 4, !tbaa !9
  br label %64, !llvm.loop !18

84:                                               ; preds = %64
  %85 = load i32, ptr %8, align 4, !tbaa !9
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.SrcList, ptr %86, i32 0, i32 0
  %88 = load i32, ptr %87, align 8, !tbaa !11
  %89 = add nsw i32 %88, %85
  store i32 %89, ptr %87, align 8, !tbaa !11
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.SrcList, ptr %90, i32 0, i32 2
  %92 = load i32, ptr %9, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [1 x %struct.SrcList_item], ptr %91, i64 0, i64 %93
  %95 = load i32, ptr %8, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = mul i64 112, %96
  call void @llvm.memset.p0.i64(ptr align 8 %94, i8 0, i64 %97, i1 false)
  %98 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %98, ptr %10, align 4, !tbaa !9
  br label %99

99:                                               ; preds = %112, %84
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = load i32, ptr %9, align 4, !tbaa !9
  %102 = load i32, ptr %8, align 4, !tbaa !9
  %103 = add nsw i32 %101, %102
  %104 = icmp slt i32 %100, %103
  br i1 %104, label %105, label %115

105:                                              ; preds = %99
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.SrcList, ptr %106, i32 0, i32 2
  %108 = load i32, ptr %10, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [1 x %struct.SrcList_item], ptr %107, i64 0, i64 %109
  %111 = getelementptr inbounds %struct.SrcList_item, ptr %110, i32 0, i32 11
  store i32 -1, ptr %111, align 4, !tbaa !20
  br label %112

112:                                              ; preds = %105
  %113 = load i32, ptr %10, align 4, !tbaa !9
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %10, align 4, !tbaa !9
  br label %99, !llvm.loop !23

115:                                              ; preds = %99
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %116, ptr %5, align 8
  store i32 1, ptr %14, align 4
  br label %117

117:                                              ; preds = %115, %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  %118 = load ptr, ptr %5, align 8
  ret ptr %118
}

declare i32 @sqlite3DbMallocSize(ptr noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"SrcList", !10, i64 0, !10, i64 4, !7, i64 8}
!13 = !{!12, !10, i64 4}
!14 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !5, i64 24, i64 8, !5, i64 32, i64 8, !5, i64 40, i64 8, !5, i64 48, i64 4, !9, i64 52, i64 4, !9, i64 56, i64 4, !9, i64 60, i64 1, !15, i64 61, i64 1, !15, i64 64, i64 1, !15, i64 68, i64 4, !9, i64 72, i64 8, !5, i64 80, i64 8, !5, i64 88, i64 8, !16, i64 96, i64 8, !15, i64 104, i64 8, !5}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !10, i64 68}
!21 = !{!"SrcList_item", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !22, i64 60, !7, i64 64, !10, i64 68, !6, i64 72, !6, i64 80, !17, i64 88, !7, i64 96, !6, i64 104}
!22 = !{!"", !7, i64 0, !10, i64 1, !10, i64 1, !10, i64 1, !10, i64 1, !10, i64 1, !10, i64 1}
!23 = distinct !{!23, !19}


; 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.SrcList_item = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, %struct.anon.1, i8, i32, ptr, ptr, i64, %union.anon.2, ptr }
%struct.anon.1 = type { i8, i8, [2 x i8] }
%union.anon.2 = type { ptr }

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

declare ptr @sqlite3DbRealloc(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local ptr @sqlite3SrcListEnlarge(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = load i32, ptr %1, align 8, !tbaa !5
  %6 = add i32 %5, %2
  %7 = getelementptr inbounds i8, ptr %1, i64 4
  %8 = load i32, ptr %7, align 4, !tbaa !10
  %9 = icmp ugt i32 %6, %8
  br i1 %9, label %10, label %26

10:                                               ; preds = %4
  %11 = shl nsw i32 %5, 1
  %12 = add i32 %2, -1
  %13 = add i32 %12, %11
  %14 = sext i32 %13 to i64
  %15 = mul nsw i64 %14, 112
  %16 = add nsw i64 %15, 120
  %17 = tail call ptr @sqlite3DbRealloc(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %16) #4
  %.not = icmp eq ptr %17, null
  br i1 %.not, label %.thread, label %18

18:                                               ; preds = %10
  %19 = tail call i32 @sqlite3DbMallocSize(ptr noundef %0, ptr noundef nonnull %17) #4
  %20 = sext i32 %19 to i64
  %21 = add nsw i64 %20, -120
  %22 = udiv i64 %21, 112
  %23 = trunc i64 %22 to i32
  %24 = add i32 %23, 1
  %25 = getelementptr inbounds i8, ptr %17, i64 4
  store i32 %24, ptr %25, align 4, !tbaa !10
  %.pre = load i32, ptr %17, align 8, !tbaa !5
  br label %26

26:                                               ; preds = %18, %4
  %27 = phi i32 [ %.pre, %18 ], [ %5, %4 ]
  %.140 = phi ptr [ %17, %18 ], [ %1, %4 ]
  %.not45.not47 = icmp sgt i32 %27, %3
  br i1 %.not45.not47, label %.lr.ph, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %26
  %.pre58 = sext i32 %3 to i64
  %.pre59 = sext i32 %2 to i64
  br label %._crit_edge

.lr.ph:                                           ; preds = %26
  %28 = getelementptr inbounds i8, ptr %.140, i64 8
  %29 = sext i32 %27 to i64
  %30 = sext i32 %2 to i64
  %31 = sext i32 %3 to i64
  %32 = sub nsw i64 %29, %31
  %xtraiter = and i64 %32, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.prol.loopexit, label %.prol.loopexit.unr-lcssa

.prol.loopexit.unr-lcssa:                         ; preds = %.lr.ph
  %indvars.iv.next.prol = add nsw i64 %29, -1
  %33 = add nsw i64 %indvars.iv.next.prol, %30
  %34 = getelementptr inbounds [1 x %struct.SrcList_item], ptr %28, i64 0, i64 %33
  %35 = getelementptr inbounds [1 x %struct.SrcList_item], ptr %28, i64 0, i64 %indvars.iv.next.prol
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(112) %34, ptr noundef nonnull align 8 dereferenceable(112) %35, i64 112, i1 false), !tbaa.struct !11
  br label %.prol.loopexit

.prol.loopexit:                                   ; preds = %.prol.loopexit.unr-lcssa, %.lr.ph
  %indvars.iv.unr = phi i64 [ %29, %.lr.ph ], [ %indvars.iv.next.prol, %.prol.loopexit.unr-lcssa ]
  %36 = add nsw i64 %29, -1
  %37 = icmp eq i64 %36, %31
  br i1 %37, label %._crit_edge.loopexit, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.prol.loopexit, %.lr.ph.new
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.lr.ph.new ], [ %indvars.iv.unr, %.prol.loopexit ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %38 = add nsw i64 %indvars.iv.next, %30
  %39 = getelementptr inbounds [1 x %struct.SrcList_item], ptr %28, i64 0, i64 %38
  %40 = getelementptr inbounds [1 x %struct.SrcList_item], ptr %28, i64 0, i64 %indvars.iv.next
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(112) %39, ptr noundef nonnull align 8 dereferenceable(112) %40, i64 112, i1 false), !tbaa.struct !11
  %indvars.iv.next.1 = add nsw i64 %indvars.iv, -2
  %41 = add nsw i64 %indvars.iv.next.1, %30
  %42 = getelementptr inbounds [1 x %struct.SrcList_item], ptr %28, i64 0, i64 %41
  %43 = getelementptr inbounds [1 x %struct.SrcList_item], ptr %28, i64 0, i64 %indvars.iv.next.1
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(112) %42, ptr noundef nonnull align 8 dereferenceable(112) %43, i64 112, i1 false), !tbaa.struct !11
  %.not45.not.1 = icmp sgt i64 %indvars.iv.next.1, %31
  br i1 %.not45.not.1, label %.lr.ph.new, label %._crit_edge.loopexit, !llvm.loop !18

._crit_edge.loopexit:                             ; preds = %.lr.ph.new, %.prol.loopexit
  %.pre57 = load i32, ptr %.140, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %.._crit_edge_crit_edge, %._crit_edge.loopexit
  %.pre-phi60 = phi i64 [ %.pre59, %.._crit_edge_crit_edge ], [ %30, %._crit_edge.loopexit ]
  %.pre-phi = phi i64 [ %.pre58, %.._crit_edge_crit_edge ], [ %31, %._crit_edge.loopexit ]
  %44 = phi i32 [ %27, %.._crit_edge_crit_edge ], [ %.pre57, %._crit_edge.loopexit ]
  %45 = add nsw i32 %44, %2
  store i32 %45, ptr %.140, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %.140, i64 8
  %47 = getelementptr inbounds [1 x %struct.SrcList_item], ptr %46, i64 0, i64 %.pre-phi
  %48 = mul nsw i64 %.pre-phi60, 112
  tail call void @llvm.memset.p0.i64(ptr nonnull align 8 %47, i8 0, i64 %48, i1 false)
  %49 = icmp sgt i32 %2, 0
  br i1 %49, label %.lr.ph51.preheader, label %.thread

.lr.ph51.preheader:                               ; preds = %._crit_edge
  %50 = add nsw i32 %3, %2
  %51 = sext i32 %50 to i64
  br label %.lr.ph51

.lr.ph51:                                         ; preds = %.lr.ph51.preheader, %.lr.ph51
  %indvars.iv54 = phi i64 [ %.pre-phi, %.lr.ph51.preheader ], [ %indvars.iv.next55, %.lr.ph51 ]
  %52 = getelementptr inbounds [1 x %struct.SrcList_item], ptr %46, i64 0, i64 %indvars.iv54, i32 11
  store i32 -1, ptr %52, align 4, !tbaa !20
  %indvars.iv.next55 = add nsw i64 %indvars.iv54, 1
  %53 = icmp slt i64 %indvars.iv.next55, %51
  br i1 %53, label %.lr.ph51, label %.thread, !llvm.loop !23

.thread:                                          ; preds = %.lr.ph51, %._crit_edge, %10
  %.1 = phi ptr [ %1, %10 ], [ %.140, %._crit_edge ], [ %.140, %.lr.ph51 ]
  ret ptr %.1
}

declare i32 @sqlite3DbMallocSize(ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 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 }

!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 = !{!"SrcList", !7, i64 0, !7, i64 4, !8, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{i64 0, i64 8, !12, i64 8, i64 8, !12, i64 16, i64 8, !12, i64 24, i64 8, !12, i64 32, i64 8, !12, i64 40, i64 8, !12, i64 48, i64 4, !14, i64 52, i64 4, !14, i64 56, i64 4, !14, i64 60, i64 1, !15, i64 61, i64 1, !15, i64 64, i64 1, !15, i64 68, i64 4, !14, i64 72, i64 8, !12, i64 80, i64 8, !12, i64 88, i64 8, !16, i64 96, i64 8, !15, i64 104, i64 8, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !7, i64 68}
!21 = !{!"SrcList_item", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !7, i64 48, !7, i64 52, !7, i64 56, !22, i64 60, !8, i64 64, !7, i64 68, !13, i64 72, !13, i64 80, !17, i64 88, !8, i64 96, !13, i64 104}
!22 = !{!"", !8, i64 0, !7, i64 1, !7, i64 1, !7, i64 1, !7, i64 1, !7, i64 1, !7, i64 1}
!23 = distinct !{!23, !19}


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