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

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

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [40 x i8], align 1
@__const.opencl_dot_product_kernel.fileName = external hidden unnamed_addr constant [25 x i8], align 16
@.str.21 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [31 x i8], align 1

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

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

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

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

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

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

declare i32 @fclose(ptr noundef) #2

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

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

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

declare ptr @clCreateCommandQueueWithProperties(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

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

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

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

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

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

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

declare i32 @clFlush(ptr noundef) #2

declare i32 @clFinish(ptr noundef) #2

declare i32 @clReleaseKernel(ptr noundef) #2

declare i32 @clReleaseProgram(ptr noundef) #2

declare i32 @clReleaseMemObject(ptr noundef) #2

declare i32 @clReleaseCommandQueue(ptr noundef) #2

declare i32 @clReleaseContext(ptr noundef) #2

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

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

declare i32 @printf(ptr noundef, ...) #2

declare i32 @clGetProgramBuildInfo(ptr noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local double @opencl_dot_product_kernel(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #6 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %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 i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca double, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca [25 x i8], align 16
  %26 = alloca ptr, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca [2048 x i8], align 16
  %30 = alloca [1 x i64], align 8
  %31 = alloca [1 x i64], align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store ptr null, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store ptr null, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  store ptr null, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store ptr null, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store ptr null, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  store ptr null, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  store ptr null, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  store ptr %22, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 25, ptr %25) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 @__const.opencl_dot_product_kernel.fileName, i64 25, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %32 = getelementptr inbounds [25 x i8], ptr %25, i64 0, i64 0
  %33 = call noalias ptr @fopen(ptr noundef %32, ptr noundef @.str)
  store ptr %33, ptr %24, align 8, !tbaa !5
  %34 = load ptr, ptr %24, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %39, label %36

36:                                               ; preds = %4
  %37 = load ptr, ptr @stderr, align 8, !tbaa !5
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.1) #7
  call void @exit(i32 noundef 1) #8
  unreachable

39:                                               ; preds = %4
  %40 = call noalias ptr @malloc(i64 noundef 1048576) #9
  store ptr %40, ptr %26, align 8, !tbaa !5
  %41 = load ptr, ptr %26, align 8, !tbaa !5
  %42 = load ptr, ptr %24, align 8, !tbaa !5
  %43 = call i64 @fread(ptr noundef %41, i64 noundef 1, i64 noundef 1048576, ptr noundef %42)
  store i64 %43, ptr %27, align 8, !tbaa !11
  %44 = load ptr, ptr %24, align 8, !tbaa !5
  %45 = call i32 @fclose(ptr noundef %44)
  %46 = call i32 @clGetPlatformIDs(i32 noundef 1, ptr noundef %18, ptr noundef %20)
  store i32 %46, ptr %21, align 4, !tbaa !9
  %47 = load ptr, ptr %18, align 8, !tbaa !5
  %48 = call i32 @clGetDeviceIDs(ptr noundef %47, i64 noundef 1, i32 noundef 1, ptr noundef %9, ptr noundef %19)
  store i32 %48, ptr %21, align 4, !tbaa !9
  %49 = call ptr @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %9, ptr noundef null, ptr noundef null, ptr noundef %21)
  store ptr %49, ptr %10, align 8, !tbaa !5
  %50 = load i32, ptr %21, align 4, !tbaa !9
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %55

52:                                               ; preds = %39
  %53 = load i32, ptr %21, align 4, !tbaa !9
  %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %53)
  call void @exit(i32 noundef 1) #8
  unreachable

55:                                               ; preds = %39
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  %58 = call ptr @clCreateCommandQueueWithProperties(ptr noundef %56, ptr noundef %57, ptr noundef null, ptr noundef %21)
  store ptr %58, ptr %11, align 8, !tbaa !5
  %59 = load i32, ptr %21, align 4, !tbaa !9
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %64

61:                                               ; preds = %55
  %62 = load i32, ptr %21, align 4, !tbaa !9
  %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %62)
  call void @exit(i32 noundef 1) #8
  unreachable

64:                                               ; preds = %55
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = mul i64 %68, 8
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  %72 = call ptr @clCreateBuffer(ptr noundef %65, i64 noundef 32, i64 noundef %69, ptr noundef %71, ptr noundef %21)
  store ptr %72, ptr %12, align 8, !tbaa !5
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = load i32, ptr %74, align 4, !tbaa !9
  %76 = sext i32 %75 to i64
  %77 = mul i64 %76, 8
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = load ptr, ptr %78, align 8, !tbaa !5
  %80 = call ptr @clCreateBuffer(ptr noundef %73, i64 noundef 32, i64 noundef %77, ptr noundef %79, ptr noundef %21)
  store ptr %80, ptr %13, align 8, !tbaa !5
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = load ptr, ptr %23, align 8, !tbaa !5
  %83 = call ptr @clCreateBuffer(ptr noundef %81, i64 noundef 32, i64 noundef 8, ptr noundef %82, ptr noundef %21)
  store ptr %83, ptr %14, align 8, !tbaa !5
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = call ptr @clCreateBuffer(ptr noundef %84, i64 noundef 32, i64 noundef 4, ptr noundef %85, ptr noundef %21)
  store ptr %86, ptr %15, align 8, !tbaa !5
  %87 = load i32, ptr %21, align 4, !tbaa !9
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %92

89:                                               ; preds = %64
  %90 = load i32, ptr %21, align 4, !tbaa !9
  %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %90)
  call void @exit(i32 noundef 1) #8
  unreachable

92:                                               ; preds = %64
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = call ptr @clCreateProgramWithSource(ptr noundef %93, i32 noundef 1, ptr noundef %26, ptr noundef %27, ptr noundef %21)
  store ptr %94, ptr %16, align 8, !tbaa !5
  %95 = load i32, ptr %21, align 4, !tbaa !9
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %100

97:                                               ; preds = %92
  %98 = load i32, ptr %21, align 4, !tbaa !9
  %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %98)
  call void @exit(i32 noundef 1) #8
  unreachable

100:                                              ; preds = %92
  %101 = load ptr, ptr %16, align 8, !tbaa !5
  %102 = call i32 @clBuildProgram(ptr noundef %101, i32 noundef 1, ptr noundef %9, ptr noundef null, ptr noundef null, ptr noundef null)
  store i32 %102, ptr %21, align 4, !tbaa !9
  %103 = load i32, ptr %21, align 4, !tbaa !9
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %113

105:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 2048, ptr %29) #7
  %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %107 = load ptr, ptr %16, align 8, !tbaa !5
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  %110 = call i32 @clGetProgramBuildInfo(ptr noundef %107, ptr noundef %108, i32 noundef 4483, i64 noundef 2048, ptr noundef %109, ptr noundef %28)
  %111 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %111)
  call void @exit(i32 noundef 1) #8
  unreachable

113:                                              ; preds = %100
  %114 = load ptr, ptr %16, align 8, !tbaa !5
  %115 = call ptr @clCreateKernel(ptr noundef %114, ptr noundef @.str.21, ptr noundef %21)
  store ptr %115, ptr %17, align 8, !tbaa !5
  %116 = load i32, ptr %21, align 4, !tbaa !9
  %117 = icmp ne i32 %116, 0
  br i1 %117, label %118, label %121

118:                                              ; preds = %113
  %119 = load i32, ptr %21, align 4, !tbaa !9
  %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %119)
  call void @exit(i32 noundef 1) #8
  unreachable

121:                                              ; preds = %113
  %122 = load ptr, ptr %17, align 8, !tbaa !5
  %123 = call i32 @clSetKernelArg(ptr noundef %122, i32 noundef 0, i64 noundef 8, ptr noundef %12)
  store i32 %123, ptr %21, align 4, !tbaa !9
  %124 = load ptr, ptr %17, align 8, !tbaa !5
  %125 = call i32 @clSetKernelArg(ptr noundef %124, i32 noundef 1, i64 noundef 8, ptr noundef %13)
  store i32 %125, ptr %21, align 4, !tbaa !9
  %126 = load ptr, ptr %17, align 8, !tbaa !5
  %127 = call i32 @clSetKernelArg(ptr noundef %126, i32 noundef 2, i64 noundef 8, ptr noundef %14)
  store i32 %127, ptr %21, align 4, !tbaa !9
  %128 = load ptr, ptr %17, align 8, !tbaa !5
  %129 = call i32 @clSetKernelArg(ptr noundef %128, i32 noundef 3, i64 noundef 8, ptr noundef %15)
  store i32 %129, ptr %21, align 4, !tbaa !9
  %130 = load i32, ptr %21, align 4, !tbaa !9
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %135

132:                                              ; preds = %121
  %133 = load i32, ptr %21, align 4, !tbaa !9
  %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %133)
  call void @exit(i32 noundef 1) #8
  unreachable

135:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %136 = load i32, ptr %8, align 4, !tbaa !9
  %137 = sext i32 %136 to i64
  store i64 %137, ptr %30, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %138 = load i32, ptr %8, align 4, !tbaa !9
  %139 = sext i32 %138 to i64
  store i64 %139, ptr %31, align 8, !tbaa !11
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = load ptr, ptr %17, align 8, !tbaa !5
  %142 = getelementptr inbounds [1 x i64], ptr %30, i64 0, i64 0
  %143 = getelementptr inbounds [1 x i64], ptr %31, i64 0, i64 0
  %144 = call i32 @clEnqueueNDRangeKernel(ptr noundef %140, ptr noundef %141, i32 noundef 1, ptr noundef null, ptr noundef %142, ptr noundef %143, i32 noundef 0, ptr noundef null, ptr noundef null)
  store i32 %144, ptr %21, align 4, !tbaa !9
  %145 = load i32, ptr %21, align 4, !tbaa !9
  %146 = icmp ne i32 %145, 0
  br i1 %146, label %147, label %150

147:                                              ; preds = %135
  %148 = load i32, ptr %21, align 4, !tbaa !9
  %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %148)
  call void @exit(i32 noundef 1) #8
  unreachable

150:                                              ; preds = %135
  %151 = load ptr, ptr %11, align 8, !tbaa !5
  %152 = load ptr, ptr %14, align 8, !tbaa !5
  %153 = load ptr, ptr %23, align 8, !tbaa !5
  %154 = call i32 @clEnqueueReadBuffer(ptr noundef %151, ptr noundef %152, i32 noundef 1, i64 noundef 0, i64 noundef 8, ptr noundef %153, i32 noundef 0, ptr noundef null, ptr noundef null)
  store i32 %154, ptr %21, align 4, !tbaa !9
  %155 = load i32, ptr %21, align 4, !tbaa !9
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %157, label %160

157:                                              ; preds = %150
  %158 = load i32, ptr %21, align 4, !tbaa !9
  %159 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %158)
  call void @exit(i32 noundef 1) #8
  unreachable

160:                                              ; preds = %150
  %161 = load ptr, ptr %23, align 8, !tbaa !5
  %162 = load double, ptr %161, align 8, !tbaa !13
  %163 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, double noundef %162)
  %164 = load ptr, ptr %11, align 8, !tbaa !5
  %165 = call i32 @clFlush(ptr noundef %164)
  store i32 %165, ptr %21, align 4, !tbaa !9
  %166 = load ptr, ptr %11, align 8, !tbaa !5
  %167 = call i32 @clFinish(ptr noundef %166)
  store i32 %167, ptr %21, align 4, !tbaa !9
  %168 = load ptr, ptr %17, align 8, !tbaa !5
  %169 = call i32 @clReleaseKernel(ptr noundef %168)
  store i32 %169, ptr %21, align 4, !tbaa !9
  %170 = load ptr, ptr %16, align 8, !tbaa !5
  %171 = call i32 @clReleaseProgram(ptr noundef %170)
  store i32 %171, ptr %21, align 4, !tbaa !9
  %172 = load ptr, ptr %12, align 8, !tbaa !5
  %173 = call i32 @clReleaseMemObject(ptr noundef %172)
  store i32 %173, ptr %21, align 4, !tbaa !9
  %174 = load ptr, ptr %11, align 8, !tbaa !5
  %175 = call i32 @clReleaseCommandQueue(ptr noundef %174)
  store i32 %175, ptr %21, align 4, !tbaa !9
  %176 = load ptr, ptr %10, align 8, !tbaa !5
  %177 = call i32 @clReleaseContext(ptr noundef %176)
  store i32 %177, ptr %21, align 4, !tbaa !9
  %178 = load ptr, ptr %26, align 8, !tbaa !5
  call void @free(ptr noundef %178) #7
  %179 = load ptr, ptr %23, align 8, !tbaa !5
  %180 = load double, ptr %179, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 25, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  ret double %180
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 #4 = { noreturn 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 = { 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 #6 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }
attributes #9 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [40 x i8], align 1
@__const.opencl_dot_product_kernel.fileName = external hidden unnamed_addr constant [25 x i8], align 16
@.str.21 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [31 x i8], align 1

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #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: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #1

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

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

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

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

declare ptr @clCreateCommandQueueWithProperties(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

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

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

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

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

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

declare i32 @clFlush(ptr noundef) local_unnamed_addr #4

declare i32 @clFinish(ptr noundef) local_unnamed_addr #4

declare i32 @clReleaseKernel(ptr noundef) local_unnamed_addr #4

declare i32 @clReleaseProgram(ptr noundef) local_unnamed_addr #4

declare i32 @clReleaseMemObject(ptr noundef) local_unnamed_addr #4

declare i32 @clReleaseCommandQueue(ptr noundef) local_unnamed_addr #4

declare i32 @clReleaseContext(ptr noundef) local_unnamed_addr #4

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

declare i32 @clGetProgramBuildInfo(ptr noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local double @opencl_dot_product_kernel(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #6 {
  %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 ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca [2048 x i8], align 16
  %19 = alloca [1 x i64], align 8
  %20 = alloca [1 x i64], align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  store ptr null, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %21 = tail call noalias ptr @fopen(ptr noundef nonnull @__const.opencl_dot_product_kernel.fileName, ptr noundef nonnull @.str)
  %.not = icmp eq ptr %21, null
  br i1 %.not, label %22, label %25

22:                                               ; preds = %4
  %23 = load ptr, ptr @stderr, align 8, !tbaa !5
  %24 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.1) #8
  tail call void @exit(i32 noundef 1) #9
  unreachable

25:                                               ; preds = %4
  %26 = tail call noalias dereferenceable_or_null(1048576) ptr @malloc(i64 noundef 1048576) #10
  store ptr %26, ptr %15, align 8, !tbaa !5
  %27 = tail call i64 @fread(ptr noundef %26, i64 noundef 1, i64 noundef 1048576, ptr noundef nonnull %21)
  store i64 %27, ptr %16, align 8, !tbaa !9
  %28 = tail call i32 @fclose(ptr noundef nonnull %21)
  %29 = call i32 @clGetPlatformIDs(i32 noundef 1, ptr noundef nonnull %10, ptr noundef nonnull %12) #7
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = call i32 @clGetDeviceIDs(ptr noundef %30, i64 noundef 1, i32 noundef 1, ptr noundef nonnull %5, ptr noundef nonnull %11) #7
  store i32 %31, ptr %13, align 4, !tbaa !11
  %32 = call ptr @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef nonnull %5, ptr noundef null, ptr noundef null, ptr noundef nonnull %13) #7
  %33 = load i32, ptr %13, align 4, !tbaa !11
  %.not43 = icmp eq i32 %33, 0
  br i1 %.not43, label %36, label %34

34:                                               ; preds = %25
  %35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %33)
  call void @exit(i32 noundef 1) #9
  unreachable

36:                                               ; preds = %25
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = call ptr @clCreateCommandQueueWithProperties(ptr noundef %32, ptr noundef %37, ptr noundef null, ptr noundef nonnull %13) #7
  %39 = load i32, ptr %13, align 4, !tbaa !11
  %.not44 = icmp eq i32 %39, 0
  br i1 %.not44, label %42, label %40

40:                                               ; preds = %36
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %39)
  call void @exit(i32 noundef 1) #9
  unreachable

42:                                               ; preds = %36
  %43 = load i32, ptr %2, align 4, !tbaa !11
  %44 = sext i32 %43 to i64
  %45 = shl nsw i64 %44, 3
  %46 = load ptr, ptr %0, align 8, !tbaa !5
  %47 = call ptr @clCreateBuffer(ptr noundef %32, i64 noundef 32, i64 noundef %45, ptr noundef %46, ptr noundef nonnull %13) #7
  store ptr %47, ptr %6, align 8, !tbaa !5
  %48 = load i32, ptr %2, align 4, !tbaa !11
  %49 = sext i32 %48 to i64
  %50 = shl nsw i64 %49, 3
  %51 = load ptr, ptr %1, align 8, !tbaa !5
  %52 = call ptr @clCreateBuffer(ptr noundef %32, i64 noundef 32, i64 noundef %50, ptr noundef %51, ptr noundef nonnull %13) #7
  store ptr %52, ptr %7, align 8, !tbaa !5
  %53 = call ptr @clCreateBuffer(ptr noundef %32, i64 noundef 32, i64 noundef 8, ptr noundef nonnull %14, ptr noundef nonnull %13) #7
  store ptr %53, ptr %8, align 8, !tbaa !5
  %54 = call ptr @clCreateBuffer(ptr noundef %32, i64 noundef 32, i64 noundef 4, ptr noundef nonnull %2, ptr noundef nonnull %13) #7
  store ptr %54, ptr %9, align 8, !tbaa !5
  %55 = load i32, ptr %13, align 4, !tbaa !11
  %.not45 = icmp eq i32 %55, 0
  br i1 %.not45, label %58, label %56

56:                                               ; preds = %42
  %57 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %55)
  call void @exit(i32 noundef 1) #9
  unreachable

58:                                               ; preds = %42
  %59 = call ptr @clCreateProgramWithSource(ptr noundef %32, i32 noundef 1, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %13) #7
  %60 = load i32, ptr %13, align 4, !tbaa !11
  %.not46 = icmp eq i32 %60, 0
  br i1 %.not46, label %63, label %61

61:                                               ; preds = %58
  %62 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %60)
  call void @exit(i32 noundef 1) #9
  unreachable

63:                                               ; preds = %58
  %64 = call i32 @clBuildProgram(ptr noundef %59, i32 noundef 1, ptr noundef nonnull %5, ptr noundef null, ptr noundef null, ptr noundef null) #7
  store i32 %64, ptr %13, align 4, !tbaa !11
  %.not47 = icmp eq i32 %64, 0
  br i1 %.not47, label %70, label %65

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %18) #7
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = call i32 @clGetProgramBuildInfo(ptr noundef %59, ptr noundef %67, i32 noundef 4483, i64 noundef 2048, ptr noundef nonnull %18, ptr noundef nonnull %17) #7
  %69 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, ptr noundef nonnull %18)
  call void @exit(i32 noundef 1) #9
  unreachable

70:                                               ; preds = %63
  %71 = call ptr @clCreateKernel(ptr noundef %59, ptr noundef nonnull @.str.21, ptr noundef nonnull %13) #7
  %72 = load i32, ptr %13, align 4, !tbaa !11
  %.not48 = icmp eq i32 %72, 0
  br i1 %.not48, label %75, label %73

73:                                               ; preds = %70
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %72)
  call void @exit(i32 noundef 1) #9
  unreachable

75:                                               ; preds = %70
  %76 = call i32 @clSetKernelArg(ptr noundef %71, i32 noundef 0, i64 noundef 8, ptr noundef nonnull %6) #7
  store i32 %76, ptr %13, align 4, !tbaa !11
  %77 = call i32 @clSetKernelArg(ptr noundef %71, i32 noundef 1, i64 noundef 8, ptr noundef nonnull %7) #7
  store i32 %77, ptr %13, align 4, !tbaa !11
  %78 = call i32 @clSetKernelArg(ptr noundef %71, i32 noundef 2, i64 noundef 8, ptr noundef nonnull %8) #7
  store i32 %78, ptr %13, align 4, !tbaa !11
  %79 = call i32 @clSetKernelArg(ptr noundef %71, i32 noundef 3, i64 noundef 8, ptr noundef nonnull %9) #7
  store i32 %79, ptr %13, align 4, !tbaa !11
  %.not49 = icmp eq i32 %79, 0
  br i1 %.not49, label %82, label %80

80:                                               ; preds = %75
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %79)
  call void @exit(i32 noundef 1) #9
  unreachable

82:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %83 = sext i32 %3 to i64
  store i64 %83, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  store i64 %83, ptr %20, align 8, !tbaa !9
  %84 = call i32 @clEnqueueNDRangeKernel(ptr noundef %38, ptr noundef %71, i32 noundef 1, ptr noundef null, ptr noundef nonnull %19, ptr noundef nonnull %20, i32 noundef 0, ptr noundef null, ptr noundef null) #7
  store i32 %84, ptr %13, align 4, !tbaa !11
  %.not50 = icmp eq i32 %84, 0
  br i1 %.not50, label %87, label %85

85:                                               ; preds = %82
  %86 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, i32 noundef %84)
  call void @exit(i32 noundef 1) #9
  unreachable

87:                                               ; preds = %82
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = call i32 @clEnqueueReadBuffer(ptr noundef %38, ptr noundef %88, i32 noundef 1, i64 noundef 0, i64 noundef 8, ptr noundef nonnull %14, i32 noundef 0, ptr noundef null, ptr noundef null) #7
  store i32 %89, ptr %13, align 4, !tbaa !11
  %.not51 = icmp eq i32 %89, 0
  br i1 %.not51, label %92, label %90

90:                                               ; preds = %87
  %91 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, i32 noundef %89)
  call void @exit(i32 noundef 1) #9
  unreachable

92:                                               ; preds = %87
  %93 = load double, ptr %14, align 8, !tbaa !13
  %94 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22, double noundef %93)
  %95 = call i32 @clFlush(ptr noundef %38) #7
  store i32 %95, ptr %13, align 4, !tbaa !11
  %96 = call i32 @clFinish(ptr noundef %38) #7
  store i32 %96, ptr %13, align 4, !tbaa !11
  %97 = call i32 @clReleaseKernel(ptr noundef %71) #7
  store i32 %97, ptr %13, align 4, !tbaa !11
  %98 = call i32 @clReleaseProgram(ptr noundef %59) #7
  store i32 %98, ptr %13, align 4, !tbaa !11
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = call i32 @clReleaseMemObject(ptr noundef %99) #7
  store i32 %100, ptr %13, align 4, !tbaa !11
  %101 = call i32 @clReleaseCommandQueue(ptr noundef %38) #7
  store i32 %101, ptr %13, align 4, !tbaa !11
  %102 = call i32 @clReleaseContext(ptr noundef %32) #7
  store i32 %102, ptr %13, align 4, !tbaa !11
  %103 = load ptr, ptr %15, align 8, !tbaa !5
  call void @free(ptr noundef %103) #7
  %104 = load double, ptr %14, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  ret double %104
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { noreturn 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 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 = { "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 = { 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 #6 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { cold nounwind }
attributes #9 = { noreturn 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,TailCallElimPass