; LLVM IR from conradlee/network-community-benchmark :: comm_algs/GCECommunityFinder/Community_Finder.ll (ZN16Community_Finder3runEv)

; 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 }
%struct.bloomGraph = type { %"class.std::vector", %"class.std::vector.18", %"class.std::vector.18", %"class.std::vector", i64, i64, %"class.std::vector.18" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<Seed *, std::allocator<Seed *>>::_Vector_impl" }
%"struct.std::_Vector_base<Seed *, std::allocator<Seed *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Seed *, std::allocator<Seed *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Seed *, std::allocator<Seed *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Community_Finder = type { ptr, %"class.std::vector.7", %"class.std::vector.12" }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Seed = type { ptr, i8, %"class.std::set", %"class.std::vector", i32, i32, i8, %"class.std::map" }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree.3" }
%"class.std::_Rb_tree.3" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::pair<int, int>>, std::_Select1st<std::pair<const int, std::pair<int, int>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::pair<int, int>>, std::_Select1st<std::pair<const int, std::pair<int, int>>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

@t0 = external dso_local global i64, align 8
@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [88 x i8], align 1
@theGlobalGraph = external global %struct.bloomGraph, align 8
@.str.8 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind
declare i64 @clock() #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z28sizeSortFunctionLargestFirstP4SeedS0_(ptr noundef, ptr noundef) #1

declare noundef i32 @_ZN4Seed16getNumberOfNodesEv(ptr noundef nonnull align 8 dereferenceable(152)) #2

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPP4SeedSt6vectorIS2_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 ptr @_ZNSt6vectorIP4SeedSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 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)) #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16Community_Finder3runEv(ptr noundef nonnull align 8 dereferenceable(56) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.std::vector.12", align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i8, align 1
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %18 = load ptr, ptr %2, align 8
  %19 = load ptr, ptr @stderr, align 8, !tbaa !5
  %20 = call i64 @clock() #7
  %21 = load i64, ptr @t0, align 8, !tbaa !9
  %22 = sub nsw i64 %20, %21
  %23 = sitofp i64 %22 to double
  %24 = fdiv double %23, 1.000000e+06
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str, double noundef %24) #7
  %26 = load ptr, ptr @stderr, align 8, !tbaa !5
  %27 = call i64 @clock() #7
  %28 = load i64, ptr @t0, align 8, !tbaa !9
  %29 = sub nsw i64 %27, %28
  %30 = sitofp i64 %29 to double
  %31 = fdiv double %30, 1.000000e+06
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str, double noundef %31) #7
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.4)
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.5)
  %36 = getelementptr inbounds %class.Community_Finder, ptr %18, i32 0, i32 2
  %37 = call noundef i64 @_ZNKSt6vectorIP4SeedSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %35, i64 noundef %37)
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %40 = getelementptr inbounds %class.Community_Finder, ptr %18, i32 0, i32 2
  %41 = call ptr @_ZNSt6vectorIP4SeedSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #7
  %42 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %3, i32 0, i32 0
  store ptr %41, ptr %42, align 8
  %43 = getelementptr inbounds %class.Community_Finder, ptr %18, i32 0, i32 2
  %44 = call ptr @_ZNSt6vectorIP4SeedSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #7
  %45 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %4, i32 0, i32 0
  store ptr %44, ptr %45, align 8
  %46 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %3, i32 0, i32 0
  %47 = load ptr, ptr %46, align 8
  %48 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %4, i32 0, i32 0
  %49 = load ptr, ptr %48, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS3_SaIS3_EEEEPFbS3_S3_EEvT_SB_T0_(ptr %47, ptr %49, ptr noundef @_Z28sizeSortFunctionLargestFirstP4SeedS0_)
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #7
  call void @_ZNSt6vectorIP4SeedSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 0, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #7
  store i8 0, ptr %10, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %50 = getelementptr inbounds %class.Community_Finder, ptr %18, i32 0, i32 2
  %51 = call ptr @_ZNSt6vectorIP4SeedSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #7
  %52 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  br label %53

53:                                               ; preds = %173, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %54 = getelementptr inbounds %class.Community_Finder, ptr %18, i32 0, i32 2
  %55 = call ptr @_ZNSt6vectorIP4SeedSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  %56 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %55, ptr %56, align 8
  %57 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP4SeedSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br i1 %57, label %59, label %58

58:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %176

59:                                               ; preds = %53
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  invoke void @_ZN4Seed23putIntoNodeToSeedsCacheEv(ptr noundef nonnull align 8 dereferenceable(152) %61)
          to label %62 unwind label %88

62:                                               ; preds = %59
  %63 = load i32, ptr %9, align 4, !tbaa !11
  %64 = srem i32 %63, 1000
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %93

66:                                               ; preds = %62
  %67 = load ptr, ptr @stderr, align 8, !tbaa !5
  %68 = call i64 @clock() #7
  %69 = load i64, ptr @t0, align 8, !tbaa !9
  %70 = sub nsw i64 %68, %69
  %71 = sitofp i64 %70 to double
  %72 = fdiv double %71, 1.000000e+06
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str, double noundef %72) #7
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.2)
          to label %75 unwind label %88

75:                                               ; preds = %66
  %76 = load i32, ptr %9, align 4, !tbaa !11
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %74, i32 noundef %76)
          to label %78 unwind label %88

78:                                               ; preds = %75
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef @.str.6)
          to label %80 unwind label %88

80:                                               ; preds = %78
  %81 = load i8, ptr %10, align 1, !tbaa !13, !range !15, !noundef !16
  %82 = trunc i8 %81 to i1
  br i1 %82, label %83, label %92

83:                                               ; preds = %80
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.7)
          to label %85 unwind label %88

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

87:                                               ; preds = %85
  br label %92

88:                                               ; preds = %85, %83, %78, %75, %66, %59
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %13, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %14, align 4
  br label %175

92:                                               ; preds = %87, %80
  store i8 0, ptr %10, align 1, !tbaa !13
  br label %93

93:                                               ; preds = %92, %62
  %94 = load i32, ptr %9, align 4, !tbaa !11
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  store i8 0, ptr %15, align 1, !tbaa !13
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %97 = load ptr, ptr %96, align 8, !tbaa !5
  %98 = invoke noundef zeroext i1 @_ZN4Seed27overlapsAlreadyAcceptedSeedEv(ptr noundef nonnull align 8 dereferenceable(152) %97)
          to label %99 unwind label %117

99:                                               ; preds = %93
  %100 = zext i1 %98 to i8
  store i8 %100, ptr %15, align 1, !tbaa !13
  %101 = load i8, ptr %15, align 1, !tbaa !13, !range !15, !noundef !16
  %102 = trunc i8 %101 to i1
  br i1 %102, label %159, label %103

103:                                              ; preds = %99
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %105 = load ptr, ptr %104, align 8, !tbaa !5
  invoke void @_ZN4Seed33updateCachedEdgeValuesFromScratchEv(ptr noundef nonnull align 8 dereferenceable(152) %105)
          to label %106 unwind label %117

106:                                              ; preds = %103
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  invoke void @_ZN4Seed25updateFrontierFromScratchEv(ptr noundef nonnull align 8 dereferenceable(152) %108)
          to label %109 unwind label %117

109:                                              ; preds = %106
  br label %110

110:                                              ; preds = %116, %109
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  %113 = invoke noundef float @_ZN4Seed29addBestNodeFromFrontierToSeedEv(ptr noundef nonnull align 8 dereferenceable(152) %112)
          to label %114 unwind label %117

114:                                              ; preds = %110
  %115 = fcmp ogt float %113, 0.000000e+00
  br i1 %115, label %116, label %121

116:                                              ; preds = %114
  br label %110, !llvm.loop !17

117:                                              ; preds = %165, %155, %147, %139, %135, %133, %121, %110, %106, %103, %93
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %13, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %175

121:                                              ; preds = %114
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %123 = load ptr, ptr %122, align 8, !tbaa !5
  %124 = invoke noundef i32 @_ZN4Seed16getNumberOfNodesEv(ptr noundef nonnull align 8 dereferenceable(152) %123)
          to label %125 unwind label %117

125:                                              ; preds = %121
  %126 = sext i32 %124 to i64
  %127 = load i64, ptr getelementptr inbounds (%struct.bloomGraph, ptr @theGlobalGraph, i32 0, i32 4), align 8, !tbaa !19
  %128 = sdiv i64 %127, 4
  %129 = icmp sgt i64 %126, %128
  br i1 %129, label %130, label %139

130:                                              ; preds = %125
  %131 = load i8, ptr %10, align 1, !tbaa !13, !range !15, !noundef !16
  %132 = trunc i8 %131 to i1
  br i1 %132, label %138, label %133

133:                                              ; preds = %130
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.7)
          to label %135 unwind label %117

135:                                              ; preds = %133
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %137 unwind label %117

137:                                              ; preds = %135
  store i8 1, ptr %10, align 1, !tbaa !13
  br label %138

138:                                              ; preds = %137, %130
  br label %139

139:                                              ; preds = %138, %125
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %141 = load ptr, ptr %140, align 8, !tbaa !5
  %142 = invoke noundef zeroext i1 @_ZN4Seed27overlapsAlreadyAcceptedSeedEv(ptr noundef nonnull align 8 dereferenceable(152) %141)
          to label %143 unwind label %117

143:                                              ; preds = %139
  %144 = zext i1 %142 to i8
  store i8 %144, ptr %15, align 1, !tbaa !13
  %145 = load i8, ptr %15, align 1, !tbaa !13, !range !15, !noundef !16
  %146 = trunc i8 %145 to i1
  br i1 %146, label %152, label %147

147:                                              ; preds = %143
  %148 = load i32, ptr %8, align 4, !tbaa !11
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %8, align 4, !tbaa !11
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  invoke void @_ZNSt6vectorIP4SeedSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(8) %150)
          to label %151 unwind label %117

151:                                              ; preds = %147
  br label %155

152:                                              ; preds = %143
  %153 = load i32, ptr %7, align 4, !tbaa !11
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %7, align 4, !tbaa !11
  br label %155

155:                                              ; preds = %152, %151
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %157 = load ptr, ptr %156, align 8, !tbaa !5
  invoke void @_ZN4Seed11clearCachesEv(ptr noundef nonnull align 8 dereferenceable(152) %157)
          to label %158 unwind label %117

158:                                              ; preds = %155
  br label %162

159:                                              ; preds = %99
  %160 = load i32, ptr %6, align 4, !tbaa !11
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %6, align 4, !tbaa !11
  br label %162

162:                                              ; preds = %159, %158
  %163 = load i8, ptr %15, align 1, !tbaa !13, !range !15, !noundef !16
  %164 = trunc i8 %163 to i1
  br i1 %164, label %165, label %172

165:                                              ; preds = %162
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %167 = load ptr, ptr %166, align 8, !tbaa !5
  %168 = getelementptr inbounds %class.Seed, ptr %167, i32 0, i32 1
  store i8 1, ptr %168, align 8, !tbaa !29
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %170 = load ptr, ptr %169, align 8, !tbaa !5
  invoke void @_ZN4Seed25removeFromNodeToSeedsListEv(ptr noundef nonnull align 8 dereferenceable(152) %170)
          to label %171 unwind label %117

171:                                              ; preds = %165
  br label %172

172:                                              ; preds = %171, %162
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %173

173:                                              ; preds = %172
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br label %53, !llvm.loop !42

175:                                              ; preds = %117, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %220

176:                                              ; preds = %58
  %177 = load ptr, ptr @stderr, align 8, !tbaa !5
  %178 = call i64 @clock() #7
  %179 = load i64, ptr @t0, align 8, !tbaa !9
  %180 = sub nsw i64 %178, %179
  %181 = sitofp i64 %180 to double
  %182 = fdiv double %181, 1.000000e+06
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %177, ptr noundef @.str, double noundef %182) #7
  %184 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.8)
          to label %185 unwind label %216

185:                                              ; preds = %176
  %186 = load i32, ptr %6, align 4, !tbaa !11
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %184, i32 noundef %186)
          to label %188 unwind label %216

188:                                              ; preds = %185
  %189 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %187, ptr noundef @.str.6)
          to label %190 unwind label %216

190:                                              ; preds = %188
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.9)
          to label %192 unwind label %216

192:                                              ; preds = %190
  %193 = load i32, ptr %7, align 4, !tbaa !11
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %191, i32 noundef %193)
          to label %195 unwind label %216

195:                                              ; preds = %192
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %194, ptr noundef @.str.6)
          to label %197 unwind label %216

197:                                              ; preds = %195
  %198 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.10)
          to label %199 unwind label %216

199:                                              ; preds = %197
  %200 = load i32, ptr %8, align 4, !tbaa !11
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %198, i32 noundef %200)
          to label %202 unwind label %216

202:                                              ; preds = %199
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %201, ptr noundef @.str.6)
          to label %204 unwind label %216

204:                                              ; preds = %202
  invoke void @_ZN16Community_Finder12sweepTheDeadEv(ptr noundef nonnull align 8 dereferenceable(56) %18)
          to label %205 unwind label %216

205:                                              ; preds = %204
  %206 = getelementptr inbounds %class.Community_Finder, ptr %18, i32 0, i32 2
  %207 = call ptr @_ZNSt6vectorIP4SeedSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %208 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %207, ptr %208, align 8
  %209 = call ptr @_ZNSt6vectorIP4SeedSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %210 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %209, ptr %210, align 8
  %211 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %212 = load ptr, ptr %211, align 8
  %213 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  %214 = load ptr, ptr %213, align 8
  invoke void @_ZNSt6vectorIP4SeedSaIS1_EE6assignIN9__gnu_cxx17__normal_iteratorIPS1_S3_EEvEEvT_S9_(ptr noundef nonnull align 8 dereferenceable(24) %206, ptr %212, ptr %214)
          to label %215 unwind label %216

215:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @_ZNSt6vectorIP4SeedSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  ret void

216:                                              ; preds = %205, %204, %202, %199, %197, %195, %192, %190, %188, %185, %176
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %13, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %14, align 4
  br label %220

220:                                              ; preds = %216, %175
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @_ZNSt6vectorIP4SeedSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  br label %221

221:                                              ; preds = %220
  %222 = load ptr, ptr %13, align 8
  %223 = load i32, ptr %14, align 4
  %224 = insertvalue { ptr, i32 } poison, ptr %222, 0
  %225 = insertvalue { ptr, i32 } %224, i32 %223, 1
  resume { ptr, i32 } %225
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS3_SaIS3_EEEEPFbS3_S3_EEvT_SB_T0_(ptr, ptr, ptr noundef) #6

declare void @_ZN4Seed23putIntoNodeToSeedsCacheEv(ptr noundef nonnull align 8 dereferenceable(152)) #2

declare noundef zeroext i1 @_ZN4Seed27overlapsAlreadyAcceptedSeedEv(ptr noundef nonnull align 8 dereferenceable(152)) #2

declare void @_ZN4Seed33updateCachedEdgeValuesFromScratchEv(ptr noundef nonnull align 8 dereferenceable(152)) #2

declare void @_ZN4Seed25updateFrontierFromScratchEv(ptr noundef nonnull align 8 dereferenceable(152)) #2

declare noundef float @_ZN4Seed29addBestNodeFromFrontierToSeedEv(ptr noundef nonnull align 8 dereferenceable(152)) #2

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

declare void @_ZN4Seed11clearCachesEv(ptr noundef nonnull align 8 dereferenceable(152)) #2

declare void @_ZN4Seed25removeFromNodeToSeedsListEv(ptr noundef nonnull align 8 dereferenceable(152)) #2

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

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

attributes #0 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 = !{!"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 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !10, i64 96}
!20 = !{!"_ZTS10bloomGraphIiE", !21, i64 0, !25, i64 24, !25, i64 48, !21, i64 72, !10, i64 96, !10, i64 104, !25, i64 112}
!21 = !{!"_ZTSSt6vectorIiSaIiEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIjSaIjEE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!30, !14, i64 8}
!30 = !{!"_ZTS4Seed", !14, i64 8, !31, i64 16, !21, i64 64, !12, i64 88, !12, i64 92, !14, i64 96, !39, i64 104}
!31 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !32, i64 0}
!32 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !33, i64 0}
!33 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !34, i64 0, !36, i64 8}
!34 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !35, i64 0}
!35 = !{!"_ZTSSt4lessIiE"}
!36 = !{!"_ZTSSt15_Rb_tree_header", !37, i64 0, !10, i64 32}
!37 = !{!"_ZTSSt18_Rb_tree_node_base", !38, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!38 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!39 = !{!"_ZTSSt3mapIiSt4pairIiiESt4lessIiESaIS0_IKiS1_EEE", !40, i64 0}
!40 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiS0_IiiEESt10_Select1stIS3_ESt4lessIiESaIS3_EE", !41, i64 0}
!41 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiS0_IiiEESt10_Select1stIS3_ESt4lessIiESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !34, i64 0, !36, i64 8}
!42 = distinct !{!42, !18}


; 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 }
%struct.bloomGraph = type { %"class.std::vector", %"class.std::vector.18", %"class.std::vector.18", %"class.std::vector", i64, i64, %"class.std::vector.18" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<Seed *, std::allocator<Seed *>>::_Vector_impl" }
%"struct.std::_Vector_base<Seed *, std::allocator<Seed *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Seed *, std::allocator<Seed *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Seed *, std::allocator<Seed *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@t0 = external dso_local local_unnamed_addr global i64, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [88 x i8], align 1
@theGlobalGraph = external local_unnamed_addr global %struct.bloomGraph, align 8
@.str.8 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind
declare i64 @clock() local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z28sizeSortFunctionLargestFirstP4SeedS0_(ptr noundef, ptr noundef) #1

declare noundef i32 @_ZN4Seed16getNumberOfNodesEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPP4SeedSt6vectorIS2_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 ptr @_ZNSt6vectorIP4SeedSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #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 #1 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)) #7

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16Community_Finder3runEv(ptr noundef nonnull align 8 dereferenceable(56) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::vector.12", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = load ptr, ptr @stderr, align 8, !tbaa !5
  %6 = tail call i64 @clock() #8
  %7 = load i64, ptr @t0, align 8, !tbaa !9
  %8 = sub nsw i64 %6, %7
  %9 = sitofp i64 %8 to double
  %10 = fdiv double %9, 1.000000e+06
  %11 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %5, ptr noundef nonnull @.str, double noundef %10) #9
  %12 = load ptr, ptr @stderr, align 8, !tbaa !5
  %13 = tail call i64 @clock() #8
  %14 = load i64, ptr @t0, align 8, !tbaa !9
  %15 = sub nsw i64 %13, %14
  %16 = sitofp i64 %15 to double
  %17 = fdiv double %16, 1.000000e+06
  %18 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef nonnull @.str, double noundef %17) #9
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.4)
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %21 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.5)
  %22 = getelementptr inbounds i8, ptr %0, i64 32
  %23 = tail call noundef i64 @_ZNKSt6vectorIP4SeedSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %21, i64 noundef %23)
  %25 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %26 = tail call ptr @_ZNSt6vectorIP4SeedSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  %27 = tail call ptr @_ZNSt6vectorIP4SeedSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  tail call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS3_SaIS3_EEEEPFbS3_S3_EEvT_SB_T0_(ptr %26, ptr %27, ptr noundef nonnull @_Z28sizeSortFunctionLargestFirstP4SeedS0_)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #8
  call void @_ZNSt6vectorIP4SeedSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  %28 = call ptr @_ZNSt6vectorIP4SeedSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  store ptr %28, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %29 = call ptr @_ZNSt6vectorIP4SeedSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  store ptr %29, ptr %4, align 8
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP4SeedSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br i1 %30, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %118, %1
  %.030.lcssa = phi i32 [ 0, %1 ], [ %.23240, %118 ]
  %.019.lcssa = phi i32 [ 0, %1 ], [ %.244, %118 ]
  %.0.lcssa = phi i32 [ 0, %1 ], [ %.146, %118 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  %31 = load ptr, ptr @stderr, align 8, !tbaa !5
  %32 = call i64 @clock() #8
  %33 = load i64, ptr @t0, align 8, !tbaa !9
  %34 = sub nsw i64 %32, %33
  %35 = sitofp i64 %34 to double
  %36 = fdiv double %35, 1.000000e+06
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef nonnull @.str, double noundef %36) #9
  %38 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.8)
          to label %123 unwind label %144

.lr.ph:                                           ; preds = %1, %118
  %.061 = phi i32 [ %.146, %118 ], [ 0, %1 ]
  %.01960 = phi i32 [ %.244, %118 ], [ 0, %1 ]
  %.02659 = phi i8 [ %.342, %118 ], [ 0, %1 ]
  %.02958 = phi i32 [ %66, %118 ], [ 0, %1 ]
  %.03057 = phi i32 [ %.23240, %118 ], [ 0, %1 ]
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  %40 = load ptr, ptr %39, align 8, !tbaa !5
  invoke void @_ZN4Seed23putIntoNodeToSeedsCacheEv(ptr noundef nonnull align 8 dereferenceable(152) %40)
          to label %41 unwind label %63

41:                                               ; preds = %.lr.ph
  %42 = urem i32 %.02958, 1000
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %65

44:                                               ; preds = %41
  %45 = load ptr, ptr @stderr, align 8, !tbaa !5
  %46 = call i64 @clock() #8
  %47 = load i64, ptr @t0, align 8, !tbaa !9
  %48 = sub nsw i64 %46, %47
  %49 = sitofp i64 %48 to double
  %50 = fdiv double %49, 1.000000e+06
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str, double noundef %50) #9
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.2)
          to label %53 unwind label %63

53:                                               ; preds = %44
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %52, i32 noundef %.02958)
          to label %55 unwind label %63

55:                                               ; preds = %53
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull @.str.6)
          to label %57 unwind label %63

57:                                               ; preds = %55
  %58 = trunc nuw i8 %.02659 to i1
  br i1 %58, label %59, label %65

59:                                               ; preds = %57
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.7)
          to label %61 unwind label %63

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

63:                                               ; preds = %61, %59, %55, %53, %44, %.lr.ph
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %122

65:                                               ; preds = %57, %61, %41
  %.127 = phi i8 [ %.02659, %41 ], [ 0, %61 ], [ 0, %57 ]
  %66 = add nuw nsw i32 %.02958, 1
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  %68 = load ptr, ptr %67, align 8, !tbaa !5
  %69 = invoke noundef zeroext i1 @_ZN4Seed27overlapsAlreadyAcceptedSeedEv(ptr noundef nonnull align 8 dereferenceable(152) %68)
          to label %70 unwind label %.loopexit.split-lp

70:                                               ; preds = %65
  br i1 %69, label %.thread, label %71

71:                                               ; preds = %70
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  %73 = load ptr, ptr %72, align 8, !tbaa !5
  invoke void @_ZN4Seed33updateCachedEdgeValuesFromScratchEv(ptr noundef nonnull align 8 dereferenceable(152) %73)
          to label %74 unwind label %.loopexit.split-lp

74:                                               ; preds = %71
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  invoke void @_ZN4Seed25updateFrontierFromScratchEv(ptr noundef nonnull align 8 dereferenceable(152) %76)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %74, %80
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  %78 = load ptr, ptr %77, align 8, !tbaa !5
  %79 = invoke noundef float @_ZN4Seed29addBestNodeFromFrontierToSeedEv(ptr noundef nonnull align 8 dereferenceable(152) %78)
          to label %80 unwind label %.loopexit

80:                                               ; preds = %.preheader
  %81 = fcmp ogt float %79, 0.000000e+00
  br i1 %81, label %.preheader, label %82, !llvm.loop !11

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

.loopexit.split-lp:                               ; preds = %65, %71, %74, %82, %93, %95, %97, %102, %107, %112
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %122

82:                                               ; preds = %80
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  %84 = load ptr, ptr %83, align 8, !tbaa !5
  %85 = invoke noundef i32 @_ZN4Seed16getNumberOfNodesEv(ptr noundef nonnull align 8 dereferenceable(152) %84)
          to label %86 unwind label %.loopexit.split-lp

86:                                               ; preds = %82
  %87 = sext i32 %85 to i64
  %88 = load i64, ptr getelementptr inbounds (i8, ptr @theGlobalGraph, i64 96), align 8, !tbaa !13
  %89 = sdiv i64 %88, 4
  %90 = icmp slt i64 %89, %87
  br i1 %90, label %91, label %97

91:                                               ; preds = %86
  %92 = trunc nuw i8 %.127 to i1
  br i1 %92, label %97, label %93

93:                                               ; preds = %91
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.7)
          to label %95 unwind label %.loopexit.split-lp

95:                                               ; preds = %93
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %97 unwind label %.loopexit.split-lp

97:                                               ; preds = %95, %91, %86
  %.228 = phi i8 [ %.127, %91 ], [ %.127, %86 ], [ 1, %95 ]
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  %99 = load ptr, ptr %98, align 8, !tbaa !5
  %100 = invoke noundef zeroext i1 @_ZN4Seed27overlapsAlreadyAcceptedSeedEv(ptr noundef nonnull align 8 dereferenceable(152) %99)
          to label %101 unwind label %.loopexit.split-lp

101:                                              ; preds = %97
  br i1 %100, label %105, label %102

102:                                              ; preds = %101
  %103 = add nsw i32 %.03057, 1
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  invoke void @_ZNSt6vectorIP4SeedSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(8) %104)
          to label %107 unwind label %.loopexit.split-lp

105:                                              ; preds = %101
  %106 = add nsw i32 %.01960, 1
  br label %107

107:                                              ; preds = %102, %105
  %.131 = phi i32 [ %.03057, %105 ], [ %103, %102 ]
  %.120 = phi i32 [ %106, %105 ], [ %.01960, %102 ]
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  invoke void @_ZN4Seed11clearCachesEv(ptr noundef nonnull align 8 dereferenceable(152) %109)
          to label %111 unwind label %.loopexit.split-lp

.thread:                                          ; preds = %70
  %110 = add nsw i32 %.061, 1
  br label %112

111:                                              ; preds = %107
  br i1 %100, label %112, label %118

112:                                              ; preds = %.thread, %111
  %.147 = phi i32 [ %110, %.thread ], [ %.061, %111 ]
  %.245 = phi i32 [ %.01960, %.thread ], [ %.120, %111 ]
  %.343 = phi i8 [ %.127, %.thread ], [ %.228, %111 ]
  %.23241 = phi i32 [ %.03057, %.thread ], [ %.131, %111 ]
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  %114 = load ptr, ptr %113, align 8, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %114, i64 8
  store i8 1, ptr %115, align 8, !tbaa !23
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  %117 = load ptr, ptr %116, align 8, !tbaa !5
  invoke void @_ZN4Seed25removeFromNodeToSeedsListEv(ptr noundef nonnull align 8 dereferenceable(152) %117)
          to label %118 unwind label %.loopexit.split-lp

118:                                              ; preds = %112, %111
  %.146 = phi i32 [ %.147, %112 ], [ %.061, %111 ]
  %.244 = phi i32 [ %.245, %112 ], [ %.120, %111 ]
  %.342 = phi i8 [ %.343, %112 ], [ %.228, %111 ]
  %.23240 = phi i32 [ %.23241, %112 ], [ %.131, %111 ]
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %120 = call ptr @_ZNSt6vectorIP4SeedSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  store ptr %120, ptr %4, align 8
  %121 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP4SeedSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br i1 %121, label %.lr.ph, label %._crit_edge, !llvm.loop !38

122:                                              ; preds = %.loopexit, %.loopexit.split-lp, %63
  %.pn = phi { ptr, i32 } [ %64, %63 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  br label %146

123:                                              ; preds = %._crit_edge
  %124 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %38, i32 noundef %.0.lcssa)
          to label %125 unwind label %144

125:                                              ; preds = %123
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull @.str.6)
          to label %127 unwind label %144

127:                                              ; preds = %125
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.9)
          to label %129 unwind label %144

129:                                              ; preds = %127
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %128, i32 noundef %.019.lcssa)
          to label %131 unwind label %144

131:                                              ; preds = %129
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull @.str.6)
          to label %133 unwind label %144

133:                                              ; preds = %131
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.10)
          to label %135 unwind label %144

135:                                              ; preds = %133
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %134, i32 noundef %.030.lcssa)
          to label %137 unwind label %144

137:                                              ; preds = %135
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef nonnull @.str.6)
          to label %139 unwind label %144

139:                                              ; preds = %137
  invoke void @_ZN16Community_Finder12sweepTheDeadEv(ptr noundef nonnull align 8 dereferenceable(56) %0)
          to label %140 unwind label %144

140:                                              ; preds = %139
  %141 = call ptr @_ZNSt6vectorIP4SeedSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  %142 = call ptr @_ZNSt6vectorIP4SeedSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  invoke void @_ZNSt6vectorIP4SeedSaIS1_EE6assignIN9__gnu_cxx17__normal_iteratorIPS1_S3_EEvEEvT_S9_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr %141, ptr %142)
          to label %143 unwind label %144

143:                                              ; preds = %140
  call void @_ZNSt6vectorIP4SeedSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  ret void

144:                                              ; preds = %140, %139, %137, %135, %133, %131, %129, %127, %125, %123, %._crit_edge
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %146

146:                                              ; preds = %144, %122
  %.pn.pn = phi { ptr, i32 } [ %.pn, %122 ], [ %145, %144 ]
  call void @_ZNSt6vectorIP4SeedSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  resume { ptr, i32 } %.pn.pn
}

; 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 #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPP4SeedSt6vectorIS3_SaIS3_EEEEPFbS3_S3_EEvT_SB_T0_(ptr, ptr, ptr noundef) local_unnamed_addr #7

declare void @_ZN4Seed23putIntoNodeToSeedsCacheEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN4Seed27overlapsAlreadyAcceptedSeedEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2

declare void @_ZN4Seed33updateCachedEdgeValuesFromScratchEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2

declare void @_ZN4Seed25updateFrontierFromScratchEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2

declare noundef float @_ZN4Seed29addBestNodeFromFrontierToSeedEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2

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

declare void @_ZN4Seed11clearCachesEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2

declare void @_ZN4Seed25removeFromNodeToSeedsListEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2

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

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

attributes #0 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { cold 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 96}
!14 = !{!"_ZTS10bloomGraphIiE", !15, i64 0, !19, i64 24, !19, i64 48, !15, i64 72, !10, i64 96, !10, i64 104, !19, i64 112}
!15 = !{!"_ZTSSt6vectorIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIjSaIjEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!24, !25, i64 8}
!24 = !{!"_ZTS4Seed", !25, i64 8, !26, i64 16, !15, i64 64, !34, i64 88, !34, i64 92, !25, i64 96, !35, i64 104}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !27, i64 0}
!27 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !28, i64 0}
!28 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !29, i64 0, !31, i64 8}
!29 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !30, i64 0}
!30 = !{!"_ZTSSt4lessIiE"}
!31 = !{!"_ZTSSt15_Rb_tree_header", !32, i64 0, !10, i64 32}
!32 = !{!"_ZTSSt18_Rb_tree_node_base", !33, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!33 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!34 = !{!"int", !7, i64 0}
!35 = !{!"_ZTSSt3mapIiSt4pairIiiESt4lessIiESaIS0_IKiS1_EEE", !36, i64 0}
!36 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiS0_IiiEESt10_Select1stIS3_ESt4lessIiESaIS3_EE", !37, i64 0}
!37 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiS0_IiiEESt10_Select1stIS3_ESt4lessIiESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !29, i64 0, !31, i64 8}
!38 = distinct !{!38, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass