; LLVM IR from doyubkim/fluid-engine-dev :: src/jet (point_parallel_hash_grid_searcher2)

; 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::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { ptr, ptr, ptr }
%class.anon.5 = type { ptr }
%class.anon.6 = type { ptr, ptr, ptr }
%class.anon.7 = type { ptr }
%"class.jet::Logger" = type { i8, %"class.std::__cxx11::basic_stringstream" }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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.jet::PointParallelHashGridSearcher2" = type { %"class.jet::PointNeighborSearcher2", double, %"class.jet::Point", %"class.std::vector", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0" }
%"class.jet::PointNeighborSearcher2" = type { %"class.jet::Serializable" }
%"class.jet::Serializable" = type { ptr }
%"class.jet::Point" = type { i64, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZN3jetL8kMaxSizeE = external hidden constant i64, align 8
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@__func__._ZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEE = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [34 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.std::vector.0", align 8
  %7 = alloca %"class.std::allocator.2", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", 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 %class.anon, align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %class.anon.5, align 8
  %19 = alloca %class.anon.6, align 8
  %20 = alloca %class.anon.7, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca %"class.jet::Logger", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca i32, align 4
  %29 = alloca float, align 4
  %30 = alloca %"class.jet::Logger", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %33 = load ptr, ptr %3, align 8
  %34 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 3
  call void @_ZNSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  %35 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 4
  call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #6
  %36 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 5
  call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  %37 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 6
  call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  %38 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 7
  call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = call noundef i64 @_ZNK3jet18ConstArrayAccessorINS_6VectorIdLm2EEELm1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %39)
  store i64 %40, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  %41 = load i64, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  invoke void @_ZNSt6vectorImSaImEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %41, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %42 unwind label %87

42:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  %43 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 5
  %44 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 2
  %45 = getelementptr inbounds %"class.jet::Point", ptr %44, i32 0, i32 0
  %46 = load i64, ptr %45, align 8, !tbaa !11
  %47 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 2
  %48 = getelementptr inbounds %"class.jet::Point", ptr %47, i32 0, i32 1
  %49 = load i64, ptr %48, align 8, !tbaa !25
  %50 = mul nsw i64 %46, %49
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %50)
          to label %51 unwind label %91

51:                                               ; preds = %42
  %52 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 6
  %53 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 2
  %54 = getelementptr inbounds %"class.jet::Point", ptr %53, i32 0, i32 0
  %55 = load i64, ptr %54, align 8, !tbaa !11
  %56 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 2
  %57 = getelementptr inbounds %"class.jet::Point", ptr %56, i32 0, i32 1
  %58 = load i64, ptr %57, align 8, !tbaa !25
  %59 = mul nsw i64 %55, %58
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %59)
          to label %60 unwind label %91

60:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %61 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 5
  %62 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #6
  %63 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %62, ptr %63, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %64 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 5
  %65 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #6
  %66 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %65, ptr %66, align 8
  invoke void @_ZN3jet12parallelFillIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEmEEvRKT_SA_RKT0_NS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) @_ZN3jetL8kMaxSizeE, i32 noundef 1)
          to label %67 unwind label %95

67:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %68 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 6
  %69 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #6
  %70 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %69, ptr %70, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %71 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 6
  %72 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #6
  %73 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %72, ptr %73, align 8
  invoke void @_ZN3jet12parallelFillIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEmEEvRKT_SA_RKT0_NS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) @_ZN3jetL8kMaxSizeE, i32 noundef 1)
          to label %74 unwind label %99

74:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  %75 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 4
  %76 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %76)
          to label %77 unwind label %91

77:                                               ; preds = %74
  %78 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 7
  %79 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %79)
          to label %80 unwind label %91

80:                                               ; preds = %77
  %81 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 3
  %82 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZNSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %82)
          to label %83 unwind label %91

83:                                               ; preds = %80
  %84 = load i64, ptr %5, align 8, !tbaa !9
  %85 = icmp eq i64 %84, 0
  br i1 %85, label %86, label %103

86:                                               ; preds = %83
  store i32 1, ptr %14, align 4
  br label %246

87:                                               ; preds = %2
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %8, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %9, align 4
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  br label %294

91:                                               ; preds = %109, %80, %77, %74, %51, %42
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %8, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %9, align 4
  br label %293

95:                                               ; preds = %60
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %8, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %293

99:                                               ; preds = %67
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %8, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %293

103:                                              ; preds = %83
  %104 = load i64, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  %105 = getelementptr inbounds %class.anon, ptr %15, i32 0, i32 0
  store ptr %33, ptr %105, align 8, !tbaa !26
  %106 = getelementptr inbounds %class.anon, ptr %15, i32 0, i32 1
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %107, ptr %106, align 8, !tbaa !5
  %108 = getelementptr inbounds %class.anon, ptr %15, i32 0, i32 2
  store ptr %6, ptr %108, align 8, !tbaa !5
  invoke void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_0EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef 0, i64 noundef %104, ptr noundef nonnull align 8 dereferenceable(24) %15, i32 noundef 1)
          to label %109 unwind label %152

109:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  %110 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 7
  %111 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %110) #6
  %112 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %111, ptr %112, align 8
  %113 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 7
  %114 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %113) #6
  %115 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %114, ptr %115, align 8
  %116 = getelementptr inbounds %class.anon.5, ptr %18, i32 0, i32 0
  store ptr %6, ptr %116, align 8, !tbaa !5
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8
  %121 = getelementptr inbounds %class.anon.5, ptr %18, i32 0, i32 0
  %122 = load ptr, ptr %121, align 8
  invoke void @"_ZN3jet12parallelSortIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_1EEvT_SG_T0_NS_15ExecutionPolicyE"(ptr %118, ptr %120, ptr %122, i32 noundef 1)
          to label %123 unwind label %91

123:                                              ; preds = %109
  %124 = load i64, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #6
  %125 = getelementptr inbounds %class.anon.6, ptr %19, i32 0, i32 0
  store ptr %33, ptr %125, align 8, !tbaa !28
  %126 = getelementptr inbounds %class.anon.6, ptr %19, i32 0, i32 1
  %127 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %127, ptr %126, align 8, !tbaa !5
  %128 = getelementptr inbounds %class.anon.6, ptr %19, i32 0, i32 2
  store ptr %6, ptr %128, align 8, !tbaa !5
  invoke void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_2EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef 0, i64 noundef %124, ptr noundef nonnull align 8 dereferenceable(24) %19, i32 noundef 1)
          to label %129 unwind label %156

129:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  %130 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 5
  %131 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 4
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %131, i64 noundef 0) #6
  %133 = load i64, ptr %132, align 8, !tbaa !9
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef %133) #6
  store i64 0, ptr %134, align 8, !tbaa !9
  %135 = load i64, ptr %5, align 8, !tbaa !9
  %136 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 6
  %137 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 4
  %138 = load i64, ptr %5, align 8, !tbaa !9
  %139 = sub i64 %138, 1
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %137, i64 noundef %139) #6
  %141 = load i64, ptr %140, align 8, !tbaa !9
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %136, i64 noundef %141) #6
  store i64 %135, ptr %142, align 8, !tbaa !9
  %143 = load i64, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %144 = getelementptr inbounds %class.anon.7, ptr %20, i32 0, i32 0
  store ptr %33, ptr %144, align 8, !tbaa !30
  invoke void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_3EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef 1, i64 noundef %143, ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 1)
          to label %145 unwind label %160

145:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  store i64 0, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  store i64 0, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  store i64 0, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  store i64 0, ptr %24, align 8, !tbaa !9
  br label %146

146:                                              ; preds = %193, %145
  %147 = load i64, ptr %24, align 8, !tbaa !9
  %148 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 5
  %149 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %148) #6
  %150 = icmp ult i64 %147, %149
  br i1 %150, label %164, label %151

151:                                              ; preds = %146
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %196

152:                                              ; preds = %103
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %8, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  br label %293

156:                                              ; preds = %123
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %8, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  br label %293

160:                                              ; preds = %129
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %8, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %293

164:                                              ; preds = %146
  %165 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 5
  %166 = load i64, ptr %24, align 8, !tbaa !9
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef %166) #6
  %168 = load i64, ptr %167, align 8, !tbaa !9
  %169 = icmp ne i64 %168, -1
  br i1 %169, label %170, label %192

170:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %171 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 6
  %172 = load i64, ptr %24, align 8, !tbaa !9
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %171, i64 noundef %172) #6
  %174 = load i64, ptr %173, align 8, !tbaa !9
  %175 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %33, i32 0, i32 5
  %176 = load i64, ptr %24, align 8, !tbaa !9
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef %176) #6
  %178 = load i64, ptr %177, align 8, !tbaa !9
  %179 = sub i64 %174, %178
  store i64 %179, ptr %25, align 8, !tbaa !9
  %180 = load i64, ptr %25, align 8, !tbaa !9
  %181 = load i64, ptr %21, align 8, !tbaa !9
  %182 = add i64 %181, %180
  store i64 %182, ptr %21, align 8, !tbaa !9
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %184 unwind label %188

184:                                              ; preds = %170
  %185 = load i64, ptr %183, align 8, !tbaa !9
  store i64 %185, ptr %22, align 8, !tbaa !9
  %186 = load i64, ptr %23, align 8, !tbaa !9
  %187 = add i64 %186, 1
  store i64 %187, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %192

188:                                              ; preds = %170
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %8, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %292

192:                                              ; preds = %184, %164
  br label %193

193:                                              ; preds = %192
  %194 = load i64, ptr %24, align 8, !tbaa !9
  %195 = add i64 %194, 1
  store i64 %195, ptr %24, align 8, !tbaa !9
  br label %146, !llvm.loop !32

196:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 400, ptr %26) #6
  invoke void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400) %26, i8 noundef zeroext 2)
          to label %197 unwind label %249

197:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #6
  invoke void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %27, i8 noundef zeroext 2)
          to label %198 unwind label %253

198:                                              ; preds = %197
  %199 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %26, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %200 unwind label %257

200:                                              ; preds = %198
  %201 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %199, ptr noundef nonnull align 1 dereferenceable(2) @.str.1)
          to label %202 unwind label %257

202:                                              ; preds = %200
  %203 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA106_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %201, ptr noundef nonnull align 1 dereferenceable(106) @.str.2)
          to label %204 unwind label %257

204:                                              ; preds = %202
  %205 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %203, ptr noundef nonnull align 1 dereferenceable(2) @.str.3)
          to label %206 unwind label %257

206:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  store i32 137, ptr %28, align 4, !tbaa !34
  %207 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %205, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %208 unwind label %261

208:                                              ; preds = %206
  %209 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %207, ptr noundef nonnull align 1 dereferenceable(3) @.str.4)
          to label %210 unwind label %261

210:                                              ; preds = %208
  %211 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA6_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %209, ptr noundef nonnull align 1 dereferenceable(6) @__func__._ZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEE)
          to label %212 unwind label %261

212:                                              ; preds = %210
  %213 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %211, ptr noundef nonnull align 1 dereferenceable(4) @.str.5)
          to label %214 unwind label %261

214:                                              ; preds = %212
  %215 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA48_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %213, ptr noundef nonnull align 1 dereferenceable(48) @.str.6)
          to label %216 unwind label %261

216:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %217 = load i64, ptr %21, align 8, !tbaa !9
  %218 = uitofp i64 %217 to float
  %219 = load i64, ptr %23, align 8, !tbaa !9
  %220 = uitofp i64 %219 to float
  %221 = fdiv float %218, %220
  store float %221, ptr %29, align 4, !tbaa !36
  %222 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIfEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %215, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %223 unwind label %265

223:                                              ; preds = %216
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %26) #6
  call void @llvm.lifetime.end.p0(i64 400, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 400, ptr %30) #6
  invoke void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400) %30, i8 noundef zeroext 2)
          to label %224 unwind label %273

224:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #6
  invoke void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %31, i8 noundef zeroext 2)
          to label %225 unwind label %277

225:                                              ; preds = %224
  %226 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %30, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %227 unwind label %281

227:                                              ; preds = %225
  %228 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %226, ptr noundef nonnull align 1 dereferenceable(2) @.str.1)
          to label %229 unwind label %281

229:                                              ; preds = %227
  %230 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA106_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %228, ptr noundef nonnull align 1 dereferenceable(106) @.str.2)
          to label %231 unwind label %281

231:                                              ; preds = %229
  %232 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %230, ptr noundef nonnull align 1 dereferenceable(2) @.str.3)
          to label %233 unwind label %281

233:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  store i32 140, ptr %32, align 4, !tbaa !34
  %234 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %232, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %235 unwind label %285

235:                                              ; preds = %233
  %236 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %234, ptr noundef nonnull align 1 dereferenceable(3) @.str.4)
          to label %237 unwind label %285

237:                                              ; preds = %235
  %238 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA6_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %236, ptr noundef nonnull align 1 dereferenceable(6) @__func__._ZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEE)
          to label %239 unwind label %285

239:                                              ; preds = %237
  %240 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %238, ptr noundef nonnull align 1 dereferenceable(4) @.str.5)
          to label %241 unwind label %285

241:                                              ; preds = %239
  %242 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA34_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %240, ptr noundef nonnull align 1 dereferenceable(34) @.str.7)
          to label %243 unwind label %285

243:                                              ; preds = %241
  %244 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsImEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %242, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %245 unwind label %285

245:                                              ; preds = %243
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #6
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %30) #6
  call void @llvm.lifetime.end.p0(i64 400, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  store i32 0, ptr %14, align 4
  br label %246

246:                                              ; preds = %245, %86
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  %247 = load i32, ptr %14, align 4
  switch i32 %247, label %300 [
    i32 0, label %248
    i32 1, label %248
  ]

248:                                              ; preds = %246, %246
  ret void

249:                                              ; preds = %196
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %8, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %9, align 4
  br label %272

253:                                              ; preds = %197
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %8, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %9, align 4
  br label %271

257:                                              ; preds = %204, %202, %200, %198
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %8, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %9, align 4
  br label %270

261:                                              ; preds = %214, %212, %210, %208, %206
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %8, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %9, align 4
  br label %269

265:                                              ; preds = %216
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %8, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %269

269:                                              ; preds = %265, %261
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %270

270:                                              ; preds = %269, %257
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  br label %271

271:                                              ; preds = %270, %253
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %26) #6
  br label %272

272:                                              ; preds = %271, %249
  call void @llvm.lifetime.end.p0(i64 400, ptr %26) #6
  br label %292

273:                                              ; preds = %223
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %8, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %9, align 4
  br label %291

277:                                              ; preds = %224
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %8, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %9, align 4
  br label %290

281:                                              ; preds = %231, %229, %227, %225
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %8, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %9, align 4
  br label %289

285:                                              ; preds = %243, %241, %239, %237, %235, %233
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %8, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %289

289:                                              ; preds = %285, %281
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  br label %290

290:                                              ; preds = %289, %277
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #6
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %30) #6
  br label %291

291:                                              ; preds = %290, %273
  call void @llvm.lifetime.end.p0(i64 400, ptr %30) #6
  br label %292

292:                                              ; preds = %291, %272, %188
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %293

293:                                              ; preds = %292, %160, %156, %152, %99, %95, %91
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %294

294:                                              ; preds = %293, %87
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %295

295:                                              ; preds = %294
  %296 = load ptr, ptr %8, align 8
  %297 = load i32, ptr %9, align 4
  %298 = insertvalue { ptr, i32 } poison, ptr %296, 0
  %299 = insertvalue { ptr, i32 } %298, i32 %297, 1
  resume { ptr, i32 } %299

300:                                              ; preds = %246
  unreachable
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_0EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet12parallelSortIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_1EEvT_SG_T0_NS_15ExecutionPolicyE"(ptr, ptr, ptr, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_2EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_3EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2

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

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

declare void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400), i8 noundef zeroext) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

declare void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i8 noundef zeroext) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA106_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(106)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA6_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(6)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA48_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(48)) #2 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400)) unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA34_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(34)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsImEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { 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 #4 = { "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 = { 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 #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 = !{!"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, !10, i64 16}
!12 = !{!"_ZTSN3jet30PointParallelHashGridSearcher2E", !13, i64 0, !15, i64 8, !16, i64 16, !17, i64 32, !21, i64 56, !21, i64 80, !21, i64 104, !21, i64 128}
!13 = !{!"_ZTSN3jet22PointNeighborSearcher2E", !14, i64 0}
!14 = !{!"_ZTSN3jet12SerializableE"}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTSN3jet5PointIlLm2EEE", !10, i64 0, !10, i64 8}
!17 = !{!"_ZTSSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt6vectorImSaImEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseImSaImEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!12, !10, i64 24}
!26 = !{!27, !6, i64 0}
!27 = !{!"_ZTSZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_0", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!29, !6, i64 0}
!29 = !{!"_ZTSZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_2", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!31, !6, i64 0}
!31 = !{!"_ZTSZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_3", !6, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!35, !35, i64 0}
!35 = !{!"int", !7, i64 0}
!36 = !{!37, !37, i64 0}
!37 = !{!"float", !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::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { ptr, ptr, ptr }
%class.anon.6 = type { ptr, ptr, ptr }
%class.anon.7 = type { ptr }
%"class.jet::Logger" = type { i8, %"class.std::__cxx11::basic_stringstream" }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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 }

@_ZN3jetL8kMaxSizeE = external hidden constant i64, align 8
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@__func__._ZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEE = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [34 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector.0", align 8
  %4 = alloca %"class.std::allocator.2", align 1
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %class.anon, align 8
  %10 = alloca %class.anon.6, align 8
  %11 = alloca %class.anon.7, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca %"class.jet::Logger", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca i32, align 4
  %17 = alloca float, align 4
  %18 = alloca %"class.jet::Logger", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca i32, align 4
  %21 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZNSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  %22 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  %23 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  %24 = getelementptr inbounds i8, ptr %0, i64 104
  tail call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  %25 = getelementptr inbounds i8, ptr %0, i64 128
  tail call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  %26 = tail call noundef i64 @_ZNK3jet18ConstArrayAccessorINS_6VectorIdLm2EEELm1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZNSt6vectorImSaImEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %26, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %27 unwind label %48

27:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  %28 = getelementptr inbounds i8, ptr %0, i64 16
  %29 = load i64, ptr %28, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %0, i64 24
  %31 = load i64, ptr %30, align 8, !tbaa !23
  %32 = mul nsw i64 %31, %29
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %32)
          to label %33 unwind label %50

33:                                               ; preds = %27
  %34 = load i64, ptr %28, align 8, !tbaa !5
  %35 = load i64, ptr %30, align 8, !tbaa !23
  %36 = mul nsw i64 %35, %34
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %36)
          to label %37 unwind label %50

37:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %38 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  store ptr %38, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %39 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  store ptr %39, ptr %6, align 8
  invoke void @_ZN3jet12parallelFillIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEmEEvRKT_SA_RKT0_NS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) @_ZN3jetL8kMaxSizeE, i32 noundef 1)
          to label %40 unwind label %52

40:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %41 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  store ptr %41, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %42 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  store ptr %42, ptr %8, align 8
  invoke void @_ZN3jet12parallelFillIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEmEEvRKT_SA_RKT0_NS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) @_ZN3jetL8kMaxSizeE, i32 noundef 1)
          to label %43 unwind label %54

43:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %26)
          to label %44 unwind label %50

44:                                               ; preds = %43
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %26)
          to label %45 unwind label %50

45:                                               ; preds = %44
  invoke void @_ZNSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %26)
          to label %46 unwind label %50

46:                                               ; preds = %45
  %47 = icmp eq i64 %26, 0
  br i1 %47, label %144, label %56

48:                                               ; preds = %2
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  br label %172

50:                                               ; preds = %59, %45, %44, %43, %33, %27
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %171

52:                                               ; preds = %37
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %171

54:                                               ; preds = %40
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %171

56:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  store ptr %0, ptr %9, align 8, !tbaa !24
  %57 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %1, ptr %57, align 8, !tbaa !26
  %58 = getelementptr inbounds i8, ptr %9, i64 16
  store ptr %3, ptr %58, align 8, !tbaa !26
  invoke void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_0EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef 0, i64 noundef %26, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 1)
          to label %59 unwind label %75

59:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  %60 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  %61 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  invoke void @"_ZN3jet12parallelSortIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_1EEvT_SG_T0_NS_15ExecutionPolicyE"(ptr %60, ptr %61, ptr nonnull %3, i32 noundef 1)
          to label %62 unwind label %50

62:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  store ptr %0, ptr %10, align 8, !tbaa !27
  %63 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %1, ptr %63, align 8, !tbaa !26
  %64 = getelementptr inbounds i8, ptr %10, i64 16
  store ptr %3, ptr %64, align 8, !tbaa !26
  invoke void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_2EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef 0, i64 noundef %26, ptr noundef nonnull align 8 dereferenceable(24) %10, i32 noundef 1)
          to label %65 unwind label %77

65:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #6
  %67 = load i64, ptr %66, align 8, !tbaa !29
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %67) #6
  store i64 0, ptr %68, align 8, !tbaa !29
  %69 = add i64 %26, -1
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %69) #6
  %71 = load i64, ptr %70, align 8, !tbaa !29
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %71) #6
  store i64 %26, ptr %72, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  store ptr %0, ptr %11, align 8, !tbaa !30
  invoke void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_3EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef 1, i64 noundef %26, ptr noundef nonnull align 8 dereferenceable(8) %11, i32 noundef 1)
          to label %73 unwind label %79

73:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  store i64 0, ptr %12, align 8, !tbaa !29
  %74 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  %.not57 = icmp eq i64 %74, 0
  br i1 %.not57, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %93, %73
  %.027.lcssa = phi i64 [ 0, %73 ], [ %.128, %93 ]
  %.026.lcssa = phi i64 [ 0, %73 ], [ %.1, %93 ]
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %14) #6
  invoke void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400) %14, i8 noundef zeroext 2)
          to label %97 unwind label %145

75:                                               ; preds = %56
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br label %171

77:                                               ; preds = %62
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  br label %171

79:                                               ; preds = %65
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %171

.lr.ph:                                           ; preds = %73, %93
  %.055 = phi i64 [ %94, %93 ], [ 0, %73 ]
  %.02654 = phi i64 [ %.1, %93 ], [ 0, %73 ]
  %.02753 = phi i64 [ %.128, %93 ], [ 0, %73 ]
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %.055) #6
  %82 = load i64, ptr %81, align 8, !tbaa !29
  %.not = icmp eq i64 %82, -1
  br i1 %.not, label %93, label %83

83:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %.055) #6
  %85 = load i64, ptr %84, align 8, !tbaa !29
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %.055) #6
  %87 = load i64, ptr %86, align 8, !tbaa !29
  %88 = sub i64 %85, %87
  store i64 %88, ptr %13, align 8, !tbaa !29
  %89 = add i64 %88, %.02753
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %91 = load i64, ptr %90, align 8, !tbaa !29
  store i64 %91, ptr %12, align 8, !tbaa !29
  %92 = add i64 %.02654, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %93

93:                                               ; preds = %.lr.ph, %83
  %.128 = phi i64 [ %89, %83 ], [ %.02753, %.lr.ph ]
  %.1 = phi i64 [ %92, %83 ], [ %.02654, %.lr.ph ]
  %94 = add nuw i64 %.055, 1
  %95 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  %96 = icmp ult i64 %94, %95
  br i1 %96, label %.lr.ph, label %._crit_edge, !llvm.loop !32

97:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #6
  invoke void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, i8 noundef zeroext 2)
          to label %98 unwind label %147

98:                                               ; preds = %97
  %99 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %14, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %100 unwind label %149

100:                                              ; preds = %98
  %101 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %99, ptr noundef nonnull align 1 dereferenceable(2) @.str.1)
          to label %102 unwind label %149

102:                                              ; preds = %100
  %103 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA106_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %101, ptr noundef nonnull align 1 dereferenceable(106) @.str.2)
          to label %104 unwind label %149

104:                                              ; preds = %102
  %105 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %103, ptr noundef nonnull align 1 dereferenceable(2) @.str.3)
          to label %106 unwind label %149

106:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  store i32 137, ptr %16, align 4, !tbaa !34
  %107 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %105, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %108 unwind label %151

108:                                              ; preds = %106
  %109 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %107, ptr noundef nonnull align 1 dereferenceable(3) @.str.4)
          to label %110 unwind label %151

110:                                              ; preds = %108
  %111 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA6_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %109, ptr noundef nonnull align 1 dereferenceable(6) @__func__._ZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEE)
          to label %112 unwind label %151

112:                                              ; preds = %110
  %113 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %111, ptr noundef nonnull align 1 dereferenceable(4) @.str.5)
          to label %114 unwind label %151

114:                                              ; preds = %112
  %115 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA48_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %113, ptr noundef nonnull align 1 dereferenceable(48) @.str.6)
          to label %116 unwind label %151

116:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  %117 = uitofp i64 %.027.lcssa to float
  %118 = uitofp i64 %.026.lcssa to float
  %119 = fdiv float %117, %118
  store float %119, ptr %17, align 4, !tbaa !36
  %120 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIfEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %115, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %121 unwind label %153

121:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %14) #6
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %18) #6
  invoke void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400) %18, i8 noundef zeroext 2)
          to label %122 unwind label %159

122:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #6
  invoke void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %19, i8 noundef zeroext 2)
          to label %123 unwind label %161

123:                                              ; preds = %122
  %124 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %18, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %125 unwind label %163

125:                                              ; preds = %123
  %126 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %124, ptr noundef nonnull align 1 dereferenceable(2) @.str.1)
          to label %127 unwind label %163

127:                                              ; preds = %125
  %128 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA106_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %126, ptr noundef nonnull align 1 dereferenceable(106) @.str.2)
          to label %129 unwind label %163

129:                                              ; preds = %127
  %130 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %128, ptr noundef nonnull align 1 dereferenceable(2) @.str.3)
          to label %131 unwind label %163

131:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #6
  store i32 140, ptr %20, align 4, !tbaa !34
  %132 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %130, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %133 unwind label %165

133:                                              ; preds = %131
  %134 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %132, ptr noundef nonnull align 1 dereferenceable(3) @.str.4)
          to label %135 unwind label %165

135:                                              ; preds = %133
  %136 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA6_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %134, ptr noundef nonnull align 1 dereferenceable(6) @__func__._ZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEE)
          to label %137 unwind label %165

137:                                              ; preds = %135
  %138 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %136, ptr noundef nonnull align 1 dereferenceable(4) @.str.5)
          to label %139 unwind label %165

139:                                              ; preds = %137
  %140 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA34_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %138, ptr noundef nonnull align 1 dereferenceable(34) @.str.7)
          to label %141 unwind label %165

141:                                              ; preds = %139
  %142 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsImEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %140, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %143 unwind label %165

143:                                              ; preds = %141
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #6
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %18) #6
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %144

144:                                              ; preds = %46, %143
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  ret void

145:                                              ; preds = %._crit_edge
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %158

147:                                              ; preds = %97
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %157

149:                                              ; preds = %104, %102, %100, %98
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %156

151:                                              ; preds = %114, %112, %110, %108, %106
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %155

153:                                              ; preds = %116
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  br label %155

155:                                              ; preds = %153, %151
  %.pn = phi { ptr, i32 } [ %154, %153 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  br label %156

156:                                              ; preds = %155, %149
  %.pn.pn = phi { ptr, i32 } [ %.pn, %155 ], [ %150, %149 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %157

157:                                              ; preds = %156, %147
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %156 ], [ %148, %147 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %14) #6
  br label %158

158:                                              ; preds = %157, %145
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %157 ], [ %146, %145 ]
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %14) #6
  br label %170

159:                                              ; preds = %121
  %160 = landingpad { ptr, i32 }
          cleanup
  br label %169

161:                                              ; preds = %122
  %162 = landingpad { ptr, i32 }
          cleanup
  br label %168

163:                                              ; preds = %129, %127, %125, %123
  %164 = landingpad { ptr, i32 }
          cleanup
  br label %167

165:                                              ; preds = %141, %139, %137, %135, %133, %131
  %166 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  br label %167

167:                                              ; preds = %165, %163
  %.pn46 = phi { ptr, i32 } [ %166, %165 ], [ %164, %163 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %168

168:                                              ; preds = %167, %161
  %.pn46.pn = phi { ptr, i32 } [ %.pn46, %167 ], [ %162, %161 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #6
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %18) #6
  br label %169

169:                                              ; preds = %168, %159
  %.pn46.pn.pn = phi { ptr, i32 } [ %.pn46.pn, %168 ], [ %160, %159 ]
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %18) #6
  br label %170

170:                                              ; preds = %169, %158
  %.pn46.pn.pn.pn = phi { ptr, i32 } [ %.pn46.pn.pn, %169 ], [ %.pn.pn.pn.pn, %158 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %171

171:                                              ; preds = %170, %79, %77, %75, %54, %52, %50
  %.pn46.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn46.pn.pn.pn, %170 ], [ %80, %79 ], [ %78, %77 ], [ %51, %50 ], [ %76, %75 ], [ %55, %54 ], [ %53, %52 ]
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  br label %172

172:                                              ; preds = %171, %48
  %.pn46.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn46.pn.pn.pn.pn, %171 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn46.pn.pn.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_0EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet12parallelSortIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_1EEvT_SG_T0_NS_15ExecutionPolicyE"(ptr, ptr, ptr, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_2EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_3EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2

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

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

declare void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400), i8 noundef zeroext) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

declare void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i8 noundef zeroext) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA106_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(106)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA6_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(6)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA48_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(48)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400)) unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA34_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(34)) local_unnamed_addr #2 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { 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 #4 = { "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 = { 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 #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, !13, i64 16}
!6 = !{!"_ZTSN3jet30PointParallelHashGridSearcher2E", !7, i64 0, !9, i64 8, !12, i64 16, !14, i64 32, !19, i64 56, !19, i64 80, !19, i64 104, !19, i64 128}
!7 = !{!"_ZTSN3jet22PointNeighborSearcher2E", !8, i64 0}
!8 = !{!"_ZTSN3jet12SerializableE"}
!9 = !{!"double", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN3jet5PointIlLm2EEE", !13, i64 0, !13, i64 8}
!13 = !{!"long", !10, i64 0}
!14 = !{!"_ZTSSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !10, i64 0}
!19 = !{!"_ZTSSt6vectorImSaImEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseImSaImEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!23 = !{!6, !13, i64 24}
!24 = !{!25, !18, i64 0}
!25 = !{!"_ZTSZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_0", !18, i64 0, !18, i64 8, !18, i64 16}
!26 = !{!18, !18, i64 0}
!27 = !{!28, !18, i64 0}
!28 = !{!"_ZTSZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_2", !18, i64 0, !18, i64 8, !18, i64 16}
!29 = !{!13, !13, i64 0}
!30 = !{!31, !18, i64 0}
!31 = !{!"_ZTSZN3jet30PointParallelHashGridSearcher25buildERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEE3$_3", !18, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!35, !35, i64 0}
!35 = !{!"int", !10, i64 0}
!36 = !{!37, !37, i64 0}
!37 = !{!"float", !10, i64 0}


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