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

; 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.LexState = type { ptr, ptr, %union.TValue, %union.TValue, ptr, ptr, i32, i32, i32, %struct.SBuf, ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, i32 }
%union.TValue = type { i64 }
%struct.SBuf = type { %struct.MRef, %struct.MRef, %struct.MRef, %struct.MRef }
%struct.MRef = type { i32 }
%struct.lua_State = type { %union.anon.2 }
%union.anon.2 = type { %struct.anon.3, [320 x i8] }
%struct.anon.3 = type { %struct.GCRef, i8, i8, i8, i8, %struct.MRef, %struct.GCRef, ptr, ptr, %struct.MRef, %struct.MRef, %struct.GCRef, %struct.GCRef, ptr, i32 }
%struct.GCRef = type { i32 }

@.str = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind uwtable
define hidden i32 @lj_lex_setup(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = 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 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = load ptr, ptr %5, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.LexState, ptr %9, i32 0, i32 1
  store ptr %8, ptr %10, align 8, !tbaa !11
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.LexState, ptr %11, i32 0, i32 0
  store ptr null, ptr %12, align 8, !tbaa !15
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.LexState, ptr %13, i32 0, i32 4
  store ptr null, ptr %14, align 8, !tbaa !16
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.LexState, ptr %15, i32 0, i32 5
  store ptr null, ptr %16, align 8, !tbaa !17
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.LexState, ptr %17, i32 0, i32 17
  store ptr null, ptr %18, align 8, !tbaa !18
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.LexState, ptr %19, i32 0, i32 18
  store i32 0, ptr %20, align 8, !tbaa !19
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.LexState, ptr %21, i32 0, i32 19
  store i32 0, ptr %22, align 4, !tbaa !20
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.LexState, ptr %23, i32 0, i32 20
  store ptr null, ptr %24, align 8, !tbaa !21
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.LexState, ptr %25, i32 0, i32 21
  store i32 0, ptr %26, align 8, !tbaa !22
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.LexState, ptr %27, i32 0, i32 7
  store i32 0, ptr %28, align 4, !tbaa !23
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.LexState, ptr %29, i32 0, i32 8
  store i32 289, ptr %30, align 8, !tbaa !24
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.LexState, ptr %31, i32 0, i32 12
  store i32 1, ptr %32, align 8, !tbaa !25
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.LexState, ptr %33, i32 0, i32 13
  store i32 1, ptr %34, align 4, !tbaa !26
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = call i32 @lex_next(ptr noundef %35)
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.LexState, ptr %37, i32 0, i32 6
  %39 = load i32, ptr %38, align 8, !tbaa !27
  %40 = icmp eq i32 %39, 239
  br i1 %40, label %41, label %73

41:                                               ; preds = %2
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.LexState, ptr %42, i32 0, i32 4
  %44 = load ptr, ptr %43, align 8, !tbaa !16
  %45 = getelementptr inbounds i8, ptr %44, i64 2
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.LexState, ptr %46, i32 0, i32 5
  %48 = load ptr, ptr %47, align 8, !tbaa !17
  %49 = icmp ule ptr %45, %48
  br i1 %49, label %50, label %73

50:                                               ; preds = %41
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.LexState, ptr %51, i32 0, i32 4
  %53 = load ptr, ptr %52, align 8, !tbaa !16
  %54 = getelementptr inbounds i8, ptr %53, i64 0
  %55 = load i8, ptr %54, align 1, !tbaa !28
  %56 = zext i8 %55 to i32
  %57 = icmp eq i32 %56, 187
  br i1 %57, label %58, label %73

58:                                               ; preds = %50
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.LexState, ptr %59, i32 0, i32 4
  %61 = load ptr, ptr %60, align 8, !tbaa !16
  %62 = getelementptr inbounds i8, ptr %61, i64 1
  %63 = load i8, ptr %62, align 1, !tbaa !28
  %64 = zext i8 %63 to i32
  %65 = icmp eq i32 %64, 191
  br i1 %65, label %66, label %73

66:                                               ; preds = %58
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.LexState, ptr %67, i32 0, i32 4
  %69 = load ptr, ptr %68, align 8, !tbaa !16
  %70 = getelementptr inbounds i8, ptr %69, i64 2
  store ptr %70, ptr %68, align 8, !tbaa !16
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = call i32 @lex_next(ptr noundef %71)
  store i32 1, ptr %6, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %66, %58, %50, %41, %2
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.LexState, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %75, align 8, !tbaa !27
  %77 = icmp eq i32 %76, 35
  br i1 %77, label %78, label %103

78:                                               ; preds = %73
  br label %79

79:                                               ; preds = %98, %78
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = call i32 @lex_next(ptr noundef %80)
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.LexState, ptr %82, i32 0, i32 6
  %84 = load i32, ptr %83, align 8, !tbaa !27
  %85 = icmp eq i32 %84, -1
  br i1 %85, label %86, label %87

86:                                               ; preds = %79
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %125

87:                                               ; preds = %79
  br label %88

88:                                               ; preds = %87
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.LexState, ptr %89, i32 0, i32 6
  %91 = load i32, ptr %90, align 8, !tbaa !27
  %92 = icmp eq i32 %91, 10
  br i1 %92, label %98, label %93

93:                                               ; preds = %88
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.LexState, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %95, align 8, !tbaa !27
  %97 = icmp eq i32 %96, 13
  br label %98

98:                                               ; preds = %93, %88
  %99 = phi i1 [ true, %88 ], [ %97, %93 ]
  %100 = xor i1 %99, true
  br i1 %100, label %79, label %101, !llvm.loop !29

101:                                              ; preds = %98
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  call void @lex_newline(ptr noundef %102)
  store i32 1, ptr %6, align 4, !tbaa !9
  br label %103

103:                                              ; preds = %101, %73
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.LexState, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %105, align 8, !tbaa !27
  %107 = load i8, ptr @.str, align 1, !tbaa !28
  %108 = sext i8 %107 to i32
  %109 = icmp eq i32 %106, %108
  br i1 %109, label %110, label %124

110:                                              ; preds = %103
  %111 = load i32, ptr %6, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %123

113:                                              ; preds = %110
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.lua_State, ptr %115, i32 0, i32 0
  %117 = getelementptr inbounds %struct.anon.3, ptr %116, i32 0, i32 8
  %118 = load ptr, ptr %117, align 8, !tbaa !28
  %119 = getelementptr inbounds %union.TValue, ptr %118, i32 1
  store ptr %119, ptr %117, align 8, !tbaa !28
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = call ptr @lj_err_str(ptr noundef %120, i32 noundef 2972)
  call void @setstrV(ptr noundef %114, ptr noundef %118, ptr noundef %121)
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  call void @lj_err_throw(ptr noundef %122, i32 noundef 3) #6
  unreachable

123:                                              ; preds = %110
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %125

124:                                              ; preds = %103
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %125

125:                                              ; preds = %124, %123, %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %126 = load i32, ptr %3, align 4
  ret i32 %126
}

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden i32 @lex_next(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @lex_newline(ptr noundef) #0

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

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

; Function Attrs: noreturn
declare hidden void @lj_err_throw(ptr noundef, i32 noundef) #4

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { nounwind }
attributes #6 = { 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, !6, i64 8}
!12 = !{!"LexState", !6, i64 0, !6, i64 8, !7, i64 16, !7, i64 24, !6, i64 32, !6, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !13, i64 60, !6, i64 80, !6, i64 88, !10, i64 96, !10, i64 100, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !10, i64 136, !10, i64 140, !6, i64 144, !10, i64 152, !10, i64 156}
!13 = !{!"SBuf", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!14 = !{!"MRef", !10, i64 0}
!15 = !{!12, !6, i64 0}
!16 = !{!12, !6, i64 32}
!17 = !{!12, !6, i64 40}
!18 = !{!12, !6, i64 128}
!19 = !{!12, !10, i64 136}
!20 = !{!12, !10, i64 140}
!21 = !{!12, !6, i64 144}
!22 = !{!12, !10, i64 152}
!23 = !{!12, !10, i64 52}
!24 = !{!12, !10, i64 56}
!25 = !{!12, !10, i64 96}
!26 = !{!12, !10, i64 100}
!27 = !{!12, !10, i64 48}
!28 = !{!7, !7, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"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"

@.str = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind uwtable
define hidden range(i32 0, 2) i32 @lj_lex_setup(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %1, i64 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr null, ptr %1, align 8, !tbaa !13
  %4 = getelementptr inbounds i8, ptr %1, i64 32
  %5 = getelementptr inbounds i8, ptr %1, i64 128
  %6 = getelementptr inbounds i8, ptr %1, i64 52
  store i32 0, ptr %6, align 4, !tbaa !14
  %7 = getelementptr inbounds i8, ptr %1, i64 56
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(28) %5, i8 0, i64 28, i1 false)
  store i32 289, ptr %7, align 8, !tbaa !15
  %8 = getelementptr inbounds i8, ptr %1, i64 96
  store i32 1, ptr %8, align 8, !tbaa !16
  %9 = getelementptr inbounds i8, ptr %1, i64 100
  store i32 1, ptr %9, align 4, !tbaa !17
  %10 = tail call i32 @lex_next(ptr noundef nonnull %1)
  %11 = getelementptr inbounds i8, ptr %1, i64 48
  %12 = load i32, ptr %11, align 8, !tbaa !18
  %13 = icmp ne i32 %12, 239
  br i1 %13, label %thread-pre-split, label %14

14:                                               ; preds = %2
  %15 = getelementptr inbounds i8, ptr %1, i64 40
  %16 = load ptr, ptr %4, align 8, !tbaa !19
  %17 = getelementptr inbounds i8, ptr %16, i64 2
  %18 = load ptr, ptr %15, align 8, !tbaa !20
  %.not = icmp ugt ptr %17, %18
  br i1 %.not, label %.loopexit, label %19

19:                                               ; preds = %14
  %20 = load i8, ptr %16, align 1, !tbaa !21
  %21 = icmp eq i8 %20, -69
  br i1 %21, label %22, label %.loopexit

22:                                               ; preds = %19
  %23 = getelementptr inbounds i8, ptr %16, i64 1
  %24 = load i8, ptr %23, align 1, !tbaa !21
  %25 = icmp eq i8 %24, -65
  br i1 %25, label %26, label %.loopexit

26:                                               ; preds = %22
  store ptr %17, ptr %4, align 8, !tbaa !19
  %27 = tail call i32 @lex_next(ptr noundef nonnull %1)
  %.pr.pre = load i32, ptr %11, align 8, !tbaa !18
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %26, %2
  %28 = phi i32 [ %12, %2 ], [ %.pr.pre, %26 ]
  %29 = icmp eq i32 %28, 35
  br i1 %29, label %.critedge, label %32

.critedge:                                        ; preds = %thread-pre-split, %.critedge
  %30 = tail call i32 @lex_next(ptr noundef nonnull %1)
  %31 = load i32, ptr %11, align 8, !tbaa !18
  switch i32 %31, label %.critedge [
    i32 -1, label %.loopexit
    i32 10, label %.thread
    i32 13, label %.thread
  ]

32:                                               ; preds = %thread-pre-split
  %33 = load i8, ptr @.str, align 1, !tbaa !21
  %34 = sext i8 %33 to i32
  %35 = icmp ne i32 %28, %34
  %brmerge = or i1 %13, %35
  %not. = xor i1 %35, true
  %.mux = zext i1 %not. to i32
  br i1 %brmerge, label %.loopexit, label %.thread40

.thread:                                          ; preds = %.critedge, %.critedge
  tail call void @lex_newline(ptr noundef nonnull %1)
  %36 = load i32, ptr %11, align 8, !tbaa !18
  %37 = load i8, ptr @.str, align 1, !tbaa !21
  %38 = sext i8 %37 to i32
  %39 = icmp eq i32 %36, %38
  br i1 %39, label %.thread40, label %.loopexit

.thread40:                                        ; preds = %32, %.thread
  %40 = getelementptr inbounds i8, ptr %0, i64 24
  %41 = load ptr, ptr %40, align 8, !tbaa !21
  %42 = getelementptr inbounds i8, ptr %41, i64 8
  store ptr %42, ptr %40, align 8, !tbaa !21
  %43 = tail call ptr @lj_err_str(ptr noundef %0, i32 noundef 2972) #5
  tail call void @setstrV(ptr noundef %0, ptr noundef %41, ptr noundef %43)
  tail call void @lj_err_throw(ptr noundef %0, i32 noundef 3) #6
  unreachable

.loopexit:                                        ; preds = %.critedge, %14, %19, %22, %32, %.thread
  %.034 = phi i32 [ %.mux, %32 ], [ 0, %.thread ], [ 0, %22 ], [ 0, %19 ], [ 0, %14 ], [ 0, %.critedge ]
  ret i32 %.034
}

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

; Function Attrs: nounwind uwtable
declare hidden void @lex_newline(ptr noundef) local_unnamed_addr #0

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

declare hidden ptr @lj_err_str(ptr noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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" }
attributes #2 = { "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 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
attributes #6 = { noreturn 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, !7, i64 8}
!6 = !{!"LexState", !7, i64 0, !7, i64 8, !8, i64 16, !8, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !11, i64 60, !7, i64 80, !7, i64 88, !10, i64 96, !10, i64 100, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !10, i64 136, !10, i64 140, !7, i64 144, !10, i64 152, !10, i64 156}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"SBuf", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!12 = !{!"MRef", !10, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !10, i64 52}
!15 = !{!6, !10, i64 56}
!16 = !{!6, !10, i64 96}
!17 = !{!6, !10, i64 100}
!18 = !{!6, !10, i64 48}
!19 = !{!6, !7, i64 32}
!20 = !{!6, !7, i64 40}
!21 = !{!8, !8, i64 0}


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass