; LLVM IR from kmilo17pet/QuarkTS-cpp :: src/list.ll (ZN3qOS4list4moveERS0_NS_12listPositionE)

; 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.qOS::listIterator" = type { ptr, ptr, ptr, ptr }
%"class.qOS::list" = type { %"class.qOS::node", ptr, ptr, i64 }
%"class.qOS::node" = type { ptr, ptr, ptr, ptr }

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3qOS4list14getNodeAtIndexENS_12listPositionE(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN3qOS4list4moveERS0_NS_12listPositionE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %2) #0 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  %9 = alloca %"class.qOS::listIterator", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %10 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #3
  store i8 0, ptr %7, align 1, !tbaa !11
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = getelementptr inbounds %"class.qOS::list", ptr %11, i32 0, i32 1
  %13 = load ptr, ptr %12, align 8, !tbaa !13
  %14 = icmp ne ptr null, %13
  br i1 %14, label %15, label %112

15:                                               ; preds = %3
  %16 = load i32, ptr %6, align 4, !tbaa !9
  %17 = icmp sge i32 %16, -2
  br i1 %17, label %18, label %112

18:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #3
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3qOS4list5beginEv(ptr dead_on_unwind writable sret(%"class.qOS::listIterator") align 8 %9, ptr noundef nonnull align 8 dereferenceable(56) %19) #3
  br label %20

20:                                               ; preds = %27, %18
  %21 = call noundef zeroext i1 @_ZNK3qOS12listIterator8untilEndEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #3
  br i1 %21, label %23, label %22

22:                                               ; preds = %20
  call void @_ZN3qOS12listIteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #3
  br label %29

23:                                               ; preds = %20
  %24 = call noundef ptr @_ZN3qOS12listIterator3getIPNS_4nodeEEET_v(ptr noundef nonnull align 8 dereferenceable(32) %9) #3
  store ptr %24, ptr %8, align 8, !tbaa !5
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = getelementptr inbounds %"class.qOS::node", ptr %25, i32 0, i32 3
  store ptr %10, ptr %26, align 8, !tbaa !17
  br label %27

27:                                               ; preds = %23
  %28 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3qOS12listIteratorppEi(ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 0) #3
  br label %20, !llvm.loop !18

29:                                               ; preds = %22
  %30 = getelementptr inbounds %"class.qOS::list", ptr %10, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !13
  %32 = icmp eq ptr null, %31
  br i1 %32, label %33, label %42

33:                                               ; preds = %29
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %"class.qOS::list", ptr %34, i32 0, i32 1
  %36 = load ptr, ptr %35, align 8, !tbaa !13
  %37 = getelementptr inbounds %"class.qOS::list", ptr %10, i32 0, i32 1
  store ptr %36, ptr %37, align 8, !tbaa !13
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.qOS::list", ptr %38, i32 0, i32 2
  %40 = load ptr, ptr %39, align 8, !tbaa !20
  %41 = getelementptr inbounds %"class.qOS::list", ptr %10, i32 0, i32 2
  store ptr %40, ptr %41, align 8, !tbaa !20
  br label %104

42:                                               ; preds = %29
  %43 = load i32, ptr %6, align 4, !tbaa !9
  %44 = icmp eq i32 -1, %43
  br i1 %44, label %45, label %62

45:                                               ; preds = %42
  %46 = getelementptr inbounds %"class.qOS::list", ptr %10, i32 0, i32 1
  %47 = load ptr, ptr %46, align 8, !tbaa !13
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.qOS::list", ptr %48, i32 0, i32 2
  %50 = load ptr, ptr %49, align 8, !tbaa !20
  %51 = getelementptr inbounds %"class.qOS::node", ptr %50, i32 0, i32 1
  store ptr %47, ptr %51, align 8, !tbaa !21
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %"class.qOS::list", ptr %52, i32 0, i32 2
  %54 = load ptr, ptr %53, align 8, !tbaa !20
  %55 = getelementptr inbounds %"class.qOS::list", ptr %10, i32 0, i32 1
  %56 = load ptr, ptr %55, align 8, !tbaa !13
  %57 = getelementptr inbounds %"class.qOS::node", ptr %56, i32 0, i32 2
  store ptr %54, ptr %57, align 8, !tbaa !22
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %"class.qOS::list", ptr %58, i32 0, i32 1
  %60 = load ptr, ptr %59, align 8, !tbaa !13
  %61 = getelementptr inbounds %"class.qOS::list", ptr %10, i32 0, i32 1
  store ptr %60, ptr %61, align 8, !tbaa !13
  br label %103

62:                                               ; preds = %42
  %63 = load i32, ptr %6, align 4, !tbaa !9
  %64 = icmp eq i32 -2, %63
  br i1 %64, label %65, label %82

65:                                               ; preds = %62
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = getelementptr inbounds %"class.qOS::list", ptr %66, i32 0, i32 1
  %68 = load ptr, ptr %67, align 8, !tbaa !13
  %69 = getelementptr inbounds %"class.qOS::list", ptr %10, i32 0, i32 2
  %70 = load ptr, ptr %69, align 8, !tbaa !20
  %71 = getelementptr inbounds %"class.qOS::node", ptr %70, i32 0, i32 1
  store ptr %68, ptr %71, align 8, !tbaa !21
  %72 = getelementptr inbounds %"class.qOS::list", ptr %10, i32 0, i32 2
  %73 = load ptr, ptr %72, align 8, !tbaa !20
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.qOS::list", ptr %74, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !13
  %77 = getelementptr inbounds %"class.qOS::node", ptr %76, i32 0, i32 2
  store ptr %73, ptr %77, align 8, !tbaa !22
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.qOS::list", ptr %78, i32 0, i32 2
  %80 = load ptr, ptr %79, align 8, !tbaa !20
  %81 = getelementptr inbounds %"class.qOS::list", ptr %10, i32 0, i32 2
  store ptr %80, ptr %81, align 8, !tbaa !20
  br label %102

82:                                               ; preds = %62
  %83 = load i32, ptr %6, align 4, !tbaa !9
  %84 = call noundef ptr @_ZNK3qOS4list14getNodeAtIndexENS_12listPositionE(ptr noundef nonnull align 8 dereferenceable(56) %10, i32 noundef %83) #3
  store ptr %84, ptr %8, align 8, !tbaa !5
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = getelementptr inbounds %"class.qOS::node", ptr %85, i32 0, i32 1
  %87 = load ptr, ptr %86, align 8, !tbaa !21
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = getelementptr inbounds %"class.qOS::list", ptr %88, i32 0, i32 2
  %90 = load ptr, ptr %89, align 8, !tbaa !20
  %91 = getelementptr inbounds %"class.qOS::node", ptr %90, i32 0, i32 1
  store ptr %87, ptr %91, align 8, !tbaa !21
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %"class.qOS::list", ptr %93, i32 0, i32 1
  %95 = load ptr, ptr %94, align 8, !tbaa !13
  %96 = getelementptr inbounds %"class.qOS::node", ptr %95, i32 0, i32 2
  store ptr %92, ptr %96, align 8, !tbaa !22
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %"class.qOS::list", ptr %97, i32 0, i32 1
  %99 = load ptr, ptr %98, align 8, !tbaa !13
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = getelementptr inbounds %"class.qOS::node", ptr %100, i32 0, i32 1
  store ptr %99, ptr %101, align 8, !tbaa !21
  br label %102

102:                                              ; preds = %82, %65
  br label %103

103:                                              ; preds = %102, %45
  br label %104

104:                                              ; preds = %103, %33
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = getelementptr inbounds %"class.qOS::list", ptr %105, i32 0, i32 3
  %107 = load i64, ptr %106, align 8, !tbaa !23
  %108 = getelementptr inbounds %"class.qOS::list", ptr %10, i32 0, i32 3
  %109 = load i64, ptr %108, align 8, !tbaa !23
  %110 = add i64 %109, %107
  store i64 %110, ptr %108, align 8, !tbaa !23
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3qOS4list5cleanEv(ptr noundef nonnull align 8 dereferenceable(56) %111) #3
  store i8 1, ptr %7, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %112

112:                                              ; preds = %104, %15, %3
  %113 = load i8, ptr %7, align 1, !tbaa !11, !range !24, !noundef !25
  %114 = trunc i8 %113 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #3
  ret i1 %114
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS4list5beginEv(ptr dead_on_unwind noalias writable sret(%"class.qOS::listIterator") align 8, ptr noundef nonnull align 8 dereferenceable(56)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3qOS12listIterator8untilEndEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN3qOS12listIteratorppEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS12listIteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN3qOS12listPositionE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !6, i64 32}
!14 = !{!"_ZTSN3qOS4listE", !15, i64 0, !6, i64 32, !6, i64 40, !16, i64 48}
!15 = !{!"_ZTSN3qOS4nodeE", !6, i64 8, !6, i64 16, !6, i64 24}
!16 = !{!"long", !7, i64 0}
!17 = !{!15, !6, i64 24}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!14, !6, i64 40}
!21 = !{!15, !6, i64 8}
!22 = !{!15, !6, i64 16}
!23 = !{!14, !16, i64 48}
!24 = !{i8 0, i8 2}
!25 = !{}


; 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.qOS::listIterator" = type { ptr, ptr, ptr, ptr }

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3qOS4list14getNodeAtIndexENS_12listPositionE(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN3qOS4list4moveERS0_NS_12listPositionE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %2) local_unnamed_addr #0 align 2 {
  %4 = alloca %"class.qOS::listIterator", align 8
  %5 = getelementptr inbounds i8, ptr %1, i64 32
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = icmp ne ptr %6, null
  %8 = icmp sgt i32 %2, -3
  %or.cond = and i1 %8, %7
  br i1 %or.cond, label %9, label %50

9:                                                ; preds = %3
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
  call void @_ZN3qOS4list5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.qOS::listIterator") align 8 %4, ptr noundef nonnull align 8 dereferenceable(56) %1) #3
  %10 = call noundef zeroext i1 @_ZNK3qOS12listIterator8untilEndEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  br i1 %10, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %9
  call void @_ZN3qOS12listIteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = icmp eq ptr %12, null
  br i1 %13, label %18, label %20

.lr.ph:                                           ; preds = %9, %.lr.ph
  %14 = call noundef ptr @_ZN3qOS12listIterator3getIPNS_4nodeEEET_v(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  %15 = getelementptr inbounds i8, ptr %14, i64 24
  store ptr %0, ptr %15, align 8, !tbaa !12
  %16 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3qOS12listIteratorppEi(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 0) #3
  %17 = call noundef zeroext i1 @_ZNK3qOS12listIterator8untilEndEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  br i1 %17, label %.lr.ph, label %._crit_edge, !llvm.loop !13

18:                                               ; preds = %._crit_edge
  %19 = load <2 x ptr>, ptr %5, align 8, !tbaa !15
  store <2 x ptr> %19, ptr %11, align 8, !tbaa !15
  br label %44

20:                                               ; preds = %._crit_edge
  switch i32 %2, label %35 [
    i32 -1, label %21
    i32 -2, label %27
  ]

21:                                               ; preds = %20
  %22 = getelementptr inbounds i8, ptr %1, i64 40
  %23 = load ptr, ptr %22, align 8, !tbaa !16
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  store ptr %12, ptr %24, align 8, !tbaa !17
  %25 = getelementptr inbounds i8, ptr %12, i64 16
  store ptr %23, ptr %25, align 8, !tbaa !18
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %26, ptr %11, align 8, !tbaa !5
  br label %44

27:                                               ; preds = %20
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %0, i64 40
  %30 = load ptr, ptr %29, align 8, !tbaa !16
  %31 = getelementptr inbounds i8, ptr %30, i64 8
  store ptr %28, ptr %31, align 8, !tbaa !17
  %32 = getelementptr inbounds i8, ptr %28, i64 16
  store ptr %30, ptr %32, align 8, !tbaa !18
  %33 = getelementptr inbounds i8, ptr %1, i64 40
  %34 = load ptr, ptr %33, align 8, !tbaa !16
  store ptr %34, ptr %29, align 8, !tbaa !16
  br label %44

35:                                               ; preds = %20
  %36 = call noundef ptr @_ZNK3qOS4list14getNodeAtIndexENS_12listPositionE(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %2) #3
  %37 = getelementptr inbounds i8, ptr %36, i64 8
  %38 = load ptr, ptr %37, align 8, !tbaa !17
  %39 = getelementptr inbounds i8, ptr %1, i64 40
  %40 = load ptr, ptr %39, align 8, !tbaa !16
  %41 = getelementptr inbounds i8, ptr %40, i64 8
  store ptr %38, ptr %41, align 8, !tbaa !17
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  store ptr %36, ptr %43, align 8, !tbaa !18
  store ptr %42, ptr %37, align 8, !tbaa !17
  br label %44

44:                                               ; preds = %21, %35, %27, %18
  %45 = getelementptr inbounds i8, ptr %1, i64 48
  %46 = load i64, ptr %45, align 8, !tbaa !19
  %47 = getelementptr inbounds i8, ptr %0, i64 48
  %48 = load i64, ptr %47, align 8, !tbaa !19
  %49 = add i64 %48, %46
  store i64 %49, ptr %47, align 8, !tbaa !19
  call void @_ZN3qOS4list5cleanEv(ptr noundef nonnull align 8 dereferenceable(56) %1) #3
  br label %50

50:                                               ; preds = %44, %3
  ret i1 %or.cond
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS4list5beginEv(ptr dead_on_unwind noalias writable sret(%"class.qOS::listIterator") align 8, ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3qOS12listIterator8untilEndEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN3qOS12listIteratorppEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS12listIteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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, !8, i64 32}
!6 = !{!"_ZTSN3qOS4listE", !7, i64 0, !8, i64 32, !8, i64 40, !11, i64 48}
!7 = !{!"_ZTSN3qOS4nodeE", !8, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 24}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!8, !8, i64 0}
!16 = !{!6, !8, i64 40}
!17 = !{!7, !8, i64 8}
!18 = !{!7, !8, i64 16}
!19 = !{!6, !11, i64 48}


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