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

; 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.GCcdata = type { %struct.GCRef, i8, i8, i16 }
%struct.GCRef = type { i32 }
%struct.GChead = type { %struct.GCRef, i8, i8, i8, i8, %struct.GCRef, %struct.GCRef, %struct.GCRef }
%struct.global_State = type { ptr, i32, i32, ptr, ptr, %struct.GCState, i32, %struct.SBuf, %struct.GCstr, i8, i8, i8, i8, %struct.GCRef, %union.TValue, %union.TValue, %union.TValue, %struct.Node, %struct.GCupval, i32, i32, ptr, ptr, ptr, i32, i32, %struct.GCRef, %struct.MRef, %struct.MRef, [38 x %struct.GCRef] }
%struct.GCState = type { i32, i32, i8, i8, i8, i8, i32, %struct.GCRef, %struct.MRef, %struct.GCRef, %struct.GCRef, %struct.GCRef, %struct.GCRef, i32, i32, i32, i32 }
%struct.SBuf = type { %struct.MRef, %struct.MRef, %struct.MRef, %struct.MRef }
%struct.GCstr = type { %struct.GCRef, i8, i8, i8, i8, i32, i32 }
%union.TValue = type { i64 }
%struct.Node = type { %union.TValue, %union.TValue, %struct.MRef, %struct.MRef }
%struct.GCupval = type { %struct.GCRef, i8, i8, i8, i8, %union.anon.4, %struct.MRef, i32 }
%union.anon.4 = type { %union.TValue }
%struct.MRef = type { i32 }
%struct.CType = type { i32, i32, i16, i16, %struct.GCRef }
%struct.GCcdataVar = type { i16, i16, 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(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
define hidden void @lj_cdata_free(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.GCcdata, ptr %8, i32 0, i32 1
  %10 = load i8, ptr %9, align 4, !tbaa !9
  %11 = zext i8 %10 to i32
  %12 = and i32 %11, 16
  %13 = icmp ne i32 %12, 0
  %14 = xor i1 %13, true
  %15 = xor i1 %14, true
  %16 = zext i1 %15 to i32
  %17 = sext i32 %16 to i64
  %18 = call i64 @llvm.expect.i64(i64 %17, i64 0)
  %19 = icmp ne i64 %18, 0
  br i1 %19, label %20, label %86

20:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.GChead, ptr %21, i32 0, i32 1
  %23 = load i8, ptr %22, align 4, !tbaa !14
  %24 = zext i8 %23 to i32
  %25 = and i32 %24, 248
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.global_State, ptr %26, i32 0, i32 5
  %28 = getelementptr inbounds %struct.GCState, ptr %27, i32 0, i32 2
  %29 = load i8, ptr %28, align 8, !tbaa !15
  %30 = zext i8 %29 to i32
  %31 = and i32 %30, 3
  %32 = or i32 %25, %31
  %33 = trunc i32 %32 to i8
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.GChead, ptr %34, i32 0, i32 1
  store i8 %33, ptr %35, align 4, !tbaa !14
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.GChead, ptr %36, i32 0, i32 1
  %38 = load i8, ptr %37, align 4, !tbaa !14
  %39 = zext i8 %38 to i32
  %40 = or i32 %39, 8
  %41 = trunc i32 %40 to i8
  store i8 %41, ptr %37, align 4, !tbaa !14
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.global_State, ptr %42, i32 0, i32 5
  %44 = getelementptr inbounds %struct.GCState, ptr %43, i32 0, i32 12
  %45 = getelementptr inbounds %struct.GCRef, ptr %44, i32 0, i32 0
  %46 = load i32, ptr %45, align 4, !tbaa !23
  %47 = zext i32 %46 to i64
  %48 = inttoptr i64 %47 to ptr
  store ptr %48, ptr %5, align 8, !tbaa !5
  %49 = icmp ne ptr %48, null
  br i1 %49, label %50, label %71

50:                                               ; preds = %20
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.GChead, ptr %51, i32 0, i32 0
  %53 = getelementptr inbounds %struct.GCRef, ptr %52, i32 0, i32 0
  %54 = load i32, ptr %53, align 8, !tbaa !14
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.GCcdata, ptr %55, i32 0, i32 0
  %57 = getelementptr inbounds %struct.GCRef, ptr %56, i32 0, i32 0
  store i32 %54, ptr %57, align 4, !tbaa !24
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = ptrtoint ptr %58 to i64
  %60 = trunc i64 %59 to i32
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.GChead, ptr %61, i32 0, i32 0
  %63 = getelementptr inbounds %struct.GCRef, ptr %62, i32 0, i32 0
  store i32 %60, ptr %63, align 8, !tbaa !14
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = ptrtoint ptr %64 to i64
  %66 = trunc i64 %65 to i32
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.global_State, ptr %67, i32 0, i32 5
  %69 = getelementptr inbounds %struct.GCState, ptr %68, i32 0, i32 12
  %70 = getelementptr inbounds %struct.GCRef, ptr %69, i32 0, i32 0
  store i32 %66, ptr %70, align 4, !tbaa !23
  br label %85

71:                                               ; preds = %20
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = ptrtoint ptr %72 to i64
  %74 = trunc i64 %73 to i32
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.GCcdata, ptr %75, i32 0, i32 0
  %77 = getelementptr inbounds %struct.GCRef, ptr %76, i32 0, i32 0
  store i32 %74, ptr %77, align 4, !tbaa !24
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = ptrtoint ptr %78 to i64
  %80 = trunc i64 %79 to i32
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.global_State, ptr %81, i32 0, i32 5
  %83 = getelementptr inbounds %struct.GCState, ptr %82, i32 0, i32 12
  %84 = getelementptr inbounds %struct.GCRef, ptr %83, i32 0, i32 0
  store i32 %80, ptr %84, align 4, !tbaa !23
  br label %85

85:                                               ; preds = %71, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %152

86:                                               ; preds = %2
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.GCcdata, ptr %87, i32 0, i32 1
  %89 = load i8, ptr %88, align 4, !tbaa !9
  %90 = zext i8 %89 to i32
  %91 = and i32 %90, 128
  %92 = icmp ne i32 %91, 0
  %93 = xor i1 %92, true
  %94 = xor i1 %93, true
  %95 = xor i1 %94, true
  %96 = zext i1 %95 to i32
  %97 = sext i32 %96 to i64
  %98 = call i64 @llvm.expect.i64(i64 %97, i64 1)
  %99 = icmp ne i64 %98, 0
  br i1 %99, label %100, label %129

100:                                              ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.global_State, ptr %101, i32 0, i32 28
  %103 = getelementptr inbounds %struct.MRef, ptr %102, i32 0, i32 0
  %104 = load i32, ptr %103, align 8, !tbaa !25
  %105 = zext i32 %104 to i64
  %106 = inttoptr i64 %105 to ptr
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.GCcdata, ptr %107, i32 0, i32 3
  %109 = load i16, ptr %108, align 2, !tbaa !26
  %110 = zext i16 %109 to i32
  %111 = call ptr @ctype_raw(ptr noundef %106, i32 noundef %110)
  store ptr %111, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.CType, ptr %112, i32 0, i32 0
  %114 = load i32, ptr %113, align 4, !tbaa !27
  %115 = lshr i32 %114, 28
  %116 = icmp ule i32 %115, 5
  br i1 %116, label %117, label %121

117:                                              ; preds = %100
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.CType, ptr %118, i32 0, i32 1
  %120 = load i32, ptr %119, align 4, !tbaa !29
  br label %122

121:                                              ; preds = %100
  br label %122

122:                                              ; preds = %121, %117
  %123 = phi i32 [ %120, %117 ], [ 8, %121 ]
  store i32 %123, ptr %7, align 4, !tbaa !30
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = load i32, ptr %7, align 4, !tbaa !30
  %127 = zext i32 %126 to i64
  %128 = add i64 8, %127
  call void @lj_mem_free(ptr noundef %124, ptr noundef %125, i64 noundef %128)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %151

129:                                              ; preds = %86
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds i8, ptr %132, i64 -8
  %134 = getelementptr inbounds %struct.GCcdataVar, ptr %133, i32 0, i32 0
  %135 = load i16, ptr %134, align 4, !tbaa !31
  %136 = zext i16 %135 to i32
  %137 = sext i32 %136 to i64
  %138 = sub i64 0, %137
  %139 = getelementptr inbounds i8, ptr %131, i64 %138
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  %141 = getelementptr inbounds i8, ptr %140, i64 -8
  %142 = getelementptr inbounds %struct.GCcdataVar, ptr %141, i32 0, i32 2
  %143 = load i32, ptr %142, align 4, !tbaa !33
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = getelementptr inbounds i8, ptr %144, i64 -8
  %146 = getelementptr inbounds %struct.GCcdataVar, ptr %145, i32 0, i32 1
  %147 = load i16, ptr %146, align 2, !tbaa !34
  %148 = zext i16 %147 to i32
  %149 = add i32 %143, %148
  %150 = zext i32 %149 to i64
  call void @lj_mem_free(ptr noundef %130, ptr noundef %139, i64 noundef %150)
  br label %151

151:                                              ; preds = %129, %122
  br label %152

152:                                              ; preds = %151, %85
  ret void
}

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

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

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

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 = { 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, !7, i64 4}
!10 = !{!"GCcdata", !11, i64 0, !7, i64 4, !7, i64 5, !13, i64 6}
!11 = !{!"GCRef", !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 40}
!16 = !{!"global_State", !6, i64 0, !12, i64 8, !12, i64 12, !6, i64 16, !6, i64 24, !17, i64 32, !12, i64 88, !19, i64 92, !20, i64 108, !7, i64 124, !7, i64 125, !7, i64 126, !7, i64 127, !11, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !21, i64 160, !22, i64 184, !12, i64 208, !12, i64 212, !6, i64 216, !6, i64 224, !6, i64 232, !12, i64 240, !12, i64 244, !11, i64 248, !18, i64 252, !18, i64 256, !7, i64 260}
!17 = !{!"GCState", !12, i64 0, !12, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !12, i64 12, !11, i64 16, !18, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52}
!18 = !{!"MRef", !12, i64 0}
!19 = !{!"SBuf", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12}
!20 = !{!"GCstr", !11, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !12, i64 8, !12, i64 12}
!21 = !{!"Node", !7, i64 0, !7, i64 8, !18, i64 16, !18, i64 20}
!22 = !{!"GCupval", !11, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !18, i64 16, !12, i64 20}
!23 = !{!16, !12, i64 68}
!24 = !{!10, !12, i64 0}
!25 = !{!16, !12, i64 256}
!26 = !{!10, !13, i64 6}
!27 = !{!28, !12, i64 0}
!28 = !{!"CType", !12, i64 0, !12, i64 4, !13, i64 8, !13, i64 10, !11, i64 12}
!29 = !{!28, !12, i64 4}
!30 = !{!12, !12, i64 0}
!31 = !{!32, !13, i64 0}
!32 = !{!"GCcdataVar", !13, i64 0, !13, i64 2, !12, i64 4}
!33 = !{!32, !12, i64 4}
!34 = !{!32, !13, i64 2}


; 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: nounwind uwtable
define hidden void @lj_cdata_free(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %1, i64 4
  %4 = load i8, ptr %3, align 4, !tbaa !5
  %5 = and i8 %4, 16
  %.not = icmp eq i8 %5, 0
  br i1 %.not, label %25, label %6, !prof !8

6:                                                ; preds = %2
  %7 = and i8 %4, -16
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = load i8, ptr %8, align 8, !tbaa !9
  %10 = and i8 %9, 3
  %11 = or disjoint i8 %7, %10
  %12 = or disjoint i8 %11, 8
  store i8 %12, ptr %3, align 4, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %0, i64 68
  %14 = load i32, ptr %13, align 4, !tbaa !20
  %.not29 = icmp eq i32 %14, 0
  br i1 %.not29, label %21, label %15

15:                                               ; preds = %6
  %16 = zext i32 %14 to i64
  %17 = inttoptr i64 %16 to ptr
  %18 = load i32, ptr %17, align 8, !tbaa !5
  store i32 %18, ptr %1, align 4, !tbaa !21
  %19 = ptrtoint ptr %1 to i64
  %20 = trunc i64 %19 to i32
  store i32 %20, ptr %17, align 8, !tbaa !5
  br label %24

21:                                               ; preds = %6
  %22 = ptrtoint ptr %1 to i64
  %23 = trunc i64 %22 to i32
  store i32 %23, ptr %1, align 4, !tbaa !21
  br label %24

24:                                               ; preds = %21, %15
  %storemerge = phi i32 [ %23, %21 ], [ %20, %15 ]
  store i32 %storemerge, ptr %13, align 4, !tbaa !20
  br label %57

25:                                               ; preds = %2
  %.not28 = icmp sgt i8 %4, -1
  br i1 %.not28, label %26, label %44, !prof !8

26:                                               ; preds = %25
  %27 = getelementptr inbounds i8, ptr %0, i64 256
  %28 = load i32, ptr %27, align 8, !tbaa !24
  %29 = zext i32 %28 to i64
  %30 = inttoptr i64 %29 to ptr
  %31 = getelementptr inbounds i8, ptr %1, i64 6
  %32 = load i16, ptr %31, align 2, !tbaa !25
  %33 = zext i16 %32 to i32
  %34 = tail call ptr @ctype_raw(ptr noundef %30, i32 noundef %33)
  %35 = load i32, ptr %34, align 4, !tbaa !26
  %36 = icmp ult i32 %35, 1610612736
  br i1 %36, label %37, label %42

37:                                               ; preds = %26
  %38 = getelementptr inbounds i8, ptr %34, i64 4
  %39 = load i32, ptr %38, align 4, !tbaa !28
  %40 = zext i32 %39 to i64
  %41 = add nuw nsw i64 %40, 8
  br label %42

42:                                               ; preds = %26, %37
  %43 = phi i64 [ %41, %37 ], [ 16, %26 ]
  tail call void @lj_mem_free(ptr noundef nonnull %0, ptr noundef nonnull %1, i64 noundef %43)
  br label %57

44:                                               ; preds = %25
  %45 = getelementptr inbounds i8, ptr %1, i64 -8
  %46 = load i16, ptr %45, align 4, !tbaa !29
  %47 = zext i16 %46 to i64
  %48 = sub nsw i64 0, %47
  %49 = getelementptr inbounds i8, ptr %1, i64 %48
  %50 = getelementptr inbounds i8, ptr %1, i64 -4
  %51 = load i32, ptr %50, align 4, !tbaa !31
  %52 = getelementptr inbounds i8, ptr %1, i64 -6
  %53 = load i16, ptr %52, align 2, !tbaa !32
  %54 = zext i16 %53 to i32
  %55 = add i32 %51, %54
  %56 = zext i32 %55 to i64
  tail call void @lj_mem_free(ptr noundef %0, ptr noundef %49, i64 noundef %56)
  br label %57

57:                                               ; preds = %42, %44, %24
  ret void
}

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @lj_mem_free(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

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

!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 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!9 = !{!10, !6, i64 40}
!10 = !{!"global_State", !11, i64 0, !12, i64 8, !12, i64 12, !11, i64 16, !11, i64 24, !13, i64 32, !12, i64 88, !16, i64 92, !17, i64 108, !6, i64 124, !6, i64 125, !6, i64 126, !6, i64 127, !14, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !18, i64 160, !19, i64 184, !12, i64 208, !12, i64 212, !11, i64 216, !11, i64 224, !11, i64 232, !12, i64 240, !12, i64 244, !14, i64 248, !15, i64 252, !15, i64 256, !6, i64 260}
!11 = !{!"any pointer", !6, i64 0}
!12 = !{!"int", !6, i64 0}
!13 = !{!"GCState", !12, i64 0, !12, i64 4, !6, i64 8, !6, i64 9, !6, i64 10, !6, i64 11, !12, i64 12, !14, i64 16, !15, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52}
!14 = !{!"GCRef", !12, i64 0}
!15 = !{!"MRef", !12, i64 0}
!16 = !{!"SBuf", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!17 = !{!"GCstr", !14, i64 0, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !12, i64 8, !12, i64 12}
!18 = !{!"Node", !6, i64 0, !6, i64 8, !15, i64 16, !15, i64 20}
!19 = !{!"GCupval", !14, i64 0, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !6, i64 8, !15, i64 16, !12, i64 20}
!20 = !{!10, !12, i64 68}
!21 = !{!22, !12, i64 0}
!22 = !{!"GCcdata", !14, i64 0, !6, i64 4, !6, i64 5, !23, i64 6}
!23 = !{!"short", !6, i64 0}
!24 = !{!10, !12, i64 256}
!25 = !{!22, !23, i64 6}
!26 = !{!27, !12, i64 0}
!27 = !{!"CType", !12, i64 0, !12, i64 4, !23, i64 8, !23, i64 10, !14, i64 12}
!28 = !{!27, !12, i64 4}
!29 = !{!30, !23, i64 0}
!30 = !{!"GCcdataVar", !23, i64 0, !23, i64 2, !12, i64 4}
!31 = !{!30, !12, i64 4}
!32 = !{!30, !23, i64 2}


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