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

; 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"

%union.TValue = type { i64 }
%struct.lua_State = type { %union.anon }
%union.anon = type { %struct.anon, [320 x i8] }
%struct.anon = type { %struct.GCRef, i8, i8, i8, i8, %struct.MRef, %struct.GCRef, ptr, ptr, %struct.MRef, %struct.MRef, %struct.GCRef, %struct.GCRef, ptr, i32 }
%struct.MRef = type { i32 }
%struct.GCRef = type { i32 }
%struct.anon.1 = type { %union.anon.2, i32 }
%union.anon.2 = type { %struct.GCRef }
%struct.anon.3 = type { %struct.GCRef, %union.FrameLink }
%union.FrameLink = type { i32 }
%struct.GCfuncL = type { %struct.GCRef, i8, i8, i8, i8, %struct.GCRef, %struct.GCRef, %struct.MRef, [1 x %struct.GCRef] }
%struct.GCproto = type { %struct.GCRef, i8, i8, i8, i8, i32, %struct.GCRef, %struct.MRef, %struct.MRef, i32, i32, i32, i8, i8, i16, %struct.GCRef, i32, i32, %struct.MRef, %struct.MRef, %struct.MRef }

; 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
declare hidden ptr @lj_meta_lookup(ptr noundef, ptr noundef, i32 noundef) #1

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

; Function Attrs: nounwind uwtable
declare hidden ptr @mmcall(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @setstrV(ptr noundef, ptr noundef, ptr noundef) #3

declare hidden void @lj_cont_condf() #4

declare hidden void @lj_cont_condt() #4

; Function Attrs: nounwind uwtable
define hidden ptr @lj_meta_equal_cd(ptr noundef %0, i32 noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %union.TValue, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %14 = load i32, ptr %5, align 4, !tbaa !9
  %15 = and i32 %14, 255
  %16 = and i32 %15, 1
  %17 = icmp ne i32 %16, 0
  %18 = zext i1 %17 to i64
  %19 = select i1 %17, ptr @lj_cont_condf, ptr @lj_cont_condt
  store ptr %19, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %20 = load i32, ptr %5, align 4, !tbaa !9
  %21 = and i32 %20, 255
  %22 = and i32 %21, -2
  store i32 %22, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.lua_State, ptr %23, i32 0, i32 0
  %25 = getelementptr inbounds %struct.anon, ptr %24, i32 0, i32 7
  %26 = load ptr, ptr %25, align 8, !tbaa !11
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = lshr i32 %27, 8
  %29 = and i32 %28, 255
  %30 = zext i32 %29 to i64
  %31 = getelementptr inbounds %union.TValue, ptr %26, i64 %30
  store ptr %31, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %32 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %32, ptr %12, align 8, !tbaa !5
  %33 = load i32, ptr %7, align 4, !tbaa !9
  %34 = icmp eq i32 %33, 4
  br i1 %34, label %35, label %51

35:                                               ; preds = %2
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.lua_State, ptr %36, i32 0, i32 0
  %38 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 7
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  %40 = load i32, ptr %5, align 4, !tbaa !9
  %41 = lshr i32 %40, 16
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds %union.TValue, ptr %39, i64 %42
  store ptr %43, ptr %10, align 8, !tbaa !5
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.anon.1, ptr %44, i32 0, i32 1
  %46 = load i32, ptr %45, align 4, !tbaa !11
  %47 = icmp eq i32 %46, -11
  br i1 %47, label %50, label %48

48:                                               ; preds = %35
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %49, ptr %12, align 8, !tbaa !5
  br label %50

50:                                               ; preds = %48, %35
  br label %122

51:                                               ; preds = %2
  %52 = load i32, ptr %7, align 4, !tbaa !9
  %53 = icmp eq i32 %52, 6
  br i1 %53, label %54, label %86

54:                                               ; preds = %51
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.lua_State, ptr %56, i32 0, i32 0
  %58 = getelementptr inbounds %struct.anon, ptr %57, i32 0, i32 7
  %59 = load ptr, ptr %58, align 8, !tbaa !11
  %60 = getelementptr inbounds %union.TValue, ptr %59, i64 -1
  %61 = getelementptr inbounds %struct.anon.3, ptr %60, i32 0, i32 0
  %62 = getelementptr inbounds %struct.GCRef, ptr %61, i32 0, i32 0
  %63 = load i32, ptr %62, align 8, !tbaa !11
  %64 = zext i32 %63 to i64
  %65 = inttoptr i64 %64 to ptr
  %66 = getelementptr inbounds %struct.GCfuncL, ptr %65, i32 0, i32 7
  %67 = getelementptr inbounds %struct.MRef, ptr %66, i32 0, i32 0
  %68 = load i32, ptr %67, align 8, !tbaa !11
  %69 = zext i32 %68 to i64
  %70 = inttoptr i64 %69 to ptr
  %71 = getelementptr inbounds i8, ptr %70, i64 -64
  %72 = getelementptr inbounds %struct.GCproto, ptr %71, i32 0, i32 7
  %73 = getelementptr inbounds %struct.MRef, ptr %72, i32 0, i32 0
  %74 = load i32, ptr %73, align 4, !tbaa !12
  %75 = zext i32 %74 to i64
  %76 = inttoptr i64 %75 to ptr
  %77 = load i32, ptr %5, align 4, !tbaa !9
  %78 = lshr i32 %77, 16
  %79 = zext i32 %78 to i64
  %80 = xor i64 %79, -1
  %81 = getelementptr inbounds %struct.GCRef, ptr %76, i64 %80
  %82 = getelementptr inbounds %struct.GCRef, ptr %81, i32 0, i32 0
  %83 = load i32, ptr %82, align 4, !tbaa !17
  %84 = zext i32 %83 to i64
  %85 = inttoptr i64 %84 to ptr
  call void @setstrV(ptr noundef %55, ptr noundef %8, ptr noundef %85)
  store ptr %8, ptr %10, align 8, !tbaa !5
  br label %121

86:                                               ; preds = %51
  %87 = load i32, ptr %7, align 4, !tbaa !9
  %88 = icmp eq i32 %87, 8
  br i1 %88, label %89, label %115

89:                                               ; preds = %86
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.lua_State, ptr %90, i32 0, i32 0
  %92 = getelementptr inbounds %struct.anon, ptr %91, i32 0, i32 7
  %93 = load ptr, ptr %92, align 8, !tbaa !11
  %94 = getelementptr inbounds %union.TValue, ptr %93, i64 -1
  %95 = getelementptr inbounds %struct.anon.3, ptr %94, i32 0, i32 0
  %96 = getelementptr inbounds %struct.GCRef, ptr %95, i32 0, i32 0
  %97 = load i32, ptr %96, align 8, !tbaa !11
  %98 = zext i32 %97 to i64
  %99 = inttoptr i64 %98 to ptr
  %100 = getelementptr inbounds %struct.GCfuncL, ptr %99, i32 0, i32 7
  %101 = getelementptr inbounds %struct.MRef, ptr %100, i32 0, i32 0
  %102 = load i32, ptr %101, align 8, !tbaa !11
  %103 = zext i32 %102 to i64
  %104 = inttoptr i64 %103 to ptr
  %105 = getelementptr inbounds i8, ptr %104, i64 -64
  %106 = getelementptr inbounds %struct.GCproto, ptr %105, i32 0, i32 7
  %107 = getelementptr inbounds %struct.MRef, ptr %106, i32 0, i32 0
  %108 = load i32, ptr %107, align 4, !tbaa !12
  %109 = zext i32 %108 to i64
  %110 = inttoptr i64 %109 to ptr
  %111 = load i32, ptr %5, align 4, !tbaa !9
  %112 = lshr i32 %111, 16
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds %union.TValue, ptr %110, i64 %113
  store ptr %114, ptr %10, align 8, !tbaa !5
  br label %120

115:                                              ; preds = %86
  %116 = load i32, ptr %5, align 4, !tbaa !9
  %117 = lshr i32 %116, 16
  %118 = xor i32 %117, -1
  %119 = getelementptr inbounds %struct.anon.1, ptr %8, i32 0, i32 1
  store i32 %118, ptr %119, align 4, !tbaa !11
  store ptr %8, ptr %10, align 8, !tbaa !5
  br label %120

120:                                              ; preds = %115, %89
  br label %121

121:                                              ; preds = %120, %54
  br label %122

122:                                              ; preds = %121, %50
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = load ptr, ptr %12, align 8, !tbaa !5
  %125 = call ptr @lj_meta_lookup(ptr noundef %123, ptr noundef %124, i32 noundef 4)
  store ptr %125, ptr %9, align 8, !tbaa !5
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.anon.1, ptr %126, i32 0, i32 1
  %128 = load i32, ptr %127, align 4, !tbaa !11
  %129 = icmp eq i32 %128, -1
  %130 = xor i1 %129, true
  %131 = xor i1 %130, true
  %132 = xor i1 %131, true
  %133 = zext i1 %132 to i32
  %134 = sext i32 %133 to i64
  %135 = call i64 @llvm.expect.i64(i64 %134, i64 1)
  %136 = icmp ne i64 %135, 0
  br i1 %136, label %137, label %144

137:                                              ; preds = %122
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = load ptr, ptr %9, align 8, !tbaa !5
  %141 = load ptr, ptr %11, align 8, !tbaa !5
  %142 = load ptr, ptr %10, align 8, !tbaa !5
  %143 = call ptr @mmcall(ptr noundef %138, ptr noundef %139, ptr noundef %140, ptr noundef %141, ptr noundef %142)
  store ptr %143, ptr %3, align 8
  store i32 1, ptr %13, align 4
  br label %150

144:                                              ; preds = %122
  %145 = load i32, ptr %5, align 4, !tbaa !9
  %146 = and i32 %145, 255
  %147 = and i32 %146, 1
  %148 = zext i32 %147 to i64
  %149 = inttoptr i64 %148 to ptr
  store ptr %149, ptr %3, align 8
  store i32 1, ptr %13, align 4
  br label %150

150:                                              ; preds = %144, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %151 = load ptr, ptr %3, align 8
  ret ptr %151
}

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 = { nocallback nofree nosync nounwind willreturn memory(none) }
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 = { "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 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 16}
!13 = !{!"GCproto", !14, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !10, i64 8, !14, i64 12, !15, i64 16, !15, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !7, i64 36, !7, i64 37, !16, i64 38, !14, i64 40, !10, i64 44, !10, i64 48, !15, i64 52, !15, i64 56, !15, i64 60}
!14 = !{!"GCRef", !10, i64 0}
!15 = !{!"MRef", !10, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!14, !10, 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"

%union.TValue = type { i64 }
%struct.GCRef = type { i32 }

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

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

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

; Function Attrs: nounwind uwtable
declare hidden ptr @mmcall(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @setstrV(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare hidden void @lj_cont_condf() #3

declare hidden void @lj_cont_condt() #3

; Function Attrs: nounwind uwtable
define hidden ptr @lj_meta_equal_cd(ptr noundef %0, i32 noundef %1) local_unnamed_addr #1 {
  %3 = alloca %union.TValue, align 8
  %4 = and i32 %1, 1
  %.not = icmp eq i32 %4, 0
  %5 = select i1 %.not, ptr @lj_cont_condt, ptr @lj_cont_condf
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = lshr i32 %1, 8
  %9 = and i32 %8, 255
  %10 = zext nneg i32 %9 to i64
  %11 = getelementptr inbounds %union.TValue, ptr %7, i64 %10
  %12 = trunc i32 %1 to i8
  %trunc = and i8 %12, -2
  switch i8 %trunc, label %56 [
    i8 4, label %13
    i8 6, label %20
    i8 8, label %40
  ]

13:                                               ; preds = %2
  %14 = lshr i32 %1, 16
  %15 = zext nneg i32 %14 to i64
  %16 = getelementptr inbounds %union.TValue, ptr %7, i64 %15
  %17 = getelementptr inbounds i8, ptr %11, i64 4
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = icmp eq i32 %18, -11
  %spec.select = select i1 %19, ptr %11, ptr %16
  br label %60

20:                                               ; preds = %2
  %21 = getelementptr inbounds i8, ptr %7, i64 -8
  %22 = load i32, ptr %21, align 8, !tbaa !5
  %23 = zext i32 %22 to i64
  %24 = inttoptr i64 %23 to ptr
  %25 = getelementptr inbounds i8, ptr %24, i64 16
  %26 = load i32, ptr %25, align 8, !tbaa !5
  %27 = zext i32 %26 to i64
  %28 = inttoptr i64 %27 to ptr
  %29 = getelementptr inbounds i8, ptr %28, i64 -48
  %30 = load i32, ptr %29, align 4, !tbaa !8
  %31 = zext i32 %30 to i64
  %32 = inttoptr i64 %31 to ptr
  %33 = lshr i32 %1, 16
  %34 = xor i32 %33, -1
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds %struct.GCRef, ptr %32, i64 %35
  %37 = load i32, ptr %36, align 4, !tbaa !14
  %38 = zext i32 %37 to i64
  %39 = inttoptr i64 %38 to ptr
  call void @setstrV(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef %39)
  br label %60

40:                                               ; preds = %2
  %41 = getelementptr inbounds i8, ptr %7, i64 -8
  %42 = load i32, ptr %41, align 8, !tbaa !5
  %43 = zext i32 %42 to i64
  %44 = inttoptr i64 %43 to ptr
  %45 = getelementptr inbounds i8, ptr %44, i64 16
  %46 = load i32, ptr %45, align 8, !tbaa !5
  %47 = zext i32 %46 to i64
  %48 = inttoptr i64 %47 to ptr
  %49 = getelementptr inbounds i8, ptr %48, i64 -48
  %50 = load i32, ptr %49, align 4, !tbaa !8
  %51 = zext i32 %50 to i64
  %52 = inttoptr i64 %51 to ptr
  %53 = lshr i32 %1, 16
  %54 = zext nneg i32 %53 to i64
  %55 = getelementptr inbounds %union.TValue, ptr %52, i64 %54
  br label %60

56:                                               ; preds = %2
  %57 = lshr i32 %1, 16
  %58 = xor i32 %57, -1
  %59 = getelementptr inbounds i8, ptr %3, i64 4
  store i32 %58, ptr %59, align 4, !tbaa !5
  br label %60

60:                                               ; preds = %13, %20, %56, %40
  %.028 = phi ptr [ %3, %20 ], [ %55, %40 ], [ %3, %56 ], [ %16, %13 ]
  %.0 = phi ptr [ %11, %20 ], [ %11, %40 ], [ %11, %56 ], [ %spec.select, %13 ]
  %61 = call ptr @lj_meta_lookup(ptr noundef nonnull %0, ptr noundef %.0, i32 noundef 4)
  %62 = getelementptr inbounds i8, ptr %61, i64 4
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %.not30 = icmp eq i32 %63, -1
  br i1 %.not30, label %66, label %64, !prof !15

64:                                               ; preds = %60
  %65 = call ptr @mmcall(ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef nonnull %61, ptr noundef %11, ptr noundef %.028)
  br label %69

66:                                               ; preds = %60
  %67 = zext nneg i32 %4 to i64
  %68 = inttoptr i64 %67 to ptr
  br label %69

69:                                               ; preds = %66, %64
  %.027 = phi ptr [ %65, %64 ], [ %68, %66 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  ret ptr %.027
}

attributes #0 = { mustprogress 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 = { 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 #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 }

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !11, i64 16}
!9 = !{!"GCproto", !10, i64 0, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !11, i64 8, !10, i64 12, !12, i64 16, !12, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !6, i64 36, !6, i64 37, !13, i64 38, !10, i64 40, !11, i64 44, !11, i64 48, !12, i64 52, !12, i64 56, !12, i64 60}
!10 = !{!"GCRef", !11, i64 0}
!11 = !{!"int", !6, i64 0}
!12 = !{!"MRef", !11, i64 0}
!13 = !{!"short", !6, i64 0}
!14 = !{!10, !11, i64 0}
!15 = !{!"branch_weights", !"expected", i32 1, i32 2000}


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