; LLVM IR from Columbitech/rohc :: src (cprofile)

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.ROHC::iphdr" = type { i8, i8, i16, i16, i16, i8, i8, i16, i32, i32 }
%"struct.ROHC::udphdr" = type { i16, i16, i16, i16 }
%"struct.ROHC::RTPDestination" = type <{ i32, i16, [2 x i8] }>

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4ROHC8CProfile20ProfileIDForProtocolEPKNS_5iphdrEmRKSt6vectorINS_14RTPDestinationESaIS5_EE(ptr noundef %0, i64 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #0 align 2 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = call noundef zeroext i1 @_ZN4ROHC16HasMoreFragmentsEPKNS_5iphdrE(ptr noundef %13)
  br i1 %14, label %18, label %15

15:                                               ; preds = %3
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = call noundef zeroext i1 @_ZN4ROHC17HasFragmentOffsetEPKNS_5iphdrE(ptr noundef %16)
  br i1 %17, label %18, label %21

18:                                               ; preds = %15, %3
  %19 = call noundef zeroext i16 @_ZN4ROHC20CUncompressedProfile9ProfileIDEv()
  %20 = zext i16 %19 to i32
  store i32 %20, ptr %4, align 4
  br label %84

21:                                               ; preds = %15
  %22 = call noundef zeroext i16 @_ZN4ROHC11CUDPProfile10ProtocolIDEv()
  %23 = zext i16 %22 to i32
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.ROHC::iphdr", ptr %24, i32 0, i32 6
  %26 = load i8, ptr %25, align 1, !tbaa !11
  %27 = zext i8 %26 to i32
  %28 = icmp eq i32 %23, %27
  br i1 %28, label %29, label %81

29:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.ROHC::iphdr", ptr %30, i64 1
  store ptr %31, ptr %8, align 8, !tbaa !5
  %32 = load i64, ptr %6, align 8, !tbaa !9
  %33 = icmp uge i64 %32, 40
  br i1 %33, label %34, label %77

34:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.ROHC::udphdr", ptr %35, i64 1
  store ptr %36, ptr %9, align 8, !tbaa !5
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = load i16, ptr %37, align 4
  %39 = lshr i16 %38, 6
  %40 = and i16 %39, 3
  %41 = trunc i16 %40 to i8
  %42 = zext i8 %41 to i32
  %43 = icmp eq i32 2, %42
  br i1 %43, label %44, label %73

44:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = call ptr @_ZNKSt6vectorIN4ROHC14RTPDestinationESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #4
  %47 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %46, ptr %47, align 8
  br label %48

48:                                               ; preds = %68, %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = call ptr @_ZNKSt6vectorIN4ROHC14RTPDestinationESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #4
  %51 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %50, ptr %51, align 8
  %52 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN4ROHC14RTPDestinationESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br i1 %52, label %54, label %53

53:                                               ; preds = %48
  store i32 2, ptr %12, align 4
  br label %70

54:                                               ; preds = %48
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.ROHC::udphdr", ptr %55, i32 0, i32 1
  %57 = load i16, ptr %56, align 2, !tbaa !15
  %58 = zext i16 %57 to i32
  %59 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN4ROHC14RTPDestinationESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  %60 = getelementptr inbounds %"struct.ROHC::RTPDestination", ptr %59, i32 0, i32 1
  %61 = load i16, ptr %60, align 4, !tbaa !17
  %62 = zext i16 %61 to i32
  %63 = icmp eq i32 %58, %62
  br i1 %63, label %64, label %67

64:                                               ; preds = %54
  %65 = call noundef zeroext i16 @_ZN4ROHC11CRTPProfile9ProfileIDEv()
  %66 = zext i16 %65 to i32
  store i32 %66, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %70

67:                                               ; preds = %54
  br label %68

68:                                               ; preds = %67
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN4ROHC14RTPDestinationESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  br label %48, !llvm.loop !19

70:                                               ; preds = %64, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %71 = load i32, ptr %12, align 4
  switch i32 %71, label %74 [
    i32 2, label %72
  ]

72:                                               ; preds = %70
  br label %73

73:                                               ; preds = %72, %34
  store i32 0, ptr %12, align 4
  br label %74

74:                                               ; preds = %73, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  %75 = load i32, ptr %12, align 4
  switch i32 %75, label %80 [
    i32 0, label %76
  ]

76:                                               ; preds = %74
  br label %77

77:                                               ; preds = %76, %29
  %78 = call noundef zeroext i16 @_ZN4ROHC11CUDPProfile9ProfileIDEv()
  %79 = zext i16 %78 to i32
  store i32 %79, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %80

80:                                               ; preds = %77, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %84

81:                                               ; preds = %21
  %82 = call noundef zeroext i16 @_ZN4ROHC20CUncompressedProfile9ProfileIDEv()
  %83 = zext i16 %82 to i32
  store i32 %83, ptr %4, align 4
  br label %84

84:                                               ; preds = %81, %80, %18
  %85 = load i32, ptr %4, align 4
  ret i32 %85
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4ROHC16HasMoreFragmentsEPKNS_5iphdrE(ptr noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4ROHC17HasFragmentOffsetEPKNS_5iphdrE(ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN4ROHC20CUncompressedProfile9ProfileIDEv() #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN4ROHC11CUDPProfile10ProtocolIDEv() #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN4ROHC14RTPDestinationESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN4ROHC11CRTPProfile9ProfileIDEv() #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN4ROHC11CUDPProfile9ProfileIDEv() #2 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 = { 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 #2 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !7, i64 9}
!12 = !{!"_ZTSN4ROHC5iphdrE", !7, i64 0, !7, i64 0, !7, i64 1, !13, i64 2, !13, i64 4, !13, i64 6, !7, i64 8, !7, i64 9, !13, i64 10, !14, i64 12, !14, i64 16}
!13 = !{!"short", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !13, i64 2}
!16 = !{!"_ZTSN4ROHC6udphdrE", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6}
!17 = !{!18, !13, i64 4}
!18 = !{!"_ZTSN4ROHC14RTPDestinationE", !14, i64 0, !13, i64 4}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


; 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.__gnu_cxx::__normal_iterator" = type { ptr }

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN4ROHC8CProfile20ProfileIDForProtocolEPKNS_5iphdrEmRKSt6vectorINS_14RTPDestinationESaIS5_EE(ptr noundef %0, i64 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #0 align 2 {
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = tail call noundef zeroext i1 @_ZN4ROHC16HasMoreFragmentsEPKNS_5iphdrE(ptr noundef %0)
  br i1 %6, label %9, label %7

7:                                                ; preds = %3
  %8 = tail call noundef zeroext i1 @_ZN4ROHC17HasFragmentOffsetEPKNS_5iphdrE(ptr noundef %0)
  br i1 %8, label %9, label %11

9:                                                ; preds = %7, %3
  %10 = tail call noundef zeroext i16 @_ZN4ROHC20CUncompressedProfile9ProfileIDEv()
  br label %44

11:                                               ; preds = %7
  %12 = tail call noundef zeroext i16 @_ZN4ROHC11CUDPProfile10ProtocolIDEv()
  %13 = getelementptr inbounds i8, ptr %0, i64 9
  %14 = load i8, ptr %13, align 1, !tbaa !5
  %15 = zext i8 %14 to i16
  %16 = icmp eq i16 %12, %15
  br i1 %16, label %17, label %42

17:                                               ; preds = %11
  %18 = icmp ugt i64 %1, 39
  br i1 %18, label %19, label %.thread

19:                                               ; preds = %17
  %20 = getelementptr inbounds i8, ptr %0, i64 28
  %21 = load i16, ptr %20, align 4
  %22 = and i16 %21, 192
  %23 = icmp eq i16 %22, 128
  br i1 %23, label %24, label %.thread

24:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  %25 = tail call ptr @_ZNKSt6vectorIN4ROHC14RTPDestinationESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  store ptr %25, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %26 = tail call ptr @_ZNKSt6vectorIN4ROHC14RTPDestinationESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  store ptr %26, ptr %5, align 8
  %27 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN4ROHC14RTPDestinationESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  br i1 %27, label %.lr.ph, label %.thread17

.lr.ph:                                           ; preds = %24
  %28 = getelementptr inbounds i8, ptr %0, i64 22
  br label %29

.thread17:                                        ; preds = %35, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  br label %.thread

29:                                               ; preds = %.lr.ph, %35
  %30 = load i16, ptr %28, align 2, !tbaa !11
  %31 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN4ROHC14RTPDestinationESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  %32 = getelementptr inbounds i8, ptr %31, i64 4
  %33 = load i16, ptr %32, align 4, !tbaa !13
  %34 = icmp eq i16 %30, %33
  br i1 %34, label %39, label %35

35:                                               ; preds = %29
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN4ROHC14RTPDestinationESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %37 = call ptr @_ZNKSt6vectorIN4ROHC14RTPDestinationESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  store ptr %37, ptr %5, align 8
  %38 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN4ROHC14RTPDestinationESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  br i1 %38, label %29, label %.thread17, !llvm.loop !15

39:                                               ; preds = %29
  %40 = call noundef zeroext i16 @_ZN4ROHC11CRTPProfile9ProfileIDEv()
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  br label %44

.thread:                                          ; preds = %19, %.thread17, %17
  %41 = call noundef zeroext i16 @_ZN4ROHC11CUDPProfile9ProfileIDEv()
  br label %44

42:                                               ; preds = %11
  %43 = tail call noundef zeroext i16 @_ZN4ROHC20CUncompressedProfile9ProfileIDEv()
  br label %44

44:                                               ; preds = %39, %.thread, %42, %9
  %.4.in = phi i16 [ %10, %9 ], [ %43, %42 ], [ %41, %.thread ], [ %40, %39 ]
  %.4 = zext i16 %.4.in to i32
  ret i32 %.4
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4ROHC16HasMoreFragmentsEPKNS_5iphdrE(ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4ROHC17HasFragmentOffsetEPKNS_5iphdrE(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN4ROHC20CUncompressedProfile9ProfileIDEv() local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN4ROHC11CUDPProfile10ProtocolIDEv() 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) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN4ROHC14RTPDestinationESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN4ROHC11CRTPProfile9ProfileIDEv() local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN4ROHC11CUDPProfile9ProfileIDEv() local_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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !7, i64 9}
!6 = !{!"_ZTSN4ROHC5iphdrE", !7, i64 0, !7, i64 0, !7, i64 1, !9, i64 2, !9, i64 4, !9, i64 6, !7, i64 8, !7, i64 9, !9, i64 10, !10, i64 12, !10, i64 16}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"short", !7, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !9, i64 2}
!12 = !{!"_ZTSN4ROHC6udphdrE", !9, i64 0, !9, i64 2, !9, i64 4, !9, i64 6}
!13 = !{!14, !9, i64 4}
!14 = !{!"_ZTSN4ROHC14RTPDestinationE", !10, i64 0, !9, i64 4}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass