; LLVM IR from libtcod/libtcod :: src/libtcod (txtfield_c)

; 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.TCOD_Text = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i8, i32, i32, %struct.TCOD_ColorRGB, %struct.TCOD_ColorRGB, float, i8, ptr }
%struct.TCOD_ColorRGB = type { i8, i8, i8 }

@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [74 x i8], align 1
@__PRETTY_FUNCTION__.TCOD_text_init = external hidden unnamed_addr constant [52 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @TCOD_text_init(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  store i32 %0, ptr %6, align 4, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %12 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 112) #6
  store ptr %12, ptr %11, align 8, !tbaa !9
  %13 = load i32, ptr %8, align 4, !tbaa !5
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %15, label %19

15:                                               ; preds = %5
  %16 = load i32, ptr %9, align 4, !tbaa !5
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %18, label %19

18:                                               ; preds = %15
  br label %20

19:                                               ; preds = %15, %5
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 68, ptr noundef @__PRETTY_FUNCTION__.TCOD_text_init) #7
  unreachable

20:                                               ; preds = %18
  %21 = load i32, ptr %6, align 4, !tbaa !5
  %22 = load ptr, ptr %11, align 8, !tbaa !9
  %23 = getelementptr inbounds %struct.TCOD_Text, ptr %22, i32 0, i32 0
  store i32 %21, ptr %23, align 8, !tbaa !11
  %24 = load i32, ptr %7, align 4, !tbaa !5
  %25 = load ptr, ptr %11, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.TCOD_Text, ptr %25, i32 0, i32 1
  store i32 %24, ptr %26, align 4, !tbaa !16
  %27 = load i32, ptr %8, align 4, !tbaa !5
  %28 = load ptr, ptr %11, align 8, !tbaa !9
  %29 = getelementptr inbounds %struct.TCOD_Text, ptr %28, i32 0, i32 2
  store i32 %27, ptr %29, align 8, !tbaa !17
  %30 = load i32, ptr %9, align 4, !tbaa !5
  %31 = load ptr, ptr %11, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.TCOD_Text, ptr %31, i32 0, i32 3
  store i32 %30, ptr %32, align 4, !tbaa !18
  %33 = load i32, ptr %9, align 4, !tbaa !5
  %34 = icmp sgt i32 %33, 1
  %35 = load ptr, ptr %11, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.TCOD_Text, ptr %35, i32 0, i32 22
  %37 = zext i1 %34 to i8
  store i8 %37, ptr %36, align 8, !tbaa !19
  %38 = load i32, ptr %10, align 4, !tbaa !5
  %39 = icmp sgt i32 %38, 0
  br i1 %39, label %40, label %43

40:                                               ; preds = %20
  %41 = load i32, ptr %10, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  br label %44

43:                                               ; preds = %20
  br label %44

44:                                               ; preds = %43, %40
  %45 = phi i32 [ %42, %40 ], [ 2147483647, %43 ]
  %46 = load ptr, ptr %11, align 8, !tbaa !9
  %47 = getelementptr inbounds %struct.TCOD_Text, ptr %46, i32 0, i32 4
  store i32 %45, ptr %47, align 8, !tbaa !20
  %48 = load ptr, ptr %11, align 8, !tbaa !9
  %49 = getelementptr inbounds %struct.TCOD_Text, ptr %48, i32 0, i32 5
  store i32 800, ptr %49, align 4, !tbaa !21
  %50 = load ptr, ptr %11, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct.TCOD_Text, ptr %50, i32 0, i32 6
  store i32 400, ptr %51, align 8, !tbaa !22
  %52 = load ptr, ptr %11, align 8, !tbaa !9
  %53 = getelementptr inbounds %struct.TCOD_Text, ptr %52, i32 0, i32 7
  store i32 0, ptr %53, align 4, !tbaa !23
  %54 = load ptr, ptr %11, align 8, !tbaa !9
  %55 = getelementptr inbounds %struct.TCOD_Text, ptr %54, i32 0, i32 12
  store ptr null, ptr %55, align 8, !tbaa !24
  %56 = load ptr, ptr %11, align 8, !tbaa !9
  %57 = getelementptr inbounds %struct.TCOD_Text, ptr %56, i32 0, i32 14
  store i32 0, ptr %57, align 4, !tbaa !25
  %58 = load ptr, ptr %11, align 8, !tbaa !9
  %59 = getelementptr inbounds %struct.TCOD_Text, ptr %58, i32 0, i32 13
  store i32 0, ptr %59, align 8, !tbaa !26
  %60 = load i32, ptr %8, align 4, !tbaa !5
  %61 = load i32, ptr %9, align 4, !tbaa !5
  %62 = call ptr @TCOD_console_new(i32 noundef %60, i32 noundef %61)
  %63 = load ptr, ptr %11, align 8, !tbaa !9
  %64 = getelementptr inbounds %struct.TCOD_Text, ptr %63, i32 0, i32 15
  store ptr %62, ptr %64, align 8, !tbaa !27
  %65 = load ptr, ptr %11, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct.TCOD_Text, ptr %65, i32 0, i32 9
  store i32 2147483647, ptr %66, align 4, !tbaa !28
  %67 = load ptr, ptr %11, align 8, !tbaa !9
  %68 = getelementptr inbounds %struct.TCOD_Text, ptr %67, i32 0, i32 10
  store i32 -1, ptr %68, align 8, !tbaa !29
  %69 = load i32, ptr %10, align 4, !tbaa !5
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %78

71:                                               ; preds = %44
  %72 = load i32, ptr %10, align 4, !tbaa !5
  %73 = icmp sgt i32 %72, 0
  br i1 %73, label %74, label %78

74:                                               ; preds = %71
  %75 = load i32, ptr %10, align 4, !tbaa !5
  %76 = load ptr, ptr %11, align 8, !tbaa !9
  %77 = getelementptr inbounds %struct.TCOD_Text, ptr %76, i32 0, i32 4
  store i32 %75, ptr %77, align 8, !tbaa !20
  br label %88

78:                                               ; preds = %71, %44
  %79 = load ptr, ptr %11, align 8, !tbaa !9
  %80 = getelementptr inbounds %struct.TCOD_Text, ptr %79, i32 0, i32 2
  %81 = load i32, ptr %80, align 8, !tbaa !17
  %82 = load ptr, ptr %11, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct.TCOD_Text, ptr %82, i32 0, i32 3
  %84 = load i32, ptr %83, align 4, !tbaa !18
  %85 = mul nsw i32 %81, %84
  %86 = load ptr, ptr %11, align 8, !tbaa !9
  %87 = getelementptr inbounds %struct.TCOD_Text, ptr %86, i32 0, i32 4
  store i32 %85, ptr %87, align 8, !tbaa !20
  br label %88

88:                                               ; preds = %78, %74
  %89 = load ptr, ptr %11, align 8, !tbaa !9
  %90 = getelementptr inbounds %struct.TCOD_Text, ptr %89, i32 0, i32 16
  store i8 1, ptr %90, align 8, !tbaa !30
  %91 = load ptr, ptr %11, align 8, !tbaa !9
  %92 = getelementptr inbounds %struct.TCOD_Text, ptr %91, i32 0, i32 4
  %93 = load i32, ptr %92, align 8, !tbaa !20
  %94 = icmp slt i32 64, %93
  br i1 %94, label %95, label %96

95:                                               ; preds = %88
  br label %100

96:                                               ; preds = %88
  %97 = load ptr, ptr %11, align 8, !tbaa !9
  %98 = getelementptr inbounds %struct.TCOD_Text, ptr %97, i32 0, i32 4
  %99 = load i32, ptr %98, align 8, !tbaa !20
  br label %100

100:                                              ; preds = %96, %95
  %101 = phi i32 [ 64, %95 ], [ %99, %96 ]
  %102 = load ptr, ptr %11, align 8, !tbaa !9
  %103 = getelementptr inbounds %struct.TCOD_Text, ptr %102, i32 0, i32 17
  store i32 %101, ptr %103, align 4, !tbaa !31
  %104 = load ptr, ptr %11, align 8, !tbaa !9
  %105 = getelementptr inbounds %struct.TCOD_Text, ptr %104, i32 0, i32 17
  %106 = load i32, ptr %105, align 4, !tbaa !31
  %107 = sext i32 %106 to i64
  %108 = call noalias ptr @calloc(i64 noundef %107, i64 noundef 1) #6
  %109 = load ptr, ptr %11, align 8, !tbaa !9
  %110 = getelementptr inbounds %struct.TCOD_Text, ptr %109, i32 0, i32 23
  store ptr %108, ptr %110, align 8, !tbaa !32
  %111 = load ptr, ptr %11, align 8, !tbaa !9
  %112 = getelementptr inbounds %struct.TCOD_Text, ptr %111, i32 0, i32 19
  %113 = getelementptr inbounds %struct.TCOD_ColorRGB, ptr %112, i32 0, i32 2
  store i8 0, ptr %113, align 2, !tbaa !33
  %114 = load ptr, ptr %11, align 8, !tbaa !9
  %115 = getelementptr inbounds %struct.TCOD_Text, ptr %114, i32 0, i32 19
  %116 = getelementptr inbounds %struct.TCOD_ColorRGB, ptr %115, i32 0, i32 1
  store i8 0, ptr %116, align 1, !tbaa !34
  %117 = load ptr, ptr %11, align 8, !tbaa !9
  %118 = getelementptr inbounds %struct.TCOD_Text, ptr %117, i32 0, i32 19
  %119 = getelementptr inbounds %struct.TCOD_ColorRGB, ptr %118, i32 0, i32 0
  store i8 0, ptr %119, align 4, !tbaa !35
  %120 = load ptr, ptr %11, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.TCOD_Text, ptr %120, i32 0, i32 20
  %122 = getelementptr inbounds %struct.TCOD_ColorRGB, ptr %121, i32 0, i32 2
  store i8 -1, ptr %122, align 1, !tbaa !36
  %123 = load ptr, ptr %11, align 8, !tbaa !9
  %124 = getelementptr inbounds %struct.TCOD_Text, ptr %123, i32 0, i32 20
  %125 = getelementptr inbounds %struct.TCOD_ColorRGB, ptr %124, i32 0, i32 1
  store i8 -1, ptr %125, align 1, !tbaa !37
  %126 = load ptr, ptr %11, align 8, !tbaa !9
  %127 = getelementptr inbounds %struct.TCOD_Text, ptr %126, i32 0, i32 20
  %128 = getelementptr inbounds %struct.TCOD_ColorRGB, ptr %127, i32 0, i32 0
  store i8 -1, ptr %128, align 1, !tbaa !38
  %129 = load ptr, ptr %11, align 8, !tbaa !9
  %130 = getelementptr inbounds %struct.TCOD_Text, ptr %129, i32 0, i32 21
  store float 1.000000e+00, ptr %130, align 4, !tbaa !39
  %131 = load ptr, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  ret ptr %131
}

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

declare ptr @TCOD_console_new(i32 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 = { nounwind allocsize(0,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 #3 = { noreturn nounwind "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 }
attributes #6 = { nounwind allocsize(0,1) }
attributes #7 = { 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"TCOD_Text", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !10, i64 48, !6, i64 56, !6, i64 60, !10, i64 64, !13, i64 72, !6, i64 76, !6, i64 80, !14, i64 84, !14, i64 87, !15, i64 92, !13, i64 96, !10, i64 104}
!13 = !{!"_Bool", !7, i64 0}
!14 = !{!"TCOD_ColorRGB", !7, i64 0, !7, i64 1, !7, i64 2}
!15 = !{!"float", !7, i64 0}
!16 = !{!12, !6, i64 4}
!17 = !{!12, !6, i64 8}
!18 = !{!12, !6, i64 12}
!19 = !{!12, !13, i64 96}
!20 = !{!12, !6, i64 16}
!21 = !{!12, !6, i64 20}
!22 = !{!12, !6, i64 24}
!23 = !{!12, !6, i64 28}
!24 = !{!12, !10, i64 48}
!25 = !{!12, !6, i64 60}
!26 = !{!12, !6, i64 56}
!27 = !{!12, !10, i64 64}
!28 = !{!12, !6, i64 36}
!29 = !{!12, !6, i64 40}
!30 = !{!12, !13, i64 72}
!31 = !{!12, !6, i64 76}
!32 = !{!12, !10, i64 104}
!33 = !{!12, !7, i64 86}
!34 = !{!12, !7, i64 85}
!35 = !{!12, !7, i64 84}
!36 = !{!12, !7, i64 89}
!37 = !{!12, !7, i64 88}
!38 = !{!12, !7, i64 87}
!39 = !{!12, !15, i64 92}


; 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 [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [74 x i8], align 1
@__PRETTY_FUNCTION__.TCOD_text_init = external hidden unnamed_addr constant [52 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noalias noundef ptr @TCOD_text_init(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = tail call noalias dereferenceable_or_null(112) ptr @calloc(i64 noundef 1, i64 noundef 112) #5
  %7 = icmp sgt i32 %2, 0
  %8 = icmp sgt i32 %3, 0
  %or.cond = and i1 %7, %8
  br i1 %or.cond, label %10, label %9

9:                                                ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 68, ptr noundef nonnull @__PRETTY_FUNCTION__.TCOD_text_init) #6
  unreachable

10:                                               ; preds = %5
  store i32 %0, ptr %6, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 %1, ptr %11, align 4, !tbaa !14
  %12 = getelementptr inbounds i8, ptr %6, i64 8
  store i32 %2, ptr %12, align 8, !tbaa !15
  %13 = getelementptr inbounds i8, ptr %6, i64 12
  store i32 %3, ptr %13, align 4, !tbaa !16
  %14 = icmp ugt i32 %3, 1
  %15 = getelementptr inbounds i8, ptr %6, i64 96
  %16 = zext i1 %14 to i8
  store i8 %16, ptr %15, align 8, !tbaa !17
  %17 = icmp sgt i32 %4, 0
  %18 = getelementptr inbounds i8, ptr %6, i64 16
  %19 = getelementptr inbounds i8, ptr %6, i64 20
  store i32 800, ptr %19, align 4, !tbaa !18
  %20 = getelementptr inbounds i8, ptr %6, i64 24
  store i32 400, ptr %20, align 8, !tbaa !19
  %21 = tail call ptr @TCOD_console_new(i32 noundef %2, i32 noundef %3) #7
  %22 = getelementptr inbounds i8, ptr %6, i64 64
  store ptr %21, ptr %22, align 8, !tbaa !20
  %23 = getelementptr inbounds i8, ptr %6, i64 36
  store i32 2147483647, ptr %23, align 4, !tbaa !21
  %24 = getelementptr inbounds i8, ptr %6, i64 40
  store i32 -1, ptr %24, align 8, !tbaa !22
  %25 = mul nuw nsw i32 %3, %2
  %spec.select52 = select i1 %17, i32 %4, i32 %25
  store i32 %spec.select52, ptr %18, align 8, !tbaa !23
  %26 = getelementptr inbounds i8, ptr %6, i64 72
  store i8 1, ptr %26, align 8, !tbaa !24
  %spec.select = tail call i32 @llvm.umin.i32(i32 %spec.select52, i32 64)
  %27 = getelementptr inbounds i8, ptr %6, i64 76
  store i32 %spec.select, ptr %27, align 4, !tbaa !25
  %28 = zext nneg i32 %spec.select to i64
  %29 = tail call noalias ptr @calloc(i64 noundef %28, i64 noundef 1) #5
  %30 = getelementptr inbounds i8, ptr %6, i64 104
  store ptr %29, ptr %30, align 8, !tbaa !26
  %31 = getelementptr inbounds i8, ptr %6, i64 87
  %32 = getelementptr inbounds i8, ptr %6, i64 89
  store i8 -1, ptr %32, align 1, !tbaa !27
  %33 = getelementptr inbounds i8, ptr %6, i64 88
  store i8 -1, ptr %33, align 1, !tbaa !28
  store i8 -1, ptr %31, align 1, !tbaa !29
  %34 = getelementptr inbounds i8, ptr %6, i64 92
  store float 1.000000e+00, ptr %34, align 4, !tbaa !30
  ret ptr %6
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare ptr @TCOD_console_new(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #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 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { noreturn nounwind "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind allocsize(0,1) }
attributes #6 = { noreturn nounwind }
attributes #7 = { 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 0}
!6 = !{!"TCOD_Text", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !10, i64 48, !7, i64 56, !7, i64 60, !10, i64 64, !11, i64 72, !7, i64 76, !7, i64 80, !12, i64 84, !12, i64 87, !13, i64 92, !11, i64 96, !10, i64 104}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_Bool", !8, i64 0}
!12 = !{!"TCOD_ColorRGB", !8, i64 0, !8, i64 1, !8, i64 2}
!13 = !{!"float", !8, i64 0}
!14 = !{!6, !7, i64 4}
!15 = !{!6, !7, i64 8}
!16 = !{!6, !7, i64 12}
!17 = !{!6, !11, i64 96}
!18 = !{!6, !7, i64 20}
!19 = !{!6, !7, i64 24}
!20 = !{!6, !10, i64 64}
!21 = !{!6, !7, i64 36}
!22 = !{!6, !7, i64 40}
!23 = !{!6, !7, i64 16}
!24 = !{!6, !11, i64 72}
!25 = !{!6, !7, i64 76}
!26 = !{!6, !10, i64 104}
!27 = !{!6, !8, i64 89}
!28 = !{!6, !8, i64 88}
!29 = !{!6, !8, i64 87}
!30 = !{!6, !13, i64 92}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass