; LLVM IR from mickypaganini/SSI2016-jet-clustering :: spartyjet-4.0.2_mac/External/fastjet-3.0.0/src (ClusterSequence_TiledN2)

; 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.fastjet::ClusterSequence" = type <{ ptr, %"class.fastjet::JetDefinition", %"class.std::vector", %"class.std::vector.1", i8, [3 x i8], i32, double, double, double, double, i32, i32, %"class.fastjet::SharedPtr.6", i32, i8, i8, [2 x i8], %"class.fastjet::SharedPtr.7", %"class.std::vector.8", double, double, double, double, i32, i32, i32, [4 x i8] }>
%"class.fastjet::JetDefinition" = type { i32, double, double, i32, ptr, %"class.fastjet::SharedPtr", %"class.fastjet::JetDefinition::DefaultRecombiner", ptr, %"class.fastjet::SharedPtr.0" }
%"class.fastjet::SharedPtr" = type { ptr }
%"class.fastjet::JetDefinition::DefaultRecombiner" = type <{ %"class.fastjet::JetDefinition::Recombiner", i32, [4 x i8] }>
%"class.fastjet::JetDefinition::Recombiner" = type { ptr }
%"class.fastjet::SharedPtr.0" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<fastjet::PseudoJet, std::allocator<fastjet::PseudoJet>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::PseudoJet, std::allocator<fastjet::PseudoJet>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::PseudoJet, std::allocator<fastjet::PseudoJet>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::PseudoJet, std::allocator<fastjet::PseudoJet>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<fastjet::ClusterSequence::history_element, std::allocator<fastjet::ClusterSequence::history_element>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::ClusterSequence::history_element, std::allocator<fastjet::ClusterSequence::history_element>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::ClusterSequence::history_element, std::allocator<fastjet::ClusterSequence::history_element>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::ClusterSequence::history_element, std::allocator<fastjet::ClusterSequence::history_element>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.fastjet::SharedPtr.6" = type { ptr }
%"class.fastjet::SharedPtr.7" = type { ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<fastjet::ClusterSequence::Tile, std::allocator<fastjet::ClusterSequence::Tile>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::ClusterSequence::Tile, std::allocator<fastjet::ClusterSequence::Tile>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::ClusterSequence::Tile, std::allocator<fastjet::ClusterSequence::Tile>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::ClusterSequence::Tile, std::allocator<fastjet::ClusterSequence::Tile>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.fastjet::ClusterSequence::Tile" = type { [9 x ptr], ptr, ptr, ptr, ptr, i8 }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet15ClusterSequence17_initialise_tilesEv(ptr noundef nonnull align 8 dereferenceable(276) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca double, align 8
  %8 = alloca i32, align 4
  %9 = alloca double, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %17 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  store double 1.000000e-01, ptr %4, align 8, !tbaa !9
  %18 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 7
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %20 = load double, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  store double %20, ptr %3, align 8, !tbaa !9
  %21 = load double, ptr %3, align 8, !tbaa !9
  %22 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 22
  store double %21, ptr %22, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 3, ptr %5, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %23 = load double, ptr %3, align 8, !tbaa !9
  %24 = fdiv double 0x401921FB54442D18, %23
  %25 = call double @llvm.floor.f64(double %24)
  %26 = fptosi double %25 to i32
  store i32 %26, ptr %6, align 4, !tbaa !37
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %28 = load i32, ptr %27, align 4, !tbaa !37
  %29 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 24
  store i32 %28, ptr %29, align 8, !tbaa !38
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  %30 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 24
  %31 = load i32, ptr %30, align 8, !tbaa !38
  %32 = sitofp i32 %31 to double
  %33 = fdiv double 0x401921FB54442D18, %32
  %34 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 23
  store double %33, ptr %34, align 8, !tbaa !39
  %35 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 20
  store double 0.000000e+00, ptr %35, align 8, !tbaa !40
  %36 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 21
  store double 0.000000e+00, ptr %36, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store double 7.000000e+00, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !37
  br label %37

37:                                               ; preds = %71, %1
  %38 = load i32, ptr %8, align 4, !tbaa !37
  %39 = zext i32 %38 to i64
  %40 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 2
  %41 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  %42 = icmp ult i64 %39, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %74

44:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %45 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 2
  %46 = load i32, ptr %8, align 4, !tbaa !37
  %47 = zext i32 %46 to i64
  %48 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %47) #6
  %49 = call noundef double @_ZNK7fastjet9PseudoJet3rapEv(ptr noundef nonnull align 8 dereferenceable(88) %48)
  store double %49, ptr %9, align 8, !tbaa !9
  %50 = load double, ptr %9, align 8, !tbaa !9
  %51 = call noundef double @_ZSt3absd(double noundef %50)
  %52 = fcmp olt double %51, 7.000000e+00
  br i1 %52, label %53, label %70

53:                                               ; preds = %44
  %54 = load double, ptr %9, align 8, !tbaa !9
  %55 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 20
  %56 = load double, ptr %55, align 8, !tbaa !40
  %57 = fcmp olt double %54, %56
  br i1 %57, label %58, label %61

58:                                               ; preds = %53
  %59 = load double, ptr %9, align 8, !tbaa !9
  %60 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 20
  store double %59, ptr %60, align 8, !tbaa !40
  br label %61

61:                                               ; preds = %58, %53
  %62 = load double, ptr %9, align 8, !tbaa !9
  %63 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 21
  %64 = load double, ptr %63, align 8, !tbaa !41
  %65 = fcmp ogt double %62, %64
  br i1 %65, label %66, label %69

66:                                               ; preds = %61
  %67 = load double, ptr %9, align 8, !tbaa !9
  %68 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 21
  store double %67, ptr %68, align 8, !tbaa !41
  br label %69

69:                                               ; preds = %66, %61
  br label %70

70:                                               ; preds = %69, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %71

71:                                               ; preds = %70
  %72 = load i32, ptr %8, align 4, !tbaa !37
  %73 = add i32 %72, 1
  store i32 %73, ptr %8, align 4, !tbaa !37
  br label %37, !llvm.loop !42

74:                                               ; preds = %43
  %75 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 20
  %76 = load double, ptr %75, align 8, !tbaa !40
  %77 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 22
  %78 = load double, ptr %77, align 8, !tbaa !11
  %79 = fdiv double %76, %78
  %80 = call double @llvm.floor.f64(double %79)
  %81 = fptosi double %80 to i32
  %82 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 25
  store i32 %81, ptr %82, align 4, !tbaa !44
  %83 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 21
  %84 = load double, ptr %83, align 8, !tbaa !41
  %85 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 22
  %86 = load double, ptr %85, align 8, !tbaa !11
  %87 = fdiv double %84, %86
  %88 = call double @llvm.floor.f64(double %87)
  %89 = fptosi double %88 to i32
  %90 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 26
  store i32 %89, ptr %90, align 8, !tbaa !45
  %91 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 25
  %92 = load i32, ptr %91, align 4, !tbaa !44
  %93 = sitofp i32 %92 to double
  %94 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 22
  %95 = load double, ptr %94, align 8, !tbaa !11
  %96 = fmul double %93, %95
  %97 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 20
  store double %96, ptr %97, align 8, !tbaa !40
  %98 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 26
  %99 = load i32, ptr %98, align 8, !tbaa !45
  %100 = sitofp i32 %99 to double
  %101 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 22
  %102 = load double, ptr %101, align 8, !tbaa !11
  %103 = fmul double %100, %102
  %104 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 21
  store double %103, ptr %104, align 8, !tbaa !41
  %105 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 19
  %106 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 26
  %107 = load i32, ptr %106, align 8, !tbaa !45
  %108 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 25
  %109 = load i32, ptr %108, align 4, !tbaa !44
  %110 = sub nsw i32 %107, %109
  %111 = add nsw i32 %110, 1
  %112 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 24
  %113 = load i32, ptr %112, align 8, !tbaa !38
  %114 = mul nsw i32 %111, %113
  %115 = sext i32 %114 to i64
  call void @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %115)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %116 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 25
  %117 = load i32, ptr %116, align 4, !tbaa !44
  store i32 %117, ptr %10, align 4, !tbaa !37
  br label %118

118:                                              ; preds = %238, %74
  %119 = load i32, ptr %10, align 4, !tbaa !37
  %120 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 26
  %121 = load i32, ptr %120, align 8, !tbaa !45
  %122 = icmp sle i32 %119, %121
  br i1 %122, label %124, label %123

123:                                              ; preds = %118
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %241

124:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !37
  br label %125

125:                                              ; preds = %234, %124
  %126 = load i32, ptr %12, align 4, !tbaa !37
  %127 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 24
  %128 = load i32, ptr %127, align 8, !tbaa !38
  %129 = icmp slt i32 %126, %128
  br i1 %129, label %131, label %130

130:                                              ; preds = %125
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %237

131:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %132 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 19
  %133 = load i32, ptr %10, align 4, !tbaa !37
  %134 = load i32, ptr %12, align 4, !tbaa !37
  %135 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %17, i32 noundef %133, i32 noundef %134)
  %136 = sext i32 %135 to i64
  %137 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %136) #6
  store ptr %137, ptr %13, align 8, !tbaa !5
  %138 = load ptr, ptr %13, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.fastjet::ClusterSequence::Tile", ptr %138, i32 0, i32 4
  store ptr null, ptr %139, align 8, !tbaa !46
  %140 = load ptr, ptr %13, align 8, !tbaa !5
  %141 = load ptr, ptr %13, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.fastjet::ClusterSequence::Tile", ptr %141, i32 0, i32 0
  %143 = getelementptr inbounds [9 x ptr], ptr %142, i64 0, i64 0
  store ptr %140, ptr %143, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %144 = load ptr, ptr %13, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.fastjet::ClusterSequence::Tile", ptr %144, i32 0, i32 0
  %146 = getelementptr inbounds [9 x ptr], ptr %145, i64 0, i64 0
  store ptr %146, ptr %14, align 8, !tbaa !5
  %147 = load ptr, ptr %14, align 8, !tbaa !5
  %148 = getelementptr inbounds ptr, ptr %147, i32 1
  store ptr %148, ptr %14, align 8, !tbaa !5
  %149 = load ptr, ptr %14, align 8, !tbaa !5
  %150 = load ptr, ptr %13, align 8, !tbaa !5
  %151 = getelementptr inbounds %"struct.fastjet::ClusterSequence::Tile", ptr %150, i32 0, i32 1
  store ptr %149, ptr %151, align 8, !tbaa !48
  %152 = load i32, ptr %10, align 4, !tbaa !37
  %153 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 25
  %154 = load i32, ptr %153, align 4, !tbaa !44
  %155 = icmp sgt i32 %152, %154
  br i1 %155, label %156, label %178

156:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 -1, ptr %15, align 4, !tbaa !37
  br label %157

157:                                              ; preds = %174, %156
  %158 = load i32, ptr %15, align 4, !tbaa !37
  %159 = icmp sle i32 %158, 1
  br i1 %159, label %161, label %160

160:                                              ; preds = %157
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %177

161:                                              ; preds = %157
  %162 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 19
  %163 = load i32, ptr %10, align 4, !tbaa !37
  %164 = sub nsw i32 %163, 1
  %165 = load i32, ptr %12, align 4, !tbaa !37
  %166 = load i32, ptr %15, align 4, !tbaa !37
  %167 = add nsw i32 %165, %166
  %168 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %17, i32 noundef %164, i32 noundef %167)
  %169 = sext i32 %168 to i64
  %170 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %162, i64 noundef %169) #6
  %171 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %170, ptr %171, align 8, !tbaa !5
  %172 = load ptr, ptr %14, align 8, !tbaa !5
  %173 = getelementptr inbounds ptr, ptr %172, i32 1
  store ptr %173, ptr %14, align 8, !tbaa !5
  br label %174

174:                                              ; preds = %161
  %175 = load i32, ptr %15, align 4, !tbaa !37
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %15, align 4, !tbaa !37
  br label %157, !llvm.loop !49

177:                                              ; preds = %160
  br label %178

178:                                              ; preds = %177, %131
  %179 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 19
  %180 = load i32, ptr %10, align 4, !tbaa !37
  %181 = load i32, ptr %12, align 4, !tbaa !37
  %182 = sub nsw i32 %181, 1
  %183 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %17, i32 noundef %180, i32 noundef %182)
  %184 = sext i32 %183 to i64
  %185 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef %184) #6
  %186 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %185, ptr %186, align 8, !tbaa !5
  %187 = load ptr, ptr %14, align 8, !tbaa !5
  %188 = getelementptr inbounds ptr, ptr %187, i32 1
  store ptr %188, ptr %14, align 8, !tbaa !5
  %189 = load ptr, ptr %14, align 8, !tbaa !5
  %190 = load ptr, ptr %13, align 8, !tbaa !5
  %191 = getelementptr inbounds %"struct.fastjet::ClusterSequence::Tile", ptr %190, i32 0, i32 2
  store ptr %189, ptr %191, align 8, !tbaa !50
  %192 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 19
  %193 = load i32, ptr %10, align 4, !tbaa !37
  %194 = load i32, ptr %12, align 4, !tbaa !37
  %195 = add nsw i32 %194, 1
  %196 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %17, i32 noundef %193, i32 noundef %195)
  %197 = sext i32 %196 to i64
  %198 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef %197) #6
  %199 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %198, ptr %199, align 8, !tbaa !5
  %200 = load ptr, ptr %14, align 8, !tbaa !5
  %201 = getelementptr inbounds ptr, ptr %200, i32 1
  store ptr %201, ptr %14, align 8, !tbaa !5
  %202 = load i32, ptr %10, align 4, !tbaa !37
  %203 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 26
  %204 = load i32, ptr %203, align 8, !tbaa !45
  %205 = icmp slt i32 %202, %204
  br i1 %205, label %206, label %228

206:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 -1, ptr %16, align 4, !tbaa !37
  br label %207

207:                                              ; preds = %224, %206
  %208 = load i32, ptr %16, align 4, !tbaa !37
  %209 = icmp sle i32 %208, 1
  br i1 %209, label %211, label %210

210:                                              ; preds = %207
  store i32 14, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %227

211:                                              ; preds = %207
  %212 = getelementptr inbounds %"class.fastjet::ClusterSequence", ptr %17, i32 0, i32 19
  %213 = load i32, ptr %10, align 4, !tbaa !37
  %214 = add nsw i32 %213, 1
  %215 = load i32, ptr %12, align 4, !tbaa !37
  %216 = load i32, ptr %16, align 4, !tbaa !37
  %217 = add nsw i32 %215, %216
  %218 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %17, i32 noundef %214, i32 noundef %217)
  %219 = sext i32 %218 to i64
  %220 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %212, i64 noundef %219) #6
  %221 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %220, ptr %221, align 8, !tbaa !5
  %222 = load ptr, ptr %14, align 8, !tbaa !5
  %223 = getelementptr inbounds ptr, ptr %222, i32 1
  store ptr %223, ptr %14, align 8, !tbaa !5
  br label %224

224:                                              ; preds = %211
  %225 = load i32, ptr %16, align 4, !tbaa !37
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %16, align 4, !tbaa !37
  br label %207, !llvm.loop !51

227:                                              ; preds = %210
  br label %228

228:                                              ; preds = %227, %178
  %229 = load ptr, ptr %14, align 8, !tbaa !5
  %230 = load ptr, ptr %13, align 8, !tbaa !5
  %231 = getelementptr inbounds %"struct.fastjet::ClusterSequence::Tile", ptr %230, i32 0, i32 3
  store ptr %229, ptr %231, align 8, !tbaa !52
  %232 = load ptr, ptr %13, align 8, !tbaa !5
  %233 = getelementptr inbounds %"struct.fastjet::ClusterSequence::Tile", ptr %232, i32 0, i32 5
  store i8 0, ptr %233, align 8, !tbaa !53
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %234

234:                                              ; preds = %228
  %235 = load i32, ptr %12, align 4, !tbaa !37
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %12, align 4, !tbaa !37
  br label %125, !llvm.loop !54

237:                                              ; preds = %130
  br label %238

238:                                              ; preds = %237
  %239 = load i32, ptr %10, align 4, !tbaa !37
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %10, align 4, !tbaa !37
  br label %118, !llvm.loop !55

241:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  ret void
}

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #4

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK7fastjet9PseudoJet3rapEv(ptr noundef nonnull align 8 dereferenceable(88)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276), i32 noundef, i32 noundef) #3 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"double", !7, i64 0}
!11 = !{!12, !10, i64 248}
!12 = !{!"_ZTSN7fastjet15ClusterSequenceE", !13, i64 8, !21, i64 88, !25, i64 112, !29, i64 136, !30, i64 140, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !15, i64 176, !14, i64 180, !31, i64 184, !30, i64 192, !29, i64 196, !29, i64 197, !32, i64 200, !33, i64 208, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !30, i64 264, !30, i64 268, !30, i64 272}
!13 = !{!"_ZTSN7fastjet13JetDefinitionE", !14, i64 0, !10, i64 8, !10, i64 16, !15, i64 24, !6, i64 32, !16, i64 40, !17, i64 48, !6, i64 64, !20, i64 72}
!14 = !{!"_ZTSN7fastjet12JetAlgorithmE", !7, i64 0}
!15 = !{!"_ZTSN7fastjet8StrategyE", !7, i64 0}
!16 = !{!"_ZTSN7fastjet9SharedPtrIKNS_13JetDefinition6PluginEEE", !6, i64 0}
!17 = !{!"_ZTSN7fastjet13JetDefinition17DefaultRecombinerE", !18, i64 0, !19, i64 8}
!18 = !{!"_ZTSN7fastjet13JetDefinition10RecombinerE"}
!19 = !{!"_ZTSN7fastjet19RecombinationSchemeE", !7, i64 0}
!20 = !{!"_ZTSN7fastjet9SharedPtrIKNS_13JetDefinition10RecombinerEEE", !6, i64 0}
!21 = !{!"_ZTSSt6vectorIN7fastjet9PseudoJetESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN7fastjet9PseudoJetESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN7fastjet9PseudoJetESaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN7fastjet9PseudoJetESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIN7fastjet15ClusterSequence15history_elementESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN7fastjet15ClusterSequence15history_elementESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence15history_elementESaIS2_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence15history_elementESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"bool", !7, i64 0}
!30 = !{!"int", !7, i64 0}
!31 = !{!"_ZTSN7fastjet9SharedPtrINS_22PseudoJetStructureBaseEEE", !6, i64 0}
!32 = !{!"_ZTSN7fastjet9SharedPtrINS_15ClusterSequence6ExtrasEEE", !6, i64 0}
!33 = !{!"_ZTSSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIN7fastjet15ClusterSequence4TileESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence4TileESaIS2_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence4TileESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!30, !30, i64 0}
!38 = !{!12, !30, i64 264}
!39 = !{!12, !10, i64 256}
!40 = !{!12, !10, i64 232}
!41 = !{!12, !10, i64 240}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.mustprogress"}
!44 = !{!12, !30, i64 268}
!45 = !{!12, !30, i64 272}
!46 = !{!47, !6, i64 96}
!47 = !{!"_ZTSN7fastjet15ClusterSequence4TileE", !7, i64 0, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !29, i64 104}
!48 = !{!47, !6, i64 72}
!49 = distinct !{!49, !43}
!50 = !{!47, !6, i64 80}
!51 = distinct !{!51, !43}
!52 = !{!47, !6, i64 88}
!53 = !{!47, !29, i64 104}
!54 = distinct !{!54, !43}
!55 = distinct !{!55, !43}


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

; 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; 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 uwtable
define dso_local void @_ZN7fastjet15ClusterSequence17_initialise_tilesEv(ptr noundef nonnull align 8 dereferenceable(276) %0) local_unnamed_addr #2 align 2 {
  %2 = alloca double, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  store double 1.000000e-01, ptr %2, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 144
  %6 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %7 = load double, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  %8 = getelementptr inbounds i8, ptr %0, i64 248
  store double %7, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  store i32 3, ptr %3, align 4, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  %9 = fdiv double 0x401921FB54442D18, %7
  %10 = call double @llvm.floor.f64(double %9)
  %11 = fptosi double %10 to i32
  store i32 %11, ptr %4, align 4, !tbaa !36
  %12 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %13 = load i32, ptr %12, align 4, !tbaa !36
  %14 = getelementptr inbounds i8, ptr %0, i64 264
  store i32 %13, ptr %14, align 8, !tbaa !37
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  %15 = sitofp i32 %13 to double
  %16 = fdiv double 0x401921FB54442D18, %15
  %17 = getelementptr inbounds i8, ptr %0, i64 256
  store double %16, ptr %17, align 8, !tbaa !38
  %18 = getelementptr inbounds i8, ptr %0, i64 232
  %19 = getelementptr inbounds i8, ptr %0, i64 240
  %20 = getelementptr inbounds i8, ptr %0, i64 88
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %18, i8 0, i64 16, i1 false)
  %21 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %.not74 = icmp eq i64 %21, 0
  br i1 %.not74, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %55, %1
  %22 = load <2 x double>, ptr %8, align 8
  %23 = getelementptr inbounds i8, ptr %0, i64 268
  %24 = getelementptr inbounds i8, ptr %0, i64 272
  %25 = load <2 x double>, ptr %18, align 8, !tbaa !5
  %26 = shufflevector <2 x double> %22, <2 x double> poison, <2 x i32> zeroinitializer
  %27 = fdiv <2 x double> %25, %26
  %28 = call <2 x double> @llvm.floor.v2f64(<2 x double> %27)
  %29 = fptosi <2 x double> %28 to <2 x i32>
  store <2 x i32> %29, ptr %23, align 4, !tbaa !36
  %30 = sitofp <2 x i32> %29 to <2 x double>
  %31 = fmul <2 x double> %26, %30
  store <2 x double> %31, ptr %18, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %0, i64 208
  %shift = shufflevector <2 x i32> %29, <2 x i32> poison, <2 x i32> <i32 1, i32 poison>
  %33 = sub <2 x i32> %shift, %29
  %reass.sub = extractelement <2 x i32> %33, i64 0
  %34 = add i32 %reass.sub, 1
  %35 = load i32, ptr %14, align 8, !tbaa !37
  %36 = mul nsw i32 %34, %35
  %37 = sext i32 %36 to i64
  call void @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %37)
  %38 = load i32, ptr %23, align 4, !tbaa !39
  %39 = load i32, ptr %24, align 8, !tbaa !40
  %.not71 = icmp sle i32 %38, %39
  %40 = load i32, ptr %14, align 8
  %41 = icmp sgt i32 %40, 0
  %or.cond = select i1 %.not71, i1 %41, i1 false
  br i1 %or.cond, label %.preheader62, label %._crit_edge73

.lr.ph:                                           ; preds = %1, %55
  %42 = phi i64 [ %57, %55 ], [ 0, %1 ]
  %.05463 = phi i32 [ %56, %55 ], [ 0, %1 ]
  %43 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN7fastjet9PseudoJetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %42) #8
  %44 = call noundef double @_ZNK7fastjet9PseudoJet3rapEv(ptr noundef nonnull align 8 dereferenceable(88) %43)
  %45 = call noundef double @_ZSt3absd(double noundef %44)
  %46 = fcmp olt double %45, 7.000000e+00
  br i1 %46, label %47, label %55

47:                                               ; preds = %.lr.ph
  %48 = load double, ptr %18, align 8, !tbaa !41
  %49 = fcmp olt double %44, %48
  br i1 %49, label %50, label %51

50:                                               ; preds = %47
  store double %44, ptr %18, align 8, !tbaa !41
  br label %51

51:                                               ; preds = %50, %47
  %52 = load double, ptr %19, align 8, !tbaa !42
  %53 = fcmp ogt double %44, %52
  br i1 %53, label %54, label %55

54:                                               ; preds = %51
  store double %44, ptr %19, align 8, !tbaa !42
  br label %55

55:                                               ; preds = %51, %54, %.lr.ph
  %56 = add i32 %.05463, 1
  %57 = zext i32 %56 to i64
  %58 = call noundef i64 @_ZNKSt6vectorIN7fastjet9PseudoJetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %59 = icmp ugt i64 %58, %57
  br i1 %59, label %.lr.ph, label %._crit_edge, !llvm.loop !43

.preheader62:                                     ; preds = %._crit_edge, %._crit_edge70
  %60 = phi i32 [ %65, %._crit_edge70 ], [ %39, %._crit_edge ]
  %61 = phi i32 [ %66, %._crit_edge70 ], [ %40, %._crit_edge ]
  %.05672 = phi i32 [ %.pre-phi81, %._crit_edge70 ], [ %38, %._crit_edge ]
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %.lr.ph69, label %.preheader62.._crit_edge70_crit_edge

.preheader62.._crit_edge70_crit_edge:             ; preds = %.preheader62
  %.pre80 = add nsw i32 %.05672, 1
  br label %._crit_edge70

.lr.ph69:                                         ; preds = %.preheader62
  %63 = add nsw i32 %.05672, -1
  %64 = add nsw i32 %.05672, 1
  br label %67

._crit_edge73:                                    ; preds = %._crit_edge70, %._crit_edge
  ret void

._crit_edge70.loopexit:                           ; preds = %.loopexit
  %.pre = load i32, ptr %24, align 8, !tbaa !40
  br label %._crit_edge70

._crit_edge70:                                    ; preds = %.preheader62.._crit_edge70_crit_edge, %._crit_edge70.loopexit
  %.pre-phi81 = phi i32 [ %.pre80, %.preheader62.._crit_edge70_crit_edge ], [ %64, %._crit_edge70.loopexit ]
  %65 = phi i32 [ %60, %.preheader62.._crit_edge70_crit_edge ], [ %.pre, %._crit_edge70.loopexit ]
  %66 = phi i32 [ %61, %.preheader62.._crit_edge70_crit_edge ], [ %115, %._crit_edge70.loopexit ]
  %.not.not = icmp slt i32 %.05672, %65
  br i1 %.not.not, label %.preheader62, label %._crit_edge73, !llvm.loop !45

67:                                               ; preds = %.lr.ph69, %.loopexit
  %.05568 = phi i32 [ 0, %.lr.ph69 ], [ %.pre-phi79, %.loopexit ]
  %68 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %0, i32 noundef %.05672, i32 noundef %.05568)
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %69) #8
  %71 = getelementptr inbounds i8, ptr %70, i64 96
  store ptr null, ptr %71, align 8, !tbaa !47
  store ptr %70, ptr %70, align 8, !tbaa !49
  %72 = getelementptr inbounds i8, ptr %70, i64 8
  %73 = getelementptr inbounds i8, ptr %70, i64 72
  store ptr %72, ptr %73, align 8, !tbaa !50
  %74 = load i32, ptr %23, align 4, !tbaa !39
  %75 = icmp sgt i32 %.05672, %74
  %76 = add nsw i32 %.05568, -1
  br i1 %75, label %.preheader60.preheader, label %..loopexit61_crit_edge

..loopexit61_crit_edge:                           ; preds = %67
  %.pre78 = add nuw nsw i32 %.05568, 1
  br label %.loopexit61

.preheader60.preheader:                           ; preds = %67
  %77 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %0, i32 noundef %63, i32 noundef %76)
  %78 = sext i32 %77 to i64
  %79 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %78) #8
  store ptr %79, ptr %72, align 8, !tbaa !49
  %80 = getelementptr inbounds i8, ptr %70, i64 16
  %81 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %0, i32 noundef %63, i32 noundef %.05568)
  %82 = sext i32 %81 to i64
  %83 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %82) #8
  store ptr %83, ptr %80, align 8, !tbaa !49
  %84 = getelementptr inbounds i8, ptr %70, i64 24
  %85 = add nuw nsw i32 %.05568, 1
  %86 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %0, i32 noundef %63, i32 noundef %85)
  %87 = sext i32 %86 to i64
  %88 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %87) #8
  store ptr %88, ptr %84, align 8, !tbaa !49
  %89 = getelementptr inbounds i8, ptr %70, i64 32
  br label %.loopexit61

.loopexit61:                                      ; preds = %..loopexit61_crit_edge, %.preheader60.preheader
  %.pre-phi79 = phi i32 [ %.pre78, %..loopexit61_crit_edge ], [ %85, %.preheader60.preheader ]
  %.1 = phi ptr [ %72, %..loopexit61_crit_edge ], [ %89, %.preheader60.preheader ]
  %90 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %0, i32 noundef %.05672, i32 noundef %76)
  %91 = sext i32 %90 to i64
  %92 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %91) #8
  store ptr %92, ptr %.1, align 8, !tbaa !49
  %93 = getelementptr inbounds i8, ptr %.1, i64 8
  %94 = getelementptr inbounds i8, ptr %70, i64 80
  store ptr %93, ptr %94, align 8, !tbaa !51
  %95 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %0, i32 noundef %.05672, i32 noundef %.pre-phi79)
  %96 = sext i32 %95 to i64
  %97 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %96) #8
  store ptr %97, ptr %93, align 8, !tbaa !49
  %98 = getelementptr inbounds i8, ptr %.1, i64 16
  %99 = load i32, ptr %24, align 8, !tbaa !40
  %100 = icmp slt i32 %.05672, %99
  br i1 %100, label %.preheader.preheader, label %.loopexit

.preheader.preheader:                             ; preds = %.loopexit61
  %101 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %0, i32 noundef %64, i32 noundef %76)
  %102 = sext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %102) #8
  store ptr %103, ptr %98, align 8, !tbaa !49
  %104 = getelementptr inbounds i8, ptr %.1, i64 24
  %105 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %0, i32 noundef %64, i32 noundef %.05568)
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %106) #8
  store ptr %107, ptr %104, align 8, !tbaa !49
  %108 = getelementptr inbounds i8, ptr %.1, i64 32
  %109 = call noundef i32 @_ZNK7fastjet15ClusterSequence11_tile_indexEii(ptr noundef nonnull align 8 dereferenceable(276) %0, i32 noundef %64, i32 noundef %.pre-phi79)
  %110 = sext i32 %109 to i64
  %111 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %110) #8
  store ptr %111, ptr %108, align 8, !tbaa !49
  %112 = getelementptr inbounds i8, ptr %.1, i64 40
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader.preheader, %.loopexit61
  %.3 = phi ptr [ %98, %.loopexit61 ], [ %112, %.preheader.preheader ]
  %113 = getelementptr inbounds i8, ptr %70, i64 88
  store ptr %.3, ptr %113, align 8, !tbaa !52
  %114 = getelementptr inbounds i8, ptr %70, i64 104
  store i8 0, ptr %114, align 8, !tbaa !53
  %115 = load i32, ptr %14, align 8, !tbaa !37
  %116 = icmp slt i32 %.pre-phi79, %115
  br i1 %116, label %67, label %._crit_edge70.loopexit, !llvm.loop !54
}

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #4

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK7fastjet9PseudoJet3rapEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.floor.v2f64(<2 x double>) #7

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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 248}
!10 = !{!"_ZTSN7fastjet15ClusterSequenceE", !11, i64 8, !20, i64 88, !24, i64 112, !28, i64 136, !29, i64 140, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !13, i64 176, !12, i64 180, !30, i64 184, !29, i64 192, !28, i64 196, !28, i64 197, !31, i64 200, !32, i64 208, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !29, i64 264, !29, i64 268, !29, i64 272}
!11 = !{!"_ZTSN7fastjet13JetDefinitionE", !12, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !14, i64 32, !15, i64 40, !16, i64 48, !14, i64 64, !19, i64 72}
!12 = !{!"_ZTSN7fastjet12JetAlgorithmE", !7, i64 0}
!13 = !{!"_ZTSN7fastjet8StrategyE", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"_ZTSN7fastjet9SharedPtrIKNS_13JetDefinition6PluginEEE", !14, i64 0}
!16 = !{!"_ZTSN7fastjet13JetDefinition17DefaultRecombinerE", !17, i64 0, !18, i64 8}
!17 = !{!"_ZTSN7fastjet13JetDefinition10RecombinerE"}
!18 = !{!"_ZTSN7fastjet19RecombinationSchemeE", !7, i64 0}
!19 = !{!"_ZTSN7fastjet9SharedPtrIKNS_13JetDefinition10RecombinerEEE", !14, i64 0}
!20 = !{!"_ZTSSt6vectorIN7fastjet9PseudoJetESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN7fastjet9PseudoJetESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN7fastjet9PseudoJetESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN7fastjet9PseudoJetESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!24 = !{!"_ZTSSt6vectorIN7fastjet15ClusterSequence15history_elementESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN7fastjet15ClusterSequence15history_elementESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence15history_elementESaIS2_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence15history_elementESaIS2_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!28 = !{!"bool", !7, i64 0}
!29 = !{!"int", !7, i64 0}
!30 = !{!"_ZTSN7fastjet9SharedPtrINS_22PseudoJetStructureBaseEEE", !14, i64 0}
!31 = !{!"_ZTSN7fastjet9SharedPtrINS_15ClusterSequence6ExtrasEEE", !14, i64 0}
!32 = !{!"_ZTSSt6vectorIN7fastjet15ClusterSequence4TileESaIS2_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIN7fastjet15ClusterSequence4TileESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence4TileESaIS2_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN7fastjet15ClusterSequence4TileESaIS2_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!36 = !{!29, !29, i64 0}
!37 = !{!10, !29, i64 264}
!38 = !{!10, !6, i64 256}
!39 = !{!10, !29, i64 268}
!40 = !{!10, !29, i64 272}
!41 = !{!10, !6, i64 232}
!42 = !{!10, !6, i64 240}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = distinct !{!45, !44, !46}
!46 = !{!"llvm.loop.unswitch.partial.disable"}
!47 = !{!48, !14, i64 96}
!48 = !{!"_ZTSN7fastjet15ClusterSequence4TileE", !7, i64 0, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !28, i64 104}
!49 = !{!14, !14, i64 0}
!50 = !{!48, !14, i64 72}
!51 = !{!48, !14, i64 80}
!52 = !{!48, !14, i64 88}
!53 = !{!48, !28, i64 104}
!54 = distinct !{!54, !44}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,VectorCombinePass