; LLVM IR from keroro824/HashingDeepLearning :: SLIDE/DensifiedMinhash.ll (ZN16DensifiedMinhash11getHashEasyEPiPfii)

; 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::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, float }
%class.DensifiedMinhash = type { ptr, i32, i32, i32, i32 }

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #1

; 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 noundef ptr @_ZN16DensifiedMinhash11getHashEasyEPiPfii(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::priority_queue", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"struct.std::pair", align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"struct.std::pair", align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"struct.std::pair", align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  %31 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #8
  call void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(25) %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %32

32:                                               ; preds = %45, %5
  %33 = load i32, ptr %12, align 4, !tbaa !9
  %34 = load i32, ptr %10, align 4, !tbaa !9
  %35 = icmp slt i32 %33, %34
  br i1 %35, label %37, label %36

36:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %52

37:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = load i32, ptr %12, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds float, ptr %38, i64 %40
  %42 = invoke i64 @_ZSt9make_pairIRiRfESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %43 unwind label %48

43:                                               ; preds = %37
  store i64 %42, ptr %13, align 4
  invoke void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %11, ptr noundef nonnull align 4 dereferenceable(8) %13)
          to label %44 unwind label %48

44:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %45

45:                                               ; preds = %44
  %46 = load i32, ptr %12, align 4, !tbaa !9
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %12, align 4, !tbaa !9
  br label %32, !llvm.loop !11

48:                                               ; preds = %43, %37
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %14, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %235

52:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %53 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %53, ptr %16, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %68, %52
  %55 = load i32, ptr %16, align 4, !tbaa !9
  %56 = load i32, ptr %9, align 4, !tbaa !9
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %80

59:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds float, ptr %60, i64 %62
  %64 = invoke i64 @_ZSt9make_pairIRiRfESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %63)
          to label %65 unwind label %71

65:                                               ; preds = %59
  store i64 %64, ptr %17, align 4
  invoke void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %11, ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %66 unwind label %71

66:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  invoke void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %11)
          to label %67 unwind label %75

67:                                               ; preds = %66
  br label %68

68:                                               ; preds = %67
  %69 = load i32, ptr %16, align 4, !tbaa !9
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %16, align 4, !tbaa !9
  br label %54, !llvm.loop !13

71:                                               ; preds = %65, %59
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %14, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %79

75:                                               ; preds = %66
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %14, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %15, align 4
  br label %79

79:                                               ; preds = %75, %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %235

80:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %81 = getelementptr inbounds %class.DensifiedMinhash, ptr %31, i32 0, i32 2
  %82 = load i32, ptr %81, align 4, !tbaa !14
  %83 = sext i32 %82 to i64
  %84 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %83, i64 4)
  %85 = extractvalue { i64, i1 } %84, 1
  %86 = extractvalue { i64, i1 } %84, 0
  %87 = select i1 %85, i64 -1, i64 %86
  %88 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %87) #9
          to label %89 unwind label %105

89:                                               ; preds = %80
  store ptr %88, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %90 = getelementptr inbounds %class.DensifiedMinhash, ptr %31, i32 0, i32 2
  %91 = load i32, ptr %90, align 4, !tbaa !14
  %92 = sext i32 %91 to i64
  %93 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %92, i64 4)
  %94 = extractvalue { i64, i1 } %93, 1
  %95 = extractvalue { i64, i1 } %93, 0
  %96 = select i1 %94, i64 -1, i64 %95
  %97 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %96) #9
          to label %98 unwind label %109

98:                                               ; preds = %89
  store ptr %97, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %99

99:                                               ; preds = %118, %98
  %100 = load i32, ptr %20, align 4, !tbaa !9
  %101 = getelementptr inbounds %class.DensifiedMinhash, ptr %31, i32 0, i32 2
  %102 = load i32, ptr %101, align 4, !tbaa !14
  %103 = icmp slt i32 %100, %102
  br i1 %103, label %113, label %104

104:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %121

105:                                              ; preds = %80
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %14, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %15, align 4
  br label %234

109:                                              ; preds = %89
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %14, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %15, align 4
  br label %233

113:                                              ; preds = %99
  %114 = load ptr, ptr %18, align 8, !tbaa !5
  %115 = load i32, ptr %20, align 4, !tbaa !9
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds i32, ptr %114, i64 %116
  store i32 -2147483648, ptr %117, align 4, !tbaa !9
  br label %118

118:                                              ; preds = %113
  %119 = load i32, ptr %20, align 4, !tbaa !9
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %20, align 4, !tbaa !9
  br label %99, !llvm.loop !16

121:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %122

122:                                              ; preds = %156, %121
  %123 = load i32, ptr %21, align 4, !tbaa !9
  %124 = load i32, ptr %10, align 4, !tbaa !9
  %125 = icmp slt i32 %123, %124
  br i1 %125, label %127, label %126

126:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %159

127:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %128 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %11)
          to label %129 unwind label %151

129:                                              ; preds = %127
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %128, i64 8, i1 false)
  invoke void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %11)
          to label %130 unwind label %151

130:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %131 = getelementptr inbounds %"struct.std::pair", ptr %22, i32 0, i32 0
  %132 = load i32, ptr %131, align 4, !tbaa !17
  store i32 %132, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  %134 = load i32, ptr %23, align 4, !tbaa !9
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds i32, ptr %133, i64 %135
  %137 = load i32, ptr %136, align 4, !tbaa !9
  store i32 %137, ptr %24, align 4, !tbaa !9
  %138 = load ptr, ptr %18, align 8, !tbaa !5
  %139 = load i32, ptr %24, align 4, !tbaa !9
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds i32, ptr %138, i64 %140
  %142 = load i32, ptr %141, align 4, !tbaa !9
  %143 = load i32, ptr %23, align 4, !tbaa !9
  %144 = icmp slt i32 %142, %143
  br i1 %144, label %145, label %155

145:                                              ; preds = %130
  %146 = load i32, ptr %23, align 4, !tbaa !9
  %147 = load ptr, ptr %18, align 8, !tbaa !5
  %148 = load i32, ptr %24, align 4, !tbaa !9
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds i32, ptr %147, i64 %149
  store i32 %146, ptr %150, align 4, !tbaa !9
  br label %155

151:                                              ; preds = %129, %127
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %14, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %233

155:                                              ; preds = %145, %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %156

156:                                              ; preds = %155
  %157 = load i32, ptr %21, align 4, !tbaa !9
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %21, align 4, !tbaa !9
  br label %122, !llvm.loop !20

159:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %160

160:                                              ; preds = %224, %159
  %161 = load i32, ptr %25, align 4, !tbaa !9
  %162 = getelementptr inbounds %class.DensifiedMinhash, ptr %31, i32 0, i32 2
  %163 = load i32, ptr %162, align 4, !tbaa !14
  %164 = icmp slt i32 %161, %163
  br i1 %164, label %166, label %165

165:                                              ; preds = %160
  store i32 14, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %227

166:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  %167 = load ptr, ptr %18, align 8, !tbaa !5
  %168 = load i32, ptr %25, align 4, !tbaa !9
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds i32, ptr %167, i64 %169
  %171 = load i32, ptr %170, align 4, !tbaa !9
  store i32 %171, ptr %27, align 4, !tbaa !9
  %172 = load i32, ptr %27, align 4, !tbaa !9
  %173 = icmp ne i32 %172, -2147483648
  br i1 %173, label %174, label %184

174:                                              ; preds = %166
  %175 = load ptr, ptr %18, align 8, !tbaa !5
  %176 = load i32, ptr %25, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds i32, ptr %175, i64 %177
  %179 = load i32, ptr %178, align 4, !tbaa !9
  %180 = load ptr, ptr %19, align 8, !tbaa !5
  %181 = load i32, ptr %25, align 4, !tbaa !9
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds i32, ptr %180, i64 %182
  store i32 %179, ptr %183, align 4, !tbaa !9
  store i32 16, ptr %26, align 4
  br label %221

184:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %185

185:                                              ; preds = %214, %184
  %186 = load i32, ptr %27, align 4, !tbaa !9
  %187 = icmp eq i32 %186, -2147483648
  br i1 %187, label %188, label %215

188:                                              ; preds = %185
  %189 = load i32, ptr %28, align 4, !tbaa !9
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %191 = load i32, ptr %25, align 4, !tbaa !9
  %192 = load i32, ptr %28, align 4, !tbaa !9
  %193 = invoke noundef i32 @_ZN16DensifiedMinhash17getRandDoubleHashEii(ptr noundef nonnull align 8 dereferenceable(24) %31, i32 noundef %191, i32 noundef %192)
          to label %194 unwind label %207

194:                                              ; preds = %188
  store i32 %193, ptr %30, align 4, !tbaa !9
  %195 = getelementptr inbounds %class.DensifiedMinhash, ptr %31, i32 0, i32 2
  %196 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %195)
          to label %197 unwind label %207

197:                                              ; preds = %194
  %198 = load i32, ptr %196, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  store i32 %198, ptr %29, align 4, !tbaa !9
  %199 = load ptr, ptr %18, align 8, !tbaa !5
  %200 = load i32, ptr %29, align 4, !tbaa !9
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds i32, ptr %199, i64 %201
  %203 = load i32, ptr %202, align 4, !tbaa !9
  store i32 %203, ptr %27, align 4, !tbaa !9
  %204 = load i32, ptr %28, align 4, !tbaa !9
  %205 = icmp sgt i32 %204, 100
  br i1 %205, label %206, label %211

206:                                              ; preds = %197
  store i32 18, ptr %26, align 4
  br label %212

207:                                              ; preds = %194, %188
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %14, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %233

211:                                              ; preds = %197
  store i32 0, ptr %26, align 4
  br label %212

212:                                              ; preds = %211, %206
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  %213 = load i32, ptr %26, align 4
  switch i32 %213, label %241 [
    i32 0, label %214
    i32 18, label %215
  ]

214:                                              ; preds = %212
  br label %185, !llvm.loop !21

215:                                              ; preds = %212, %185
  %216 = load i32, ptr %27, align 4, !tbaa !9
  %217 = load ptr, ptr %19, align 8, !tbaa !5
  %218 = load i32, ptr %25, align 4, !tbaa !9
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds i32, ptr %217, i64 %219
  store i32 %216, ptr %220, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  store i32 0, ptr %26, align 4
  br label %221

221:                                              ; preds = %215, %174
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  %222 = load i32, ptr %26, align 4
  switch i32 %222, label %241 [
    i32 0, label %223
    i32 16, label %224
  ]

223:                                              ; preds = %221
  br label %224

224:                                              ; preds = %223, %221
  %225 = load i32, ptr %25, align 4, !tbaa !9
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %25, align 4, !tbaa !9
  br label %160, !llvm.loop !22

227:                                              ; preds = %165
  %228 = load ptr, ptr %18, align 8, !tbaa !5
  %229 = icmp eq ptr %228, null
  br i1 %229, label %231, label %230

230:                                              ; preds = %227
  call void @_ZdaPv(ptr noundef %228) #10
  br label %231

231:                                              ; preds = %230, %227
  %232 = load ptr, ptr %19, align 8, !tbaa !5
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  ret ptr %232

233:                                              ; preds = %207, %151, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %234

234:                                              ; preds = %233, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %235

235:                                              ; preds = %234, %79, %48
  call void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  br label %236

236:                                              ; preds = %235
  %237 = load ptr, ptr %14, align 8
  %238 = load i32, ptr %15, align 4
  %239 = insertvalue { ptr, i32 } poison, ptr %237, 0
  %240 = insertvalue { ptr, i32 } %239, i32 %238, 1
  resume { ptr, i32 } %240

241:                                              ; preds = %221, %212
  unreachable
}

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #4

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpED2Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #6 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { nobuiltin 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !10, i64 12}
!15 = !{!"_ZTS16DensifiedMinhash", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!16 = distinct !{!16, !12}
!17 = !{!18, !10, i64 0}
!18 = !{!"_ZTSSt4pairIifE", !10, i64 0, !19, i64 4}
!19 = !{!"float", !7, i64 0}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}


; 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::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, float }

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #1

; 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 noalias noundef nonnull ptr @_ZN16DensifiedMinhash11getHashEasyEPiPfii(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::priority_queue", align 8
  %7 = alloca i32, align 4
  %8 = alloca %"struct.std::pair", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"struct.std::pair", align 8
  %11 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  call void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(25) %6)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  %12 = icmp sgt i32 %4, 0
  br i1 %12, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %18, %5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  store i32 %4, ptr %9, align 4, !tbaa !5
  %13 = icmp slt i32 %4, %3
  br i1 %13, label %.lr.ph71, label %._crit_edge72

.lr.ph:                                           ; preds = %5, %18
  %storemerge68 = phi i32 [ %20, %18 ], [ 0, %5 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %14 = sext i32 %storemerge68 to i64
  %15 = getelementptr inbounds float, ptr %2, i64 %14
  %16 = invoke i64 @_ZSt9make_pairIRiRfESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %17 unwind label %22

17:                                               ; preds = %.lr.ph
  store i64 %16, ptr %8, align 8
  invoke void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %6, ptr noundef nonnull align 4 dereferenceable(8) %8)
          to label %18 unwind label %22

18:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %19 = load i32, ptr %7, align 4, !tbaa !5
  %20 = add nsw i32 %19, 1
  store i32 %20, ptr %7, align 4, !tbaa !5
  %21 = icmp slt i32 %20, %4
  br i1 %21, label %.lr.ph, label %._crit_edge, !llvm.loop !9

22:                                               ; preds = %17, %.lr.ph
  %23 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %93

._crit_edge72:                                    ; preds = %36, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  %24 = getelementptr inbounds i8, ptr %0, i64 12
  %25 = load i32, ptr %24, align 4, !tbaa !11
  %26 = sext i32 %25 to i64
  %27 = icmp slt i32 %25, 0
  %28 = shl nsw i64 %26, 2
  %29 = select i1 %27, i64 -1, i64 %28
  %30 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %29) #7
          to label %45 unwind label %51

.lr.ph71:                                         ; preds = %._crit_edge, %36
  %storemerge5869 = phi i32 [ %38, %36 ], [ %4, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %31 = sext i32 %storemerge5869 to i64
  %32 = getelementptr inbounds float, ptr %2, i64 %31
  %33 = invoke i64 @_ZSt9make_pairIRiRfESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %34 unwind label %40

34:                                               ; preds = %.lr.ph71
  store i64 %33, ptr %10, align 8
  invoke void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %6, ptr noundef nonnull align 4 dereferenceable(8) %10)
          to label %35 unwind label %40

35:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  invoke void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %6)
          to label %36 unwind label %42

36:                                               ; preds = %35
  %37 = load i32, ptr %9, align 4, !tbaa !5
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %9, align 4, !tbaa !5
  %39 = icmp slt i32 %38, %3
  br i1 %39, label %.lr.ph71, label %._crit_edge72, !llvm.loop !14

40:                                               ; preds = %34, %.lr.ph71
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %44

42:                                               ; preds = %35
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %44

44:                                               ; preds = %42, %40
  %.pn61 = phi { ptr, i32 } [ %43, %42 ], [ %41, %40 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  br label %93

45:                                               ; preds = %._crit_edge72
  %46 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %29) #7
          to label %.preheader67 unwind label %53

.preheader67:                                     ; preds = %45
  %47 = icmp sgt i32 %25, 0
  br i1 %47, label %.lr.ph74.preheader, label %.preheader66

.lr.ph74.preheader:                               ; preds = %.preheader67
  %wide.trip.count = zext nneg i32 %25 to i64
  %min.iters.check = icmp ult i32 %25, 8
  br i1 %min.iters.check, label %.lr.ph74.preheader87, label %vector.ph

.lr.ph74.preheader87:                             ; preds = %middle.block, %.lr.ph74.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph74.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph74

vector.ph:                                        ; preds = %.lr.ph74.preheader
  %n.vec = and i64 %wide.trip.count, 2147483640
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %48 = getelementptr inbounds i32, ptr %30, i64 %index
  %49 = getelementptr inbounds i8, ptr %48, i64 16
  store <4 x i32> <i32 -2147483648, i32 -2147483648, i32 -2147483648, i32 -2147483648>, ptr %48, align 4, !tbaa !5
  store <4 x i32> <i32 -2147483648, i32 -2147483648, i32 -2147483648, i32 -2147483648>, ptr %49, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %50 = icmp eq i64 %index.next, %n.vec
  br i1 %50, label %middle.block, label %vector.body, !llvm.loop !15

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader66, label %.lr.ph74.preheader87

.preheader66:                                     ; preds = %.lr.ph74, %middle.block, %.preheader67
  br i1 %12, label %.lr.ph76, label %.preheader65

51:                                               ; preds = %._crit_edge72
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %93

53:                                               ; preds = %45
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %93

.lr.ph74:                                         ; preds = %.lr.ph74.preheader87, %.lr.ph74
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph74 ], [ %indvars.iv.ph, %.lr.ph74.preheader87 ]
  %55 = getelementptr inbounds i32, ptr %30, i64 %indvars.iv
  store i32 -2147483648, ptr %55, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader66, label %.lr.ph74, !llvm.loop !18

.preheader65.loopexit:                            ; preds = %70
  %.pre = load i32, ptr %24, align 4, !tbaa !11
  br label %.preheader65

.preheader65:                                     ; preds = %.preheader65.loopexit, %.preheader66
  %56 = phi i32 [ %.pre, %.preheader65.loopexit ], [ %25, %.preheader66 ]
  %57 = icmp sgt i32 %56, 0
  br i1 %57, label %.lr.ph78, label %._crit_edge79

.lr.ph76:                                         ; preds = %.preheader66, %70
  %.05475 = phi i32 [ %71, %70 ], [ 0, %.preheader66 ]
  %58 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %6)
  %.sroa.0.0.copyload = load i32, ptr %58, align 4
  invoke void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %6)
          to label %59 unwind label %68

59:                                               ; preds = %.lr.ph76
  %60 = sext i32 %.sroa.0.0.copyload to i64
  %61 = getelementptr inbounds i32, ptr %1, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds i32, ptr %30, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = icmp slt i32 %65, %.sroa.0.0.copyload
  br i1 %66, label %67, label %70

67:                                               ; preds = %59
  store i32 %.sroa.0.0.copyload, ptr %64, align 4, !tbaa !5
  br label %70

68:                                               ; preds = %.lr.ph76
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %93

70:                                               ; preds = %67, %59
  %71 = add nuw nsw i32 %.05475, 1
  %exitcond81.not = icmp eq i32 %71, %4
  br i1 %exitcond81.not, label %.preheader65.loopexit, label %.lr.ph76, !llvm.loop !19

.lr.ph78:                                         ; preds = %.preheader65, %89
  %72 = phi i32 [ %90, %89 ], [ %56, %.preheader65 ]
  %indvars.iv83 = phi i64 [ %indvars.iv.next84, %89 ], [ 0, %.preheader65 ]
  %73 = getelementptr inbounds i32, ptr %30, i64 %indvars.iv83
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %.not = icmp eq i32 %74, -2147483648
  br i1 %.not, label %.preheader.preheader, label %76

.preheader.preheader:                             ; preds = %.lr.ph78
  %75 = trunc nuw nsw i64 %indvars.iv83 to i32
  br label %.preheader

76:                                               ; preds = %.lr.ph78
  %77 = getelementptr inbounds i32, ptr %46, i64 %indvars.iv83
  store i32 %74, ptr %77, align 4, !tbaa !5
  br label %89

.preheader:                                       ; preds = %.preheader.preheader, %79
  %.045 = phi i32 [ %86, %79 ], [ -2147483648, %.preheader.preheader ]
  %.044 = phi i32 [ %80, %79 ], [ 0, %.preheader.preheader ]
  %78 = icmp eq i32 %.045, -2147483648
  br i1 %78, label %79, label %87

79:                                               ; preds = %.preheader
  %80 = add nuw nsw i32 %.044, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  %81 = call noundef i32 @_ZN16DensifiedMinhash17getRandDoubleHashEii(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef %75, i32 noundef %80)
  store i32 %81, ptr %11, align 4, !tbaa !5
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %83 = load i32, ptr %82, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds i32, ptr %30, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %exitcond82 = icmp eq i32 %80, 101
  br i1 %exitcond82, label %87, label %.preheader

87:                                               ; preds = %79, %.preheader
  %.146 = phi i32 [ %86, %79 ], [ %.045, %.preheader ]
  %88 = getelementptr inbounds i32, ptr %46, i64 %indvars.iv83
  store i32 %.146, ptr %88, align 4, !tbaa !5
  %.pre86 = load i32, ptr %24, align 4, !tbaa !11
  br label %89

89:                                               ; preds = %87, %76
  %90 = phi i32 [ %.pre86, %87 ], [ %72, %76 ]
  %indvars.iv.next84 = add nuw nsw i64 %indvars.iv83, 1
  %91 = sext i32 %90 to i64
  %92 = icmp slt i64 %indvars.iv.next84, %91
  br i1 %92, label %.lr.ph78, label %._crit_edge79, !llvm.loop !20

._crit_edge79:                                    ; preds = %89, %.preheader65
  call void @_ZdaPv(ptr noundef nonnull %30) #8
  call void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  ret ptr %46

93:                                               ; preds = %51, %68, %53, %44, %22
  %.pn63 = phi { ptr, i32 } [ %23, %22 ], [ %.pn61, %44 ], [ %52, %51 ], [ %69, %68 ], [ %54, %53 ]
  call void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  resume { ptr, i32 } %.pn63
}

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

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

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

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

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIifESt6vectorIS1_SaIS1_EE3cmpED2Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(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 = { 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 = { 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 #5 = { nobuiltin 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 }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 12}
!12 = !{!"_ZTS16DensifiedMinhash", !13, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20}
!13 = !{!"any pointer", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10, !16, !17}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = distinct !{!18, !10, !17, !16}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass