; LLVM IR from Columbitech/rohc :: src/compressor.ll (ZN4ROHC10CompressorC2EmNS_12Reordering_tENS_15IPIDBehaviour_tE)

; 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.std::allocator" = type { i8 }
%"class.std::allocator.2" = type { i8 }
%"class.ROHC::Compressor" = type { i64, %"class.std::vector", %"class.std::vector.0", ptr, i32, i32, i64, i64, i64, %"class.std::vector.5", [11 x i64], %"class.std::deque", %"class.std::deque.13" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<ROHC::CProfile *, std::allocator<ROHC::CProfile *>>::_Vector_impl" }
%"struct.std::_Vector_base<ROHC::CProfile *, std::allocator<ROHC::CProfile *>>::_Vector_impl" = type { %"struct.std::_Vector_base<ROHC::CProfile *, std::allocator<ROHC::CProfile *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ROHC::CProfile *, std::allocator<ROHC::CProfile *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<ROHC::RTPDestination, std::allocator<ROHC::RTPDestination>>::_Vector_impl" }
%"struct.std::_Vector_base<ROHC::RTPDestination, std::allocator<ROHC::RTPDestination>>::_Vector_impl" = type { %"struct.std::_Vector_base<ROHC::RTPDestination, std::allocator<ROHC::RTPDestination>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ROHC::RTPDestination, std::allocator<ROHC::RTPDestination>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<ROHC::Compressor::Feedback1, std::allocator<ROHC::Compressor::Feedback1>>::_Deque_impl" }
%"struct.std::_Deque_base<ROHC::Compressor::Feedback1, std::allocator<ROHC::Compressor::Feedback1>>::_Deque_impl" = type { %"struct.std::_Deque_base<ROHC::Compressor::Feedback1, std::allocator<ROHC::Compressor::Feedback1>>::_Deque_impl_data" }
%"struct.std::_Deque_base<ROHC::Compressor::Feedback1, std::allocator<ROHC::Compressor::Feedback1>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::deque.13" = type { %"class.std::_Deque_base.14" }
%"class.std::_Deque_base.14" = type { %"struct.std::_Deque_base<ROHC::Compressor::Feedback2, std::allocator<ROHC::Compressor::Feedback2>>::_Deque_impl" }
%"struct.std::_Deque_base<ROHC::Compressor::Feedback2, std::allocator<ROHC::Compressor::Feedback2>>::_Deque_impl" = type { %"struct.std::_Deque_base<ROHC::Compressor::Feedback2, std::allocator<ROHC::Compressor::Feedback2>>::_Deque_impl_data" }
%"struct.std::_Deque_base<ROHC::Compressor::Feedback2, std::allocator<ROHC::Compressor::Feedback2>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.18", %"struct.std::_Deque_iterator.18" }
%"struct.std::_Deque_iterator.18" = type { ptr, ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ROHC10CompressorC2EmNS_12Reordering_tENS_15IPIDBehaviour_tE(ptr noundef nonnull align 8 dereferenceable(368) %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::allocator.2", align 1
  %13 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !11
  store i32 %3, ptr %8, align 4, !tbaa !13
  %14 = load ptr, ptr %5, align 8
  %15 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 0
  %16 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %16, ptr %15, align 8, !tbaa !15
  %17 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  call void @_ZNSaIPN4ROHC8CProfileEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  invoke void @_ZNSt6vectorIPN4ROHC8CProfileESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %18 unwind label %43

18:                                               ; preds = %4
  call void @_ZNSt15__new_allocatorIPN4ROHC8CProfileEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  %19 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %20 unwind label %47

20:                                               ; preds = %18
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  %21 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 3
  %22 = invoke noundef ptr @_ZN4ROHC10allocMutexEv()
          to label %23 unwind label %51

23:                                               ; preds = %20
  store ptr %22, ptr %21, align 8, !tbaa !39
  %24 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 4
  %25 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %25, ptr %24, align 8, !tbaa !40
  %26 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 5
  %27 = load i32, ptr %8, align 4, !tbaa !13
  store i32 %27, ptr %26, align 4, !tbaa !41
  %28 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 6
  store i64 0, ptr %28, align 8, !tbaa !42
  %29 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 7
  store i64 0, ptr %29, align 8, !tbaa !43
  %30 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 8
  store i64 0, ptr %30, align 8, !tbaa !44
  %31 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 9
  call void @_ZNSt6vectorIN4ROHC14RTPDestinationESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  %32 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 11
  invoke void @_ZNSt5dequeIN4ROHC10Compressor9Feedback1ESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %32)
          to label %33 unwind label %55

33:                                               ; preds = %23
  %34 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 12
  invoke void @_ZNSt5dequeIN4ROHC10Compressor9Feedback2ESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %34)
          to label %35 unwind label %59

35:                                               ; preds = %33
  %36 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 6
  store i64 0, ptr %36, align 8, !tbaa !42
  %37 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 7
  store i64 0, ptr %37, align 8, !tbaa !43
  %38 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 8
  store i64 0, ptr %38, align 8, !tbaa !44
  %39 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 10
  %40 = getelementptr inbounds [11 x i64], ptr %39, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 8 %40, i8 0, i64 88, i1 false)
  %41 = getelementptr inbounds %"class.ROHC::Compressor", ptr %14, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store ptr null, ptr %13, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPN4ROHC8CProfileESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %42 unwind label %63

42:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  ret void

43:                                               ; preds = %4
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %10, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIPN4ROHC8CProfileEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  br label %71

47:                                               ; preds = %18
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %10, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  br label %70

51:                                               ; preds = %20
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %10, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %11, align 4
  br label %69

55:                                               ; preds = %23
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %10, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %11, align 4
  br label %68

59:                                               ; preds = %33
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %10, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %11, align 4
  br label %67

63:                                               ; preds = %35
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %10, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @_ZNSt5dequeIN4ROHC10Compressor9Feedback2ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %34) #5
  br label %67

67:                                               ; preds = %63, %59
  call void @_ZNSt5dequeIN4ROHC10Compressor9Feedback1ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %32) #5
  br label %68

68:                                               ; preds = %67, %55
  call void @_ZNSt6vectorIN4ROHC14RTPDestinationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  br label %69

69:                                               ; preds = %68, %51
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  br label %70

70:                                               ; preds = %69, %47
  call void @_ZNSt6vectorIPN4ROHC8CProfileESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  br label %71

71:                                               ; preds = %70, %43
  %72 = load ptr, ptr %10, align 8
  %73 = load i32, ptr %11, align 4
  %74 = insertvalue { ptr, i32 } poison, ptr %72, 0
  %75 = insertvalue { ptr, i32 } %74, i32 %73, 1
  resume { ptr, i32 } %75
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIPN4ROHC8CProfileESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; 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 void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

declare noundef ptr @_ZN4ROHC10allocMutexEv() #3

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIPN4ROHC8CProfileESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIPN4ROHC8CProfileEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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, !12, i64 0}
!12 = !{!"_ZTSN4ROHC12Reordering_tE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN4ROHC15IPIDBehaviour_tE", !7, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"_ZTSN4ROHC10CompressorE", !10, i64 0, !17, i64 8, !21, i64 32, !6, i64 56, !12, i64 64, !14, i64 68, !10, i64 72, !10, i64 80, !10, i64 88, !25, i64 96, !7, i64 120, !29, i64 208, !34, i64 288}
!17 = !{!"_ZTSSt6vectorIPN4ROHC8CProfileESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIPN4ROHC8CProfileESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPN4ROHC8CProfileESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN4ROHC8CProfileESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt6vectorIhSaIhEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIN4ROHC14RTPDestinationESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN4ROHC14RTPDestinationESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN4ROHC14RTPDestinationESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN4ROHC14RTPDestinationESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSSt5dequeIN4ROHC10Compressor9Feedback1ESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSSt11_Deque_baseIN4ROHC10Compressor9Feedback1ESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSNSt11_Deque_baseIN4ROHC10Compressor9Feedback1ESaIS2_EE11_Deque_implE", !32, i64 0}
!32 = !{!"_ZTSNSt11_Deque_baseIN4ROHC10Compressor9Feedback1ESaIS2_EE16_Deque_impl_dataE", !6, i64 0, !10, i64 8, !33, i64 16, !33, i64 48}
!33 = !{!"_ZTSSt15_Deque_iteratorIN4ROHC10Compressor9Feedback1ERS2_PS2_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!34 = !{!"_ZTSSt5dequeIN4ROHC10Compressor9Feedback2ESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSSt11_Deque_baseIN4ROHC10Compressor9Feedback2ESaIS2_EE", !36, i64 0}
!36 = !{!"_ZTSNSt11_Deque_baseIN4ROHC10Compressor9Feedback2ESaIS2_EE11_Deque_implE", !37, i64 0}
!37 = !{!"_ZTSNSt11_Deque_baseIN4ROHC10Compressor9Feedback2ESaIS2_EE16_Deque_impl_dataE", !6, i64 0, !10, i64 8, !38, i64 16, !38, i64 48}
!38 = !{!"_ZTSSt15_Deque_iteratorIN4ROHC10Compressor9Feedback2ERS2_PS2_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!39 = !{!16, !6, i64 56}
!40 = !{!16, !12, i64 64}
!41 = !{!16, !14, i64 68}
!42 = !{!16, !10, i64 72}
!43 = !{!16, !10, i64 80}
!44 = !{!16, !10, i64 88}


; 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.std::allocator" = type { i8 }
%"class.std::allocator.2" = type { i8 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ROHC10CompressorC2EmNS_12Reordering_tENS_15IPIDBehaviour_tE(ptr noundef nonnull align 8 dereferenceable(368) %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca %"class.std::allocator.2", align 1
  %7 = alloca ptr, align 8
  store i64 %1, ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  call void @_ZNSaIPN4ROHC8CProfileEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZNSt6vectorIPN4ROHC8CProfileESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %9 unwind label %25

9:                                                ; preds = %4
  call void @_ZNSt15__new_allocatorIPN4ROHC8CProfileEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  %10 = getelementptr inbounds i8, ptr %0, i64 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #5
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %11 unwind label %27

11:                                               ; preds = %9
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  %12 = invoke noundef ptr @_ZN4ROHC10allocMutexEv()
          to label %13 unwind label %29

13:                                               ; preds = %11
  %14 = getelementptr inbounds i8, ptr %0, i64 56
  store ptr %12, ptr %14, align 8, !tbaa !35
  %15 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %2, ptr %15, align 8, !tbaa !36
  %16 = getelementptr inbounds i8, ptr %0, i64 68
  store i32 %3, ptr %16, align 4, !tbaa !37
  %17 = getelementptr inbounds i8, ptr %0, i64 72
  %18 = getelementptr inbounds i8, ptr %0, i64 96
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %17, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN4ROHC14RTPDestinationESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  %19 = getelementptr inbounds i8, ptr %0, i64 208
  invoke void @_ZNSt5dequeIN4ROHC10Compressor9Feedback1ESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %19)
          to label %20 unwind label %31

20:                                               ; preds = %13
  %21 = getelementptr inbounds i8, ptr %0, i64 288
  invoke void @_ZNSt5dequeIN4ROHC10Compressor9Feedback2ESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %21)
          to label %22 unwind label %33

22:                                               ; preds = %20
  %23 = getelementptr inbounds i8, ptr %0, i64 120
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(88) %23, i8 0, i64 88, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %17, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  store ptr null, ptr %7, align 8, !tbaa !38
  invoke void @_ZNSt6vectorIPN4ROHC8CProfileESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %24 unwind label %35

24:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  ret void

25:                                               ; preds = %4
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIPN4ROHC8CProfileEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  br label %41

27:                                               ; preds = %9
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  br label %40

29:                                               ; preds = %11
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %39

31:                                               ; preds = %13
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %38

33:                                               ; preds = %20
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %37

35:                                               ; preds = %22
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @_ZNSt5dequeIN4ROHC10Compressor9Feedback2ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %21) #5
  br label %37

37:                                               ; preds = %35, %33
  %.pn = phi { ptr, i32 } [ %36, %35 ], [ %34, %33 ]
  call void @_ZNSt5dequeIN4ROHC10Compressor9Feedback1ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %19) #5
  br label %38

38:                                               ; preds = %37, %31
  %.pn.pn = phi { ptr, i32 } [ %.pn, %37 ], [ %32, %31 ]
  call void @_ZNSt6vectorIN4ROHC14RTPDestinationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  br label %39

39:                                               ; preds = %38, %29
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %38 ], [ %30, %29 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br label %40

40:                                               ; preds = %39, %27
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %39 ], [ %28, %27 ]
  call void @_ZNSt6vectorIPN4ROHC8CProfileESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %41

41:                                               ; preds = %40, %25
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %40 ], [ %26, %25 ]
  resume { ptr, i32 } %.pn.pn.pn.pn.pn
}

; 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 nounwind uwtable
declare dso_local void @_ZNSaIPN4ROHC8CProfileEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIPN4ROHC8CProfileESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; 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 void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

declare noundef ptr @_ZN4ROHC10allocMutexEv() local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIPN4ROHC8CProfileEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 0}
!6 = !{!"_ZTSN4ROHC10CompressorE", !7, i64 0, !10, i64 8, !15, i64 32, !14, i64 56, !19, i64 64, !20, i64 68, !7, i64 72, !7, i64 80, !7, i64 88, !21, i64 96, !8, i64 120, !25, i64 208, !30, i64 288}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIPN4ROHC8CProfileESaIS2_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIPN4ROHC8CProfileESaIS2_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIPN4ROHC8CProfileESaIS2_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIPN4ROHC8CProfileESaIS2_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTSSt6vectorIhSaIhEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!19 = !{!"_ZTSN4ROHC12Reordering_tE", !8, i64 0}
!20 = !{!"_ZTSN4ROHC15IPIDBehaviour_tE", !8, i64 0}
!21 = !{!"_ZTSSt6vectorIN4ROHC14RTPDestinationESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN4ROHC14RTPDestinationESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN4ROHC14RTPDestinationESaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN4ROHC14RTPDestinationESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!25 = !{!"_ZTSSt5dequeIN4ROHC10Compressor9Feedback1ESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSSt11_Deque_baseIN4ROHC10Compressor9Feedback1ESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSNSt11_Deque_baseIN4ROHC10Compressor9Feedback1ESaIS2_EE11_Deque_implE", !28, i64 0}
!28 = !{!"_ZTSNSt11_Deque_baseIN4ROHC10Compressor9Feedback1ESaIS2_EE16_Deque_impl_dataE", !14, i64 0, !7, i64 8, !29, i64 16, !29, i64 48}
!29 = !{!"_ZTSSt15_Deque_iteratorIN4ROHC10Compressor9Feedback1ERS2_PS2_E", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!30 = !{!"_ZTSSt5dequeIN4ROHC10Compressor9Feedback2ESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt11_Deque_baseIN4ROHC10Compressor9Feedback2ESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSNSt11_Deque_baseIN4ROHC10Compressor9Feedback2ESaIS2_EE11_Deque_implE", !33, i64 0}
!33 = !{!"_ZTSNSt11_Deque_baseIN4ROHC10Compressor9Feedback2ESaIS2_EE16_Deque_impl_dataE", !14, i64 0, !7, i64 8, !34, i64 16, !34, i64 48}
!34 = !{!"_ZTSSt15_Deque_iteratorIN4ROHC10Compressor9Feedback2ERS2_PS2_E", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!35 = !{!6, !14, i64 56}
!36 = !{!6, !19, i64 64}
!37 = !{!6, !20, i64 68}
!38 = !{!14, !14, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass