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

; 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._gqlType = type { ptr, ptr, ptr, i32, i32, i8, %union.anon }
%union.anon = type { %struct.anon.0 }
%struct.anon.0 = type { ptr, ptr, ptr }
%struct._gqlEnumVal = type { ptr, ptr, ptr, ptr }
%struct._agooErr = type { i32, [256 x i8] }

@.str.2 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 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: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #1

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

declare i32 @agoo_err_set(ptr noundef, i32 noundef, ptr noundef, ...) #2

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

declare i32 @agoo_err_memory(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare hidden ptr @alloc_string(ptr noundef, ptr noundef, i64 noundef) #5

; Function Attrs: nounwind uwtable
define dso_local ptr @gql_enum_append(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5) #5 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store i64 %3, ptr %11, align 8, !tbaa !9
  store ptr %4, ptr %12, align 8, !tbaa !5
  store i64 %5, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %17 = load ptr, ptr %9, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct._gqlType, ptr %17, i32 0, i32 6
  %19 = load ptr, ptr %18, align 8, !tbaa !11
  store ptr %19, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  br label %20

20:                                               ; preds = %38, %6
  %21 = load ptr, ptr %14, align 8, !tbaa !5
  %22 = icmp ne ptr null, %21
  br i1 %22, label %23, label %42

23:                                               ; preds = %20
  %24 = load ptr, ptr %10, align 8, !tbaa !5
  %25 = load ptr, ptr %14, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct._gqlEnumVal, ptr %25, i32 0, i32 1
  %27 = load ptr, ptr %26, align 8, !tbaa !12
  %28 = call i32 @strcmp(ptr noundef %24, ptr noundef %27) #7
  %29 = icmp eq i32 0, %28
  br i1 %29, label %30, label %37

30:                                               ; preds = %23
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._gqlType, ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !14
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = call i32 (ptr, i32, ptr, ...) @agoo_err_set(ptr noundef %31, i32 noundef 311, ptr noundef @.str.9, ptr noundef %34, ptr noundef %35)
  store ptr null, ptr %7, align 8
  store i32 1, ptr %16, align 4
  br label %118

37:                                               ; preds = %23
  br label %38

38:                                               ; preds = %37
  %39 = load ptr, ptr %14, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct._gqlEnumVal, ptr %39, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !18
  store ptr %41, ptr %14, align 8, !tbaa !5
  br label %20, !llvm.loop !19

42:                                               ; preds = %20
  %43 = call noalias ptr @malloc(i64 noundef 32) #8
  store ptr %43, ptr %15, align 8, !tbaa !5
  %44 = icmp eq ptr null, %43
  br i1 %44, label %45, label %48

45:                                               ; preds = %42
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = call i32 @agoo_err_memory(ptr noundef %46, ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 685)
  store ptr null, ptr %7, align 8
  store i32 1, ptr %16, align 4
  br label %118

48:                                               ; preds = %42
  %49 = load i64, ptr %11, align 8, !tbaa !9
  %50 = icmp uge i64 0, %49
  br i1 %50, label %51, label %54

51:                                               ; preds = %48
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = call i64 @strlen(ptr noundef %52) #7
  store i64 %53, ptr %11, align 8, !tbaa !9
  br label %54

54:                                               ; preds = %51, %48
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = load i64, ptr %11, align 8, !tbaa !9
  %57 = call noalias ptr @strndup(ptr noundef %55, i64 noundef %56) #6
  %58 = load ptr, ptr %15, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct._gqlEnumVal, ptr %58, i32 0, i32 1
  store ptr %57, ptr %59, align 8, !tbaa !12
  %60 = icmp eq ptr null, %57
  br i1 %60, label %61, label %65

61:                                               ; preds = %54
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = call i32 @agoo_err_memory(ptr noundef %62, ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 692)
  %64 = load ptr, ptr %15, align 8, !tbaa !5
  call void @free(ptr noundef %64) #6
  store ptr null, ptr %7, align 8
  store i32 1, ptr %16, align 4
  br label %118

65:                                               ; preds = %54
  %66 = load ptr, ptr %15, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct._gqlEnumVal, ptr %66, i32 0, i32 3
  store ptr null, ptr %67, align 8, !tbaa !21
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = load i64, ptr %13, align 8, !tbaa !9
  %71 = call ptr @alloc_string(ptr noundef %68, ptr noundef %69, i64 noundef %70)
  %72 = load ptr, ptr %15, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._gqlEnumVal, ptr %72, i32 0, i32 2
  store ptr %71, ptr %73, align 8, !tbaa !22
  %74 = icmp eq ptr null, %71
  br i1 %74, label %75, label %82

75:                                               ; preds = %65
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._agooErr, ptr %76, i32 0, i32 0
  %78 = load i32, ptr %77, align 4, !tbaa !23
  %79 = icmp ne i32 0, %78
  br i1 %79, label %80, label %82

80:                                               ; preds = %75
  %81 = load ptr, ptr %15, align 8, !tbaa !5
  call void @free(ptr noundef %81) #6
  store ptr null, ptr %7, align 8
  store i32 1, ptr %16, align 4
  br label %118

82:                                               ; preds = %75, %65
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct._gqlType, ptr %83, i32 0, i32 6
  %85 = load ptr, ptr %84, align 8, !tbaa !11
  %86 = icmp eq ptr null, %85
  br i1 %86, label %87, label %96

87:                                               ; preds = %82
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct._gqlType, ptr %88, i32 0, i32 6
  %90 = load ptr, ptr %89, align 8, !tbaa !11
  %91 = load ptr, ptr %15, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct._gqlEnumVal, ptr %91, i32 0, i32 0
  store ptr %90, ptr %92, align 8, !tbaa !18
  %93 = load ptr, ptr %15, align 8, !tbaa !5
  %94 = load ptr, ptr %9, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct._gqlType, ptr %94, i32 0, i32 6
  store ptr %93, ptr %95, align 8, !tbaa !11
  br label %116

96:                                               ; preds = %82
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct._gqlType, ptr %97, i32 0, i32 6
  %99 = load ptr, ptr %98, align 8, !tbaa !11
  store ptr %99, ptr %14, align 8, !tbaa !5
  br label %100

100:                                              ; preds = %106, %96
  %101 = load ptr, ptr %14, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct._gqlEnumVal, ptr %101, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8, !tbaa !18
  %104 = icmp ne ptr null, %103
  br i1 %104, label %105, label %110

105:                                              ; preds = %100
  br label %106

106:                                              ; preds = %105
  %107 = load ptr, ptr %14, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct._gqlEnumVal, ptr %107, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8, !tbaa !18
  store ptr %109, ptr %14, align 8, !tbaa !5
  br label %100, !llvm.loop !25

110:                                              ; preds = %100
  %111 = load ptr, ptr %15, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct._gqlEnumVal, ptr %111, i32 0, i32 0
  store ptr null, ptr %112, align 8, !tbaa !18
  %113 = load ptr, ptr %15, align 8, !tbaa !5
  %114 = load ptr, ptr %14, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct._gqlEnumVal, ptr %114, i32 0, i32 0
  store ptr %113, ptr %115, align 8, !tbaa !18
  br label %116

116:                                              ; preds = %110, %87
  %117 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %117, ptr %7, align 8
  store i32 1, ptr %16, align 4
  br label %118

118:                                              ; preds = %116, %80, %61, %45, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  %119 = load ptr, ptr %7, align 8
  ret ptr %119
}

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #1

; Function Attrs: nounwind
declare noalias ptr @strndup(ptr noundef, i64 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind willreturn memory(read) "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 = { nounwind allocsize(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 "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 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { nounwind allocsize(0) }

!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 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !6, i64 8}
!13 = !{!"_gqlEnumVal", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!14 = !{!15, !6, i64 0}
!15 = !{!"_gqlType", !6, i64 0, !6, i64 8, !6, i64 16, !16, i64 24, !16, i64 28, !17, i64 32, !7, i64 40}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_Bool", !7, i64 0}
!18 = !{!13, !6, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!13, !6, i64 24}
!22 = !{!13, !6, i64 16}
!23 = !{!24, !16, i64 0}
!24 = !{!"_agooErr", !16, i64 0, !7, i64 4}
!25 = distinct !{!25, !20}


; 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.2 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #0

declare i32 @agoo_err_set(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

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

declare i32 @agoo_err_memory(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden ptr @alloc_string(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @gql_enum_append(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5) local_unnamed_addr #4 {
  %7 = getelementptr inbounds i8, ptr %1, i64 40
  br label %8

8:                                                ; preds = %9, %6
  %.035.in = phi ptr [ %7, %6 ], [ %.035, %9 ]
  %.035 = load ptr, ptr %.035.in, align 8, !tbaa !5
  %.not = icmp eq ptr %.035, null
  br i1 %.not, label %17, label %9

9:                                                ; preds = %8
  %10 = getelementptr inbounds i8, ptr %.035, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !8
  %12 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) %11) #6
  %13 = icmp eq i32 %12, 0
  br i1 %13, label %14, label %8, !llvm.loop !11

14:                                               ; preds = %9
  %15 = load ptr, ptr %1, align 8, !tbaa !13
  %16 = tail call i32 (ptr, i32, ptr, ...) @agoo_err_set(ptr noundef %0, i32 noundef 311, ptr noundef nonnull @.str.9, ptr noundef %15, ptr noundef %2) #7
  br label %46

17:                                               ; preds = %8
  %18 = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #8
  %19 = icmp eq ptr %18, null
  br i1 %19, label %20, label %22

20:                                               ; preds = %17
  %21 = tail call i32 @agoo_err_memory(ptr noundef %0, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 685) #7
  br label %46

22:                                               ; preds = %17
  %23 = icmp eq i64 %3, 0
  br i1 %23, label %24, label %26

24:                                               ; preds = %22
  %25 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) #6
  br label %26

26:                                               ; preds = %24, %22
  %.036 = phi i64 [ %25, %24 ], [ %3, %22 ]
  %27 = tail call noalias ptr @strndup(ptr noundef %2, i64 noundef %.036) #7
  %28 = getelementptr inbounds i8, ptr %18, i64 8
  store ptr %27, ptr %28, align 8, !tbaa !8
  %29 = icmp eq ptr %27, null
  br i1 %29, label %30, label %32

30:                                               ; preds = %26
  %31 = tail call i32 @agoo_err_memory(ptr noundef %0, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 692) #7
  tail call void @free(ptr noundef nonnull %18) #7
  br label %46

32:                                               ; preds = %26
  %33 = getelementptr inbounds i8, ptr %18, i64 24
  store ptr null, ptr %33, align 8, !tbaa !17
  %34 = tail call ptr @alloc_string(ptr noundef %0, ptr noundef %4, i64 noundef %5)
  %35 = getelementptr inbounds i8, ptr %18, i64 16
  store ptr %34, ptr %35, align 8, !tbaa !18
  %36 = icmp eq ptr %34, null
  br i1 %36, label %37, label %40

37:                                               ; preds = %32
  %38 = load i32, ptr %0, align 4, !tbaa !19
  %.not42 = icmp eq i32 %38, 0
  br i1 %.not42, label %40, label %39

39:                                               ; preds = %37
  tail call void @free(ptr noundef nonnull %18) #7
  br label %46

40:                                               ; preds = %37, %32
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = icmp eq ptr %41, null
  br i1 %42, label %43, label %.preheader

43:                                               ; preds = %40
  store ptr null, ptr %18, align 8, !tbaa !21
  store ptr %18, ptr %7, align 8, !tbaa !5
  br label %46

.preheader:                                       ; preds = %40, %.preheader
  %.1 = phi ptr [ %44, %.preheader ], [ %41, %40 ]
  %44 = load ptr, ptr %.1, align 8, !tbaa !21
  %.not43 = icmp eq ptr %44, null
  br i1 %.not43, label %45, label %.preheader, !llvm.loop !22

45:                                               ; preds = %.preheader
  store ptr null, ptr %18, align 8, !tbaa !21
  store ptr %18, ptr %.1, align 8, !tbaa !21
  br label %46

46:                                               ; preds = %43, %45, %39, %30, %20, %14
  %.0 = phi ptr [ null, %14 ], [ null, %20 ], [ null, %30 ], [ null, %39 ], [ %18, %45 ], [ %18, %43 ]
  ret ptr %.0
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strndup(ptr nocapture noundef readonly, i64 noundef) local_unnamed_addr #5

attributes #0 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { "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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) 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 #3 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, 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 #4 = { 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 #5 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, 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 #6 = { nounwind willreturn memory(read) }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

!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, !10, i64 8}
!9 = !{!"_gqlEnumVal", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!10 = !{!"any pointer", !6, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 0}
!14 = !{!"_gqlType", !10, i64 0, !10, i64 8, !10, i64 16, !15, i64 24, !15, i64 28, !16, i64 32, !6, i64 40}
!15 = !{!"int", !6, i64 0}
!16 = !{!"_Bool", !6, i64 0}
!17 = !{!9, !10, i64 24}
!18 = !{!9, !10, i64 16}
!19 = !{!20, !15, i64 0}
!20 = !{!"_agooErr", !15, i64 0, !6, i64 4}
!21 = !{!9, !10, i64 0}
!22 = distinct !{!22, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass