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

; 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.IRType1 = type { i8 }
%struct.jit_State = type { %struct.GCtrace, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i8, i8, %struct.IRType1, i8, %struct.FoldState, ptr, i32, i32, i32, i32, i32, i32, i32, %struct.MRef, [5 x %union.TValue], ptr, i32, i32, i32, i32, ptr, ptr, i32, i32, i8, ptr, i32, i32, ptr, [100 x i16], [255 x i32], [15 x i32], [16 x ptr], [64 x %struct.HotPenalty], i32, i32, [16 x %struct.BPropEntry], i32, %struct.ScEvEntry, ptr, i32, i32, ptr, i32, i32, ptr, ptr, ptr, i64, i64, %union.TValue, ptr, i32, i32 }
%struct.GCtrace = type { %struct.GCRef, i8, i8, i8, i8, i32, %struct.GCRef, ptr, i32, i16, i16, ptr, ptr, %struct.GCRef, %struct.MRef, i32, i32, ptr, i32, i16, i16, i16, i16, i16, i16, i16, i8, i8 }
%struct.GCRef = type { i32 }
%struct.FoldState = type { %union.IRIns, %union.IRIns, %union.IRIns }
%union.IRIns = type { %struct.anon.0 }
%struct.anon.0 = type { i32, %struct.IRType1, i8, i8, i8 }
%struct.MRef = type { i32 }
%struct.HotPenalty = type { %struct.MRef, i16, i16 }
%struct.BPropEntry = type { i16, i16, i32 }
%struct.ScEvEntry = type { %struct.MRef, i16, i16, i16, i16, %struct.IRType1, i8 }
%union.TValue = type { i64 }
%struct.anon = type { i16, i16, i16, i16 }

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

declare hidden i32 @lj_ir_emit(ptr noundef) #1

; 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 i32 @fwd_aa_tab_clear(ptr noundef, i32 noundef, i32 noundef) #2

declare hidden i32 @lj_opt_cselim(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define hidden i32 @lj_opt_fwd_tab_len(ptr noundef %0) #2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %struct.IRType1, align 1
  %11 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.jit_State, ptr %12, i32 0, i32 13
  %14 = getelementptr inbounds %struct.FoldState, ptr %13, i32 0, i32 0
  %15 = getelementptr inbounds %struct.anon, ptr %14, i32 0, i32 0
  %16 = load i16, ptr %15, align 8, !tbaa !9
  %17 = zext i16 %16 to i32
  store i32 %17, ptr %4, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %18 = load i32, ptr %4, align 4, !tbaa !10
  store i32 %18, ptr %5, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.jit_State, ptr %19, i32 0, i32 38
  %21 = getelementptr inbounds [100 x i16], ptr %20, i64 0, i64 73
  %22 = load i16, ptr %21, align 2, !tbaa !12
  %23 = zext i16 %22 to i32
  %24 = load i32, ptr %5, align 4, !tbaa !10
  %25 = icmp ugt i32 %23, %24
  br i1 %25, label %26, label %32

26:                                               ; preds = %1
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.jit_State, ptr %27, i32 0, i32 38
  %29 = getelementptr inbounds [100 x i16], ptr %28, i64 0, i64 73
  %30 = load i16, ptr %29, align 2, !tbaa !12
  %31 = zext i16 %30 to i32
  store i32 %31, ptr %5, align 4, !tbaa !10
  br label %32

32:                                               ; preds = %26, %1
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.jit_State, ptr %33, i32 0, i32 38
  %35 = getelementptr inbounds [100 x i16], ptr %34, i64 0, i64 74
  %36 = load i16, ptr %35, align 4, !tbaa !12
  %37 = zext i16 %36 to i32
  store i32 %37, ptr %6, align 4, !tbaa !10
  br label %38

38:                                               ; preds = %102, %32
  %39 = load i32, ptr %6, align 4, !tbaa !10
  %40 = load i32, ptr %5, align 4, !tbaa !10
  %41 = icmp ugt i32 %39, %40
  br i1 %41, label %42, label %103

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.jit_State, ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds %struct.GCtrace, ptr %44, i32 0, i32 7
  %46 = load ptr, ptr %45, align 8, !tbaa !14
  %47 = load i32, ptr %6, align 4, !tbaa !10
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds %union.IRIns, ptr %46, i64 %48
  store ptr %49, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.jit_State, ptr %50, i32 0, i32 0
  %52 = getelementptr inbounds %struct.GCtrace, ptr %51, i32 0, i32 7
  %53 = load ptr, ptr %52, align 8, !tbaa !14
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.anon, ptr %54, i32 0, i32 0
  %56 = load i16, ptr %55, align 4, !tbaa !9
  %57 = zext i16 %56 to i64
  %58 = getelementptr inbounds %union.IRIns, ptr %53, i64 %57
  store ptr %58, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.jit_State, ptr %59, i32 0, i32 0
  %61 = getelementptr inbounds %struct.GCtrace, ptr %60, i32 0, i32 7
  %62 = load ptr, ptr %61, align 8, !tbaa !14
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.anon, ptr %63, i32 0, i32 1
  %65 = load i16, ptr %64, align 2, !tbaa !9
  %66 = zext i16 %65 to i64
  %67 = getelementptr inbounds %union.IRIns, ptr %62, i64 %66
  store ptr %67, ptr %9, align 8, !tbaa !5
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.anon.0, ptr %68, i32 0, i32 2
  %70 = load i8, ptr %69, align 1, !tbaa !9
  %71 = zext i8 %70 to i32
  %72 = icmp eq i32 %71, 30
  br i1 %72, label %73, label %84

73:                                               ; preds = %42
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.jit_State, ptr %74, i32 0, i32 0
  %76 = getelementptr inbounds %struct.GCtrace, ptr %75, i32 0, i32 7
  %77 = load ptr, ptr %76, align 8, !tbaa !14
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.anon, ptr %78, i32 0, i32 0
  %80 = load i16, ptr %79, align 4, !tbaa !9
  %81 = zext i16 %80 to i64
  %82 = getelementptr inbounds %union.IRIns, ptr %77, i64 %81
  %83 = getelementptr inbounds %struct.anon.0, ptr %82, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 4 %83, i64 1, i1 false), !tbaa.struct !23
  br label %87

84:                                               ; preds = %42
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.anon.0, ptr %85, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 4 %86, i64 1, i1 false), !tbaa.struct !23
  br label %87

87:                                               ; preds = %84, %73
  %88 = getelementptr inbounds %struct.IRType1, ptr %10, i32 0, i32 0
  %89 = load i8, ptr %88, align 1, !tbaa !24
  %90 = zext i8 %89 to i32
  %91 = and i32 %90, 31
  %92 = icmp eq i32 %91, 14
  br i1 %92, label %93, label %95

93:                                               ; preds = %87
  %94 = load i32, ptr %6, align 4, !tbaa !10
  store i32 %94, ptr %5, align 4, !tbaa !10
  store i32 3, ptr %11, align 4
  br label %100

95:                                               ; preds = %87
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.anon, ptr %96, i32 0, i32 3
  %98 = load i16, ptr %97, align 2, !tbaa !9
  %99 = zext i16 %98 to i32
  store i32 %99, ptr %6, align 4, !tbaa !10
  store i32 0, ptr %11, align 4
  br label %100

100:                                              ; preds = %95, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  %101 = load i32, ptr %11, align 4
  switch i32 %101, label %118 [
    i32 0, label %102
    i32 3, label %103
  ]

102:                                              ; preds = %100
  br label %38, !llvm.loop !25

103:                                              ; preds = %100, %38
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = load i32, ptr %5, align 4, !tbaa !10
  %106 = load i32, ptr %4, align 4, !tbaa !10
  %107 = call i32 @fwd_aa_tab_clear(ptr noundef %104, i32 noundef %105, i32 noundef %106)
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %112, label %109

109:                                              ; preds = %103
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = call i32 @lj_ir_emit(ptr noundef %110)
  store i32 %111, ptr %2, align 4
  store i32 1, ptr %11, align 4
  br label %116

112:                                              ; preds = %103
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = load i32, ptr %5, align 4, !tbaa !10
  %115 = call i32 @lj_opt_cselim(ptr noundef %113, i32 noundef %114)
  store i32 %115, ptr %2, align 4
  store i32 1, ptr %11, align 4
  br label %116

116:                                              ; preds = %112, %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  %117 = load i32, ptr %2, align 4
  ret i32 %117

118:                                              ; preds = %100
  unreachable
}

; 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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!15, !6, i64 16}
!15 = !{!"jit_State", !16, i64 0, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !11, i64 136, !11, i64 140, !11, i64 144, !7, i64 148, !7, i64 149, !19, i64 150, !7, i64 151, !20, i64 152, !6, i64 176, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !18, i64 212, !7, i64 216, !6, i64 256, !11, i64 264, !11, i64 268, !11, i64 272, !11, i64 276, !6, i64 280, !6, i64 288, !11, i64 296, !11, i64 300, !7, i64 304, !6, i64 312, !11, i64 320, !11, i64 324, !6, i64 328, !7, i64 336, !7, i64 536, !7, i64 1556, !7, i64 1616, !7, i64 1744, !11, i64 2256, !11, i64 2260, !7, i64 2264, !11, i64 2392, !21, i64 2396, !6, i64 2416, !11, i64 2424, !11, i64 2428, !6, i64 2432, !11, i64 2440, !11, i64 2444, !6, i64 2448, !6, i64 2456, !6, i64 2464, !22, i64 2472, !22, i64 2480, !7, i64 2488, !6, i64 2496, !11, i64 2504, !11, i64 2508}
!16 = !{!"GCtrace", !17, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !11, i64 8, !17, i64 12, !6, i64 16, !11, i64 24, !13, i64 28, !13, i64 30, !6, i64 32, !6, i64 40, !17, i64 48, !18, i64 52, !11, i64 56, !11, i64 60, !6, i64 64, !11, i64 72, !13, i64 76, !13, i64 78, !13, i64 80, !13, i64 82, !13, i64 84, !13, i64 86, !13, i64 88, !7, i64 90, !7, i64 91}
!17 = !{!"GCRef", !11, i64 0}
!18 = !{!"MRef", !11, i64 0}
!19 = !{!"IRType1", !7, i64 0}
!20 = !{!"FoldState", !7, i64 0, !7, i64 8, !7, i64 16}
!21 = !{!"ScEvEntry", !18, i64 0, !13, i64 4, !13, i64 6, !13, i64 8, !13, i64 10, !19, i64 12, !7, i64 13}
!22 = !{!"long", !7, i64 0}
!23 = !{i64 0, i64 1, !9}
!24 = !{!19, !7, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


; 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.IRIns = type { %struct.anon.0 }
%struct.anon.0 = type { i32, %struct.IRType1, i8, i8, i8 }
%struct.IRType1 = type { i8 }

declare hidden i32 @lj_ir_emit(ptr noundef) local_unnamed_addr #0

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

declare hidden i32 @lj_opt_cselim(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define hidden i32 @lj_opt_fwd_tab_len(ptr noundef %0) local_unnamed_addr #1 {
  %2 = getelementptr inbounds i8, ptr %0, i64 152
  %3 = load i16, ptr %2, align 8, !tbaa !5
  %4 = zext i16 %3 to i32
  %5 = getelementptr inbounds i8, ptr %0, i64 482
  %6 = load i16, ptr %5, align 2, !tbaa !8
  %spec.select38 = tail call i16 @llvm.umax.i16(i16 %6, i16 %3)
  %7 = getelementptr inbounds i8, ptr %0, i64 484
  %.030.in39 = load i16, ptr %7, align 2, !tbaa !5
  %8 = icmp ugt i16 %.030.in39, %spec.select38
  br i1 %8, label %.lr.ph, label %.thread

.lr.ph:                                           ; preds = %1
  %9 = getelementptr inbounds i8, ptr %0, i64 16
  %10 = load ptr, ptr %9, align 8, !tbaa !10
  %invariant.gep = getelementptr inbounds i8, ptr %10, i64 2
  br label %14

11:                                               ; preds = %31
  %12 = getelementptr inbounds i8, ptr %16, i64 6
  %.030.in = load i16, ptr %12, align 2, !tbaa !5
  %13 = icmp ugt i16 %.030.in, %spec.select38
  br i1 %13, label %14, label %.thread

14:                                               ; preds = %.lr.ph, %11
  %.030.in40 = phi i16 [ %.030.in39, %.lr.ph ], [ %.030.in, %11 ]
  %15 = zext i16 %.030.in40 to i64
  %16 = getelementptr inbounds %union.IRIns, ptr %10, i64 %15
  %17 = load i16, ptr %16, align 4, !tbaa !5
  %18 = zext i16 %17 to i64
  %gep = getelementptr inbounds %union.IRIns, ptr %invariant.gep, i64 %18
  %19 = load i16, ptr %gep, align 2, !tbaa !5
  %20 = zext i16 %19 to i64
  %21 = getelementptr inbounds %union.IRIns, ptr %10, i64 %20
  %22 = getelementptr inbounds i8, ptr %21, i64 5
  %23 = load i8, ptr %22, align 1, !tbaa !5
  %24 = icmp eq i8 %23, 30
  br i1 %24, label %25, label %29

25:                                               ; preds = %14
  %26 = load i16, ptr %21, align 4, !tbaa !5
  %27 = zext i16 %26 to i64
  %28 = getelementptr inbounds %union.IRIns, ptr %10, i64 %27, i32 0, i32 1
  br label %31

29:                                               ; preds = %14
  %30 = getelementptr inbounds i8, ptr %21, i64 4
  br label %31

31:                                               ; preds = %29, %25
  %.sroa.0.0.in = phi ptr [ %28, %25 ], [ %30, %29 ]
  %.sroa.0.0 = load i8, ptr %.sroa.0.0.in, align 4, !tbaa !5
  %32 = and i8 %.sroa.0.0, 31
  %33 = icmp eq i8 %32, 14
  br i1 %33, label %.thread, label %11

.thread:                                          ; preds = %11, %31, %1
  %.3.in = phi i16 [ %spec.select38, %1 ], [ %.030.in40, %31 ], [ %spec.select38, %11 ]
  %.3 = zext i16 %.3.in to i32
  %34 = tail call i32 @fwd_aa_tab_clear(ptr noundef %0, i32 noundef %.3, i32 noundef %4)
  %.not = icmp eq i32 %34, 0
  br i1 %.not, label %35, label %37

35:                                               ; preds = %.thread
  %36 = tail call i32 @lj_ir_emit(ptr noundef %0) #3
  br label %39

37:                                               ; preds = %.thread
  %38 = tail call i32 @lj_opt_cselim(ptr noundef %0, i32 noundef %.3) #3
  br label %39

39:                                               ; preds = %37, %35
  %.028 = phi i32 [ %38, %37 ], [ %36, %35 ]
  ret i32 %.028
}

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

attributes #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 = { 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 speculatable willreturn memory(none) }
attributes #3 = { 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, !9, i64 0}
!9 = !{!"short", !6, i64 0}
!10 = !{!11, !15, i64 16}
!11 = !{!"jit_State", !12, i64 0, !15, i64 96, !15, i64 104, !15, i64 112, !15, i64 120, !15, i64 128, !14, i64 136, !14, i64 140, !14, i64 144, !6, i64 148, !6, i64 149, !17, i64 150, !6, i64 151, !18, i64 152, !15, i64 176, !14, i64 184, !14, i64 188, !14, i64 192, !14, i64 196, !14, i64 200, !14, i64 204, !14, i64 208, !16, i64 212, !6, i64 216, !15, i64 256, !14, i64 264, !14, i64 268, !14, i64 272, !14, i64 276, !15, i64 280, !15, i64 288, !14, i64 296, !14, i64 300, !6, i64 304, !15, i64 312, !14, i64 320, !14, i64 324, !15, i64 328, !6, i64 336, !6, i64 536, !6, i64 1556, !6, i64 1616, !6, i64 1744, !14, i64 2256, !14, i64 2260, !6, i64 2264, !14, i64 2392, !19, i64 2396, !15, i64 2416, !14, i64 2424, !14, i64 2428, !15, i64 2432, !14, i64 2440, !14, i64 2444, !15, i64 2448, !15, i64 2456, !15, i64 2464, !20, i64 2472, !20, i64 2480, !6, i64 2488, !15, i64 2496, !14, i64 2504, !14, i64 2508}
!12 = !{!"GCtrace", !13, i64 0, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !14, i64 8, !13, i64 12, !15, i64 16, !14, i64 24, !9, i64 28, !9, i64 30, !15, i64 32, !15, i64 40, !13, i64 48, !16, i64 52, !14, i64 56, !14, i64 60, !15, i64 64, !14, i64 72, !9, i64 76, !9, i64 78, !9, i64 80, !9, i64 82, !9, i64 84, !9, i64 86, !9, i64 88, !6, i64 90, !6, i64 91}
!13 = !{!"GCRef", !14, i64 0}
!14 = !{!"int", !6, i64 0}
!15 = !{!"any pointer", !6, i64 0}
!16 = !{!"MRef", !14, i64 0}
!17 = !{!"IRType1", !6, i64 0}
!18 = !{!"FoldState", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"ScEvEntry", !16, i64 0, !9, i64 4, !9, i64 6, !9, i64 8, !9, i64 10, !17, i64 12, !6, i64 13}
!20 = !{!"long", !6, i64 0}


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