; LLVM IR from ohler55/agoo :: ext/agoo (log)

; 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._agooLog = type { ptr, [1024 x i8], [16 x i8], ptr, i32, i32, i64, i64, i8, i8, i8, i8, i8, i32, i64, i64, [16 x i8], ptr, ptr, %struct._agooAtom, %struct._agooAtom, %struct._agooAtom, %struct._agooAtom, i32, i32, ptr }
%struct._agooAtom = type { ptr, %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct._agooLogEntry = type { ptr, i64, ptr, [104 x i8], i8, ptr, [40 x i8] }
%struct._agooLogCat = type { ptr, [32 x i8], ptr, i32, i8 }

@agoo_log = external dso_local global %struct._agooLog, align 8
@stdout = external global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1

; 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

declare double @dsleep(double noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @agoo_log_catv(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %struct._agooLogEntry, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct._agooLogCat, ptr %13, i32 0, i32 4
  %15 = load i8, ptr %14, align 4, !tbaa !9, !range !13, !noundef !14
  %16 = trunc i8 %15 to i1
  br i1 %16, label %17, label %82

17:                                               ; preds = %4
  %18 = load volatile i8, ptr getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 8), align 8, !tbaa !15, !range !13, !noundef !14
  %19 = trunc i8 %18 to i1
  br i1 %19, label %82, label %20

20:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  br label %21

21:                                               ; preds = %23, %20
  %22 = call zeroext i1 @atomic_flag_test_and_set(ptr noundef getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 21))
  br i1 %22, label %23, label %25

23:                                               ; preds = %21
  %24 = call double @dsleep(double noundef 1.000000e-04)
  br label %21, !llvm.loop !19

25:                                               ; preds = %21
  %26 = load i64, ptr getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 7), align 8, !tbaa !21
  %27 = icmp eq i64 0, %26
  br i1 %27, label %28, label %42

28:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 184, ptr %11) #4
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  call void @set_entry(ptr noundef %11, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32)
  %33 = load i8, ptr getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 10), align 2, !tbaa !22, !range !13, !noundef !14
  %34 = trunc i8 %33 to i1
  br i1 %34, label %35, label %38

35:                                               ; preds = %28
  %36 = load ptr, ptr @stdout, align 8, !tbaa !5
  %37 = call i32 @classic_write(ptr noundef %11, ptr noundef %36)
  br label %41

38:                                               ; preds = %28
  %39 = load ptr, ptr @stdout, align 8, !tbaa !5
  %40 = call i32 @jwrite(ptr noundef %11, ptr noundef %39)
  br label %41

41:                                               ; preds = %38, %35
  call void @atomic_flag_clear(ptr noundef getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 21))
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 184, ptr %11) #4
  br label %79

42:                                               ; preds = %25
  br label %43

43:                                               ; preds = %47, %42
  %44 = call ptr @atomic_load(ptr noundef getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 19))
  %45 = call ptr @atomic_load(ptr noundef getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 20))
  %46 = icmp eq ptr %44, %45
  br i1 %46, label %47, label %49

47:                                               ; preds = %43
  %48 = call double @dsleep(double noundef 1.000000e-04)
  br label %43, !llvm.loop !23

49:                                               ; preds = %43
  %50 = call ptr @atomic_load(ptr noundef getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 20))
  store ptr %50, ptr %9, align 8, !tbaa !5
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  call void @set_entry(ptr noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef %55)
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct._agooLogEntry, ptr %56, i64 1
  store ptr %57, ptr %10, align 8, !tbaa !5
  %58 = load ptr, ptr getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 18), align 8, !tbaa !24
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = icmp ule ptr %58, %59
  br i1 %60, label %61, label %63

61:                                               ; preds = %49
  %62 = load ptr, ptr getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 17), align 8, !tbaa !25
  store ptr %62, ptr %10, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %61, %49
  %64 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_atomic_store(ptr noundef getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 20), ptr noundef %64)
  call void @atomic_flag_clear(ptr noundef getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 21))
  %65 = load i32, ptr getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 24), align 4, !tbaa !26
  %66 = icmp ne i32 0, %65
  br i1 %66, label %67, label %78

67:                                               ; preds = %63
  %68 = call ptr @atomic_load(ptr noundef getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 22))
  %69 = ptrtoint ptr %68 to i64
  %70 = trunc i64 %69 to i32
  %71 = icmp eq i32 1, %70
  br i1 %71, label %72, label %78

72:                                               ; preds = %67
  %73 = load i32, ptr getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 24), align 4, !tbaa !26
  %74 = call i64 @write(i32 noundef %73, ptr noundef @.str.9, i64 noundef 1)
  %75 = icmp ne i64 %74, 0
  br i1 %75, label %76, label %77

76:                                               ; preds = %72
  br label %77

77:                                               ; preds = %76, %72
  call void @_atomic_store(ptr noundef getelementptr inbounds (%struct._agooLog, ptr @agoo_log, i32 0, i32 22), ptr noundef inttoptr (i64 2 to ptr))
  br label %78

78:                                               ; preds = %77, %67, %63
  store i32 0, ptr %12, align 4
  br label %79

79:                                               ; preds = %78, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  %80 = load i32, ptr %12, align 4
  switch i32 %80, label %83 [
    i32 0, label %81
    i32 1, label %82
  ]

81:                                               ; preds = %79
  br label %82

82:                                               ; preds = %81, %79, %17, %4
  ret void

83:                                               ; preds = %79
  unreachable
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @atomic_flag_test_and_set(ptr noundef) #3

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @atomic_flag_clear(ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @atomic_load(ptr noundef) #3

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

declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1

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 = { inlinehint 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, !12, i64 52}
!10 = !{!"_agooLogCat", !6, i64 0, !7, i64 8, !6, i64 40, !11, i64 48, !12, i64 52}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !12, i64 1080}
!16 = !{!"_agooLog", !6, i64 0, !7, i64 8, !7, i64 1032, !6, i64 1048, !11, i64 1056, !11, i64 1060, !17, i64 1064, !17, i64 1072, !12, i64 1080, !12, i64 1081, !12, i64 1082, !12, i64 1083, !12, i64 1084, !11, i64 1088, !17, i64 1096, !17, i64 1104, !7, i64 1112, !6, i64 1128, !6, i64 1136, !18, i64 1144, !18, i64 1192, !18, i64 1240, !18, i64 1288, !11, i64 1336, !11, i64 1340, !6, i64 1344}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_agooAtom", !6, i64 0, !7, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!16, !17, i64 1072}
!22 = !{!16, !12, i64 1082}
!23 = distinct !{!23, !20}
!24 = !{!16, !6, i64 1136}
!25 = !{!16, !6, i64 1128}
!26 = !{!16, !11, i64 1340}


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

%struct._agooLog = type { ptr, [1024 x i8], [16 x i8], ptr, i32, i32, i64, i64, i8, i8, i8, i8, i8, i32, i64, i64, [16 x i8], ptr, ptr, %struct._agooAtom, %struct._agooAtom, %struct._agooAtom, %struct._agooAtom, i32, i32, ptr }
%struct._agooAtom = type { ptr, %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct._agooLogEntry = type { ptr, i64, ptr, [104 x i8], i8, ptr, [40 x i8] }

@agoo_log = external dso_local global %struct._agooLog, align 8
@stdout = external local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1

; 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

declare double @dsleep(double noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @agoo_log_catv(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #2 {
  %5 = alloca %struct._agooLogEntry, align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 52
  %7 = load i8, ptr %6, align 4, !tbaa !5, !range !12, !noundef !13
  %8 = trunc nuw i8 %7 to i1
  br i1 %8, label %9, label %46

9:                                                ; preds = %4
  %10 = load volatile i8, ptr getelementptr inbounds (i8, ptr @agoo_log, i64 1080), align 8, !tbaa !14, !range !12, !noundef !13
  %11 = trunc nuw i8 %10 to i1
  br i1 %11, label %46, label %.preheader15

.preheader15:                                     ; preds = %9
  %12 = tail call zeroext i1 @atomic_flag_test_and_set(ptr noundef nonnull getelementptr inbounds (i8, ptr @agoo_log, i64 1240))
  br i1 %12, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader15, %.lr.ph
  %13 = tail call double @dsleep(double noundef 1.000000e-04) #5
  %14 = tail call zeroext i1 @atomic_flag_test_and_set(ptr noundef nonnull getelementptr inbounds (i8, ptr @agoo_log, i64 1240))
  br i1 %14, label %.lr.ph, label %._crit_edge, !llvm.loop !18

._crit_edge:                                      ; preds = %.lr.ph, %.preheader15
  %15 = load i64, ptr getelementptr inbounds (i8, ptr @agoo_log, i64 1072), align 8, !tbaa !20
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %20, label %.preheader

.preheader:                                       ; preds = %._crit_edge
  %17 = tail call ptr @atomic_load(ptr noundef nonnull getelementptr inbounds (i8, ptr @agoo_log, i64 1144))
  %18 = tail call ptr @atomic_load(ptr noundef nonnull getelementptr inbounds (i8, ptr @agoo_log, i64 1192))
  %19 = icmp eq ptr %17, %18
  br i1 %19, label %.lr.ph16, label %._crit_edge17

20:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 184, ptr nonnull %5) #5
  call void @set_entry(ptr noundef nonnull %5, ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3)
  %21 = load i8, ptr getelementptr inbounds (i8, ptr @agoo_log, i64 1082), align 2, !tbaa !21, !range !12, !noundef !13
  %22 = trunc nuw i8 %21 to i1
  %23 = load ptr, ptr @stdout, align 8, !tbaa !22
  br i1 %22, label %24, label %26

24:                                               ; preds = %20
  %25 = call i32 @classic_write(ptr noundef nonnull %5, ptr noundef %23)
  br label %28

26:                                               ; preds = %20
  %27 = call i32 @jwrite(ptr noundef nonnull %5, ptr noundef %23)
  br label %28

28:                                               ; preds = %26, %24
  call void @atomic_flag_clear(ptr noundef nonnull getelementptr inbounds (i8, ptr @agoo_log, i64 1240))
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %5) #5
  br label %46

.lr.ph16:                                         ; preds = %.preheader, %.lr.ph16
  %29 = tail call double @dsleep(double noundef 1.000000e-04) #5
  %30 = tail call ptr @atomic_load(ptr noundef nonnull getelementptr inbounds (i8, ptr @agoo_log, i64 1144))
  %31 = tail call ptr @atomic_load(ptr noundef nonnull getelementptr inbounds (i8, ptr @agoo_log, i64 1192))
  %32 = icmp eq ptr %30, %31
  br i1 %32, label %.lr.ph16, label %._crit_edge17, !llvm.loop !23

._crit_edge17:                                    ; preds = %.lr.ph16, %.preheader
  %33 = tail call ptr @atomic_load(ptr noundef nonnull getelementptr inbounds (i8, ptr @agoo_log, i64 1192))
  tail call void @set_entry(ptr noundef %33, ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3)
  %34 = getelementptr inbounds i8, ptr %33, i64 184
  %35 = load ptr, ptr getelementptr inbounds (i8, ptr @agoo_log, i64 1136), align 8, !tbaa !24
  %.not = icmp ugt ptr %35, %34
  %36 = load ptr, ptr getelementptr inbounds (i8, ptr @agoo_log, i64 1128), align 8
  %spec.select = select i1 %.not, ptr %34, ptr %36
  tail call void @_atomic_store(ptr noundef nonnull getelementptr inbounds (i8, ptr @agoo_log, i64 1192), ptr noundef %spec.select)
  tail call void @atomic_flag_clear(ptr noundef nonnull getelementptr inbounds (i8, ptr @agoo_log, i64 1240))
  %37 = load i32, ptr getelementptr inbounds (i8, ptr @agoo_log, i64 1340), align 4, !tbaa !25
  %.not14 = icmp eq i32 %37, 0
  br i1 %.not14, label %46, label %38

38:                                               ; preds = %._crit_edge17
  %39 = tail call ptr @atomic_load(ptr noundef nonnull getelementptr inbounds (i8, ptr @agoo_log, i64 1288))
  %40 = ptrtoint ptr %39 to i64
  %41 = and i64 %40, 4294967295
  %42 = icmp eq i64 %41, 1
  br i1 %42, label %43, label %46

43:                                               ; preds = %38
  %44 = load i32, ptr getelementptr inbounds (i8, ptr @agoo_log, i64 1340), align 4, !tbaa !25
  %45 = tail call i64 @write(i32 noundef %44, ptr noundef nonnull @.str.9, i64 noundef 1) #5
  tail call void @_atomic_store(ptr noundef nonnull getelementptr inbounds (i8, ptr @agoo_log, i64 1288), ptr noundef nonnull inttoptr (i64 2 to ptr))
  br label %46

46:                                               ; preds = %28, %43, %38, %._crit_edge17, %9, %4
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @atomic_flag_test_and_set(ptr noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @atomic_flag_clear(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @atomic_load(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @_atomic_store(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree
declare noundef i64 @write(i32 noundef, ptr nocapture noundef readonly, i64 noundef) local_unnamed_addr #4

attributes #0 = { mustprogress 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 = { inlinehint 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 = { nofree "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, !11, i64 52}
!6 = !{!"_agooLogCat", !7, i64 0, !8, i64 8, !7, i64 40, !10, i64 48, !11, i64 52}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_Bool", !8, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!15, !11, i64 1080}
!15 = !{!"_agooLog", !7, i64 0, !8, i64 8, !8, i64 1032, !7, i64 1048, !10, i64 1056, !10, i64 1060, !16, i64 1064, !16, i64 1072, !11, i64 1080, !11, i64 1081, !11, i64 1082, !11, i64 1083, !11, i64 1084, !10, i64 1088, !16, i64 1096, !16, i64 1104, !8, i64 1112, !7, i64 1128, !7, i64 1136, !17, i64 1144, !17, i64 1192, !17, i64 1240, !17, i64 1288, !10, i64 1336, !10, i64 1340, !7, i64 1344}
!16 = !{!"long", !8, i64 0}
!17 = !{!"_agooAtom", !7, i64 0, !8, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!15, !16, i64 1072}
!21 = !{!15, !11, i64 1082}
!22 = !{!7, !7, i64 0}
!23 = distinct !{!23, !19}
!24 = !{!15, !7, i64 1136}
!25 = !{!15, !10, i64 1340}


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