; LLVM IR from erthink/libmdbx :: src (cogs)

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

; 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(none)
declare i64 @llvm.expect.i64(i64, i64) #1

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

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

23:                                               ; preds = %2
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.iovec, ptr %24, i32 0, i32 1
  %26 = load i64, ptr %25, align 8, !tbaa !9
  br label %31

27:                                               ; preds = %2
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.iovec, ptr %28, i32 0, i32 1
  %30 = load i64, ptr %29, align 8, !tbaa !9
  br label %31

31:                                               ; preds = %27, %23
  %32 = phi i64 [ %26, %23 ], [ %30, %27 ]
  store i64 %32, ptr %6, align 8, !tbaa !12
  %33 = load i64, ptr %6, align 8, !tbaa !12
  %34 = icmp ne i64 %33, 0
  %35 = xor i1 %34, true
  %36 = xor i1 %35, true
  %37 = zext i1 %36 to i32
  %38 = sext i32 %37 to i64
  %39 = call i64 @llvm.expect.i64(i64 %38, i64 1)
  %40 = icmp ne i64 %39, 0
  br i1 %40, label %41, label %147

41:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.iovec, ptr %42, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8, !tbaa !13
  %45 = ptrtoint ptr %44 to i64
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.iovec, ptr %46, i32 0, i32 1
  %48 = load i64, ptr %47, align 8, !tbaa !9
  %49 = add nsw i64 %45, %48
  %50 = inttoptr i64 %49 to ptr
  store ptr %50, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.iovec, ptr %51, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8, !tbaa !13
  %54 = ptrtoint ptr %53 to i64
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.iovec, ptr %55, i32 0, i32 1
  %57 = load i64, ptr %56, align 8, !tbaa !9
  %58 = add nsw i64 %54, %57
  %59 = inttoptr i64 %58 to ptr
  store ptr %59, ptr %8, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %86, %41
  %61 = load i64, ptr %6, align 8, !tbaa !12
  %62 = icmp uge i64 %61, 8
  br i1 %62, label %63, label %87

63:                                               ; preds = %60
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %64, i64 -8
  store ptr %65, ptr %7, align 8, !tbaa !5
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i64 -8
  store ptr %67, ptr %8, align 8, !tbaa !5
  %68 = load i64, ptr %6, align 8, !tbaa !12
  %69 = sub i64 %68, 8
  store i64 %69, ptr %6, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = call i64 @unaligned_peek_u64(i64 noundef 1, ptr noundef %70) #6
  store i64 %71, ptr %9, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = call i64 @unaligned_peek_u64(i64 noundef 1, ptr noundef %72) #6
  store i64 %73, ptr %10, align 8, !tbaa !12
  %74 = load i64, ptr %9, align 8, !tbaa !12
  %75 = load i64, ptr %10, align 8, !tbaa !12
  %76 = icmp ne i64 %74, %75
  br i1 %76, label %77, label %83

77:                                               ; preds = %63
  %78 = load i64, ptr %9, align 8, !tbaa !12
  %79 = load i64, ptr %10, align 8, !tbaa !12
  %80 = icmp ult i64 %78, %79
  %81 = zext i1 %80 to i64
  %82 = select i1 %80, i32 -1, i32 1
  store i32 %82, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %84

83:                                               ; preds = %63
  store i32 0, ptr %11, align 4
  br label %84

84:                                               ; preds = %83, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  %85 = load i32, ptr %11, align 4
  switch i32 %85, label %144 [
    i32 0, label %86
  ]

86:                                               ; preds = %84
  br label %60, !llvm.loop !14

87:                                               ; preds = %60
  %88 = load i64, ptr %6, align 8, !tbaa !12
  %89 = icmp uge i64 %88, 4
  br i1 %89, label %90, label %114

90:                                               ; preds = %87
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %91, i64 -4
  store ptr %92, ptr %7, align 8, !tbaa !5
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %93, i64 -4
  store ptr %94, ptr %8, align 8, !tbaa !5
  %95 = load i64, ptr %6, align 8, !tbaa !12
  %96 = sub i64 %95, 4
  store i64 %96, ptr %6, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = call i32 @unaligned_peek_u32(i64 noundef 1, ptr noundef %97) #6
  store i32 %98, ptr %12, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = call i32 @unaligned_peek_u32(i64 noundef 1, ptr noundef %99) #6
  store i32 %100, ptr %13, align 4, !tbaa !16
  %101 = load i32, ptr %12, align 4, !tbaa !16
  %102 = load i32, ptr %13, align 4, !tbaa !16
  %103 = icmp ne i32 %101, %102
  br i1 %103, label %104, label %110

104:                                              ; preds = %90
  %105 = load i32, ptr %12, align 4, !tbaa !16
  %106 = load i32, ptr %13, align 4, !tbaa !16
  %107 = icmp ult i32 %105, %106
  %108 = zext i1 %107 to i64
  %109 = select i1 %107, i32 -1, i32 1
  store i32 %109, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %111

110:                                              ; preds = %90
  store i32 0, ptr %11, align 4
  br label %111

111:                                              ; preds = %110, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  %112 = load i32, ptr %11, align 4
  switch i32 %112, label %144 [
    i32 0, label %113
  ]

113:                                              ; preds = %111
  br label %114

114:                                              ; preds = %113, %87
  %115 = load i64, ptr %6, align 8, !tbaa !12
  %116 = icmp ne i64 %115, 0
  br i1 %116, label %117, label %143

117:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = load i64, ptr %6, align 8, !tbaa !12
  %120 = sub i64 0, %119
  %121 = getelementptr inbounds i8, ptr %118, i64 %120
  %122 = load i64, ptr %6, align 8, !tbaa !12
  %123 = call i32 @tail3le(ptr noundef %121, i64 noundef %122) #6
  store i32 %123, ptr %14, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = load i64, ptr %6, align 8, !tbaa !12
  %126 = sub i64 0, %125
  %127 = getelementptr inbounds i8, ptr %124, i64 %126
  %128 = load i64, ptr %6, align 8, !tbaa !12
  %129 = call i32 @tail3le(ptr noundef %127, i64 noundef %128) #6
  store i32 %129, ptr %15, align 4, !tbaa !16
  %130 = load i32, ptr %14, align 4, !tbaa !16
  %131 = load i32, ptr %15, align 4, !tbaa !16
  %132 = icmp ne i32 %130, %131
  br i1 %132, label %133, label %139

133:                                              ; preds = %117
  %134 = load i32, ptr %14, align 4, !tbaa !16
  %135 = load i32, ptr %15, align 4, !tbaa !16
  %136 = icmp ult i32 %134, %135
  %137 = zext i1 %136 to i64
  %138 = select i1 %136, i32 -1, i32 1
  store i32 %138, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %140

139:                                              ; preds = %117
  store i32 0, ptr %11, align 4
  br label %140

140:                                              ; preds = %139, %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  %141 = load i32, ptr %11, align 4
  switch i32 %141, label %144 [
    i32 0, label %142
  ]

142:                                              ; preds = %140
  br label %143

143:                                              ; preds = %142, %114
  store i32 0, ptr %11, align 4
  br label %144

144:                                              ; preds = %143, %140, %111, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  %145 = load i32, ptr %11, align 4
  switch i32 %145, label %168 [
    i32 0, label %146
  ]

146:                                              ; preds = %144
  br label %147

147:                                              ; preds = %146, %31
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.iovec, ptr %148, i32 0, i32 1
  %150 = load i64, ptr %149, align 8, !tbaa !9
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.iovec, ptr %151, i32 0, i32 1
  %153 = load i64, ptr %152, align 8, !tbaa !9
  %154 = icmp ne i64 %150, %153
  br i1 %154, label %155, label %165

155:                                              ; preds = %147
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.iovec, ptr %156, i32 0, i32 1
  %158 = load i64, ptr %157, align 8, !tbaa !9
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.iovec, ptr %159, i32 0, i32 1
  %161 = load i64, ptr %160, align 8, !tbaa !9
  %162 = icmp ult i64 %158, %161
  %163 = zext i1 %162 to i64
  %164 = select i1 %162, i32 -1, i32 1
  br label %166

165:                                              ; preds = %147
  br label %166

166:                                              ; preds = %165, %155
  %167 = phi i32 [ %164, %155 ], [ 0, %165 ]
  store i32 %167, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %168

168:                                              ; preds = %166, %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %169 = load i32, ptr %3, align 4
  ret i32 %169
}

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare hidden i64 @unaligned_peek_u64(i64 noundef, ptr noalias noundef) #3

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare hidden i32 @unaligned_peek_u32(i64 noundef, ptr noalias noundef) #3

; Function Attrs: alwaysinline nounwind willreturn memory(read) uwtable
declare hidden i32 @tail3le(ptr noundef, i64 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #2 = { hot nounwind willreturn memory(read) 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 = { inlinehint nounwind willreturn memory(read) 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 = { alwaysinline nounwind willreturn memory(read) 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 }
attributes #6 = { nounwind willreturn memory(read) }

!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 8}
!10 = !{!"iovec", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !6, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !7, 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"

; Function Attrs: hot mustprogress nofree nounwind willreturn memory(read) uwtable
define dso_local i32 @cmp_reverse(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = load i64, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %1, i64 8
  %6 = load i64, ptr %5, align 8, !tbaa !5
  %7 = icmp ult i64 %4, %6
  %. = tail call i64 @llvm.umin.i64(i64 %4, i64 %6)
  %.not = icmp eq i64 %., 0
  br i1 %.not, label %.thread79, label %8, !prof !11

8:                                                ; preds = %2
  %9 = load ptr, ptr %0, align 8, !tbaa !12
  %10 = ptrtoint ptr %9 to i64
  %11 = add nsw i64 %4, %10
  %12 = inttoptr i64 %11 to ptr
  %13 = load ptr, ptr %1, align 8, !tbaa !12
  %14 = ptrtoint ptr %13 to i64
  %15 = add nsw i64 %6, %14
  %16 = inttoptr i64 %15 to ptr
  br label %17

17:                                               ; preds = %19, %8
  %.055 = phi ptr [ %16, %8 ], [ %21, %19 ]
  %.053 = phi ptr [ %12, %8 ], [ %20, %19 ]
  %.051 = phi i64 [ %., %8 ], [ %22, %19 ]
  %18 = icmp ugt i64 %.051, 7
  br i1 %18, label %19, label %25

19:                                               ; preds = %17
  %20 = getelementptr inbounds i8, ptr %.053, i64 -8
  %21 = getelementptr inbounds i8, ptr %.055, i64 -8
  %22 = add i64 %.051, -8
  %23 = tail call i64 @unaligned_peek_u64(i64 noundef 1, ptr noundef nonnull %20) #4
  %24 = tail call i64 @unaligned_peek_u64(i64 noundef 1, ptr noundef nonnull %21) #4
  %.not75 = icmp eq i64 %23, %24
  br i1 %.not75, label %17, label %.thread.loopexit, !llvm.loop !13

25:                                               ; preds = %17
  %26 = icmp ugt i64 %.051, 3
  br i1 %26, label %27, label %35

27:                                               ; preds = %25
  %28 = getelementptr inbounds i8, ptr %.053, i64 -4
  %29 = getelementptr inbounds i8, ptr %.055, i64 -4
  %30 = add nsw i64 %.051, -4
  %31 = tail call i32 @unaligned_peek_u32(i64 noundef 1, ptr noundef nonnull %28) #4
  %32 = tail call i32 @unaligned_peek_u32(i64 noundef 1, ptr noundef nonnull %29) #4
  %.not72 = icmp eq i32 %31, %32
  %33 = icmp ult i32 %31, %32
  %34 = select i1 %33, i32 -1, i32 1
  br i1 %.not72, label %35, label %.thread

35:                                               ; preds = %27, %25
  %.156 = phi ptr [ %29, %27 ], [ %.055, %25 ]
  %.154 = phi ptr [ %28, %27 ], [ %.053, %25 ]
  %.152 = phi i64 [ %30, %27 ], [ %.051, %25 ]
  %.not73 = icmp eq i64 %.152, 0
  br i1 %.not73, label %.thread79, label %36

36:                                               ; preds = %35
  %37 = sub nsw i64 0, %.152
  %38 = getelementptr inbounds i8, ptr %.154, i64 %37
  %39 = tail call i32 @tail3le(ptr noundef nonnull %38, i64 noundef %.152) #4
  %40 = getelementptr inbounds i8, ptr %.156, i64 %37
  %41 = tail call i32 @tail3le(ptr noundef nonnull %40, i64 noundef %.152) #4
  %.not74 = icmp eq i32 %39, %41
  %42 = icmp ult i32 %39, %41
  %43 = select i1 %42, i32 -1, i32 1
  br i1 %.not74, label %.thread79, label %.thread

.thread79:                                        ; preds = %35, %36, %2
  %.not76 = icmp eq i64 %4, %6
  %44 = select i1 %7, i32 -1, i32 1
  %45 = select i1 %.not76, i32 0, i32 %44
  br label %.thread

.thread.loopexit:                                 ; preds = %19
  %46 = icmp ult i64 %23, %24
  %47 = select i1 %46, i32 -1, i32 1
  br label %.thread

.thread:                                          ; preds = %.thread.loopexit, %27, %36, %.thread79
  %.7 = phi i32 [ %45, %.thread79 ], [ %43, %36 ], [ %34, %27 ], [ %47, %.thread.loopexit ]
  ret i32 %.7
}

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare hidden i64 @unaligned_peek_u64(i64 noundef, ptr noalias noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare hidden i32 @unaligned_peek_u32(i64 noundef, ptr noalias noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nofree nounwind willreturn memory(read) uwtable
declare hidden i32 @tail3le(ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #3

attributes #0 = { hot mustprogress nofree nounwind willreturn memory(read) 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 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 = { alwaysinline mustprogress nofree nounwind willreturn memory(read) 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind willreturn memory(read) }

!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 8}
!6 = !{!"iovec", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!12 = !{!6, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass