; LLVM IR from nickmqb/muon :: bootstrap/mu.ll_TypeChecker (useType__)

; 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.tag_____IAllocator__ = type { ptr, ptr, ptr, ptr }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.tag_____Set__Tag____ = type { %struct.tag_____Array__SetEntry__Tag______, i32, i32, i32 }
%struct.tag_____Array__SetEntry__Tag______ = type { ptr, i32 }
%struct.tag_____TypeCheckerContext__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, i8 }
%struct.tag_____FunctionDef__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.Node__, ptr, ptr, ptr, ptr, i32, ptr, %struct.string__, %struct.string__, %struct.tag_____Tag__, i32, ptr, ptr, ptr, ptr, %struct.string__ }
%struct.Node__ = type { i32, ptr }
%struct.string__ = type { ptr, i32 }
%struct.tag_____Namespace__ = type { %struct.string__, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }

@top_____currentAllocator__ = external dso_local thread_local global %struct.tag_____IAllocator__, align 8

; 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 speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @Tag__anyFlags__(ptr, ptr) #3

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @CustomSet__tryAdd__Ptr__Array__Tag________(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @Set__tryAdd__Tag____(ptr noundef, ptr, ptr) #3

; Function Attrs: nounwind uwtable
define dso_local void @TypeChecker__useType__(ptr noundef %0, ptr %1, ptr %2, i8 noundef zeroext %3) #3 {
  %5 = alloca %struct.tag_____Tag__, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca %struct.tag_____Set__Tag____, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %struct.tag_____Set__Tag____, align 8
  %14 = getelementptr inbounds { ptr, ptr }, ptr %5, i32 0, i32 0
  store ptr %1, ptr %14, align 8
  %15 = getelementptr inbounds { ptr, ptr }, ptr %5, i32 0, i32 1
  store ptr %2, ptr %15, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i8 %3, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %16 = getelementptr inbounds { ptr, ptr }, ptr %5, i32 0, i32 0
  %17 = load ptr, ptr %16, align 8
  %18 = getelementptr inbounds { ptr, ptr }, ptr %5, i32 0, i32 1
  %19 = load ptr, ptr %18, align 8
  %20 = call i32 @Tag__anyFlags__(ptr %17, ptr %19)
  store i32 %20, ptr %8, align 4, !tbaa !10
  %21 = load i32, ptr %8, align 4, !tbaa !10
  %22 = and i32 %21, 1048576
  %23 = icmp ne i32 %22, 0
  br i1 %23, label %24, label %25

24:                                               ; preds = %4
  store i32 1, ptr %9, align 4
  br label %112

25:                                               ; preds = %4
  %26 = load i32, ptr %8, align 4, !tbaa !10
  %27 = and i32 %26, 16384
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %29, label %103

29:                                               ; preds = %25
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %30, i32 0, i32 7
  %32 = load ptr, ptr %31, align 8, !tbaa !12
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %66

34:                                               ; preds = %29
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %35, i32 0, i32 7
  %37 = load ptr, ptr %36, align 8, !tbaa !12
  %38 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %37, i32 0, i32 20
  %39 = load ptr, ptr %38, align 8, !tbaa !14
  %40 = icmp eq ptr %39, null
  br i1 %40, label %41, label %55

41:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %42 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %43 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %42, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !19
  %45 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %46 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %45, i32 0, i32 0
  %47 = load ptr, ptr %46, align 8, !tbaa !21
  %48 = call ptr %44(ptr noundef %47, i64 noundef 32)
  store ptr %48, ptr %10, align 8, !tbaa !5
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #4
  call void @Set__create__Tag____(ptr dead_on_unwind writable sret(%struct.tag_____Set__Tag____) align 8 %11)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %49, ptr align 8 %11, i64 32, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #4
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %51, i32 0, i32 7
  %53 = load ptr, ptr %52, align 8, !tbaa !12
  %54 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %53, i32 0, i32 20
  store ptr %50, ptr %54, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %55

55:                                               ; preds = %41, %34
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %56, i32 0, i32 7
  %58 = load ptr, ptr %57, align 8, !tbaa !12
  %59 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %58, i32 0, i32 20
  %60 = load ptr, ptr %59, align 8, !tbaa !14
  %61 = getelementptr inbounds { ptr, ptr }, ptr %5, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8
  %63 = getelementptr inbounds { ptr, ptr }, ptr %5, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8
  %65 = call zeroext i8 @Set__tryAdd__Tag____(ptr noundef %60, ptr %62, ptr %64)
  br label %102

66:                                               ; preds = %29
  %67 = load i8, ptr %7, align 1, !tbaa !9
  %68 = icmp ne i8 %67, 0
  br i1 %68, label %69, label %101

69:                                               ; preds = %66
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %70, i32 0, i32 6
  %72 = load ptr, ptr %71, align 8, !tbaa !23
  %73 = getelementptr inbounds %struct.tag_____Namespace__, ptr %72, i32 0, i32 12
  %74 = load ptr, ptr %73, align 8, !tbaa !24
  %75 = icmp eq ptr %74, null
  br i1 %75, label %76, label %90

76:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %77 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %78 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %77, i32 0, i32 1
  %79 = load ptr, ptr %78, align 8, !tbaa !19
  %80 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %81 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %80, i32 0, i32 0
  %82 = load ptr, ptr %81, align 8, !tbaa !21
  %83 = call ptr %79(ptr noundef %82, i64 noundef 32)
  store ptr %83, ptr %12, align 8, !tbaa !5
  %84 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #4
  call void @Set__create__Tag____(ptr dead_on_unwind writable sret(%struct.tag_____Set__Tag____) align 8 %13)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %84, ptr align 8 %13, i64 32, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #4
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %86, i32 0, i32 6
  %88 = load ptr, ptr %87, align 8, !tbaa !23
  %89 = getelementptr inbounds %struct.tag_____Namespace__, ptr %88, i32 0, i32 12
  store ptr %85, ptr %89, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %90

90:                                               ; preds = %76, %69
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %91, i32 0, i32 6
  %93 = load ptr, ptr %92, align 8, !tbaa !23
  %94 = getelementptr inbounds %struct.tag_____Namespace__, ptr %93, i32 0, i32 12
  %95 = load ptr, ptr %94, align 8, !tbaa !24
  %96 = getelementptr inbounds { ptr, ptr }, ptr %5, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8
  %98 = getelementptr inbounds { ptr, ptr }, ptr %5, i32 0, i32 1
  %99 = load ptr, ptr %98, align 8
  %100 = call zeroext i8 @Set__tryAdd__Tag____(ptr noundef %95, ptr %97, ptr %99)
  br label %101

101:                                              ; preds = %90, %66
  br label %102

102:                                              ; preds = %101, %55
  br label %111

103:                                              ; preds = %25
  %104 = getelementptr inbounds %struct.tag_____Tag__, ptr %5, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !26
  %106 = getelementptr inbounds %struct.tag_____Namespace__, ptr %105, i32 0, i32 10
  %107 = load ptr, ptr %106, align 8, !tbaa !27
  %108 = getelementptr inbounds %struct.tag_____Tag__, ptr %5, i32 0, i32 1
  %109 = load ptr, ptr %108, align 8, !tbaa !28
  %110 = call zeroext i8 @CustomSet__tryAdd__Ptr__Array__Tag________(ptr noundef %107, ptr noundef %109)
  br label %111

111:                                              ; preds = %103, %102
  store i32 0, ptr %9, align 4
  br label %112

112:                                              ; preds = %111, %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %113 = load i32, ptr %9, align 4
  switch i32 %113, label %115 [
    i32 0, label %114
    i32 1, label %114
  ]

114:                                              ; preds = %112, %112
  ret void

115:                                              ; preds = %112
  unreachable
}

; Function Attrs: nounwind uwtable
declare dso_local void @Set__create__Tag____(ptr dead_on_unwind noalias writable sret(%struct.tag_____Set__Tag____) align 8) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 56}
!13 = !{!"tag_____TypeCheckerContext__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !11, i64 120, !11, i64 124, !6, i64 128, !11, i64 136, !7, i64 140}
!14 = !{!15, !6, i64 192}
!15 = !{!"tag_____FunctionDef__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !16, i64 56, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !11, i64 104, !6, i64 112, !17, i64 120, !17, i64 136, !18, i64 152, !11, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !17, i64 208}
!16 = !{!"", !11, i64 0, !6, i64 8}
!17 = !{!"", !6, i64 0, !11, i64 8}
!18 = !{!"tag_____Tag__", !6, i64 0, !6, i64 8}
!19 = !{!20, !6, i64 8}
!20 = !{!"tag_____IAllocator__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!21 = !{!20, !6, i64 0}
!22 = !{i64 0, i64 8, !5, i64 8, i64 4, !10, i64 16, i64 4, !10, i64 20, i64 4, !10, i64 24, i64 4, !10}
!23 = !{!13, !6, i64 48}
!24 = !{!25, !6, i64 96}
!25 = !{!"tag_____Namespace__", !17, i64 0, !6, i64 16, !11, i64 24, !11, i64 28, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !11, i64 104}
!26 = !{!18, !6, i64 0}
!27 = !{!25, !6, i64 80}
!28 = !{!18, !6, i64 8}


; 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.tag_____IAllocator__ = type { ptr, ptr, ptr, ptr }
%struct.tag_____Set__Tag____ = type { %struct.tag_____Array__SetEntry__Tag______, i32, i32, i32 }
%struct.tag_____Array__SetEntry__Tag______ = type { ptr, i32 }

@top_____currentAllocator__ = external dso_local thread_local local_unnamed_addr global %struct.tag_____IAllocator__, align 8

; 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 speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #1

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @Tag__anyFlags__(ptr, ptr) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @CustomSet__tryAdd__Ptr__Array__Tag________(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @Set__tryAdd__Tag____(ptr noundef, ptr, ptr) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @TypeChecker__useType__(ptr nocapture noundef readonly %0, ptr %1, ptr %2, i8 noundef zeroext %3) local_unnamed_addr #3 {
  %5 = alloca %struct.tag_____Set__Tag____, align 8
  %6 = alloca %struct.tag_____Set__Tag____, align 8
  %7 = tail call i32 @Tag__anyFlags__(ptr %1, ptr %2)
  %8 = and i32 %7, 1048576
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %9, label %51

9:                                                ; preds = %4
  %10 = and i32 %7, 16384
  %.not19 = icmp eq i32 %10, 0
  br i1 %.not19, label %47, label %11

11:                                               ; preds = %9
  %12 = getelementptr inbounds i8, ptr %0, i64 56
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  %.not20 = icmp eq ptr %13, null
  br i1 %.not20, label %29, label %14

14:                                               ; preds = %11
  %15 = getelementptr inbounds i8, ptr %13, i64 192
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = icmp eq ptr %16, null
  br i1 %17, label %18, label %26

18:                                               ; preds = %14
  %19 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %20 = getelementptr inbounds i8, ptr %19, i64 8
  %21 = load ptr, ptr %20, align 8, !tbaa !16
  %22 = load ptr, ptr %19, align 8, !tbaa !18
  %23 = tail call ptr %21(ptr noundef %22, i64 noundef 32) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4
  call void @Set__create__Tag____(ptr dead_on_unwind nonnull writable sret(%struct.tag_____Set__Tag____) align 8 %5)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %5, i64 32, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  %24 = load ptr, ptr %12, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %24, i64 192
  store ptr %23, ptr %25, align 8, !tbaa !11
  br label %26

26:                                               ; preds = %18, %14
  %27 = phi ptr [ %23, %18 ], [ %16, %14 ]
  %28 = call zeroext i8 @Set__tryAdd__Tag____(ptr noundef nonnull %27, ptr %1, ptr %2)
  br label %51

29:                                               ; preds = %11
  %.not21 = icmp eq i8 %3, 0
  br i1 %.not21, label %51, label %30

30:                                               ; preds = %29
  %31 = getelementptr inbounds i8, ptr %0, i64 48
  %32 = load ptr, ptr %31, align 8, !tbaa !22
  %33 = getelementptr inbounds i8, ptr %32, i64 96
  %34 = load ptr, ptr %33, align 8, !tbaa !23
  %35 = icmp eq ptr %34, null
  br i1 %35, label %36, label %44

36:                                               ; preds = %30
  %37 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %38 = getelementptr inbounds i8, ptr %37, i64 8
  %39 = load ptr, ptr %38, align 8, !tbaa !16
  %40 = load ptr, ptr %37, align 8, !tbaa !18
  %41 = tail call ptr %39(ptr noundef %40, i64 noundef 32) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #4
  call void @Set__create__Tag____(ptr dead_on_unwind nonnull writable sret(%struct.tag_____Set__Tag____) align 8 %6)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %6, i64 32, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #4
  %42 = load ptr, ptr %31, align 8, !tbaa !22
  %43 = getelementptr inbounds i8, ptr %42, i64 96
  store ptr %41, ptr %43, align 8, !tbaa !23
  br label %44

44:                                               ; preds = %36, %30
  %45 = phi ptr [ %41, %36 ], [ %34, %30 ]
  %46 = call zeroext i8 @Set__tryAdd__Tag____(ptr noundef nonnull %45, ptr %1, ptr %2)
  br label %51

47:                                               ; preds = %9
  %48 = getelementptr inbounds i8, ptr %1, i64 80
  %49 = load ptr, ptr %48, align 8, !tbaa !25
  %50 = tail call zeroext i8 @CustomSet__tryAdd__Ptr__Array__Tag________(ptr noundef %49, ptr noundef %2)
  br label %51

51:                                               ; preds = %47, %29, %44, %26, %4
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @Set__create__Tag____(ptr dead_on_unwind noalias writable sret(%struct.tag_____Set__Tag____) align 8) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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, !7, i64 56}
!6 = !{!"tag_____TypeCheckerContext__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !10, i64 120, !10, i64 124, !7, i64 128, !10, i64 136, !8, i64 140}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 192}
!12 = !{!"tag_____FunctionDef__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !13, i64 56, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !10, i64 104, !7, i64 112, !14, i64 120, !14, i64 136, !15, i64 152, !10, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !14, i64 208}
!13 = !{!"", !10, i64 0, !7, i64 8}
!14 = !{!"", !7, i64 0, !10, i64 8}
!15 = !{!"tag_____Tag__", !7, i64 0, !7, i64 8}
!16 = !{!17, !7, i64 8}
!17 = !{!"tag_____IAllocator__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!18 = !{!17, !7, i64 0}
!19 = !{i64 0, i64 8, !20, i64 8, i64 4, !21, i64 16, i64 4, !21, i64 20, i64 4, !21, i64 24, i64 4, !21}
!20 = !{!7, !7, i64 0}
!21 = !{!10, !10, i64 0}
!22 = !{!6, !7, i64 48}
!23 = !{!24, !7, i64 96}
!24 = !{!"tag_____Namespace__", !14, i64 0, !7, i64 16, !10, i64 24, !10, i64 28, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !10, i64 104}
!25 = !{!24, !7, i64 80}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass