; LLVM IR from aap/librw :: tools/dumprwtree (dumprwtree)

; 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.rw::StreamFile" = type { %"class.rw::Stream", ptr }
%"class.rw::Stream" = type { ptr }
%"struct.rw::ChunkHeaderInfo" = type { i32, i32, i32, i32 }

@stderr = external global ptr, align 8
@.str.173 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9readchunkPN2rw10StreamFileEPNS_15ChunkHeaderInfoEi(ptr noundef, ptr noundef, i32 noundef) #0

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

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

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

declare noundef zeroext i1 @_ZN2rw19readChunkHeaderInfoEPNS_6StreamEPNS_15ChunkHeaderInfoE(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.rw::StreamFile", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"struct.rw::ChunkHeaderInfo", align 4
  %10 = alloca %"struct.rw::ChunkHeaderInfo", align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %11 = load i32, ptr %4, align 4, !tbaa !5
  %12 = icmp slt i32 %11, 2
  br i1 %12, label %13, label %19

13:                                               ; preds = %2
  %14 = load ptr, ptr @stderr, align 8, !tbaa !9
  %15 = load ptr, ptr %5, align 8, !tbaa !9
  %16 = getelementptr inbounds ptr, ptr %15, i64 0
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.173, ptr noundef %17) #8
  store i32 0, ptr %3, align 4
  br label %62

19:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #8
  call void @_ZN2rw10StreamFileC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %20 = load ptr, ptr %5, align 8, !tbaa !9
  %21 = getelementptr inbounds ptr, ptr %20, i64 1
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  %23 = invoke noundef ptr @_ZN2rw10StreamFile4openEPKcS2_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef %22, ptr noundef @.str.174)
          to label %24 unwind label %33

24:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  br label %25

25:                                               ; preds = %46, %24
  %26 = invoke noundef zeroext i1 @_ZN2rw19readChunkHeaderInfoEPNS_6StreamEPNS_15ChunkHeaderInfoE(ptr noundef %6, ptr noundef %9)
          to label %27 unwind label %37

27:                                               ; preds = %25
  br i1 %26, label %28, label %47

28:                                               ; preds = %27
  %29 = getelementptr inbounds %"struct.rw::ChunkHeaderInfo", ptr %9, i32 0, i32 0
  %30 = load i32, ptr %29, align 4, !tbaa !11
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %41

32:                                               ; preds = %28
  br label %47

33:                                               ; preds = %19
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %7, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %8, align 4
  br label %61

37:                                               ; preds = %59, %57, %47, %44, %25
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %7, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  br label %61

41:                                               ; preds = %28
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %9, i64 16, i1 false), !tbaa.struct !13
  %42 = load i32, ptr %4, align 4, !tbaa !5
  %43 = icmp eq i32 %42, 2
  br i1 %43, label %44, label %46

44:                                               ; preds = %41
  invoke void @_Z9readchunkPN2rw10StreamFileEPNS_15ChunkHeaderInfoEi(ptr noundef %6, ptr noundef %9, i32 noundef 0)
          to label %45 unwind label %37

45:                                               ; preds = %44
  br label %46

46:                                               ; preds = %45, %41
  br label %25, !llvm.loop !14

47:                                               ; preds = %32, %27
  %48 = getelementptr inbounds %"struct.rw::ChunkHeaderInfo", ptr %10, i32 0, i32 2
  %49 = load i32, ptr %48, align 4, !tbaa !16
  %50 = getelementptr inbounds %"struct.rw::ChunkHeaderInfo", ptr %10, i32 0, i32 3
  %51 = load i32, ptr %50, align 4, !tbaa !17
  %52 = getelementptr inbounds %"struct.rw::ChunkHeaderInfo", ptr %10, i32 0, i32 2
  %53 = load i32, ptr %52, align 4, !tbaa !16
  %54 = getelementptr inbounds %"struct.rw::ChunkHeaderInfo", ptr %10, i32 0, i32 3
  %55 = load i32, ptr %54, align 4, !tbaa !17
  %56 = invoke noundef i32 @_ZN2rw13libraryIDPackEii(i32 noundef %53, i32 noundef %55)
          to label %57 unwind label %37

57:                                               ; preds = %47
  %58 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.175, i32 noundef %49, i32 noundef %51, i32 noundef %56)
          to label %59 unwind label %37

59:                                               ; preds = %57
  invoke void @_ZN2rw10StreamFile5closeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %60 unwind label %37

60:                                               ; preds = %59
  store i32 0, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @_ZN2rw6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #8
  br label %62

61:                                               ; preds = %37, %33
  call void @_ZN2rw6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #8
  br label %64

62:                                               ; preds = %60, %13
  %63 = load i32, ptr %3, align 4
  ret i32 %63

64:                                               ; preds = %61
  %65 = load ptr, ptr %7, align 8
  %66 = load i32, ptr %8, align 4
  %67 = insertvalue { ptr, i32 } poison, ptr %65, 0
  %68 = insertvalue { ptr, i32 } %67, i32 %66, 1
  resume { ptr, i32 } %68
}

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

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

declare noundef ptr @_ZN2rw10StreamFile4openEPKcS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) #2

declare i32 @__gxx_personality_v0(...)

; 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) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN2rw13libraryIDPackEii(i32 noundef, i32 noundef) #7

declare void @_ZN2rw10StreamFile5closeEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress norecurse 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 "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #8 = { 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 = !{!"int", !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, !6, i64 0}
!12 = !{!"_ZTSN2rw15ChunkHeaderInfoE", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!13 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !5, i64 12, i64 4, !5}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!12, !6, i64 8}
!17 = !{!12, !6, i64 12}


; 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.rw::StreamFile" = type { %"class.rw::Stream", ptr }
%"class.rw::Stream" = type { ptr }
%"struct.rw::ChunkHeaderInfo" = type { i32, i32, i32, i32 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.173 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9readchunkPN2rw10StreamFileEPNS_15ChunkHeaderInfoEi(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

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

declare noundef zeroext i1 @_ZN2rw19readChunkHeaderInfoEPNS_6StreamEPNS_15ChunkHeaderInfoE(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.rw::StreamFile", align 8
  %4 = alloca %"struct.rw::ChunkHeaderInfo", align 4
  %5 = icmp slt i32 %0, 2
  br i1 %5, label %6, label %10

6:                                                ; preds = %2
  %7 = load ptr, ptr @stderr, align 8, !tbaa !5
  %8 = load ptr, ptr %1, align 8, !tbaa !5
  %9 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef nonnull @.str.173, ptr noundef %8) #7
  br label %32

10:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  call void @_ZN2rw10StreamFileC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = invoke noundef ptr @_ZN2rw10StreamFile4openEPKcS2_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef %12, ptr noundef nonnull @.str.174)
          to label %14 unwind label %25

14:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 12
  %15 = icmp eq i32 %0, 2
  br i1 %15, label %.split.us, label %.split

.split.us:                                        ; preds = %14, %20
  %.sroa.6.0.us = phi i32 [ %.sroa.6.0.copyload.us, %20 ], [ undef, %14 ]
  %.sroa.4.0.us = phi i32 [ %.sroa.4.0.copyload.us, %20 ], [ undef, %14 ]
  %16 = invoke noundef zeroext i1 @_ZN2rw19readChunkHeaderInfoEPNS_6StreamEPNS_15ChunkHeaderInfoE(ptr noundef nonnull %3, ptr noundef nonnull %4)
          to label %17 unwind label %.loopexit.split.us

17:                                               ; preds = %.split.us
  %18 = load i32, ptr %4, align 4
  %19 = icmp ne i32 %18, 0
  %or.cond.not.us = select i1 %16, i1 %19, i1 false
  br i1 %or.cond.not.us, label %20, label %.split18.us

20:                                               ; preds = %17
  %.sroa.4.0.copyload.us = load i32, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !9
  %.sroa.6.0.copyload.us = load i32, ptr %.sroa.6.0..sroa_idx, align 4, !tbaa !9
  invoke void @_Z9readchunkPN2rw10StreamFileEPNS_15ChunkHeaderInfoEi(ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef 0)
          to label %.split.us unwind label %.loopexit.split.us, !llvm.loop !11

.loopexit.split.us:                               ; preds = %20, %.split.us
  %lpad.loopexit.us = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.split:                                           ; preds = %14, %27
  %.sroa.6.0 = phi i32 [ %.sroa.6.0.copyload, %27 ], [ undef, %14 ]
  %.sroa.4.0 = phi i32 [ %.sroa.4.0.copyload, %27 ], [ undef, %14 ]
  %21 = invoke noundef zeroext i1 @_ZN2rw19readChunkHeaderInfoEPNS_6StreamEPNS_15ChunkHeaderInfoE(ptr noundef nonnull %3, ptr noundef nonnull %4)
          to label %22 unwind label %.loopexit.split

22:                                               ; preds = %.split
  %23 = load i32, ptr %4, align 4
  %24 = icmp ne i32 %23, 0
  %or.cond.not = select i1 %21, i1 %24, i1 false
  br i1 %or.cond.not, label %27, label %.split18.us

25:                                               ; preds = %10
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %31

.loopexit.split:                                  ; preds = %.split
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.loopexit.split-lp:                               ; preds = %.split18.us
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.split, %.loopexit.split.us, %.loopexit.split-lp
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit.split-lp, %.loopexit.split-lp ], [ %lpad.loopexit, %.loopexit.split ], [ %lpad.loopexit.us, %.loopexit.split.us ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  br label %31

27:                                               ; preds = %22
  %.sroa.4.0.copyload = load i32, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !9
  %.sroa.6.0.copyload = load i32, ptr %.sroa.6.0..sroa_idx, align 4, !tbaa !9
  br label %.split, !llvm.loop !11

.split18.us:                                      ; preds = %22, %17
  %.us-phi19 = phi i32 [ %.sroa.6.0.us, %17 ], [ %.sroa.6.0, %22 ]
  %.us-phi20 = phi i32 [ %.sroa.4.0.us, %17 ], [ %.sroa.4.0, %22 ]
  %28 = call noundef i32 @_ZN2rw13libraryIDPackEii(i32 noundef %.us-phi20, i32 noundef %.us-phi19)
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.175, i32 noundef %.us-phi20, i32 noundef %.us-phi19, i32 noundef %28)
  invoke void @_ZN2rw10StreamFile5closeEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %30 unwind label %.loopexit.split-lp

30:                                               ; preds = %.split18.us
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZN2rw6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  br label %32

31:                                               ; preds = %.loopexit, %25
  %.pn = phi { ptr, i32 } [ %lpad.phi, %.loopexit ], [ %26, %25 ]
  call void @_ZN2rw6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn

32:                                               ; preds = %30, %6
  ret i32 0
}

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

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

declare noundef ptr @_ZN2rw10StreamFile4openEPKcS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN2rw13libraryIDPackEii(i32 noundef, i32 noundef) local_unnamed_addr #6

declare void @_ZN2rw10StreamFile5closeEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 norecurse 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 = { 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 #7 = { cold nounwind }
attributes #8 = { 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 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass