; LLVM IR from kazulagi/plantFEM :: src/OpenCLClass (opencl_test)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@__const.main.filename = external hidden unnamed_addr constant [12 x i8], align 1
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@__const.main.global_work_size = external hidden unnamed_addr constant [3 x i64], align 16
@__const.main.local_work_size = external hidden unnamed_addr constant [3 x i64], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca [12 x i8], align 1
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, 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 ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca i64, align 8
  %25 = alloca [3 x i64], align 16
  %26 = alloca [3 x i64], align 16
  %27 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr %2) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.filename, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #9
  store i64 10, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  store ptr null, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  store ptr null, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  store ptr null, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  store ptr null, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  store ptr null, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  store ptr null, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %28 = call noalias ptr @malloc(i64 noundef 40) #10
  store ptr %28, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %29 = call noalias ptr @malloc(i64 noundef 40) #10
  store ptr %29, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %30 = call noalias ptr @malloc(i64 noundef 40) #10
  store ptr %30, ptr %18, align 8, !tbaa !9
  %31 = call i64 @time(ptr noundef null) #9
  %32 = trunc i64 %31 to i32
  call void @srand(i32 noundef %32) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  store i64 0, ptr %19, align 8, !tbaa !5
  br label %33

33:                                               ; preds = %44, %0
  %34 = load i64, ptr %19, align 8, !tbaa !5
  %35 = icmp ult i64 %34, 10
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %47

37:                                               ; preds = %33
  %38 = call i32 @rand() #9
  %39 = sitofp i32 %38 to float
  %40 = fdiv float %39, 0x41E0000000000000
  %41 = load ptr, ptr %16, align 8, !tbaa !9
  %42 = load i64, ptr %19, align 8, !tbaa !5
  %43 = getelementptr inbounds float, ptr %41, i64 %42
  store float %40, ptr %43, align 4, !tbaa !11
  br label %44

44:                                               ; preds = %37
  %45 = load i64, ptr %19, align 8, !tbaa !5
  %46 = add i64 %45, 1
  store i64 %46, ptr %19, align 8, !tbaa !5
  br label %33, !llvm.loop !13

47:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  store i64 0, ptr %20, align 8, !tbaa !5
  br label %48

48:                                               ; preds = %59, %47
  %49 = load i64, ptr %20, align 8, !tbaa !5
  %50 = icmp ult i64 %49, 10
  br i1 %50, label %52, label %51

51:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %62

52:                                               ; preds = %48
  %53 = call i32 @rand() #9
  %54 = sitofp i32 %53 to float
  %55 = fdiv float %54, 0x41E0000000000000
  %56 = load ptr, ptr %17, align 8, !tbaa !9
  %57 = load i64, ptr %20, align 8, !tbaa !5
  %58 = getelementptr inbounds float, ptr %56, i64 %57
  store float %55, ptr %58, align 4, !tbaa !11
  br label %59

59:                                               ; preds = %52
  %60 = load i64, ptr %20, align 8, !tbaa !5
  %61 = add i64 %60, 1
  store i64 %61, ptr %20, align 8, !tbaa !5
  br label %48, !llvm.loop !15

62:                                               ; preds = %51
  %63 = load ptr, ptr %18, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 4 %63, i8 0, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %64 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
  %65 = call noalias ptr @fopen(ptr noundef %64, ptr noundef @.str)
  store ptr %65, ptr %21, align 8, !tbaa !9
  %66 = load ptr, ptr %21, align 8, !tbaa !9
  %67 = icmp ne ptr %66, null
  br i1 %67, label %71, label %68

68:                                               ; preds = %62
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.1)
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %22, align 4
  br label %181

71:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %72 = call noalias ptr @malloc(i64 noundef 1048576) #10
  store ptr %72, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %73 = load ptr, ptr %23, align 8, !tbaa !9
  %74 = load ptr, ptr %21, align 8, !tbaa !9
  %75 = call i64 @fread(ptr noundef %73, i64 noundef 1, i64 noundef 1048576, ptr noundef %74)
  store i64 %75, ptr %24, align 8, !tbaa !5
  %76 = load ptr, ptr %21, align 8, !tbaa !9
  %77 = call i32 @fclose(ptr noundef %76)
  %78 = call i32 @clGetPlatformIDs(i32 noundef 1, ptr noundef %4, ptr noundef %11)
  store i32 %78, ptr %12, align 4, !tbaa !16
  %79 = load ptr, ptr %4, align 8, !tbaa !9
  %80 = call i32 @clGetDeviceIDs(ptr noundef %79, i64 noundef 1, i32 noundef 1, ptr noundef %5, ptr noundef %10)
  store i32 %80, ptr %12, align 4, !tbaa !16
  %81 = call ptr @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %5, ptr noundef null, ptr noundef null, ptr noundef %12)
  store ptr %81, ptr %6, align 8, !tbaa !9
  %82 = load ptr, ptr %6, align 8, !tbaa !9
  %83 = load ptr, ptr %5, align 8, !tbaa !9
  %84 = call ptr @clCreateCommandQueue(ptr noundef %82, ptr noundef %83, i64 noundef 0, ptr noundef %12)
  store ptr %84, ptr %7, align 8, !tbaa !9
  %85 = load ptr, ptr %6, align 8, !tbaa !9
  %86 = call ptr @clCreateProgramWithSource(ptr noundef %85, i32 noundef 1, ptr noundef %23, ptr noundef %24, ptr noundef %12)
  store ptr %86, ptr %8, align 8, !tbaa !9
  %87 = load ptr, ptr %8, align 8, !tbaa !9
  %88 = call i32 @clBuildProgram(ptr noundef %87, i32 noundef 1, ptr noundef %5, ptr noundef null, ptr noundef null, ptr noundef null)
  store i32 %88, ptr %12, align 4, !tbaa !16
  %89 = load ptr, ptr %8, align 8, !tbaa !9
  %90 = call ptr @clCreateKernel(ptr noundef %89, ptr noundef @.str.2, ptr noundef %12)
  store ptr %90, ptr %9, align 8, !tbaa !9
  %91 = load ptr, ptr %6, align 8, !tbaa !9
  %92 = call ptr @clCreateBuffer(ptr noundef %91, i64 noundef 1, i64 noundef 40, ptr noundef null, ptr noundef %12)
  store ptr %92, ptr %13, align 8, !tbaa !9
  %93 = load ptr, ptr %6, align 8, !tbaa !9
  %94 = call ptr @clCreateBuffer(ptr noundef %93, i64 noundef 1, i64 noundef 40, ptr noundef null, ptr noundef %12)
  store ptr %94, ptr %14, align 8, !tbaa !9
  %95 = load ptr, ptr %6, align 8, !tbaa !9
  %96 = call ptr @clCreateBuffer(ptr noundef %95, i64 noundef 1, i64 noundef 40, ptr noundef null, ptr noundef %12)
  store ptr %96, ptr %15, align 8, !tbaa !9
  %97 = load ptr, ptr %7, align 8, !tbaa !9
  %98 = load ptr, ptr %13, align 8, !tbaa !9
  %99 = load ptr, ptr %16, align 8, !tbaa !9
  %100 = call i32 @clEnqueueWriteBuffer(ptr noundef %97, ptr noundef %98, i32 noundef 1, i64 noundef 0, i64 noundef 40, ptr noundef %99, i32 noundef 0, ptr noundef null, ptr noundef null)
  store i32 %100, ptr %12, align 4, !tbaa !16
  %101 = load ptr, ptr %7, align 8, !tbaa !9
  %102 = load ptr, ptr %14, align 8, !tbaa !9
  %103 = load ptr, ptr %17, align 8, !tbaa !9
  %104 = call i32 @clEnqueueWriteBuffer(ptr noundef %101, ptr noundef %102, i32 noundef 1, i64 noundef 0, i64 noundef 40, ptr noundef %103, i32 noundef 0, ptr noundef null, ptr noundef null)
  store i32 %104, ptr %12, align 4, !tbaa !16
  %105 = load ptr, ptr %7, align 8, !tbaa !9
  %106 = load ptr, ptr %15, align 8, !tbaa !9
  %107 = load ptr, ptr %18, align 8, !tbaa !9
  %108 = call i32 @clEnqueueWriteBuffer(ptr noundef %105, ptr noundef %106, i32 noundef 1, i64 noundef 0, i64 noundef 40, ptr noundef %107, i32 noundef 0, ptr noundef null, ptr noundef null)
  store i32 %108, ptr %12, align 4, !tbaa !16
  %109 = load ptr, ptr %9, align 8, !tbaa !9
  %110 = call i32 @clSetKernelArg(ptr noundef %109, i32 noundef 0, i64 noundef 8, ptr noundef %3)
  store i32 %110, ptr %12, align 4, !tbaa !16
  %111 = load ptr, ptr %9, align 8, !tbaa !9
  %112 = call i32 @clSetKernelArg(ptr noundef %111, i32 noundef 1, i64 noundef 8, ptr noundef %15)
  %113 = load i32, ptr %12, align 4, !tbaa !16
  %114 = add nsw i32 %113, %112
  store i32 %114, ptr %12, align 4, !tbaa !16
  %115 = load ptr, ptr %9, align 8, !tbaa !9
  %116 = call i32 @clSetKernelArg(ptr noundef %115, i32 noundef 2, i64 noundef 8, ptr noundef %13)
  %117 = load i32, ptr %12, align 4, !tbaa !16
  %118 = add nsw i32 %117, %116
  store i32 %118, ptr %12, align 4, !tbaa !16
  %119 = load ptr, ptr %9, align 8, !tbaa !9
  %120 = call i32 @clSetKernelArg(ptr noundef %119, i32 noundef 3, i64 noundef 8, ptr noundef %14)
  %121 = load i32, ptr %12, align 4, !tbaa !16
  %122 = add nsw i32 %121, %120
  store i32 %122, ptr %12, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 @__const.main.global_work_size, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 @__const.main.local_work_size, i64 24, i1 false)
  %123 = load ptr, ptr %7, align 8, !tbaa !9
  %124 = load ptr, ptr %9, align 8, !tbaa !9
  %125 = getelementptr inbounds [3 x i64], ptr %25, i64 0, i64 0
  %126 = getelementptr inbounds [3 x i64], ptr %26, i64 0, i64 0
  %127 = call i32 @clEnqueueNDRangeKernel(ptr noundef %123, ptr noundef %124, i32 noundef 1, ptr noundef null, ptr noundef %125, ptr noundef %126, i32 noundef 0, ptr noundef null, ptr noundef null)
  store i32 %127, ptr %12, align 4, !tbaa !16
  %128 = load ptr, ptr %7, align 8, !tbaa !9
  %129 = load ptr, ptr %15, align 8, !tbaa !9
  %130 = load ptr, ptr %18, align 8, !tbaa !9
  %131 = call i32 @clEnqueueReadBuffer(ptr noundef %128, ptr noundef %129, i32 noundef 1, i64 noundef 0, i64 noundef 40, ptr noundef %130, i32 noundef 0, ptr noundef null, ptr noundef null)
  store i32 %131, ptr %12, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  store i64 0, ptr %27, align 8, !tbaa !5
  br label %132

132:                                              ; preds = %155, %71
  %133 = load i64, ptr %27, align 8, !tbaa !5
  %134 = icmp ult i64 %133, 10
  br i1 %134, label %136, label %135

135:                                              ; preds = %132
  store i32 8, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %158

136:                                              ; preds = %132
  %137 = load ptr, ptr %16, align 8, !tbaa !9
  %138 = load i64, ptr %27, align 8, !tbaa !5
  %139 = getelementptr inbounds float, ptr %137, i64 %138
  %140 = load float, ptr %139, align 4, !tbaa !11
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %140)
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef @.str.3)
  %143 = load ptr, ptr %17, align 8, !tbaa !9
  %144 = load i64, ptr %27, align 8, !tbaa !5
  %145 = getelementptr inbounds float, ptr %143, i64 %144
  %146 = load float, ptr %145, align 4, !tbaa !11
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %142, float noundef %146)
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef @.str.4)
  %149 = load ptr, ptr %18, align 8, !tbaa !9
  %150 = load i64, ptr %27, align 8, !tbaa !5
  %151 = getelementptr inbounds float, ptr %149, i64 %150
  %152 = load float, ptr %151, align 4, !tbaa !11
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %148, float noundef %152)
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %155

155:                                              ; preds = %136
  %156 = load i64, ptr %27, align 8, !tbaa !5
  %157 = add i64 %156, 1
  store i64 %157, ptr %27, align 8, !tbaa !5
  br label %132, !llvm.loop !18

158:                                              ; preds = %135
  %159 = load ptr, ptr %7, align 8, !tbaa !9
  %160 = call i32 @clFlush(ptr noundef %159)
  store i32 %160, ptr %12, align 4, !tbaa !16
  %161 = load ptr, ptr %7, align 8, !tbaa !9
  %162 = call i32 @clFinish(ptr noundef %161)
  store i32 %162, ptr %12, align 4, !tbaa !16
  %163 = load ptr, ptr %9, align 8, !tbaa !9
  %164 = call i32 @clReleaseKernel(ptr noundef %163)
  store i32 %164, ptr %12, align 4, !tbaa !16
  %165 = load ptr, ptr %8, align 8, !tbaa !9
  %166 = call i32 @clReleaseProgram(ptr noundef %165)
  store i32 %166, ptr %12, align 4, !tbaa !16
  %167 = load ptr, ptr %7, align 8, !tbaa !9
  %168 = call i32 @clReleaseCommandQueue(ptr noundef %167)
  store i32 %168, ptr %12, align 4, !tbaa !16
  %169 = load ptr, ptr %6, align 8, !tbaa !9
  %170 = call i32 @clReleaseContext(ptr noundef %169)
  store i32 %170, ptr %12, align 4, !tbaa !16
  %171 = load ptr, ptr %13, align 8, !tbaa !9
  %172 = call i32 @clReleaseMemObject(ptr noundef %171)
  store i32 %172, ptr %12, align 4, !tbaa !16
  %173 = load ptr, ptr %14, align 8, !tbaa !9
  %174 = call i32 @clReleaseMemObject(ptr noundef %173)
  store i32 %174, ptr %12, align 4, !tbaa !16
  %175 = load ptr, ptr %15, align 8, !tbaa !9
  %176 = call i32 @clReleaseMemObject(ptr noundef %175)
  store i32 %176, ptr %12, align 4, !tbaa !16
  %177 = load ptr, ptr %16, align 8, !tbaa !9
  call void @free(ptr noundef %177) #9
  %178 = load ptr, ptr %17, align 8, !tbaa !9
  call void @free(ptr noundef %178) #9
  %179 = load ptr, ptr %18, align 8, !tbaa !9
  call void @free(ptr noundef %179) #9
  %180 = load ptr, ptr %23, align 8, !tbaa !9
  call void @free(ptr noundef %180) #9
  store i32 0, ptr %1, align 4
  store i32 1, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %181

181:                                              ; preds = %158, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %2) #9
  %182 = load i32, ptr %1, align 4
  ret i32 %182
}

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

; 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) #2

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

; Function Attrs: nounwind
declare void @srand(i32 noundef) #4

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #4

; Function Attrs: nounwind
declare i32 @rand() #4

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

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

declare noalias ptr @fopen(ptr noundef, ptr noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #7

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #6

declare i32 @fclose(ptr noundef) #6

declare i32 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #6

declare i32 @clGetDeviceIDs(ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef) #6

declare ptr @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #6

declare ptr @clCreateCommandQueue(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #6

declare ptr @clCreateProgramWithSource(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #6

declare i32 @clBuildProgram(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #6

declare ptr @clCreateKernel(ptr noundef, ptr noundef, ptr noundef) #6

declare ptr @clCreateBuffer(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #6

declare i32 @clEnqueueWriteBuffer(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #6

declare i32 @clSetKernelArg(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #6

declare i32 @clEnqueueNDRangeKernel(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #6

declare i32 @clEnqueueReadBuffer(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) #8 align 2

declare i32 @clFlush(ptr noundef) #6

declare i32 @clFinish(ptr noundef) #6

declare i32 @clReleaseKernel(ptr noundef) #6

declare i32 @clReleaseProgram(ptr noundef) #6

declare i32 @clReleaseCommandQueue(ptr noundef) #6

declare i32 @clReleaseContext(ptr noundef) #6

declare i32 @clReleaseMemObject(ptr noundef) #6

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

attributes #0 = { mustprogress norecurse 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind 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 #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { "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 = { 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 #8 = { 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 #9 = { nounwind }
attributes #10 = { nounwind allocsize(0) }

!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", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = distinct !{!18, !14}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@__const.main.filename = external hidden unnamed_addr constant [12 x i8], align 1
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@__const.main.global_work_size = external hidden unnamed_addr constant [3 x i64], align 16
@__const.main.local_work_size = external hidden unnamed_addr constant [3 x i64], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 -1, 1) i32 @main() local_unnamed_addr #0 {
.preheader.preheader:
  %0 = alloca i64, align 8
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca [3 x i64], align 16
  %12 = alloca [3 x i64], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %0) #11
  store i64 10, ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #11
  store ptr null, ptr %1, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #11
  store ptr null, ptr %2, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #11
  %13 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #12
  %14 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #12
  %calloc = tail call dereferenceable_or_null(40) ptr @calloc(i64 1, i64 40)
  %15 = tail call i64 @time(ptr noundef null) #11
  %16 = trunc i64 %15 to i32
  tail call void @srand(i32 noundef %16) #11
  %17 = tail call i32 @rand() #11
  %18 = sitofp i32 %17 to float
  %19 = fmul float %18, 0x3E00000000000000
  store float %19, ptr %13, align 4, !tbaa !11
  %20 = tail call i32 @rand() #11
  %21 = sitofp i32 %20 to float
  %22 = fmul float %21, 0x3E00000000000000
  %23 = getelementptr inbounds i8, ptr %13, i64 4
  store float %22, ptr %23, align 4, !tbaa !11
  %24 = tail call i32 @rand() #11
  %25 = sitofp i32 %24 to float
  %26 = fmul float %25, 0x3E00000000000000
  %27 = getelementptr inbounds i8, ptr %13, i64 8
  store float %26, ptr %27, align 4, !tbaa !11
  %28 = tail call i32 @rand() #11
  %29 = sitofp i32 %28 to float
  %30 = fmul float %29, 0x3E00000000000000
  %31 = getelementptr inbounds i8, ptr %13, i64 12
  store float %30, ptr %31, align 4, !tbaa !11
  %32 = tail call i32 @rand() #11
  %33 = sitofp i32 %32 to float
  %34 = fmul float %33, 0x3E00000000000000
  %35 = getelementptr inbounds i8, ptr %13, i64 16
  store float %34, ptr %35, align 4, !tbaa !11
  %36 = tail call i32 @rand() #11
  %37 = sitofp i32 %36 to float
  %38 = fmul float %37, 0x3E00000000000000
  %39 = getelementptr inbounds i8, ptr %13, i64 20
  store float %38, ptr %39, align 4, !tbaa !11
  %40 = tail call i32 @rand() #11
  %41 = sitofp i32 %40 to float
  %42 = fmul float %41, 0x3E00000000000000
  %43 = getelementptr inbounds i8, ptr %13, i64 24
  store float %42, ptr %43, align 4, !tbaa !11
  %44 = tail call i32 @rand() #11
  %45 = sitofp i32 %44 to float
  %46 = fmul float %45, 0x3E00000000000000
  %47 = getelementptr inbounds i8, ptr %13, i64 28
  store float %46, ptr %47, align 4, !tbaa !11
  %48 = tail call i32 @rand() #11
  %49 = sitofp i32 %48 to float
  %50 = fmul float %49, 0x3E00000000000000
  %51 = getelementptr inbounds i8, ptr %13, i64 32
  store float %50, ptr %51, align 4, !tbaa !11
  %52 = tail call i32 @rand() #11
  %53 = sitofp i32 %52 to float
  %54 = fmul float %53, 0x3E00000000000000
  %55 = getelementptr inbounds i8, ptr %13, i64 36
  store float %54, ptr %55, align 4, !tbaa !11
  %56 = tail call i32 @rand() #11
  %57 = sitofp i32 %56 to float
  %58 = fmul float %57, 0x3E00000000000000
  store float %58, ptr %14, align 4, !tbaa !11
  %59 = tail call i32 @rand() #11
  %60 = sitofp i32 %59 to float
  %61 = fmul float %60, 0x3E00000000000000
  %62 = getelementptr inbounds i8, ptr %14, i64 4
  store float %61, ptr %62, align 4, !tbaa !11
  %63 = tail call i32 @rand() #11
  %64 = sitofp i32 %63 to float
  %65 = fmul float %64, 0x3E00000000000000
  %66 = getelementptr inbounds i8, ptr %14, i64 8
  store float %65, ptr %66, align 4, !tbaa !11
  %67 = tail call i32 @rand() #11
  %68 = sitofp i32 %67 to float
  %69 = fmul float %68, 0x3E00000000000000
  %70 = getelementptr inbounds i8, ptr %14, i64 12
  store float %69, ptr %70, align 4, !tbaa !11
  %71 = tail call i32 @rand() #11
  %72 = sitofp i32 %71 to float
  %73 = fmul float %72, 0x3E00000000000000
  %74 = getelementptr inbounds i8, ptr %14, i64 16
  store float %73, ptr %74, align 4, !tbaa !11
  %75 = tail call i32 @rand() #11
  %76 = sitofp i32 %75 to float
  %77 = fmul float %76, 0x3E00000000000000
  %78 = getelementptr inbounds i8, ptr %14, i64 20
  store float %77, ptr %78, align 4, !tbaa !11
  %79 = tail call i32 @rand() #11
  %80 = sitofp i32 %79 to float
  %81 = fmul float %80, 0x3E00000000000000
  %82 = getelementptr inbounds i8, ptr %14, i64 24
  store float %81, ptr %82, align 4, !tbaa !11
  %83 = tail call i32 @rand() #11
  %84 = sitofp i32 %83 to float
  %85 = fmul float %84, 0x3E00000000000000
  %86 = getelementptr inbounds i8, ptr %14, i64 28
  store float %85, ptr %86, align 4, !tbaa !11
  %87 = tail call i32 @rand() #11
  %88 = sitofp i32 %87 to float
  %89 = fmul float %88, 0x3E00000000000000
  %90 = getelementptr inbounds i8, ptr %14, i64 32
  store float %89, ptr %90, align 4, !tbaa !11
  %91 = tail call i32 @rand() #11
  %92 = sitofp i32 %91 to float
  %93 = fmul float %92, 0x3E00000000000000
  %94 = getelementptr inbounds i8, ptr %14, i64 36
  store float %93, ptr %94, align 4, !tbaa !11
  %95 = tail call noalias ptr @fopen(ptr noundef nonnull @__const.main.filename, ptr noundef nonnull @.str)
  %.not = icmp eq ptr %95, null
  br i1 %.not, label %96, label %99

96:                                               ; preds = %.preheader.preheader
  %97 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.1)
  %98 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %243

99:                                               ; preds = %.preheader.preheader
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #11
  %100 = tail call noalias dereferenceable_or_null(1048576) ptr @malloc(i64 noundef 1048576) #12
  store ptr %100, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #11
  %101 = tail call i64 @fread(ptr noundef %100, i64 noundef 1, i64 noundef 1048576, ptr noundef nonnull %95)
  store i64 %101, ptr %10, align 8, !tbaa !5
  %102 = tail call i32 @fclose(ptr noundef nonnull %95)
  %103 = call i32 @clGetPlatformIDs(i32 noundef 1, ptr noundef nonnull %1, ptr noundef nonnull %4)
  %104 = load ptr, ptr %1, align 8, !tbaa !9
  %105 = call i32 @clGetDeviceIDs(ptr noundef %104, i64 noundef 1, i32 noundef 1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  store i32 %105, ptr %5, align 4, !tbaa !13
  %106 = call ptr @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef nonnull %2, ptr noundef null, ptr noundef null, ptr noundef nonnull %5)
  %107 = load ptr, ptr %2, align 8, !tbaa !9
  %108 = call ptr @clCreateCommandQueue(ptr noundef %106, ptr noundef %107, i64 noundef 0, ptr noundef nonnull %5)
  %109 = call ptr @clCreateProgramWithSource(ptr noundef %106, i32 noundef 1, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %5)
  %110 = call i32 @clBuildProgram(ptr noundef %109, i32 noundef 1, ptr noundef nonnull %2, ptr noundef null, ptr noundef null, ptr noundef null)
  store i32 %110, ptr %5, align 4, !tbaa !13
  %111 = call ptr @clCreateKernel(ptr noundef %109, ptr noundef nonnull @.str.2, ptr noundef nonnull %5)
  %112 = call ptr @clCreateBuffer(ptr noundef %106, i64 noundef 1, i64 noundef 40, ptr noundef null, ptr noundef nonnull %5)
  store ptr %112, ptr %6, align 8, !tbaa !9
  %113 = call ptr @clCreateBuffer(ptr noundef %106, i64 noundef 1, i64 noundef 40, ptr noundef null, ptr noundef nonnull %5)
  store ptr %113, ptr %7, align 8, !tbaa !9
  %114 = call ptr @clCreateBuffer(ptr noundef %106, i64 noundef 1, i64 noundef 40, ptr noundef null, ptr noundef nonnull %5)
  store ptr %114, ptr %8, align 8, !tbaa !9
  %115 = call i32 @clEnqueueWriteBuffer(ptr noundef %108, ptr noundef %112, i32 noundef 1, i64 noundef 0, i64 noundef 40, ptr noundef nonnull %13, i32 noundef 0, ptr noundef null, ptr noundef null)
  store i32 %115, ptr %5, align 4, !tbaa !13
  %116 = call i32 @clEnqueueWriteBuffer(ptr noundef %108, ptr noundef %113, i32 noundef 1, i64 noundef 0, i64 noundef 40, ptr noundef nonnull %14, i32 noundef 0, ptr noundef null, ptr noundef null)
  store i32 %116, ptr %5, align 4, !tbaa !13
  %117 = call i32 @clEnqueueWriteBuffer(ptr noundef %108, ptr noundef %114, i32 noundef 1, i64 noundef 0, i64 noundef 40, ptr noundef nonnull %calloc, i32 noundef 0, ptr noundef null, ptr noundef null)
  store i32 %117, ptr %5, align 4, !tbaa !13
  %118 = call i32 @clSetKernelArg(ptr noundef %111, i32 noundef 0, i64 noundef 8, ptr noundef nonnull %0)
  store i32 %118, ptr %5, align 4, !tbaa !13
  %119 = call i32 @clSetKernelArg(ptr noundef %111, i32 noundef 1, i64 noundef 8, ptr noundef nonnull %8)
  %120 = load i32, ptr %5, align 4, !tbaa !13
  %121 = add nsw i32 %120, %119
  store i32 %121, ptr %5, align 4, !tbaa !13
  %122 = call i32 @clSetKernelArg(ptr noundef %111, i32 noundef 2, i64 noundef 8, ptr noundef nonnull %6)
  %123 = load i32, ptr %5, align 4, !tbaa !13
  %124 = add nsw i32 %123, %122
  store i32 %124, ptr %5, align 4, !tbaa !13
  %125 = call i32 @clSetKernelArg(ptr noundef %111, i32 noundef 3, i64 noundef 8, ptr noundef nonnull %7)
  %126 = load i32, ptr %5, align 4, !tbaa !13
  %127 = add nsw i32 %126, %125
  store i32 %127, ptr %5, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %11, ptr noundef nonnull align 16 dereferenceable(24) @__const.main.global_work_size, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %12, ptr noundef nonnull align 16 dereferenceable(24) @__const.main.local_work_size, i64 24, i1 false)
  %128 = call i32 @clEnqueueNDRangeKernel(ptr noundef %108, ptr noundef %111, i32 noundef 1, ptr noundef null, ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef 0, ptr noundef null, ptr noundef null)
  store i32 %128, ptr %5, align 4, !tbaa !13
  %129 = load ptr, ptr %8, align 8, !tbaa !9
  %130 = call i32 @clEnqueueReadBuffer(ptr noundef %108, ptr noundef %129, i32 noundef 1, i64 noundef 0, i64 noundef 40, ptr noundef nonnull %calloc, i32 noundef 0, ptr noundef null, ptr noundef null)
  store i32 %130, ptr %5, align 4, !tbaa !13
  %131 = load float, ptr %13, align 4, !tbaa !11
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %131)
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef nonnull @.str.3)
  %134 = load float, ptr %14, align 4, !tbaa !11
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %133, float noundef %134)
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef nonnull @.str.4)
  %137 = load float, ptr %calloc, align 4, !tbaa !11
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %136, float noundef %137)
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %140 = load float, ptr %23, align 4, !tbaa !11
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %140)
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef nonnull @.str.3)
  %143 = load float, ptr %62, align 4, !tbaa !11
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %142, float noundef %143)
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %144, ptr noundef nonnull @.str.4)
  %146 = getelementptr inbounds i8, ptr %calloc, i64 4
  %147 = load float, ptr %146, align 4, !tbaa !11
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %145, float noundef %147)
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %150 = load float, ptr %27, align 4, !tbaa !11
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %150)
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef nonnull @.str.3)
  %153 = load float, ptr %66, align 4, !tbaa !11
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %152, float noundef %153)
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef nonnull @.str.4)
  %156 = getelementptr inbounds i8, ptr %calloc, i64 8
  %157 = load float, ptr %156, align 4, !tbaa !11
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %155, float noundef %157)
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %160 = load float, ptr %31, align 4, !tbaa !11
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %160)
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef nonnull @.str.3)
  %163 = load float, ptr %70, align 4, !tbaa !11
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %162, float noundef %163)
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %164, ptr noundef nonnull @.str.4)
  %166 = getelementptr inbounds i8, ptr %calloc, i64 12
  %167 = load float, ptr %166, align 4, !tbaa !11
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %165, float noundef %167)
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %168, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %170 = load float, ptr %35, align 4, !tbaa !11
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %170)
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %171, ptr noundef nonnull @.str.3)
  %173 = load float, ptr %74, align 4, !tbaa !11
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %172, float noundef %173)
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %174, ptr noundef nonnull @.str.4)
  %176 = getelementptr inbounds i8, ptr %calloc, i64 16
  %177 = load float, ptr %176, align 4, !tbaa !11
  %178 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %175, float noundef %177)
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %178, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %180 = load float, ptr %39, align 4, !tbaa !11
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %180)
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %181, ptr noundef nonnull @.str.3)
  %183 = load float, ptr %78, align 4, !tbaa !11
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %182, float noundef %183)
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %184, ptr noundef nonnull @.str.4)
  %186 = getelementptr inbounds i8, ptr %calloc, i64 20
  %187 = load float, ptr %186, align 4, !tbaa !11
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %185, float noundef %187)
  %189 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %188, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %190 = load float, ptr %43, align 4, !tbaa !11
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %190)
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %191, ptr noundef nonnull @.str.3)
  %193 = load float, ptr %82, align 4, !tbaa !11
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %192, float noundef %193)
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %194, ptr noundef nonnull @.str.4)
  %196 = getelementptr inbounds i8, ptr %calloc, i64 24
  %197 = load float, ptr %196, align 4, !tbaa !11
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %195, float noundef %197)
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %198, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %200 = load float, ptr %47, align 4, !tbaa !11
  %201 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %200)
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %201, ptr noundef nonnull @.str.3)
  %203 = load float, ptr %86, align 4, !tbaa !11
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %202, float noundef %203)
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %204, ptr noundef nonnull @.str.4)
  %206 = getelementptr inbounds i8, ptr %calloc, i64 28
  %207 = load float, ptr %206, align 4, !tbaa !11
  %208 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %205, float noundef %207)
  %209 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %208, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %210 = load float, ptr %51, align 4, !tbaa !11
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %210)
  %212 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %211, ptr noundef nonnull @.str.3)
  %213 = load float, ptr %90, align 4, !tbaa !11
  %214 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %212, float noundef %213)
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %214, ptr noundef nonnull @.str.4)
  %216 = getelementptr inbounds i8, ptr %calloc, i64 32
  %217 = load float, ptr %216, align 4, !tbaa !11
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %215, float noundef %217)
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %218, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %220 = load float, ptr %55, align 4, !tbaa !11
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %220)
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %221, ptr noundef nonnull @.str.3)
  %223 = load float, ptr %94, align 4, !tbaa !11
  %224 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %222, float noundef %223)
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %224, ptr noundef nonnull @.str.4)
  %226 = getelementptr inbounds i8, ptr %calloc, i64 36
  %227 = load float, ptr %226, align 4, !tbaa !11
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %225, float noundef %227)
  %229 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %228, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %230 = call i32 @clFlush(ptr noundef %108)
  store i32 %230, ptr %5, align 4, !tbaa !13
  %231 = call i32 @clFinish(ptr noundef %108)
  store i32 %231, ptr %5, align 4, !tbaa !13
  %232 = call i32 @clReleaseKernel(ptr noundef %111)
  store i32 %232, ptr %5, align 4, !tbaa !13
  %233 = call i32 @clReleaseProgram(ptr noundef %109)
  store i32 %233, ptr %5, align 4, !tbaa !13
  %234 = call i32 @clReleaseCommandQueue(ptr noundef %108)
  store i32 %234, ptr %5, align 4, !tbaa !13
  %235 = call i32 @clReleaseContext(ptr noundef %106)
  store i32 %235, ptr %5, align 4, !tbaa !13
  %236 = load ptr, ptr %6, align 8, !tbaa !9
  %237 = call i32 @clReleaseMemObject(ptr noundef %236)
  store i32 %237, ptr %5, align 4, !tbaa !13
  %238 = load ptr, ptr %7, align 8, !tbaa !9
  %239 = call i32 @clReleaseMemObject(ptr noundef %238)
  store i32 %239, ptr %5, align 4, !tbaa !13
  %240 = load ptr, ptr %8, align 8, !tbaa !9
  %241 = call i32 @clReleaseMemObject(ptr noundef %240)
  store i32 %241, ptr %5, align 4, !tbaa !13
  call void @free(ptr noundef nonnull %13) #11
  call void @free(ptr noundef nonnull %14) #11
  call void @free(ptr noundef nonnull %calloc) #11
  %242 = load ptr, ptr %9, align 8, !tbaa !9
  call void @free(ptr noundef %242) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #11
  br label %243

243:                                              ; preds = %99, %96
  %.050 = phi i32 [ 0, %99 ], [ -1, %96 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %0) #11
  ret i32 %.050
}

; 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 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) #2

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #4

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

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #5

declare i32 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

declare i32 @clGetDeviceIDs(ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

declare ptr @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

declare ptr @clCreateCommandQueue(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #8

declare ptr @clCreateProgramWithSource(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

declare i32 @clBuildProgram(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

declare ptr @clCreateKernel(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

declare ptr @clCreateBuffer(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

declare i32 @clEnqueueWriteBuffer(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

declare i32 @clSetKernelArg(ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #8

declare i32 @clEnqueueNDRangeKernel(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

declare i32 @clEnqueueReadBuffer(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) local_unnamed_addr #7 align 2

declare i32 @clFlush(ptr noundef) local_unnamed_addr #8

declare i32 @clFinish(ptr noundef) local_unnamed_addr #8

declare i32 @clReleaseKernel(ptr noundef) local_unnamed_addr #8

declare i32 @clReleaseProgram(ptr noundef) local_unnamed_addr #8

declare i32 @clReleaseCommandQueue(ptr noundef) local_unnamed_addr #8

declare i32 @clReleaseContext(ptr noundef) local_unnamed_addr #8

declare i32 @clReleaseMemObject(ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #9

; Function Attrs: nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #10

attributes #0 = { mustprogress norecurse 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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 #5 = { nofree 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 = { 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 #7 = { 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 #8 = { "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 #9 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #10 = { nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #11 = { nounwind }
attributes #12 = { nounwind allocsize(0) }

!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", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass