; LLVM IR from MtSaka/library :: test/yosupo/number_theory/counting_primes.test.ll (Z11prime_countx)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.3" = type { i8 }

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_Z11prime_countx(i64 noundef %0) #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector.1", align 8
  %11 = alloca %"class.std::allocator.3", align 1
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  store i64 %0, ptr %3, align 8, !tbaa !5
  %25 = load i64, ptr %3, align 8, !tbaa !5
  %26 = icmp eq i64 %25, 1
  br i1 %26, label %27, label %28

27:                                               ; preds = %1
  store i64 0, ptr %2, align 8
  br label %208

28:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %29 = load i64, ptr %3, align 8, !tbaa !5
  %30 = sitofp i64 %29 to x86_fp80
  %31 = call x86_fp80 @sqrtl(x86_fp80 noundef %30) #5
  %32 = fptosi x86_fp80 %31 to i64
  store i64 %32, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #5
  %33 = load i64, ptr %4, align 8, !tbaa !5
  %34 = add nsw i64 %33, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %34, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %35 unwind label %45

35:                                               ; preds = %28
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #5
  %36 = load i64, ptr %4, align 8, !tbaa !5
  %37 = add nsw i64 %36, 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %37, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %38 unwind label %49

38:                                               ; preds = %35
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i64 2, ptr %12, align 8, !tbaa !5
  br label %39

39:                                               ; preds = %60, %38
  %40 = load i64, ptr %12, align 8, !tbaa !5
  %41 = load i64, ptr %4, align 8, !tbaa !5
  %42 = add nsw i64 %41, 1
  %43 = icmp slt i64 %40, %42
  br i1 %43, label %53, label %44

44:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %63

45:                                               ; preds = %28
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %8, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %207

49:                                               ; preds = %35
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %8, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  br label %206

53:                                               ; preds = %39
  %54 = load i64, ptr %12, align 8, !tbaa !5
  %55 = add nsw i64 %54, 1
  %56 = sdiv i64 %55, 2
  %57 = trunc i64 %56 to i32
  %58 = load i64, ptr %12, align 8, !tbaa !5
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %58) #5
  store i32 %57, ptr %59, align 4, !tbaa !9
  br label %60

60:                                               ; preds = %53
  %61 = load i64, ptr %12, align 8, !tbaa !5
  %62 = add nsw i64 %61, 1
  store i64 %62, ptr %12, align 8, !tbaa !5
  br label %39, !llvm.loop !11

63:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store i64 1, ptr %13, align 8, !tbaa !5
  br label %64

64:                                               ; preds = %81, %63
  %65 = load i64, ptr %13, align 8, !tbaa !5
  %66 = load i64, ptr %4, align 8, !tbaa !5
  %67 = add nsw i64 %66, 1
  %68 = icmp slt i64 %65, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %84

70:                                               ; preds = %64
  %71 = load i64, ptr %3, align 8, !tbaa !5
  %72 = sitofp i64 %71 to double
  %73 = load i64, ptr %13, align 8, !tbaa !5
  %74 = sitofp i64 %73 to double
  %75 = fdiv double %72, %74
  %76 = fadd double %75, 1.000000e+00
  %77 = fdiv double %76, 2.000000e+00
  %78 = fptosi double %77 to i64
  %79 = load i64, ptr %13, align 8, !tbaa !5
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %79) #5
  store i64 %78, ptr %80, align 8, !tbaa !5
  br label %81

81:                                               ; preds = %70
  %82 = load i64, ptr %13, align 8, !tbaa !5
  %83 = add nsw i64 %82, 1
  store i64 %83, ptr %13, align 8, !tbaa !5
  br label %64, !llvm.loop !13

84:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 1, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 3, ptr %15, align 8, !tbaa !5
  br label %85

85:                                               ; preds = %200, %84
  %86 = load i64, ptr %15, align 8, !tbaa !5
  %87 = load i64, ptr %4, align 8, !tbaa !5
  %88 = icmp sle i64 %86, %87
  br i1 %88, label %90, label %89

89:                                               ; preds = %85
  store i32 8, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %203

90:                                               ; preds = %85
  %91 = load i64, ptr %15, align 8, !tbaa !5
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %91) #5
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = load i64, ptr %15, align 8, !tbaa !5
  %95 = sub nsw i64 %94, 1
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %95) #5
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = icmp eq i32 %93, %97
  br i1 %98, label %99, label %100

99:                                               ; preds = %90
  br label %200

100:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %101 = load i64, ptr %4, align 8, !tbaa !5
  %102 = load i64, ptr %15, align 8, !tbaa !5
  %103 = sdiv i64 %101, %102
  store i64 %103, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %104 = load i64, ptr %15, align 8, !tbaa !5
  %105 = load i64, ptr %15, align 8, !tbaa !5
  %106 = mul nsw i64 %104, %105
  store i64 %106, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  store i64 1, ptr %19, align 8, !tbaa !5
  br label %107

107:                                              ; preds = %126, %100
  %108 = load i64, ptr %19, align 8, !tbaa !5
  %109 = load i64, ptr %17, align 8, !tbaa !5
  %110 = add nsw i64 %109, 1
  %111 = icmp slt i64 %108, %110
  br i1 %111, label %113, label %112

112:                                              ; preds = %107
  store i32 11, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %129

113:                                              ; preds = %107
  %114 = load i64, ptr %19, align 8, !tbaa !5
  %115 = load i64, ptr %15, align 8, !tbaa !5
  %116 = mul nsw i64 %114, %115
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %116) #5
  %118 = load i64, ptr %117, align 8, !tbaa !5
  %119 = load i32, ptr %14, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  %121 = sub nsw i64 %118, %120
  %122 = load i64, ptr %19, align 8, !tbaa !5
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %122) #5
  %124 = load i64, ptr %123, align 8, !tbaa !5
  %125 = sub nsw i64 %124, %121
  store i64 %125, ptr %123, align 8, !tbaa !5
  br label %126

126:                                              ; preds = %113
  %127 = load i64, ptr %19, align 8, !tbaa !5
  %128 = add nsw i64 %127, 1
  store i64 %128, ptr %19, align 8, !tbaa !5
  br label %107, !llvm.loop !14

129:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %130 = load i64, ptr %3, align 8, !tbaa !5
  %131 = load i64, ptr %18, align 8, !tbaa !5
  %132 = sdiv i64 %130, %131
  store i64 %132, ptr %21, align 8, !tbaa !5
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %134 unwind label %147

134:                                              ; preds = %129
  %135 = load i64, ptr %133, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  store i64 %135, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %136 = load i64, ptr %3, align 8, !tbaa !5
  %137 = load i64, ptr %15, align 8, !tbaa !5
  %138 = sdiv i64 %136, %137
  store i64 %138, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %139 = load i64, ptr %17, align 8, !tbaa !5
  %140 = add nsw i64 %139, 1
  store i64 %140, ptr %23, align 8, !tbaa !5
  br label %141

141:                                              ; preds = %167, %134
  %142 = load i64, ptr %23, align 8, !tbaa !5
  %143 = load i64, ptr %20, align 8, !tbaa !5
  %144 = add nsw i64 %143, 1
  %145 = icmp slt i64 %142, %144
  br i1 %145, label %151, label %146

146:                                              ; preds = %141
  store i32 14, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %170

147:                                              ; preds = %129
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %8, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br label %206

151:                                              ; preds = %141
  %152 = load i64, ptr %22, align 8, !tbaa !5
  %153 = sitofp i64 %152 to double
  %154 = load i64, ptr %23, align 8, !tbaa !5
  %155 = sitofp i64 %154 to double
  %156 = fdiv double %153, %155
  %157 = fptoui double %156 to i64
  %158 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %157) #5
  %159 = load i32, ptr %158, align 4, !tbaa !9
  %160 = load i32, ptr %14, align 4, !tbaa !9
  %161 = sub nsw i32 %159, %160
  %162 = sext i32 %161 to i64
  %163 = load i64, ptr %23, align 8, !tbaa !5
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %163) #5
  %165 = load i64, ptr %164, align 8, !tbaa !5
  %166 = sub nsw i64 %165, %162
  store i64 %166, ptr %164, align 8, !tbaa !5
  br label %167

167:                                              ; preds = %151
  %168 = load i64, ptr %23, align 8, !tbaa !5
  %169 = add nsw i64 %168, 1
  store i64 %169, ptr %23, align 8, !tbaa !5
  br label %141, !llvm.loop !15

170:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %171 = load i64, ptr %4, align 8, !tbaa !5
  %172 = add nsw i64 %171, 1
  %173 = sub nsw i64 %172, 1
  store i64 %173, ptr %24, align 8, !tbaa !5
  br label %174

174:                                              ; preds = %194, %170
  %175 = load i64, ptr %24, align 8, !tbaa !5
  %176 = load i64, ptr %18, align 8, !tbaa !5
  %177 = icmp sge i64 %175, %176
  br i1 %177, label %179, label %178

178:                                              ; preds = %174
  store i32 17, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %197

179:                                              ; preds = %174
  %180 = load i64, ptr %24, align 8, !tbaa !5
  %181 = sitofp i64 %180 to double
  %182 = load i64, ptr %15, align 8, !tbaa !5
  %183 = sitofp i64 %182 to double
  %184 = fdiv double %181, %183
  %185 = fptoui double %184 to i64
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %185) #5
  %187 = load i32, ptr %186, align 4, !tbaa !9
  %188 = load i32, ptr %14, align 4, !tbaa !9
  %189 = sub nsw i32 %187, %188
  %190 = load i64, ptr %24, align 8, !tbaa !5
  %191 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %190) #5
  %192 = load i32, ptr %191, align 4, !tbaa !9
  %193 = sub nsw i32 %192, %189
  store i32 %193, ptr %191, align 4, !tbaa !9
  br label %194

194:                                              ; preds = %179
  %195 = load i64, ptr %24, align 8, !tbaa !5
  %196 = add nsw i64 %195, -1
  store i64 %196, ptr %24, align 8, !tbaa !5
  br label %174, !llvm.loop !16

197:                                              ; preds = %178
  %198 = load i32, ptr %14, align 4, !tbaa !9
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %200

200:                                              ; preds = %197, %99
  %201 = load i64, ptr %15, align 8, !tbaa !5
  %202 = add nsw i64 %201, 2
  store i64 %202, ptr %15, align 8, !tbaa !5
  br label %85, !llvm.loop !17

203:                                              ; preds = %89
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 1) #5
  %205 = load i64, ptr %204, align 8, !tbaa !5
  store i64 %205, ptr %2, align 8
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %208

206:                                              ; preds = %147, %49
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  br label %207

207:                                              ; preds = %206, %45
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %210

208:                                              ; preds = %203, %27
  %209 = load i64, ptr %2, align 8
  ret i64 %209

210:                                              ; preds = %207
  %211 = load ptr, ptr %8, align 8
  %212 = load i32, ptr %9, align 4
  %213 = insertvalue { ptr, i32 } poison, ptr %211, 0
  %214 = insertvalue { ptr, i32 } %213, i32 %212, 1
  resume { ptr, i32 } %214
}

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

; Function Attrs: nounwind
declare x86_fp80 @sqrtl(x86_fp80 noundef) #2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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 = !{!"long long", !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 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.3" = type { i8 }

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_Z11prime_countx(i64 noundef %0) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca i64, align 8
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca %"class.std::vector.1", align 8
  %7 = alloca %"class.std::allocator.3", align 1
  %8 = alloca i64, align 8
  %9 = icmp eq i64 %0, 1
  br i1 %9, label %88, label %10

10:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %11 = sitofp i64 %0 to x86_fp80
  %12 = tail call x86_fp80 @sqrtl(x86_fp80 noundef %11) #5
  %13 = fptosi x86_fp80 %12 to i64
  store i64 %13, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  %14 = add nsw i64 %13, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  store i32 0, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %14, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %15 unwind label %18

15:                                               ; preds = %10
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %14, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %16 unwind label %20

16:                                               ; preds = %15
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  %.not67 = icmp slt i64 %13, 2
  br i1 %.not67, label %.preheader66, label %.lr.ph

.preheader66:                                     ; preds = %.lr.ph, %16
  %.not5969 = icmp slt i64 %13, 1
  br i1 %.not5969, label %._crit_edge89, label %.lr.ph71

.lr.ph71:                                         ; preds = %.preheader66
  %17 = sitofp i64 %0 to double
  br label %26

18:                                               ; preds = %10
  %19 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  br label %87

20:                                               ; preds = %15
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  br label %87

.lr.ph:                                           ; preds = %16, %.lr.ph
  %.05268 = phi i64 [ %22, %.lr.ph ], [ 2, %16 ]
  %22 = add nuw nsw i64 %.05268, 1
  %23 = lshr i64 %22, 1
  %24 = trunc i64 %23 to i32
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.05268) #5
  store i32 %24, ptr %25, align 4, !tbaa !9
  %.not.not = icmp slt i64 %.05268, %13
  br i1 %.not.not, label %.lr.ph, label %.preheader66, !llvm.loop !11

.preheader:                                       ; preds = %26
  %.not6084 = icmp slt i64 %13, 3
  br i1 %.not6084, label %._crit_edge89, label %.lr.ph88

26:                                               ; preds = %.lr.ph71, %26
  %.05570 = phi i64 [ 1, %.lr.ph71 ], [ %33, %26 ]
  %27 = uitofp nneg i64 %.05570 to double
  %28 = fdiv double %17, %27
  %29 = fadd double %28, 1.000000e+00
  %30 = fmul double %29, 5.000000e-01
  %31 = fptosi double %30 to i64
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.05570) #5
  store i64 %31, ptr %32, align 8, !tbaa !5
  %33 = add nuw nsw i64 %.05570, 1
  %.not59.not = icmp slt i64 %.05570, %13
  br i1 %.not59.not, label %26, label %.preheader, !llvm.loop !13

._crit_edge89:                                    ; preds = %84, %.preheader66, %.preheader
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 1) #5
  %35 = load i64, ptr %34, align 8, !tbaa !5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  br label %88

.lr.ph88:                                         ; preds = %.preheader, %84
  %.05386 = phi i64 [ %86, %84 ], [ 3, %.preheader ]
  %.05485 = phi i32 [ %.1, %84 ], [ 1, %.preheader ]
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.05386) #5
  %37 = load i32, ptr %36, align 4, !tbaa !9
  %38 = add nsw i64 %.05386, -1
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %38) #5
  %40 = load i32, ptr %39, align 4, !tbaa !9
  %41 = icmp eq i32 %37, %40
  %.pre91 = load i64, ptr %2, align 8, !tbaa !5
  br i1 %41, label %84, label %42

42:                                               ; preds = %.lr.ph88
  %43 = sdiv i64 %.pre91, %.05386
  %44 = mul nuw nsw i64 %.05386, %.05386
  %.not6172 = icmp slt i64 %43, 1
  br i1 %.not6172, label %._crit_edge, label %.lr.ph74

.lr.ph74:                                         ; preds = %42
  %45 = sext i32 %.05485 to i64
  br label %52

._crit_edge:                                      ; preds = %52, %42
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %46 = sdiv i64 %0, %44
  store i64 %46, ptr %8, align 8, !tbaa !5
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %48 = load i64, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  %49 = icmp slt i64 %43, %48
  br i1 %49, label %.lr.ph77, label %._crit_edge78

.lr.ph77:                                         ; preds = %._crit_edge
  %50 = sdiv i64 %0, %.05386
  %51 = sitofp i64 %50 to double
  br label %62

52:                                               ; preds = %.lr.ph74, %52
  %.05073 = phi i64 [ 1, %.lr.ph74 ], [ %59, %52 ]
  %53 = mul nuw nsw i64 %.05073, %.05386
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %53) #5
  %55 = load i64, ptr %54, align 8, !tbaa !5
  %.neg63 = sub i64 %45, %55
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.05073) #5
  %57 = load i64, ptr %56, align 8, !tbaa !5
  %58 = add i64 %.neg63, %57
  store i64 %58, ptr %56, align 8, !tbaa !5
  %59 = add nuw i64 %.05073, 1
  %exitcond.not = icmp eq i64 %.05073, %43
  br i1 %exitcond.not, label %._crit_edge, label %52, !llvm.loop !14

._crit_edge78:                                    ; preds = %62, %._crit_edge
  %60 = load i64, ptr %2, align 8, !tbaa !5
  %.not6279 = icmp slt i64 %60, %44
  br i1 %.not6279, label %._crit_edge83, label %.lr.ph82

.lr.ph82:                                         ; preds = %._crit_edge78
  %61 = uitofp nneg i64 %.05386 to double
  br label %74

62:                                               ; preds = %.lr.ph77, %62
  %.047.in75 = phi i64 [ %43, %.lr.ph77 ], [ %.047, %62 ]
  %.047 = add nsw i64 %.047.in75, 1
  %63 = sitofp i64 %.047 to double
  %64 = fdiv double %51, %63
  %65 = fptoui double %64 to i64
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %65) #5
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = sub nsw i32 %67, %.05485
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.047) #5
  %71 = load i64, ptr %70, align 8, !tbaa !5
  %72 = sub nsw i64 %71, %69
  store i64 %72, ptr %70, align 8, !tbaa !5
  %exitcond90.not = icmp eq i64 %.047, %48
  br i1 %exitcond90.not, label %._crit_edge78, label %62, !llvm.loop !15

._crit_edge83.loopexit:                           ; preds = %74
  %.pre.pre = load i64, ptr %2, align 8, !tbaa !5
  br label %._crit_edge83

._crit_edge83:                                    ; preds = %._crit_edge83.loopexit, %._crit_edge78
  %.pre = phi i64 [ %.pre.pre, %._crit_edge83.loopexit ], [ %60, %._crit_edge78 ]
  %73 = add nsw i32 %.05485, 1
  br label %84

74:                                               ; preds = %.lr.ph82, %74
  %.080 = phi i64 [ %60, %.lr.ph82 ], [ %83, %74 ]
  %75 = sitofp i64 %.080 to double
  %76 = fdiv double %75, %61
  %77 = fptoui double %76 to i64
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %77) #5
  %79 = load i32, ptr %78, align 4, !tbaa !9
  %.neg = sub i32 %.05485, %79
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.080) #5
  %81 = load i32, ptr %80, align 4, !tbaa !9
  %82 = add i32 %.neg, %81
  store i32 %82, ptr %80, align 4, !tbaa !9
  %83 = add nsw i64 %.080, -1
  %.not62.not = icmp sgt i64 %.080, %44
  br i1 %.not62.not, label %74, label %._crit_edge83.loopexit, !llvm.loop !16

84:                                               ; preds = %.lr.ph88, %._crit_edge83
  %85 = phi i64 [ %.pre91, %.lr.ph88 ], [ %.pre, %._crit_edge83 ]
  %.1 = phi i32 [ %.05485, %.lr.ph88 ], [ %73, %._crit_edge83 ]
  %86 = add nuw nsw i64 %.05386, 2
  %.not60 = icmp sgt i64 %86, %85
  br i1 %.not60, label %._crit_edge89, label %.lr.ph88, !llvm.loop !17

87:                                               ; preds = %20, %18
  %.pn = phi { ptr, i32 } [ %21, %20 ], [ %19, %18 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn

88:                                               ; preds = %1, %._crit_edge89
  %.048 = phi i64 [ %35, %._crit_edge89 ], [ 0, %1 ]
  ret i64 %.048
}

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare x86_fp80 @sqrtl(x86_fp80 noundef) local_unnamed_addr #2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(write) "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 = { 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 = !{!"long long", !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 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass