; LLVM IR from nbdd0121/GenerationalGC :: Heap.ll (ZN6norlit2gc4Heap28TenuredSpace_CalculateTargetEv)

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

%"class.norlit::gc::Heap::Iterable" = type { %"class.norlit::gc::Heap::MemorySpaceIterator" }
%"class.norlit::gc::Heap::MemorySpaceIterator" = type <{ ptr, ptr, ptr, i8, [7 x i8] }>
%"class.norlit::gc::Heap::Iterable<norlit::gc::Heap::MemorySpaceIterator>::Iterator" = type { ptr }
%"struct.norlit::gc::Heap::DecRefIterator" = type { %"class.norlit::gc::FieldIterator" }
%"class.norlit::gc::FieldIterator" = type { ptr }
%"class.norlit::gc::Object" = type <{ ptr, %union.anon, i8, i8, i8, [5 x i8] }>
%union.anon = type { %struct.anon }
%struct.anon = type { ptr, ptr }
%struct.anon.0 = type { ptr, i32, i32 }

@_ZN6norlit2gc4Heap13tenured_spaceE = external dso_local global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 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 i32 @printf(ptr noundef, ...) #1

declare noundef ptr @_ZN6norlit2gc11MemorySpace8AllocateEmb(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i1 noundef zeroext) #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6norlit2gc4Heap14DecRefIteratorC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE3endEv(ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratorneERKS5_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEEC2IJRPNS0_11MemorySpaceEbEEEDpOT_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6norlit2gc4Heap28TenuredSpace_CalculateTargetEv() #4 align 2 {
  %1 = alloca ptr, align 8
  %2 = alloca %"class.norlit::gc::Heap::Iterable", align 8
  %3 = alloca i8, align 1
  %4 = alloca %"class.norlit::gc::Heap::Iterable<norlit::gc::Heap::MemorySpaceIterator>::Iterator", align 8
  %5 = alloca %"class.norlit::gc::Heap::Iterable<norlit::gc::Heap::MemorySpaceIterator>::Iterator", align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.norlit::gc::Heap::DecRefIterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #6
  store i8 1, ptr %3, align 1, !tbaa !5
  call void @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEEC2IJRPNS0_11MemorySpaceEbEEEDpOT_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(8) @_ZN6norlit2gc4Heap13tenured_spaceE, ptr noundef nonnull align 1 dereferenceable(1) %3)
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #6
  store ptr %2, ptr %1, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %8 = load ptr, ptr %1, align 8, !tbaa !9
  %9 = call ptr @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
  %10 = getelementptr inbounds %"class.norlit::gc::Heap::Iterable<norlit::gc::Heap::MemorySpaceIterator>::Iterator", ptr %4, i32 0, i32 0
  store ptr %9, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %11 = load ptr, ptr %1, align 8, !tbaa !9
  %12 = call ptr @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
  %13 = getelementptr inbounds %"class.norlit::gc::Heap::Iterable<norlit::gc::Heap::MemorySpaceIterator>::Iterator", ptr %5, i32 0, i32 0
  store ptr %12, ptr %13, align 8
  br label %14

14:                                               ; preds = %48, %0
  %15 = call noundef zeroext i1 @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratorneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
  br i1 %15, label %17, label %16

16:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  br label %49

17:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %18 = call noundef ptr @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  store ptr %18, ptr %6, align 8, !tbaa !9
  %19 = load ptr, ptr %6, align 8, !tbaa !9
  %20 = getelementptr inbounds %"class.norlit::gc::Object", ptr %19, i32 0, i32 3
  %21 = load i8, ptr %20, align 1, !tbaa !11
  %22 = icmp eq i8 %21, 2
  br i1 %22, label %23, label %40

23:                                               ; preds = %17
  %24 = load ptr, ptr @_ZN6norlit2gc4Heap13tenured_spaceE, align 8, !tbaa !9
  %25 = load ptr, ptr %6, align 8, !tbaa !9
  %26 = getelementptr inbounds %"class.norlit::gc::Object", ptr %25, i32 0, i32 1
  %27 = getelementptr inbounds %struct.anon.0, ptr %26, i32 0, i32 2
  %28 = load i32, ptr %27, align 4, !tbaa !15
  %29 = zext i32 %28 to i64
  %30 = call noundef ptr @_ZN6norlit2gc11MemorySpace8AllocateEmb(ptr noundef nonnull align 8 dereferenceable(40) %24, i64 noundef %29, i1 noundef zeroext true)
  %31 = load ptr, ptr %6, align 8, !tbaa !9
  %32 = getelementptr inbounds %"class.norlit::gc::Object", ptr %31, i32 0, i32 1
  %33 = getelementptr inbounds %struct.anon.0, ptr %32, i32 0, i32 0
  store ptr %30, ptr %33, align 8, !tbaa !15
  %34 = load ptr, ptr %6, align 8, !tbaa !9
  %35 = load ptr, ptr %6, align 8, !tbaa !9
  %36 = getelementptr inbounds %"class.norlit::gc::Object", ptr %35, i32 0, i32 1
  %37 = getelementptr inbounds %struct.anon.0, ptr %36, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8, !tbaa !15
  %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %34, ptr noundef %38)
  br label %47

40:                                               ; preds = %17
  %41 = load ptr, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.memset.p0.i64(ptr align 8 %7, i8 0, i64 8, i1 false)
  call void @_ZN6norlit2gc4Heap14DecRefIteratorC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %42 = load ptr, ptr %41, align 8, !tbaa !16
  %43 = getelementptr inbounds ptr, ptr %42, i64 5
  %44 = load ptr, ptr %43, align 8
  call void %44(ptr noundef nonnull align 8 dereferenceable(27) %41, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  %45 = load ptr, ptr %6, align 8, !tbaa !9
  %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %45)
  br label %47

47:                                               ; preds = %40, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %48

48:                                               ; preds = %47
  call void @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  br label %14

49:                                               ; preds = %16
  ret void
}

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { inlinehint mustprogress 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 = { mustprogress 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 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 }

!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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !14, i64 25}
!12 = !{!"_ZTSN6norlit2gc6ObjectE", !7, i64 8, !13, i64 24, !14, i64 25, !7, i64 26}
!13 = !{!"_ZTSN6norlit2gc5SpaceE", !7, i64 0}
!14 = !{!"_ZTSN6norlit2gc6StatusE", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"vtable pointer", !8, i64 0}


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

%"class.norlit::gc::Heap::Iterable" = type { %"class.norlit::gc::Heap::MemorySpaceIterator" }
%"class.norlit::gc::Heap::MemorySpaceIterator" = type <{ ptr, ptr, ptr, i8, [7 x i8] }>
%"class.norlit::gc::Heap::Iterable<norlit::gc::Heap::MemorySpaceIterator>::Iterator" = type { ptr }
%"struct.norlit::gc::Heap::DecRefIterator" = type { %"class.norlit::gc::FieldIterator" }
%"class.norlit::gc::FieldIterator" = type { ptr }

@_ZN6norlit2gc4Heap13tenured_spaceE = external dso_local global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

declare noundef ptr @_ZN6norlit2gc11MemorySpace8AllocateEmb(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6norlit2gc4Heap14DecRefIteratorC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE3endEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratorneERKS5_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEEC2IJRPNS0_11MemorySpaceEbEEEDpOT_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6norlit2gc4Heap28TenuredSpace_CalculateTargetEv() local_unnamed_addr #4 align 2 {
  %1 = alloca %"class.norlit::gc::Heap::Iterable", align 8
  %2 = alloca i8, align 1
  %3 = alloca %"class.norlit::gc::Heap::Iterable<norlit::gc::Heap::MemorySpaceIterator>::Iterator", align 8
  %4 = alloca %"class.norlit::gc::Heap::Iterable<norlit::gc::Heap::MemorySpaceIterator>::Iterator", align 8
  %5 = alloca %"struct.norlit::gc::Heap::DecRefIterator", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #6
  store i8 1, ptr %2, align 1, !tbaa !5
  call void @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEEC2IJRPNS0_11MemorySpaceEbEEEDpOT_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(8) @_ZN6norlit2gc4Heap13tenured_spaceE, ptr noundef nonnull align 1 dereferenceable(1) %2)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %6 = call ptr @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  store ptr %6, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %7 = call ptr @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  store ptr %7, ptr %4, align 8
  %8 = call noundef zeroext i1 @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratorneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4)
  br i1 %8, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %26, %0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #6
  ret void

.lr.ph:                                           ; preds = %0, %26
  %9 = call noundef ptr @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %10 = getelementptr inbounds i8, ptr %9, i64 25
  %11 = load i8, ptr %10, align 1, !tbaa !9
  %12 = icmp eq i8 %11, 2
  br i1 %12, label %13, label %21

13:                                               ; preds = %.lr.ph
  %14 = load ptr, ptr @_ZN6norlit2gc4Heap13tenured_spaceE, align 8, !tbaa !13
  %15 = getelementptr inbounds i8, ptr %9, i64 8
  %16 = getelementptr inbounds i8, ptr %9, i64 20
  %17 = load i32, ptr %16, align 4, !tbaa !15
  %18 = zext i32 %17 to i64
  %19 = call noundef ptr @_ZN6norlit2gc11MemorySpace8AllocateEmb(ptr noundef nonnull align 8 dereferenceable(40) %14, i64 noundef %18, i1 noundef zeroext true)
  store ptr %19, ptr %15, align 8, !tbaa !15
  %20 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef nonnull %9, ptr noundef %19)
  br label %26

21:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  store i64 0, ptr %5, align 8
  call void @_ZN6norlit2gc4Heap14DecRefIteratorC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %22 = load ptr, ptr %9, align 8, !tbaa !16
  %23 = getelementptr inbounds i8, ptr %22, i64 40
  %24 = load ptr, ptr %23, align 8
  call void %24(ptr noundef nonnull align 8 dereferenceable(27) %9, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef nonnull %9)
  br label %26

26:                                               ; preds = %21, %13
  call void @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %27 = call noundef zeroext i1 @_ZN6norlit2gc4Heap8IterableINS1_19MemorySpaceIteratorEE8IteratorneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4)
  br i1 %27, label %.lr.ph, label %._crit_edge
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nofree 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 #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 = { inlinehint mustprogress 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 = { mustprogress 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 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 }

!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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 25}
!10 = !{!"_ZTSN6norlit2gc6ObjectE", !7, i64 8, !11, i64 24, !12, i64 25, !7, i64 26}
!11 = !{!"_ZTSN6norlit2gc5SpaceE", !7, i64 0}
!12 = !{!"_ZTSN6norlit2gc6StatusE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"vtable pointer", !8, i64 0}


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