; LLVM IR from paintdream/DontStarveLuaJIT :: src/luajit/src (lj_ctype)

; 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.CTState = type { ptr, i32, i32, ptr, ptr, ptr, ptr, %struct.CCallback, [128 x i16] }
%struct.CCallback = type { [8 x %union.FPRCBArg], [8 x i64], ptr, ptr, ptr, i32, i32, i32 }
%union.FPRCBArg = type { double }
%struct.CType = type { i32, i32, i16, i16, %struct.GCRef }
%struct.GCRef = type { i32 }

; 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: noreturn
declare hidden void @lj_err_msg(ptr noundef, i32 noundef) #2

declare hidden ptr @lj_mem_grow(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #3

; 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 hidden i32 @lj_ctype_intern(ptr noundef %0, i32 noundef %1, i32 noundef %2) #4 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %12 = load i32, ptr %6, align 4, !tbaa !9
  %13 = load i32, ptr %7, align 4, !tbaa !9
  %14 = call i32 @hashrot(i32 noundef %12, i32 noundef %13)
  %15 = and i32 %14, 127
  store i32 %15, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.CTState, ptr %16, i32 0, i32 8
  %18 = load i32, ptr %8, align 4, !tbaa !9
  %19 = zext i32 %18 to i64
  %20 = getelementptr inbounds [128 x i16], ptr %17, i64 0, i64 %19
  %21 = load i16, ptr %20, align 2, !tbaa !11
  %22 = zext i16 %21 to i32
  store i32 %22, ptr %9, align 4, !tbaa !9
  br label %23

23:                                               ; preds = %50, %3
  %24 = load i32, ptr %9, align 4, !tbaa !9
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %26, label %51

26:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = load i32, ptr %9, align 4, !tbaa !9
  %29 = call ptr @ctype_get(ptr noundef %27, i32 noundef %28)
  store ptr %29, ptr %10, align 8, !tbaa !5
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.CType, ptr %30, i32 0, i32 0
  %32 = load i32, ptr %31, align 4, !tbaa !13
  %33 = load i32, ptr %6, align 4, !tbaa !9
  %34 = icmp eq i32 %32, %33
  br i1 %34, label %35, label %43

35:                                               ; preds = %26
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.CType, ptr %36, i32 0, i32 1
  %38 = load i32, ptr %37, align 4, !tbaa !16
  %39 = load i32, ptr %7, align 4, !tbaa !9
  %40 = icmp eq i32 %38, %39
  br i1 %40, label %41, label %43

41:                                               ; preds = %35
  %42 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %42, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %48

43:                                               ; preds = %35, %26
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.CType, ptr %44, i32 0, i32 3
  %46 = load i16, ptr %45, align 2, !tbaa !17
  %47 = zext i16 %46 to i32
  store i32 %47, ptr %9, align 4, !tbaa !9
  store i32 0, ptr %11, align 4
  br label %48

48:                                               ; preds = %43, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  %49 = load i32, ptr %11, align 4
  switch i32 %49, label %142 [
    i32 0, label %50
  ]

50:                                               ; preds = %48
  br label %23, !llvm.loop !18

51:                                               ; preds = %23
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.CTState, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 8, !tbaa !20
  store i32 %54, ptr %9, align 4, !tbaa !9
  %55 = load i32, ptr %9, align 4, !tbaa !9
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.CTState, ptr %56, i32 0, i32 2
  %58 = load i32, ptr %57, align 4, !tbaa !23
  %59 = icmp uge i32 %55, %58
  %60 = xor i1 %59, true
  %61 = xor i1 %60, true
  %62 = zext i1 %61 to i32
  %63 = sext i32 %62 to i64
  %64 = call i64 @llvm.expect.i64(i64 %63, i64 0)
  %65 = icmp ne i64 %64, 0
  br i1 %65, label %66, label %85

66:                                               ; preds = %51
  %67 = load i32, ptr %9, align 4, !tbaa !9
  %68 = icmp uge i32 %67, 8388607
  br i1 %68, label %69, label %73

69:                                               ; preds = %66
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.CTState, ptr %70, i32 0, i32 3
  %72 = load ptr, ptr %71, align 8, !tbaa !24
  call void @lj_err_msg(ptr noundef %72, i32 noundef 139) #7
  unreachable

73:                                               ; preds = %66
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.CTState, ptr %74, i32 0, i32 3
  %76 = load ptr, ptr %75, align 8, !tbaa !24
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.CTState, ptr %77, i32 0, i32 0
  %79 = load ptr, ptr %78, align 8, !tbaa !25
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.CTState, ptr %80, i32 0, i32 2
  %82 = call ptr @lj_mem_grow(ptr noundef %76, ptr noundef %79, ptr noundef %81, i32 noundef 8388607, i32 noundef 16)
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.CTState, ptr %83, i32 0, i32 0
  store ptr %82, ptr %84, align 8, !tbaa !25
  br label %85

85:                                               ; preds = %73, %51
  %86 = load i32, ptr %9, align 4, !tbaa !9
  %87 = add i32 %86, 1
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.CTState, ptr %88, i32 0, i32 1
  store i32 %87, ptr %89, align 8, !tbaa !20
  %90 = load i32, ptr %6, align 4, !tbaa !9
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.CTState, ptr %91, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8, !tbaa !25
  %94 = load i32, ptr %9, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = getelementptr inbounds %struct.CType, ptr %93, i64 %95
  %97 = getelementptr inbounds %struct.CType, ptr %96, i32 0, i32 0
  store i32 %90, ptr %97, align 4, !tbaa !13
  %98 = load i32, ptr %7, align 4, !tbaa !9
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.CTState, ptr %99, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8, !tbaa !25
  %102 = load i32, ptr %9, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = getelementptr inbounds %struct.CType, ptr %101, i64 %103
  %105 = getelementptr inbounds %struct.CType, ptr %104, i32 0, i32 1
  store i32 %98, ptr %105, align 4, !tbaa !16
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.CTState, ptr %106, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !25
  %109 = load i32, ptr %9, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = getelementptr inbounds %struct.CType, ptr %108, i64 %110
  %112 = getelementptr inbounds %struct.CType, ptr %111, i32 0, i32 2
  store i16 0, ptr %112, align 4, !tbaa !26
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.CTState, ptr %113, i32 0, i32 8
  %115 = load i32, ptr %8, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = getelementptr inbounds [128 x i16], ptr %114, i64 0, i64 %116
  %118 = load i16, ptr %117, align 2, !tbaa !11
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.CTState, ptr %119, i32 0, i32 0
  %121 = load ptr, ptr %120, align 8, !tbaa !25
  %122 = load i32, ptr %9, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds %struct.CType, ptr %121, i64 %123
  %125 = getelementptr inbounds %struct.CType, ptr %124, i32 0, i32 3
  store i16 %118, ptr %125, align 2, !tbaa !17
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.CTState, ptr %126, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8, !tbaa !25
  %129 = load i32, ptr %9, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds %struct.CType, ptr %128, i64 %130
  %132 = getelementptr inbounds %struct.CType, ptr %131, i32 0, i32 4
  %133 = getelementptr inbounds %struct.GCRef, ptr %132, i32 0, i32 0
  store i32 0, ptr %133, align 4, !tbaa !27
  %134 = load i32, ptr %9, align 4, !tbaa !9
  %135 = trunc i32 %134 to i16
  %136 = load ptr, ptr %5, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.CTState, ptr %136, i32 0, i32 8
  %138 = load i32, ptr %8, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds [128 x i16], ptr %137, i64 0, i64 %139
  store i16 %135, ptr %140, align 2, !tbaa !11
  %141 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %141, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %142

142:                                              ; preds = %85, %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %143 = load i32, ptr %4, align 4
  ret i32 %143
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden i32 @hashrot(i32 noundef, i32 noundef) #5

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @ctype_get(ptr noundef, i32 noundef) #5

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

!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, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"CType", !10, i64 0, !10, i64 4, !12, i64 8, !12, i64 10, !15, i64 12}
!15 = !{!"GCRef", !10, i64 0}
!16 = !{!14, !10, i64 4}
!17 = !{!14, !12, i64 10}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !10, i64 8}
!21 = !{!"CTState", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !22, i64 48, !7, i64 216}
!22 = !{!"CCallback", !7, i64 0, !7, i64 64, !6, i64 128, !6, i64 136, !6, i64 144, !10, i64 152, !10, i64 156, !10, i64 160}
!23 = !{!21, !10, i64 12}
!24 = !{!21, !6, i64 16}
!25 = !{!21, !6, i64 0}
!26 = !{!14, !12, i64 8}
!27 = !{!14, !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"

%struct.CType = type { i32, i32, i16, i16, %struct.GCRef }
%struct.GCRef = type { i32 }

; Function Attrs: noreturn
declare hidden void @lj_err_msg(ptr noundef, i32 noundef) local_unnamed_addr #0

declare hidden ptr @lj_mem_grow(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define hidden i32 @lj_ctype_intern(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 {
  %4 = tail call i32 @hashrot(i32 noundef %1, i32 noundef %2)
  %5 = and i32 %4, 127
  %6 = getelementptr inbounds i8, ptr %0, i64 216
  %7 = zext nneg i32 %5 to i64
  %8 = getelementptr inbounds [128 x i16], ptr %6, i64 0, i64 %7
  %.044.in52 = load i16, ptr %8, align 2, !tbaa !5
  %.not54 = icmp eq i16 %.044.in52, 0
  br i1 %.not54, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3, %16
  %.04455.in = phi i16 [ %.044.in, %16 ], [ %.044.in52, %3 ]
  %.04455 = zext i16 %.04455.in to i32
  %9 = tail call ptr @ctype_get(ptr noundef %0, i32 noundef %.04455)
  %10 = load i32, ptr %9, align 4, !tbaa !9
  %11 = icmp eq i32 %10, %1
  br i1 %11, label %12, label %16

12:                                               ; preds = %.lr.ph
  %13 = getelementptr inbounds i8, ptr %9, i64 4
  %14 = load i32, ptr %13, align 4, !tbaa !13
  %15 = icmp eq i32 %14, %2
  br i1 %15, label %.thread, label %16

16:                                               ; preds = %.lr.ph, %12
  %17 = getelementptr inbounds i8, ptr %9, i64 10
  %.044.in = load i16, ptr %17, align 2, !tbaa !5
  %.not = icmp eq i16 %.044.in, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !14

._crit_edge:                                      ; preds = %16, %3
  %18 = getelementptr inbounds i8, ptr %0, i64 8
  %19 = load i32, ptr %18, align 8, !tbaa !16
  %20 = getelementptr inbounds i8, ptr %0, i64 12
  %21 = load i32, ptr %20, align 4, !tbaa !20
  %.not47 = icmp ult i32 %19, %21
  br i1 %.not47, label %._crit_edge._crit_edge, label %22, !prof !21

._crit_edge._crit_edge:                           ; preds = %._crit_edge
  %.pre = load ptr, ptr %0, align 8, !tbaa !22
  br label %30

22:                                               ; preds = %._crit_edge
  %23 = icmp ugt i32 %19, 8388606
  %24 = getelementptr inbounds i8, ptr %0, i64 16
  %25 = load ptr, ptr %24, align 8, !tbaa !23
  br i1 %23, label %26, label %27

26:                                               ; preds = %22
  tail call void @lj_err_msg(ptr noundef %25, i32 noundef 139) #4
  unreachable

27:                                               ; preds = %22
  %28 = load ptr, ptr %0, align 8, !tbaa !22
  %29 = tail call ptr @lj_mem_grow(ptr noundef %25, ptr noundef %28, ptr noundef nonnull %20, i32 noundef 8388607, i32 noundef 16) #5
  store ptr %29, ptr %0, align 8, !tbaa !22
  br label %30

30:                                               ; preds = %._crit_edge._crit_edge, %27
  %31 = phi ptr [ %.pre, %._crit_edge._crit_edge ], [ %29, %27 ]
  %32 = add nuw i32 %19, 1
  store i32 %32, ptr %18, align 8, !tbaa !16
  %33 = zext i32 %19 to i64
  %34 = getelementptr inbounds %struct.CType, ptr %31, i64 %33
  store i32 %1, ptr %34, align 4, !tbaa !9
  %35 = getelementptr inbounds %struct.CType, ptr %31, i64 %33, i32 1
  store i32 %2, ptr %35, align 4, !tbaa !13
  %36 = getelementptr inbounds %struct.CType, ptr %31, i64 %33, i32 2
  store i16 0, ptr %36, align 4, !tbaa !24
  %37 = load i16, ptr %8, align 2, !tbaa !5
  %38 = getelementptr inbounds %struct.CType, ptr %31, i64 %33, i32 3
  store i16 %37, ptr %38, align 2, !tbaa !25
  %39 = getelementptr inbounds %struct.CType, ptr %31, i64 %33, i32 4
  store i32 0, ptr %39, align 4, !tbaa !26
  %40 = trunc i32 %19 to i16
  store i16 %40, ptr %8, align 2, !tbaa !5
  br label %.thread

.thread:                                          ; preds = %12, %30
  %.2 = phi i32 [ %19, %30 ], [ %.04455, %12 ]
  ret i32 %.2
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden i32 @hashrot(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @ctype_get(ptr noundef, i32 noundef) local_unnamed_addr #3

attributes #0 = { noreturn "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 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 = { alwaysinline 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 = { noreturn nounwind }
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 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"CType", !11, i64 0, !11, i64 4, !6, i64 8, !6, i64 10, !12, i64 12}
!11 = !{!"int", !7, i64 0}
!12 = !{!"GCRef", !11, i64 0}
!13 = !{!10, !11, i64 4}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !11, i64 8}
!17 = !{!"CTState", !18, i64 0, !11, i64 8, !11, i64 12, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !19, i64 48, !7, i64 216}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!"CCallback", !7, i64 0, !7, i64 64, !18, i64 128, !18, i64 136, !18, i64 144, !11, i64 152, !11, i64 156, !11, i64 160}
!20 = !{!17, !11, i64 12}
!21 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!22 = !{!17, !18, i64 0}
!23 = !{!17, !18, i64 16}
!24 = !{!10, !6, i64 8}
!25 = !{!10, !6, i64 10}
!26 = !{!10, !11, i64 12}


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