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

; 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::PointParallelHashGridSearcher3" = type { %"class.jet::PointNeighborSearcher3", 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::PointNeighborSearcher3" = type { %"class.jet::Serializable" }
%"class.jet::Serializable" = type { ptr }
%"class.jet::Point" = type { i64, i64, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_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__._ZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEE = 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 @_ZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEE(ptr noundef nonnull align 8 dereferenceable(160) %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::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 3
  call void @_ZNSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  %35 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 4
  call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #6
  %36 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 5
  call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  %37 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 6
  call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  %38 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", 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_6VectorIdLm3EEELm1EE4sizeEv(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 %95

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::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 5
  %44 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", 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::PointParallelHashGridSearcher3", 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
  %51 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 2
  %52 = getelementptr inbounds %"class.jet::Point", ptr %51, i32 0, i32 2
  %53 = load i64, ptr %52, align 8, !tbaa !26
  %54 = mul nsw i64 %50, %53
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %54)
          to label %55 unwind label %99

55:                                               ; preds = %42
  %56 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 6
  %57 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 2
  %58 = getelementptr inbounds %"class.jet::Point", ptr %57, i32 0, i32 0
  %59 = load i64, ptr %58, align 8, !tbaa !11
  %60 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 2
  %61 = getelementptr inbounds %"class.jet::Point", ptr %60, i32 0, i32 1
  %62 = load i64, ptr %61, align 8, !tbaa !25
  %63 = mul nsw i64 %59, %62
  %64 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 2
  %65 = getelementptr inbounds %"class.jet::Point", ptr %64, i32 0, i32 2
  %66 = load i64, ptr %65, align 8, !tbaa !26
  %67 = mul nsw i64 %63, %66
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %67)
          to label %68 unwind label %99

68:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %69 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 5
  %70 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #6
  %71 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %70, ptr %71, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %72 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 5
  %73 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #6
  %74 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %73, ptr %74, 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 %75 unwind label %103

75:                                               ; preds = %68
  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
  %76 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 6
  %77 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %76) #6
  %78 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %77, ptr %78, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %79 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 6
  %80 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #6
  %81 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %80, ptr %81, 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 %82 unwind label %107

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

85:                                               ; preds = %82
  %86 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 7
  %87 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %87)
          to label %88 unwind label %99

88:                                               ; preds = %85
  %89 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 3
  %90 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZNSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef %90)
          to label %91 unwind label %99

91:                                               ; preds = %88
  %92 = load i64, ptr %5, align 8, !tbaa !9
  %93 = icmp eq i64 %92, 0
  br i1 %93, label %94, label %111

94:                                               ; preds = %91
  store i32 1, ptr %14, align 4
  br label %254

95:                                               ; preds = %2
  %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 @_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 %302

99:                                               ; preds = %117, %88, %85, %82, %55, %42
  %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
  br label %301

103:                                              ; preds = %68
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %8, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, 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 %301

107:                                              ; preds = %75
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %8, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, 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 %301

111:                                              ; preds = %91
  %112 = load i64, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  %113 = getelementptr inbounds %class.anon, ptr %15, i32 0, i32 0
  store ptr %33, ptr %113, align 8, !tbaa !27
  %114 = getelementptr inbounds %class.anon, ptr %15, i32 0, i32 1
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %115, ptr %114, align 8, !tbaa !5
  %116 = getelementptr inbounds %class.anon, ptr %15, i32 0, i32 2
  store ptr %6, ptr %116, align 8, !tbaa !5
  invoke void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_0EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef 0, i64 noundef %112, ptr noundef nonnull align 8 dereferenceable(24) %15, i32 noundef 1)
          to label %117 unwind label %160

117:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  %118 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 7
  %119 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %118) #6
  %120 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %119, ptr %120, align 8
  %121 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 7
  %122 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %121) #6
  %123 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %122, ptr %123, align 8
  %124 = getelementptr inbounds %class.anon.5, ptr %18, i32 0, i32 0
  store ptr %6, ptr %124, align 8, !tbaa !5
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8
  %127 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8
  %129 = getelementptr inbounds %class.anon.5, ptr %18, i32 0, i32 0
  %130 = load ptr, ptr %129, align 8
  invoke void @"_ZN3jet12parallelSortIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEZNS_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_1EEvT_SG_T0_NS_15ExecutionPolicyE"(ptr %126, ptr %128, ptr %130, i32 noundef 1)
          to label %131 unwind label %99

131:                                              ; preds = %117
  %132 = load i64, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #6
  %133 = getelementptr inbounds %class.anon.6, ptr %19, i32 0, i32 0
  store ptr %33, ptr %133, align 8, !tbaa !29
  %134 = getelementptr inbounds %class.anon.6, ptr %19, i32 0, i32 1
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %135, ptr %134, align 8, !tbaa !5
  %136 = getelementptr inbounds %class.anon.6, ptr %19, i32 0, i32 2
  store ptr %6, ptr %136, align 8, !tbaa !5
  invoke void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_2EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef 0, i64 noundef %132, ptr noundef nonnull align 8 dereferenceable(24) %19, i32 noundef 1)
          to label %137 unwind label %164

137:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  %138 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 5
  %139 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 4
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef 0) #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) %138, i64 noundef %141) #6
  store i64 0, ptr %142, align 8, !tbaa !9
  %143 = load i64, ptr %5, align 8, !tbaa !9
  %144 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 6
  %145 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 4
  %146 = load i64, ptr %5, align 8, !tbaa !9
  %147 = sub i64 %146, 1
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %145, i64 noundef %147) #6
  %149 = load i64, ptr %148, align 8, !tbaa !9
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %144, i64 noundef %149) #6
  store i64 %143, ptr %150, align 8, !tbaa !9
  %151 = load i64, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %152 = getelementptr inbounds %class.anon.7, ptr %20, i32 0, i32 0
  store ptr %33, ptr %152, align 8, !tbaa !31
  invoke void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_3EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef 1, i64 noundef %151, ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 1)
          to label %153 unwind label %168

153:                                              ; preds = %137
  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 %154

154:                                              ; preds = %201, %153
  %155 = load i64, ptr %24, align 8, !tbaa !9
  %156 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 5
  %157 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %156) #6
  %158 = icmp ult i64 %155, %157
  br i1 %158, label %172, label %159

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

160:                                              ; preds = %111
  %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 24, ptr %15) #6
  br label %301

164:                                              ; preds = %131
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %8, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  br label %301

168:                                              ; preds = %137
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %8, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %301

172:                                              ; preds = %154
  %173 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 5
  %174 = load i64, ptr %24, align 8, !tbaa !9
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %173, i64 noundef %174) #6
  %176 = load i64, ptr %175, align 8, !tbaa !9
  %177 = icmp ne i64 %176, -1
  br i1 %177, label %178, label %200

178:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %179 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 6
  %180 = load i64, ptr %24, align 8, !tbaa !9
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef %180) #6
  %182 = load i64, ptr %181, align 8, !tbaa !9
  %183 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher3", ptr %33, i32 0, i32 5
  %184 = load i64, ptr %24, align 8, !tbaa !9
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %183, i64 noundef %184) #6
  %186 = load i64, ptr %185, align 8, !tbaa !9
  %187 = sub i64 %182, %186
  store i64 %187, ptr %25, align 8, !tbaa !9
  %188 = load i64, ptr %25, align 8, !tbaa !9
  %189 = load i64, ptr %21, align 8, !tbaa !9
  %190 = add i64 %189, %188
  store i64 %190, ptr %21, align 8, !tbaa !9
  %191 = 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 %192 unwind label %196

192:                                              ; preds = %178
  %193 = load i64, ptr %191, align 8, !tbaa !9
  store i64 %193, ptr %22, align 8, !tbaa !9
  %194 = load i64, ptr %23, align 8, !tbaa !9
  %195 = add i64 %194, 1
  store i64 %195, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %200

196:                                              ; preds = %178
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %8, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, 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 %300

200:                                              ; preds = %192, %172
  br label %201

201:                                              ; preds = %200
  %202 = load i64, ptr %24, align 8, !tbaa !9
  %203 = add i64 %202, 1
  store i64 %203, ptr %24, align 8, !tbaa !9
  br label %154, !llvm.loop !33

204:                                              ; preds = %159
  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 %205 unwind label %257

205:                                              ; preds = %204
  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 %206 unwind label %261

206:                                              ; preds = %205
  %207 = 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 %208 unwind label %265

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

210:                                              ; preds = %208
  %211 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA106_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %209, ptr noundef nonnull align 1 dereferenceable(106) @.str.2)
          to label %212 unwind label %265

212:                                              ; preds = %210
  %213 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %211, ptr noundef nonnull align 1 dereferenceable(2) @.str.3)
          to label %214 unwind label %265

214:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  store i32 141, ptr %28, align 4, !tbaa !35
  %215 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %213, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %216 unwind label %269

216:                                              ; preds = %214
  %217 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %215, ptr noundef nonnull align 1 dereferenceable(3) @.str.4)
          to label %218 unwind label %269

218:                                              ; preds = %216
  %219 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA6_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %217, ptr noundef nonnull align 1 dereferenceable(6) @__func__._ZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEE)
          to label %220 unwind label %269

220:                                              ; preds = %218
  %221 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %219, ptr noundef nonnull align 1 dereferenceable(4) @.str.5)
          to label %222 unwind label %269

222:                                              ; preds = %220
  %223 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA48_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %221, ptr noundef nonnull align 1 dereferenceable(48) @.str.6)
          to label %224 unwind label %269

224:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %225 = load i64, ptr %21, align 8, !tbaa !9
  %226 = uitofp i64 %225 to float
  %227 = load i64, ptr %23, align 8, !tbaa !9
  %228 = uitofp i64 %227 to float
  %229 = fdiv float %226, %228
  store float %229, ptr %29, align 4, !tbaa !37
  %230 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIfEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %223, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %231 unwind label %273

231:                                              ; preds = %224
  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 %232 unwind label %281

232:                                              ; preds = %231
  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 %233 unwind label %285

233:                                              ; preds = %232
  %234 = 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 %235 unwind label %289

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

237:                                              ; preds = %235
  %238 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA106_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %236, ptr noundef nonnull align 1 dereferenceable(106) @.str.2)
          to label %239 unwind label %289

239:                                              ; preds = %237
  %240 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %238, ptr noundef nonnull align 1 dereferenceable(2) @.str.3)
          to label %241 unwind label %289

241:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  store i32 144, ptr %32, align 4, !tbaa !35
  %242 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %240, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %243 unwind label %293

243:                                              ; preds = %241
  %244 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %242, ptr noundef nonnull align 1 dereferenceable(3) @.str.4)
          to label %245 unwind label %293

245:                                              ; preds = %243
  %246 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA6_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %244, ptr noundef nonnull align 1 dereferenceable(6) @__func__._ZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEE)
          to label %247 unwind label %293

247:                                              ; preds = %245
  %248 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %246, ptr noundef nonnull align 1 dereferenceable(4) @.str.5)
          to label %249 unwind label %293

249:                                              ; preds = %247
  %250 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA34_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %248, ptr noundef nonnull align 1 dereferenceable(34) @.str.7)
          to label %251 unwind label %293

251:                                              ; preds = %249
  %252 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsImEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %250, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %253 unwind label %293

253:                                              ; preds = %251
  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 %254

254:                                              ; preds = %253, %94
  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
  %255 = load i32, ptr %14, align 4
  switch i32 %255, label %308 [
    i32 0, label %256
    i32 1, label %256
  ]

256:                                              ; preds = %254, %254
  ret void

257:                                              ; preds = %204
  %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 %280

261:                                              ; preds = %205
  %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 %279

265:                                              ; preds = %212, %210, %208, %206
  %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
  br label %278

269:                                              ; preds = %222, %220, %218, %216, %214
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %8, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %9, align 4
  br label %277

273:                                              ; preds = %224
  %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
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %277

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

278:                                              ; preds = %277, %265
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  br label %279

279:                                              ; preds = %278, %261
  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 %280

280:                                              ; preds = %279, %257
  call void @llvm.lifetime.end.p0(i64 400, ptr %26) #6
  br label %300

281:                                              ; preds = %231
  %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 %299

285:                                              ; preds = %232
  %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
  br label %298

289:                                              ; preds = %239, %237, %235, %233
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %8, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %9, align 4
  br label %297

293:                                              ; preds = %251, %249, %247, %245, %243, %241
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %8, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %297

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

298:                                              ; preds = %297, %285
  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 %299

299:                                              ; preds = %298, %281
  call void @llvm.lifetime.end.p0(i64 400, ptr %30) #6
  br label %300

300:                                              ; preds = %299, %280, %196
  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 %301

301:                                              ; preds = %300, %168, %164, %160, %107, %103, %99
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %302

302:                                              ; preds = %301, %95
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %303

303:                                              ; preds = %302
  %304 = load ptr, ptr %8, align 8
  %305 = load i32, ptr %9, align 4
  %306 = insertvalue { ptr, i32 } poison, ptr %304, 0
  %307 = insertvalue { ptr, i32 } %306, i32 %305, 1
  resume { ptr, i32 } %307

308:                                              ; preds = %254
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN3jet6VectorIdLm3EEESaIS2_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_6VectorIdLm3EEELm1EE4sizeEv(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 @_ZNSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_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_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_1EEvT_SG_T0_NS_15ExecutionPolicyE"(ptr, ptr, ptr, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_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_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_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 = !{!"_ZTSN3jet30PointParallelHashGridSearcher3E", !13, i64 0, !15, i64 8, !16, i64 16, !17, i64 40, !21, i64 64, !21, i64 88, !21, i64 112, !21, i64 136}
!13 = !{!"_ZTSN3jet22PointNeighborSearcher3E", !14, i64 0}
!14 = !{!"_ZTSN3jet12SerializableE"}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTSN3jet5PointIlLm3EEE", !10, i64 0, !10, i64 8, !10, i64 16}
!17 = !{!"_ZTSSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN3jet6VectorIdLm3EEESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm3EEESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm3EEESaIS2_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 = !{!12, !10, i64 32}
!27 = !{!28, !6, i64 0}
!28 = !{!"_ZTSZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_0", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!30, !6, i64 0}
!30 = !{!"_ZTSZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_2", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!32, !6, i64 0}
!32 = !{!"_ZTSZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_3", !6, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!36, !36, i64 0}
!36 = !{!"int", !7, i64 0}
!37 = !{!38, !38, i64 0}
!38 = !{!"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__._ZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEE = 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 @_ZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEE(ptr noundef nonnull align 8 dereferenceable(160) %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 40
  tail call void @_ZNSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  %22 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  %23 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  %24 = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  %25 = getelementptr inbounds i8, ptr %0, i64 136
  tail call void @_ZNSt6vectorImSaImEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  %26 = tail call noundef i64 @_ZNK3jet18ConstArrayAccessorINS_6VectorIdLm3EEELm1EE4sizeEv(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 %53

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
  %33 = getelementptr inbounds i8, ptr %0, i64 32
  %34 = load i64, ptr %33, align 8, !tbaa !24
  %35 = mul nsw i64 %32, %34
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %35)
          to label %36 unwind label %55

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

42:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %43 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  store ptr %43, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %44 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  store ptr %44, 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 %45 unwind label %57

45:                                               ; preds = %42
  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
  %46 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  store ptr %46, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %47 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  store ptr %47, 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 %48 unwind label %59

48:                                               ; preds = %45
  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 %49 unwind label %55

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

50:                                               ; preds = %49
  invoke void @_ZNSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %26)
          to label %51 unwind label %55

51:                                               ; preds = %50
  %52 = icmp eq i64 %26, 0
  br i1 %52, label %149, label %61

53:                                               ; preds = %2
  %54 = 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 %177

55:                                               ; preds = %64, %50, %49, %48, %36, %27
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %176

57:                                               ; preds = %42
  %58 = 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 %176

59:                                               ; preds = %45
  %60 = 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 %176

61:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  store ptr %0, ptr %9, align 8, !tbaa !25
  %62 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %1, ptr %62, align 8, !tbaa !27
  %63 = getelementptr inbounds i8, ptr %9, i64 16
  store ptr %3, ptr %63, align 8, !tbaa !27
  invoke void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_0EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef 0, i64 noundef %26, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 1)
          to label %64 unwind label %80

64:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  %65 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  %66 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  invoke void @"_ZN3jet12parallelSortIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEZNS_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_1EEvT_SG_T0_NS_15ExecutionPolicyE"(ptr %65, ptr %66, ptr nonnull %3, i32 noundef 1)
          to label %67 unwind label %55

67:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  store ptr %0, ptr %10, align 8, !tbaa !28
  %68 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %1, ptr %68, align 8, !tbaa !27
  %69 = getelementptr inbounds i8, ptr %10, i64 16
  store ptr %3, ptr %69, align 8, !tbaa !27
  invoke void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_2EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef 0, i64 noundef %26, ptr noundef nonnull align 8 dereferenceable(24) %10, i32 noundef 1)
          to label %70 unwind label %82

70:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #6
  %72 = load i64, ptr %71, align 8, !tbaa !30
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %72) #6
  store i64 0, ptr %73, align 8, !tbaa !30
  %74 = add i64 %26, -1
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %74) #6
  %76 = load i64, ptr %75, align 8, !tbaa !30
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %76) #6
  store i64 %26, ptr %77, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  store ptr %0, ptr %11, align 8, !tbaa !31
  invoke void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_3EEvT_S9_RKT0_NS_15ExecutionPolicyE"(i64 noundef 1, i64 noundef %26, ptr noundef nonnull align 8 dereferenceable(8) %11, i32 noundef 1)
          to label %78 unwind label %84

78:                                               ; preds = %70
  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 !30
  %79 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  %.not57 = icmp eq i64 %79, 0
  br i1 %.not57, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %98, %78
  %.027.lcssa = phi i64 [ 0, %78 ], [ %.128, %98 ]
  %.026.lcssa = phi i64 [ 0, %78 ], [ %.1, %98 ]
  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 %102 unwind label %150

80:                                               ; preds = %61
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br label %176

82:                                               ; preds = %67
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  br label %176

84:                                               ; preds = %70
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %176

.lr.ph:                                           ; preds = %78, %98
  %.055 = phi i64 [ %99, %98 ], [ 0, %78 ]
  %.02654 = phi i64 [ %.1, %98 ], [ 0, %78 ]
  %.02753 = phi i64 [ %.128, %98 ], [ 0, %78 ]
  %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 !30
  %.not = icmp eq i64 %87, -1
  br i1 %.not, label %98, label %88

88:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %.055) #6
  %90 = load i64, ptr %89, align 8, !tbaa !30
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %.055) #6
  %92 = load i64, ptr %91, align 8, !tbaa !30
  %93 = sub i64 %90, %92
  store i64 %93, ptr %13, align 8, !tbaa !30
  %94 = add i64 %93, %.02753
  %95 = 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)
  %96 = load i64, ptr %95, align 8, !tbaa !30
  store i64 %96, ptr %12, align 8, !tbaa !30
  %97 = add i64 %.02654, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %98

98:                                               ; preds = %.lr.ph, %88
  %.128 = phi i64 [ %94, %88 ], [ %.02753, %.lr.ph ]
  %.1 = phi i64 [ %97, %88 ], [ %.02654, %.lr.ph ]
  %99 = add nuw i64 %.055, 1
  %100 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  %101 = icmp ult i64 %99, %100
  br i1 %101, label %.lr.ph, label %._crit_edge, !llvm.loop !33

102:                                              ; 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 %103 unwind label %152

103:                                              ; preds = %102
  %104 = 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 %105 unwind label %154

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

107:                                              ; preds = %105
  %108 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA106_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %106, ptr noundef nonnull align 1 dereferenceable(106) @.str.2)
          to label %109 unwind label %154

109:                                              ; preds = %107
  %110 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %108, ptr noundef nonnull align 1 dereferenceable(2) @.str.3)
          to label %111 unwind label %154

111:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  store i32 141, ptr %16, align 4, !tbaa !35
  %112 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %110, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %113 unwind label %156

113:                                              ; preds = %111
  %114 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %112, ptr noundef nonnull align 1 dereferenceable(3) @.str.4)
          to label %115 unwind label %156

115:                                              ; preds = %113
  %116 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA6_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %114, ptr noundef nonnull align 1 dereferenceable(6) @__func__._ZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEE)
          to label %117 unwind label %156

117:                                              ; preds = %115
  %118 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %116, ptr noundef nonnull align 1 dereferenceable(4) @.str.5)
          to label %119 unwind label %156

119:                                              ; preds = %117
  %120 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA48_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %118, ptr noundef nonnull align 1 dereferenceable(48) @.str.6)
          to label %121 unwind label %156

121:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  %122 = uitofp i64 %.027.lcssa to float
  %123 = uitofp i64 %.026.lcssa to float
  %124 = fdiv float %122, %123
  store float %124, ptr %17, align 4, !tbaa !37
  %125 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIfEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %120, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %126 unwind label %158

126:                                              ; preds = %121
  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 %127 unwind label %164

127:                                              ; preds = %126
  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 %128 unwind label %166

128:                                              ; preds = %127
  %129 = 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 %130 unwind label %168

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

132:                                              ; preds = %130
  %133 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA106_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %131, ptr noundef nonnull align 1 dereferenceable(106) @.str.2)
          to label %134 unwind label %168

134:                                              ; preds = %132
  %135 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %133, ptr noundef nonnull align 1 dereferenceable(2) @.str.3)
          to label %136 unwind label %168

136:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #6
  store i32 144, ptr %20, align 4, !tbaa !35
  %137 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %135, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %138 unwind label %170

138:                                              ; preds = %136
  %139 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %137, ptr noundef nonnull align 1 dereferenceable(3) @.str.4)
          to label %140 unwind label %170

140:                                              ; preds = %138
  %141 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA6_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %139, ptr noundef nonnull align 1 dereferenceable(6) @__func__._ZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEE)
          to label %142 unwind label %170

142:                                              ; preds = %140
  %143 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %141, ptr noundef nonnull align 1 dereferenceable(4) @.str.5)
          to label %144 unwind label %170

144:                                              ; preds = %142
  %145 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA34_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %143, ptr noundef nonnull align 1 dereferenceable(34) @.str.7)
          to label %146 unwind label %170

146:                                              ; preds = %144
  %147 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsImEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %145, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %148 unwind label %170

148:                                              ; preds = %146
  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 %149

149:                                              ; preds = %51, %148
  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

150:                                              ; preds = %._crit_edge
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %163

152:                                              ; preds = %102
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %162

154:                                              ; preds = %109, %107, %105, %103
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %161

156:                                              ; preds = %119, %117, %115, %113, %111
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %160

158:                                              ; preds = %121
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  br label %160

160:                                              ; preds = %158, %156
  %.pn = phi { ptr, i32 } [ %159, %158 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  br label %161

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

162:                                              ; preds = %161, %152
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %161 ], [ %153, %152 ]
  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 %163

163:                                              ; preds = %162, %150
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %162 ], [ %151, %150 ]
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %14) #6
  br label %175

164:                                              ; preds = %126
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %174

166:                                              ; preds = %127
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %173

168:                                              ; preds = %134, %132, %130, %128
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %172

170:                                              ; preds = %146, %144, %142, %140, %138, %136
  %171 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  br label %172

172:                                              ; preds = %170, %168
  %.pn46 = phi { ptr, i32 } [ %171, %170 ], [ %169, %168 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %173

173:                                              ; preds = %172, %166
  %.pn46.pn = phi { ptr, i32 } [ %.pn46, %172 ], [ %167, %166 ]
  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 %174

174:                                              ; preds = %173, %164
  %.pn46.pn.pn = phi { ptr, i32 } [ %.pn46.pn, %173 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %18) #6
  br label %175

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

176:                                              ; preds = %175, %84, %82, %80, %59, %57, %55
  %.pn46.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn46.pn.pn.pn, %175 ], [ %85, %84 ], [ %83, %82 ], [ %56, %55 ], [ %81, %80 ], [ %60, %59 ], [ %58, %57 ]
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  br label %177

177:                                              ; preds = %176, %53
  %.pn46.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn46.pn.pn.pn.pn, %176 ], [ %54, %53 ]
  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 @_ZNSt6vectorIN3jet6VectorIdLm3EEESaIS2_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_6VectorIdLm3EEELm1EE4sizeEv(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 @_ZNSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_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_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_1EEvT_SG_T0_NS_15ExecutionPolicyE"(ptr, ptr, ptr, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_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_30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_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 = !{!"_ZTSN3jet30PointParallelHashGridSearcher3E", !7, i64 0, !9, i64 8, !12, i64 16, !14, i64 40, !19, i64 64, !19, i64 88, !19, i64 112, !19, i64 136}
!7 = !{!"_ZTSN3jet22PointNeighborSearcher3E", !8, i64 0}
!8 = !{!"_ZTSN3jet12SerializableE"}
!9 = !{!"double", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN3jet5PointIlLm3EEE", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"long", !10, i64 0}
!14 = !{!"_ZTSSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN3jet6VectorIdLm3EEESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm3EEESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm3EEESaIS2_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 = !{!6, !13, i64 32}
!25 = !{!26, !18, i64 0}
!26 = !{!"_ZTSZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_0", !18, i64 0, !18, i64 8, !18, i64 16}
!27 = !{!18, !18, i64 0}
!28 = !{!29, !18, i64 0}
!29 = !{!"_ZTSZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_2", !18, i64 0, !18, i64 8, !18, i64 16}
!30 = !{!13, !13, i64 0}
!31 = !{!32, !18, i64 0}
!32 = !{!"_ZTSZN3jet30PointParallelHashGridSearcher35buildERKNS_18ConstArrayAccessorINS_6VectorIdLm3EEELm1EEEE3$_3", !18, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!36, !36, i64 0}
!36 = !{!"int", !10, i64 0}
!37 = !{!38, !38, i64 0}
!38 = !{!"float", !10, i64 0}


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