; LLVM IR from gvinciguerra/PGM-index :: examples (updates)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { i8 }
%"class.pgm::DynamicPGMIndex" = type { i8, i8, i8, i64, i8, %"class.std::vector.0", %"class.std::vector.5" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>, std::allocator<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>, std::allocator<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>, std::allocator<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>, std::allocator<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>>>::_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<pgm::PGMIndex<unsigned int, 16>, std::allocator<pgm::PGMIndex<unsigned int, 16>>>::_Vector_impl" }
%"struct.std::_Vector_base<pgm::PGMIndex<unsigned int, 16>, std::allocator<pgm::PGMIndex<unsigned int, 16>>>::_Vector_impl" = type { %"struct.std::_Vector_base<pgm::PGMIndex<unsigned int, 16>, std::allocator<pgm::PGMIndex<unsigned int, 16>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<pgm::PGMIndex<unsigned int, 16>, std::allocator<pgm::PGMIndex<unsigned int, 16>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator" = type { ptr, %"struct.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor", i8, i8, %"class.pgm::internal::LoserTree", %"class.std::vector.16" }
%"struct.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor" = type { i8, %"class.__gnu_cxx::__normal_iterator.10" }
%"class.__gnu_cxx::__normal_iterator.10" = type { ptr }
%"class.pgm::internal::LoserTree" = type { i8, %"class.std::vector.11" }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<pgm::internal::LoserTree<unsigned int>::Loser, std::allocator<pgm::internal::LoserTree<unsigned int>::Loser>>::_Vector_impl" }
%"struct.std::_Vector_base<pgm::internal::LoserTree<unsigned int>::Loser, std::allocator<pgm::internal::LoserTree<unsigned int>::Loser>>::_Vector_impl" = type { %"struct.std::_Vector_base<pgm::internal::LoserTree<unsigned int>::Loser, std::allocator<pgm::internal::LoserTree<unsigned int>::Loser>>::_Vector_impl_data" }
%"struct.std::_Vector_base<pgm::internal::LoserTree<unsigned int>::Loser, std::allocator<pgm::internal::LoserTree<unsigned int>::Loser>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor, std::allocator<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor>>::_Vector_impl" }
%"struct.std::_Vector_base<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor, std::allocator<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor>>::_Vector_impl" = type { %"struct.std::_Vector_base<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor, std::allocator<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor>>::_Vector_impl_data" }
%"struct.std::_Vector_base<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor, std::allocator<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }
%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA" = type { i32, i32 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::vector", align 8
  %3 = alloca %"class.std::allocator", align 1
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %class.anon, align 1
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.pgm::DynamicPGMIndex", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator", align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator", align 8
  %24 = alloca %"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator", align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %32 = alloca %"struct.std::pair", align 4
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #7
  call void @_ZNSaISt4pairIjjEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZNSt6vectorISt4pairIjjESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 1000000, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %35 unwind label %112

35:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorISt4pairIjjEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #7
  %36 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %37 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %6, i32 0, i32 0
  store ptr %36, ptr %37, align 8
  %38 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %39 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %7, i32 0, i32 0
  store ptr %38, ptr %39, align 8
  %40 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %6, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8
  %42 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %7, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8
  invoke void @"_ZSt8generateIN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS3_SaIS3_EEEEZ4mainE3$_0EvT_SA_T0_"(ptr %41, ptr %43)
          to label %44 unwind label %116

44:                                               ; preds = %35
  %45 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %46 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %45, ptr %46, align 8
  %47 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %48 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %47, ptr %48, align 8
  %49 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8
  %51 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %50, ptr %52)
          to label %53 unwind label %116

53:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 72, ptr %11) #7
  %54 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  %56 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %57 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %56, ptr %57, align 8
  %58 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  %59 = load ptr, ptr %58, align 8
  %60 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8
  invoke void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEEC2IN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS8_SaIS8_EEEEEET_SE_hhh(ptr noundef nonnull align 8 dereferenceable(72) %11, ptr %59, ptr %61, i8 noundef zeroext 8, i8 noundef zeroext 0, i8 noundef zeroext 0)
          to label %62 unwind label %120

62:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 2, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 4, ptr %15, align 4, !tbaa !5
  invoke void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE16insert_or_assignERKjS5_(ptr noundef nonnull align 8 dereferenceable(72) %11, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %63 unwind label %124

63:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 4, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 8, ptr %17, align 4, !tbaa !5
  invoke void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE16insert_or_assignERKjS5_(ptr noundef nonnull align 8 dereferenceable(72) %11, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %64 unwind label %128

64:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 8, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 16, ptr %19, align 4, !tbaa !5
  invoke void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE16insert_or_assignERKjS5_(ptr noundef nonnull align 8 dereferenceable(72) %11, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %65 unwind label %132

65:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 4, ptr %20, align 4, !tbaa !5
  invoke void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE5eraseERKj(ptr noundef nonnull align 8 dereferenceable(72) %11, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %66 unwind label %136

66:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %68 unwind label %140

68:                                               ; preds = %66
  %69 = invoke noundef i64 @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE13size_in_bytesEv(ptr noundef nonnull align 8 dereferenceable(72) %11)
          to label %70 unwind label %140

70:                                               ; preds = %68
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %67, i64 noundef %69)
          to label %72 unwind label %140

72:                                               ; preds = %70
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef @.str.1)
          to label %74 unwind label %140

74:                                               ; preds = %72
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %76 unwind label %140

76:                                               ; preds = %74
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %78 unwind label %140

78:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 88, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 4, ptr %22, align 4, !tbaa !5
  invoke void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE4findERKj(ptr dead_on_unwind writable sret(%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator") align 8 %21, ptr noundef nonnull align 8 dereferenceable(72) %11, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %79 unwind label %144

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 88, ptr %23) #7
  invoke void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE3endEv(ptr dead_on_unwind writable sret(%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator") align 8 %23, ptr noundef nonnull align 8 dereferenceable(72) %11)
          to label %80 unwind label %148

80:                                               ; preds = %79
  %81 = invoke noundef zeroext i1 @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratoreqERKS4_(ptr noundef nonnull align 8 dereferenceable(88) %21, ptr noundef nonnull align 8 dereferenceable(88) %23)
          to label %82 unwind label %152

82:                                               ; preds = %80
  %83 = zext i1 %81 to i64
  %84 = select i1 %81, ptr @.str.3, ptr @.str.4
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef %84)
          to label %86 unwind label %152

86:                                               ; preds = %82
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %88 unwind label %152

88:                                               ; preds = %86
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %23) #7
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %21) #7
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
          to label %90 unwind label %140

90:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 88, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 8, ptr %25, align 4, !tbaa !5
  invoke void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE4findERKj(ptr dead_on_unwind writable sret(%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator") align 8 %24, ptr noundef nonnull align 8 dereferenceable(72) %11, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %91 unwind label %158

91:                                               ; preds = %90
  %92 = invoke noundef ptr @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorptEv(ptr noundef nonnull align 8 dereferenceable(88) %24)
          to label %93 unwind label %162

93:                                               ; preds = %91
  %94 = getelementptr inbounds %"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA", ptr %92, i32 0, i32 1
  %95 = load i32, ptr %94, align 1, !tbaa !9
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %89, i32 noundef %95)
          to label %97 unwind label %162

97:                                               ; preds = %93
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %99 unwind label %162

99:                                               ; preds = %97
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %24) #7
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
          to label %101 unwind label %140

101:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 1, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 10000, ptr %28, align 4, !tbaa !5
  invoke void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE5rangeERKjS5_(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %26, ptr noundef nonnull align 8 dereferenceable(72) %11, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %102 unwind label %167

102:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  store ptr %26, ptr %29, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %103 = load ptr, ptr %29, align 8, !tbaa !11
  %104 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %103) #7
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  store ptr %104, ptr %105, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %106 = load ptr, ptr %29, align 8, !tbaa !11
  %107 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %106) #7
  %108 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %31, i32 0, i32 0
  store ptr %107, ptr %108, align 8
  br label %109

109:                                              ; preds = %189, %102
  %110 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIjjESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  br i1 %110, label %171, label %111

111:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %195

112:                                              ; preds = %0
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %4, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %5, align 4
  call void @_ZNSt15__new_allocatorISt4pairIjjEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #7
  br label %201

116:                                              ; preds = %44, %35
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %4, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %5, align 4
  br label %200

120:                                              ; preds = %53
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %4, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %5, align 4
  br label %199

124:                                              ; preds = %62
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %4, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %198

128:                                              ; preds = %63
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %4, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %198

132:                                              ; preds = %64
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %4, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %198

136:                                              ; preds = %65
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %4, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %198

140:                                              ; preds = %99, %88, %76, %74, %72, %70, %68, %66
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %4, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %5, align 4
  br label %198

144:                                              ; preds = %78
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %4, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %5, align 4
  br label %157

148:                                              ; preds = %79
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %4, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %5, align 4
  br label %156

152:                                              ; preds = %86, %82, %80
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %4, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %5, align 4
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #7
  br label %156

156:                                              ; preds = %152, %148
  call void @llvm.lifetime.end.p0(i64 88, ptr %23) #7
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #7
  br label %157

157:                                              ; preds = %156, %144
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %21) #7
  br label %198

158:                                              ; preds = %90
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %4, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %5, align 4
  br label %166

162:                                              ; preds = %97, %93, %91
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %4, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %5, align 4
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #7
  br label %166

166:                                              ; preds = %162, %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %24) #7
  br label %198

167:                                              ; preds = %101
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %4, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %197

171:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %172 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %172, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EjjEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOS4_(ptr noundef nonnull align 4 dereferenceable(8) %32) #7
  store ptr %173, ptr %33, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EjjEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOS4_(ptr noundef nonnull align 4 dereferenceable(8) %32) #7
  store ptr %174, ptr %34, align 8, !tbaa !11
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
          to label %176 unwind label %191

176:                                              ; preds = %171
  %177 = load ptr, ptr %33, align 8, !tbaa !11
  %178 = load i32, ptr %177, align 4, !tbaa !5
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %175, i32 noundef %178)
          to label %180 unwind label %191

180:                                              ; preds = %176
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %179, ptr noundef @.str.8)
          to label %182 unwind label %191

182:                                              ; preds = %180
  %183 = load ptr, ptr %34, align 8, !tbaa !11
  %184 = load i32, ptr %183, align 4, !tbaa !5
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %181, i32 noundef %184)
          to label %186 unwind label %191

186:                                              ; preds = %182
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef @.str.9)
          to label %188 unwind label %191

188:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %189

189:                                              ; preds = %188
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  br label %109

191:                                              ; preds = %186, %182, %180, %176, %171
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %4, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  br label %197

195:                                              ; preds = %111
  store i32 0, ptr %1, align 4
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %11) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %11) #7
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #7
  %196 = load i32, ptr %1, align 4
  ret i32 %196

197:                                              ; preds = %191, %167
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  br label %198

198:                                              ; preds = %197, %166, %157, %140, %136, %132, %128, %124
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %11) #7
  br label %199

199:                                              ; preds = %198, %120
  call void @llvm.lifetime.end.p0(i64 72, ptr %11) #7
  br label %200

200:                                              ; preds = %199, %116
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  br label %201

201:                                              ; preds = %200, %112
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #7
  br label %202

202:                                              ; preds = %201
  %203 = load ptr, ptr %4, align 8
  %204 = load i32, ptr %5, align 4
  %205 = insertvalue { ptr, i32 } poison, ptr %203, 0
  %206 = insertvalue { ptr, i32 } %205, i32 %204, 1
  resume { ptr, i32 } %206
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIjjESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 uwtable
declare hidden void @"_ZSt8generateIN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS3_SaIS3_EEEEZ4mainE3$_0EvT_SA_T0_"(ptr, ptr) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEEC2IN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS8_SaIS8_EEEEEET_SE_hhh(ptr noundef nonnull align 8 dereferenceable(72), ptr, ptr, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE16insert_or_assignERKjS5_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE5eraseERKj(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE13size_in_bytesEv(ptr noundef nonnull align 8 dereferenceable(72)) #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE4findERKj(ptr dead_on_unwind noalias writable sret(%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(72)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE5rangeERKjS5_(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

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

; 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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EjjEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOS4_(ptr noundef nonnull align 4 dereferenceable(8)) #2

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

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

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

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

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

attributes #0 = { 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 #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 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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, !6, i64 4}
!10 = !{!"_ZTSN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE5ItemAE", !6, i64 0, !6, i64 4}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.pgm::DynamicPGMIndex" = type { i8, i8, i8, i64, i8, %"class.std::vector.0", %"class.std::vector.5" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>, std::allocator<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>, std::allocator<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>, std::allocator<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>, std::allocator<std::vector<pgm::DynamicPGMIndex<unsigned int, unsigned int>::ItemA>>>::_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<pgm::PGMIndex<unsigned int, 16>, std::allocator<pgm::PGMIndex<unsigned int, 16>>>::_Vector_impl" }
%"struct.std::_Vector_base<pgm::PGMIndex<unsigned int, 16>, std::allocator<pgm::PGMIndex<unsigned int, 16>>>::_Vector_impl" = type { %"struct.std::_Vector_base<pgm::PGMIndex<unsigned int, 16>, std::allocator<pgm::PGMIndex<unsigned int, 16>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<pgm::PGMIndex<unsigned int, 16>, std::allocator<pgm::PGMIndex<unsigned int, 16>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator" = type { ptr, %"struct.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor", i8, i8, %"class.pgm::internal::LoserTree", %"class.std::vector.16" }
%"struct.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor" = type { i8, %"class.__gnu_cxx::__normal_iterator.10" }
%"class.__gnu_cxx::__normal_iterator.10" = type { ptr }
%"class.pgm::internal::LoserTree" = type { i8, %"class.std::vector.11" }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<pgm::internal::LoserTree<unsigned int>::Loser, std::allocator<pgm::internal::LoserTree<unsigned int>::Loser>>::_Vector_impl" }
%"struct.std::_Vector_base<pgm::internal::LoserTree<unsigned int>::Loser, std::allocator<pgm::internal::LoserTree<unsigned int>::Loser>>::_Vector_impl" = type { %"struct.std::_Vector_base<pgm::internal::LoserTree<unsigned int>::Loser, std::allocator<pgm::internal::LoserTree<unsigned int>::Loser>>::_Vector_impl_data" }
%"struct.std::_Vector_base<pgm::internal::LoserTree<unsigned int>::Loser, std::allocator<pgm::internal::LoserTree<unsigned int>::Loser>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor, std::allocator<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor>>::_Vector_impl" }
%"struct.std::_Vector_base<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor, std::allocator<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor>>::_Vector_impl" = type { %"struct.std::_Vector_base<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor, std::allocator<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor>>::_Vector_impl_data" }
%"struct.std::_Vector_base<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor, std::allocator<pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator::Cursor>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair" = type { i32, i32 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::vector", align 8
  %2 = alloca %"class.std::allocator", align 1
  %3 = alloca %"class.pgm::DynamicPGMIndex", align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator", align 8
  %14 = alloca %"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"struct.std::pair", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #6
  call void @_ZNSaISt4pairIjjEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  invoke void @_ZNSt6vectorISt4pairIjjESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 1000000, ptr noundef nonnull align 1 dereferenceable(1) %2)
          to label %22 unwind label %72

22:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorISt4pairIjjEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  %23 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %24 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  invoke void @"_ZSt8generateIN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS3_SaIS3_EEEEZ4mainE3$_0EvT_SA_T0_"(ptr %23, ptr %24)
          to label %25 unwind label %74

25:                                               ; preds = %22
  %26 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %27 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %26, ptr %27)
          to label %28 unwind label %74

28:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #6
  %29 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %30 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  invoke void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEEC2IN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS8_SaIS8_EEEEEET_SE_hhh(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr %29, ptr %30, i8 noundef zeroext 8, i8 noundef zeroext 0, i8 noundef zeroext 0)
          to label %31 unwind label %76

31:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  store i32 2, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  store i32 4, ptr %5, align 4, !tbaa !5
  invoke void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE16insert_or_assignERKjS5_(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %32 unwind label %78

32:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  store i32 4, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store i32 8, ptr %7, align 4, !tbaa !5
  invoke void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE16insert_or_assignERKjS5_(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %33 unwind label %80

33:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  store i32 8, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  store i32 16, ptr %9, align 4, !tbaa !5
  invoke void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE16insert_or_assignERKjS5_(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %34 unwind label %82

34:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  store i32 4, ptr %10, align 4, !tbaa !5
  invoke void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE5eraseERKj(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %35 unwind label %84

35:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  %36 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %37 unwind label %86

37:                                               ; preds = %35
  %38 = invoke noundef i64 @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE13size_in_bytesEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
          to label %39 unwind label %86

39:                                               ; preds = %37
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %36, i64 noundef %38)
          to label %41 unwind label %86

41:                                               ; preds = %39
  %42 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull @.str.1)
          to label %43 unwind label %86

43:                                               ; preds = %41
  %44 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %45 unwind label %86

45:                                               ; preds = %43
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
          to label %47 unwind label %86

47:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  store i32 4, ptr %12, align 4, !tbaa !5
  invoke void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE4findERKj(ptr dead_on_unwind nonnull writable sret(%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator") align 8 %11, ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %48 unwind label %88

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %13) #6
  invoke void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator") align 8 %13, ptr noundef nonnull align 8 dereferenceable(72) %3)
          to label %49 unwind label %90

49:                                               ; preds = %48
  %50 = call noundef zeroext i1 @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratoreqERKS4_(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef nonnull align 8 dereferenceable(88) %13)
  %51 = select i1 %50, ptr @.str.3, ptr @.str.4
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull %51)
          to label %53 unwind label %92

53:                                               ; preds = %49
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %55 unwind label %92

55:                                               ; preds = %53
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %13) #6
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %11) #6
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
          to label %57 unwind label %86

57:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  store i32 8, ptr %15, align 4, !tbaa !5
  invoke void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE4findERKj(ptr dead_on_unwind nonnull writable sret(%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator") align 8 %14, ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %58 unwind label %96

58:                                               ; preds = %57
  %59 = call noundef ptr @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorptEv(ptr noundef nonnull align 8 dereferenceable(88) %14)
  %60 = getelementptr inbounds i8, ptr %59, i64 4
  %61 = load i32, ptr %60, align 1, !tbaa !9
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %56, i32 noundef %61)
          to label %63 unwind label %98

63:                                               ; preds = %58
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %65 unwind label %98

65:                                               ; preds = %63
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %14) #6
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
          to label %67 unwind label %86

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  store i32 1, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  store i32 10000, ptr %18, align 4, !tbaa !5
  invoke void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE5rangeERKjS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %16, ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %68 unwind label %101

68:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  %69 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  store ptr %69, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %70 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  store ptr %70, ptr %20, align 8
  %71 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIjjESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  br i1 %71, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %118, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %3) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #6
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  ret i32 0

72:                                               ; preds = %0
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIjjEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  br label %127

74:                                               ; preds = %25, %22
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %126

76:                                               ; preds = %28
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %125

78:                                               ; preds = %31
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br label %124

80:                                               ; preds = %32
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  br label %124

82:                                               ; preds = %33
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  br label %124

84:                                               ; preds = %34
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %124

86:                                               ; preds = %65, %55, %45, %43, %41, %39, %37, %35
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %124

88:                                               ; preds = %47
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %95

90:                                               ; preds = %48
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %94

92:                                               ; preds = %53, %49
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #6
  br label %94

94:                                               ; preds = %92, %90
  %.pn = phi { ptr, i32 } [ %93, %92 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %13) #6
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #6
  br label %95

95:                                               ; preds = %94, %88
  %.pn.pn = phi { ptr, i32 } [ %.pn, %94 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %11) #6
  br label %124

96:                                               ; preds = %57
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %100

98:                                               ; preds = %63, %58
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE8IteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %14) #6
  br label %100

100:                                              ; preds = %98, %96
  %.pn21 = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %14) #6
  br label %124

101:                                              ; preds = %67
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  br label %123

.lr.ph:                                           ; preds = %68, %118
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  %103 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  %104 = load i64, ptr %103, align 4
  store i64 %104, ptr %21, align 8
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EjjEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOS4_(ptr noundef nonnull align 4 dereferenceable(8) %21) #6
  %106 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EjjEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOS4_(ptr noundef nonnull align 4 dereferenceable(8) %21) #6
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
          to label %108 unwind label %121

108:                                              ; preds = %.lr.ph
  %109 = load i32, ptr %105, align 4, !tbaa !5
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %107, i32 noundef %109)
          to label %111 unwind label %121

111:                                              ; preds = %108
  %112 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef nonnull @.str.8)
          to label %113 unwind label %121

113:                                              ; preds = %111
  %114 = load i32, ptr %106, align 4, !tbaa !5
  %115 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %112, i32 noundef %114)
          to label %116 unwind label %121

116:                                              ; preds = %113
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %115, ptr noundef nonnull @.str.9)
          to label %118 unwind label %121

118:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  %120 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIjjESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  br i1 %120, label %.lr.ph, label %._crit_edge

121:                                              ; preds = %116, %113, %111, %108, %.lr.ph
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  br label %123

123:                                              ; preds = %121, %101
  %.pn23 = phi { ptr, i32 } [ %122, %121 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  br label %124

124:                                              ; preds = %123, %100, %95, %86, %84, %82, %80, %78
  %.pn23.pn = phi { ptr, i32 } [ %.pn23, %123 ], [ %87, %86 ], [ %.pn21, %100 ], [ %.pn.pn, %95 ], [ %85, %84 ], [ %83, %82 ], [ %81, %80 ], [ %79, %78 ]
  call void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %3) #6
  br label %125

125:                                              ; preds = %124, %76
  %.pn23.pn.pn = phi { ptr, i32 } [ %.pn23.pn, %124 ], [ %77, %76 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #6
  br label %126

126:                                              ; preds = %125, %74
  %.pn23.pn.pn.pn = phi { ptr, i32 } [ %.pn23.pn.pn, %125 ], [ %75, %74 ]
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  br label %127

127:                                              ; preds = %126, %72
  %.pn23.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn23.pn.pn.pn, %126 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn23.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 @_ZNSaISt4pairIjjEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIjjESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 uwtable
declare hidden void @"_ZSt8generateIN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS3_SaIS3_EEEEZ4mainE3$_0EvT_SA_T0_"(ptr, ptr) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEEC2IN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS8_SaIS8_EEEEEET_SE_hhh(ptr noundef nonnull align 8 dereferenceable(72), ptr, ptr, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE16insert_or_assignERKjS5_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE5eraseERKj(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE13size_in_bytesEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE4findERKj(ptr dead_on_unwind noalias writable sret(%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.pgm::DynamicPGMIndex<unsigned int, unsigned int>::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE5rangeERKjS5_(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

attributes #0 = { 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 #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 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"_ZTSN3pgm15DynamicPGMIndexIjjNS_8PGMIndexIjLm16ELm4EfEEE5ItemAE", !6, i64 0, !6, i64 4}


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