; LLVM IR from stan-dev/math :: lib/sundials_6.1.1/benchmarks/nvector/pthreads (test_nvector_performance_pthreads)

; 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 [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store ptr null, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store ptr null, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %19 = load i32, ptr %4, align 4, !tbaa !5
  %20 = icmp slt i32 %19, 8
  br i1 %20, label %21, label %25

21:                                               ; preds = %2
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %283

25:                                               ; preds = %2
  %26 = load ptr, ptr %5, align 8, !tbaa !9
  %27 = getelementptr inbounds ptr, ptr %26, i64 1
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = call i64 @atol(ptr noundef %28) #5
  store i64 %29, ptr %8, align 8, !tbaa !11
  %30 = load i64, ptr %8, align 8, !tbaa !11
  %31 = icmp sle i64 %30, 0
  br i1 %31, label %32, label %34

32:                                               ; preds = %25
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %283

34:                                               ; preds = %25
  %35 = load ptr, ptr %5, align 8, !tbaa !9
  %36 = getelementptr inbounds ptr, ptr %35, i64 2
  %37 = load ptr, ptr %36, align 8, !tbaa !9
  %38 = call i64 @atol(ptr noundef %37) #5
  %39 = trunc i64 %38 to i32
  store i32 %39, ptr %11, align 4, !tbaa !5
  %40 = load i32, ptr %11, align 4, !tbaa !5
  %41 = icmp sle i32 %40, 0
  br i1 %41, label %42, label %44

42:                                               ; preds = %34
  %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %283

44:                                               ; preds = %34
  %45 = load ptr, ptr %5, align 8, !tbaa !9
  %46 = getelementptr inbounds ptr, ptr %45, i64 3
  %47 = load ptr, ptr %46, align 8, !tbaa !9
  %48 = call i64 @atol(ptr noundef %47) #5
  %49 = trunc i64 %48 to i32
  store i32 %49, ptr %12, align 4, !tbaa !5
  %50 = load i32, ptr %12, align 4, !tbaa !5
  %51 = icmp sle i32 %50, 0
  br i1 %51, label %52, label %54

52:                                               ; preds = %44
  %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %283

54:                                               ; preds = %44
  %55 = load ptr, ptr %5, align 8, !tbaa !9
  %56 = getelementptr inbounds ptr, ptr %55, i64 4
  %57 = load ptr, ptr %56, align 8, !tbaa !9
  %58 = call i64 @atol(ptr noundef %57) #5
  %59 = trunc i64 %58 to i32
  store i32 %59, ptr %10, align 4, !tbaa !5
  %60 = load i32, ptr %10, align 4, !tbaa !5
  %61 = icmp sle i32 %60, 0
  br i1 %61, label %62, label %64

62:                                               ; preds = %54
  %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %283

64:                                               ; preds = %54
  %65 = load ptr, ptr %5, align 8, !tbaa !9
  %66 = getelementptr inbounds ptr, ptr %65, i64 5
  %67 = load ptr, ptr %66, align 8, !tbaa !9
  %68 = call i64 @atol(ptr noundef %67) #5
  %69 = trunc i64 %68 to i32
  store i32 %69, ptr %13, align 4, !tbaa !5
  %70 = load i32, ptr %13, align 4, !tbaa !5
  %71 = icmp slt i32 %70, 0
  br i1 %71, label %72, label %74

72:                                               ; preds = %64
  %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %283

74:                                               ; preds = %64
  %75 = load i32, ptr %13, align 4, !tbaa !5
  %76 = call i32 @InitializeClearCache(i32 noundef %75)
  %77 = load ptr, ptr %5, align 8, !tbaa !9
  %78 = getelementptr inbounds ptr, ptr %77, i64 6
  %79 = load ptr, ptr %78, align 8, !tbaa !9
  %80 = call i32 @atoi(ptr noundef %79) #5
  store i32 %80, ptr %9, align 4, !tbaa !5
  %81 = load i32, ptr %9, align 4, !tbaa !5
  call void @SetTiming(i32 noundef %81, i32 noundef 0)
  %82 = load ptr, ptr %5, align 8, !tbaa !9
  %83 = getelementptr inbounds ptr, ptr %82, i64 7
  %84 = load ptr, ptr %83, align 8, !tbaa !9
  %85 = call i64 @atol(ptr noundef %84) #5
  %86 = trunc i64 %85 to i32
  store i32 %86, ptr %14, align 4, !tbaa !5
  %87 = load i32, ptr %14, align 4, !tbaa !5
  %88 = icmp sle i32 %87, 0
  br i1 %88, label %89, label %91

89:                                               ; preds = %74
  %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %283

91:                                               ; preds = %74
  %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %93 = load i64, ptr %8, align 8, !tbaa !11
  %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i64 noundef %93)
  %95 = load i32, ptr %11, align 4, !tbaa !5
  %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %95)
  %97 = load i32, ptr %12, align 4, !tbaa !5
  %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %97)
  %99 = load i32, ptr %10, align 4, !tbaa !5
  %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %99)
  %101 = load i32, ptr %9, align 4, !tbaa !5
  %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %101)
  %103 = load i32, ptr %14, align 4, !tbaa !5
  %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %103)
  %105 = call i32 @SUNContext_Create(ptr noundef null, ptr noundef %6)
  store i32 %105, ptr %15, align 4, !tbaa !5
  %106 = load i32, ptr %15, align 4, !tbaa !5
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %110

108:                                              ; preds = %91
  %109 = load i32, ptr %15, align 4, !tbaa !5
  store i32 %109, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %283

110:                                              ; preds = %91
  %111 = load i64, ptr %8, align 8, !tbaa !11
  %112 = load i32, ptr %14, align 4, !tbaa !5
  %113 = load ptr, ptr %6, align 8, !tbaa !9
  %114 = call ptr @N_VNew_Pthreads(i64 noundef %111, i32 noundef %112, ptr noundef %113)
  store ptr %114, ptr %7, align 8, !tbaa !9
  %115 = load i32, ptr %9, align 4, !tbaa !5
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %119

117:                                              ; preds = %110
  %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
  br label %119

119:                                              ; preds = %117, %110
  %120 = load i32, ptr %9, align 4, !tbaa !5
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %123

122:                                              ; preds = %119
  call void @PrintTableHeader(i32 noundef 1)
  br label %123

123:                                              ; preds = %122, %119
  %124 = load ptr, ptr %7, align 8, !tbaa !9
  %125 = load i64, ptr %8, align 8, !tbaa !11
  %126 = load i32, ptr %10, align 4, !tbaa !5
  %127 = call i32 @Test_N_VLinearSum(ptr noundef %124, i64 noundef %125, i32 noundef %126)
  store i32 %127, ptr %15, align 4, !tbaa !5
  %128 = load ptr, ptr %7, align 8, !tbaa !9
  %129 = load i64, ptr %8, align 8, !tbaa !11
  %130 = load i32, ptr %10, align 4, !tbaa !5
  %131 = call i32 @Test_N_VConst(ptr noundef %128, i64 noundef %129, i32 noundef %130)
  store i32 %131, ptr %15, align 4, !tbaa !5
  %132 = load ptr, ptr %7, align 8, !tbaa !9
  %133 = load i64, ptr %8, align 8, !tbaa !11
  %134 = load i32, ptr %10, align 4, !tbaa !5
  %135 = call i32 @Test_N_VProd(ptr noundef %132, i64 noundef %133, i32 noundef %134)
  store i32 %135, ptr %15, align 4, !tbaa !5
  %136 = load ptr, ptr %7, align 8, !tbaa !9
  %137 = load i64, ptr %8, align 8, !tbaa !11
  %138 = load i32, ptr %10, align 4, !tbaa !5
  %139 = call i32 @Test_N_VDiv(ptr noundef %136, i64 noundef %137, i32 noundef %138)
  store i32 %139, ptr %15, align 4, !tbaa !5
  %140 = load ptr, ptr %7, align 8, !tbaa !9
  %141 = load i64, ptr %8, align 8, !tbaa !11
  %142 = load i32, ptr %10, align 4, !tbaa !5
  %143 = call i32 @Test_N_VScale(ptr noundef %140, i64 noundef %141, i32 noundef %142)
  store i32 %143, ptr %15, align 4, !tbaa !5
  %144 = load ptr, ptr %7, align 8, !tbaa !9
  %145 = load i64, ptr %8, align 8, !tbaa !11
  %146 = load i32, ptr %10, align 4, !tbaa !5
  %147 = call i32 @Test_N_VAbs(ptr noundef %144, i64 noundef %145, i32 noundef %146)
  store i32 %147, ptr %15, align 4, !tbaa !5
  %148 = load ptr, ptr %7, align 8, !tbaa !9
  %149 = load i64, ptr %8, align 8, !tbaa !11
  %150 = load i32, ptr %10, align 4, !tbaa !5
  %151 = call i32 @Test_N_VInv(ptr noundef %148, i64 noundef %149, i32 noundef %150)
  store i32 %151, ptr %15, align 4, !tbaa !5
  %152 = load ptr, ptr %7, align 8, !tbaa !9
  %153 = load i64, ptr %8, align 8, !tbaa !11
  %154 = load i32, ptr %10, align 4, !tbaa !5
  %155 = call i32 @Test_N_VAddConst(ptr noundef %152, i64 noundef %153, i32 noundef %154)
  store i32 %155, ptr %15, align 4, !tbaa !5
  %156 = load ptr, ptr %7, align 8, !tbaa !9
  %157 = load i64, ptr %8, align 8, !tbaa !11
  %158 = load i32, ptr %10, align 4, !tbaa !5
  %159 = call i32 @Test_N_VDotProd(ptr noundef %156, i64 noundef %157, i32 noundef %158)
  store i32 %159, ptr %15, align 4, !tbaa !5
  %160 = load ptr, ptr %7, align 8, !tbaa !9
  %161 = load i64, ptr %8, align 8, !tbaa !11
  %162 = load i32, ptr %10, align 4, !tbaa !5
  %163 = call i32 @Test_N_VMaxNorm(ptr noundef %160, i64 noundef %161, i32 noundef %162)
  store i32 %163, ptr %15, align 4, !tbaa !5
  %164 = load ptr, ptr %7, align 8, !tbaa !9
  %165 = load i64, ptr %8, align 8, !tbaa !11
  %166 = load i32, ptr %10, align 4, !tbaa !5
  %167 = call i32 @Test_N_VWrmsNorm(ptr noundef %164, i64 noundef %165, i32 noundef %166)
  store i32 %167, ptr %15, align 4, !tbaa !5
  %168 = load ptr, ptr %7, align 8, !tbaa !9
  %169 = load i64, ptr %8, align 8, !tbaa !11
  %170 = load i32, ptr %10, align 4, !tbaa !5
  %171 = call i32 @Test_N_VWrmsNormMask(ptr noundef %168, i64 noundef %169, i32 noundef %170)
  store i32 %171, ptr %15, align 4, !tbaa !5
  %172 = load ptr, ptr %7, align 8, !tbaa !9
  %173 = load i64, ptr %8, align 8, !tbaa !11
  %174 = load i32, ptr %10, align 4, !tbaa !5
  %175 = call i32 @Test_N_VMin(ptr noundef %172, i64 noundef %173, i32 noundef %174)
  store i32 %175, ptr %15, align 4, !tbaa !5
  %176 = load ptr, ptr %7, align 8, !tbaa !9
  %177 = load i64, ptr %8, align 8, !tbaa !11
  %178 = load i32, ptr %10, align 4, !tbaa !5
  %179 = call i32 @Test_N_VWL2Norm(ptr noundef %176, i64 noundef %177, i32 noundef %178)
  store i32 %179, ptr %15, align 4, !tbaa !5
  %180 = load ptr, ptr %7, align 8, !tbaa !9
  %181 = load i64, ptr %8, align 8, !tbaa !11
  %182 = load i32, ptr %10, align 4, !tbaa !5
  %183 = call i32 @Test_N_VL1Norm(ptr noundef %180, i64 noundef %181, i32 noundef %182)
  store i32 %183, ptr %15, align 4, !tbaa !5
  %184 = load ptr, ptr %7, align 8, !tbaa !9
  %185 = load i64, ptr %8, align 8, !tbaa !11
  %186 = load i32, ptr %10, align 4, !tbaa !5
  %187 = call i32 @Test_N_VCompare(ptr noundef %184, i64 noundef %185, i32 noundef %186)
  store i32 %187, ptr %15, align 4, !tbaa !5
  %188 = load ptr, ptr %7, align 8, !tbaa !9
  %189 = load i64, ptr %8, align 8, !tbaa !11
  %190 = load i32, ptr %10, align 4, !tbaa !5
  %191 = call i32 @Test_N_VInvTest(ptr noundef %188, i64 noundef %189, i32 noundef %190)
  store i32 %191, ptr %15, align 4, !tbaa !5
  %192 = load ptr, ptr %7, align 8, !tbaa !9
  %193 = load i64, ptr %8, align 8, !tbaa !11
  %194 = load i32, ptr %10, align 4, !tbaa !5
  %195 = call i32 @Test_N_VConstrMask(ptr noundef %192, i64 noundef %193, i32 noundef %194)
  store i32 %195, ptr %15, align 4, !tbaa !5
  %196 = load ptr, ptr %7, align 8, !tbaa !9
  %197 = load i64, ptr %8, align 8, !tbaa !11
  %198 = load i32, ptr %10, align 4, !tbaa !5
  %199 = call i32 @Test_N_VMinQuotient(ptr noundef %196, i64 noundef %197, i32 noundef %198)
  store i32 %199, ptr %15, align 4, !tbaa !5
  %200 = load i32, ptr %9, align 4, !tbaa !5
  %201 = icmp ne i32 %200, 0
  br i1 %201, label %202, label %205

202:                                              ; preds = %123
  %203 = load i32, ptr %11, align 4, !tbaa !5
  %204 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %203)
  br label %205

205:                                              ; preds = %202, %123
  %206 = load i32, ptr %9, align 4, !tbaa !5
  %207 = icmp ne i32 %206, 0
  br i1 %207, label %208, label %209

208:                                              ; preds = %205
  call void @PrintTableHeader(i32 noundef 2)
  br label %209

209:                                              ; preds = %208, %205
  %210 = load ptr, ptr %7, align 8, !tbaa !9
  %211 = load i64, ptr %8, align 8, !tbaa !11
  %212 = load i32, ptr %11, align 4, !tbaa !5
  %213 = load i32, ptr %10, align 4, !tbaa !5
  %214 = call i32 @Test_N_VLinearCombination(ptr noundef %210, i64 noundef %211, i32 noundef %212, i32 noundef %213)
  store i32 %214, ptr %15, align 4, !tbaa !5
  %215 = load ptr, ptr %7, align 8, !tbaa !9
  %216 = load i64, ptr %8, align 8, !tbaa !11
  %217 = load i32, ptr %11, align 4, !tbaa !5
  %218 = load i32, ptr %10, align 4, !tbaa !5
  %219 = call i32 @Test_N_VScaleAddMulti(ptr noundef %215, i64 noundef %216, i32 noundef %217, i32 noundef %218)
  store i32 %219, ptr %15, align 4, !tbaa !5
  %220 = load ptr, ptr %7, align 8, !tbaa !9
  %221 = load i64, ptr %8, align 8, !tbaa !11
  %222 = load i32, ptr %11, align 4, !tbaa !5
  %223 = load i32, ptr %10, align 4, !tbaa !5
  %224 = call i32 @Test_N_VDotProdMulti(ptr noundef %220, i64 noundef %221, i32 noundef %222, i32 noundef %223)
  store i32 %224, ptr %15, align 4, !tbaa !5
  %225 = load ptr, ptr %7, align 8, !tbaa !9
  %226 = load i64, ptr %8, align 8, !tbaa !11
  %227 = load i32, ptr %11, align 4, !tbaa !5
  %228 = load i32, ptr %10, align 4, !tbaa !5
  %229 = call i32 @Test_N_VLinearSumVectorArray(ptr noundef %225, i64 noundef %226, i32 noundef %227, i32 noundef %228)
  store i32 %229, ptr %15, align 4, !tbaa !5
  %230 = load ptr, ptr %7, align 8, !tbaa !9
  %231 = load i64, ptr %8, align 8, !tbaa !11
  %232 = load i32, ptr %11, align 4, !tbaa !5
  %233 = load i32, ptr %10, align 4, !tbaa !5
  %234 = call i32 @Test_N_VScaleVectorArray(ptr noundef %230, i64 noundef %231, i32 noundef %232, i32 noundef %233)
  store i32 %234, ptr %15, align 4, !tbaa !5
  %235 = load ptr, ptr %7, align 8, !tbaa !9
  %236 = load i64, ptr %8, align 8, !tbaa !11
  %237 = load i32, ptr %11, align 4, !tbaa !5
  %238 = load i32, ptr %10, align 4, !tbaa !5
  %239 = call i32 @Test_N_VConstVectorArray(ptr noundef %235, i64 noundef %236, i32 noundef %237, i32 noundef %238)
  store i32 %239, ptr %15, align 4, !tbaa !5
  %240 = load ptr, ptr %7, align 8, !tbaa !9
  %241 = load i64, ptr %8, align 8, !tbaa !11
  %242 = load i32, ptr %11, align 4, !tbaa !5
  %243 = load i32, ptr %10, align 4, !tbaa !5
  %244 = call i32 @Test_N_VWrmsNormVectorArray(ptr noundef %240, i64 noundef %241, i32 noundef %242, i32 noundef %243)
  store i32 %244, ptr %15, align 4, !tbaa !5
  %245 = load ptr, ptr %7, align 8, !tbaa !9
  %246 = load i64, ptr %8, align 8, !tbaa !11
  %247 = load i32, ptr %11, align 4, !tbaa !5
  %248 = load i32, ptr %10, align 4, !tbaa !5
  %249 = call i32 @Test_N_VWrmsNormMaskVectorArray(ptr noundef %245, i64 noundef %246, i32 noundef %247, i32 noundef %248)
  store i32 %249, ptr %15, align 4, !tbaa !5
  %250 = load i32, ptr %9, align 4, !tbaa !5
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %252, label %256

252:                                              ; preds = %209
  %253 = load i32, ptr %11, align 4, !tbaa !5
  %254 = load i32, ptr %12, align 4, !tbaa !5
  %255 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %253, i32 noundef %254)
  br label %256

256:                                              ; preds = %252, %209
  %257 = load i32, ptr %9, align 4, !tbaa !5
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %259, label %260

259:                                              ; preds = %256
  call void @PrintTableHeader(i32 noundef 2)
  br label %260

260:                                              ; preds = %259, %256
  %261 = load ptr, ptr %7, align 8, !tbaa !9
  %262 = load i64, ptr %8, align 8, !tbaa !11
  %263 = load i32, ptr %11, align 4, !tbaa !5
  %264 = load i32, ptr %12, align 4, !tbaa !5
  %265 = load i32, ptr %10, align 4, !tbaa !5
  %266 = call i32 @Test_N_VScaleAddMultiVectorArray(ptr noundef %261, i64 noundef %262, i32 noundef %263, i32 noundef %264, i32 noundef %265)
  store i32 %266, ptr %15, align 4, !tbaa !5
  %267 = load ptr, ptr %7, align 8, !tbaa !9
  %268 = load i64, ptr %8, align 8, !tbaa !11
  %269 = load i32, ptr %11, align 4, !tbaa !5
  %270 = load i32, ptr %12, align 4, !tbaa !5
  %271 = load i32, ptr %10, align 4, !tbaa !5
  %272 = call i32 @Test_N_VLinearCombinationVectorArray(ptr noundef %267, i64 noundef %268, i32 noundef %269, i32 noundef %270, i32 noundef %271)
  store i32 %272, ptr %15, align 4, !tbaa !5
  %273 = load ptr, ptr %7, align 8, !tbaa !9
  call void @N_VDestroy(ptr noundef %273)
  %274 = call i32 @FinalizeClearCache()
  %275 = call i32 @SUNContext_Free(ptr noundef %6)
  store i32 %275, ptr %15, align 4, !tbaa !5
  %276 = load i32, ptr %15, align 4, !tbaa !5
  %277 = icmp ne i32 %276, 0
  br i1 %277, label %278, label %280

278:                                              ; preds = %260
  %279 = load i32, ptr %15, align 4, !tbaa !5
  store i32 %279, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %283

280:                                              ; preds = %260
  %281 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
  %282 = load i32, ptr %15, align 4, !tbaa !5
  store i32 %282, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %283

283:                                              ; preds = %280, %278, %108, %89, %72, %62, %52, %42, %32, %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  %284 = load i32, ptr %3, align 4
  ret i32 %284
}

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

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

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i64 @atol(ptr noundef nonnull) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @InitializeClearCache(i32 noundef) #0

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #3

declare void @SetTiming(i32 noundef, i32 noundef) #2

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

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

declare void @PrintTableHeader(i32 noundef) #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @N_VDestroy(ptr noundef) #2

declare i32 @SUNContext_Free(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare hidden i32 @FinalizeClearCache() #0

attributes #0 = { 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 #1 = { nocallback nofree nosync 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 = { inlinehint nounwind willreturn memory(read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !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 [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  store ptr null, ptr %3, align 8, !tbaa !5
  %4 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %5 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %6 = icmp slt i32 %0, 8
  br i1 %6, label %7, label %11

7:                                                ; preds = %2
  %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  br label %120

11:                                               ; preds = %2
  %12 = getelementptr inbounds i8, ptr %1, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  %14 = tail call i64 @atol(ptr nocapture noundef %13) #6
  %15 = icmp slt i64 %14, 1
  br i1 %15, label %16, label %18

16:                                               ; preds = %11
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  br label %120

18:                                               ; preds = %11
  %19 = getelementptr inbounds i8, ptr %1, i64 16
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %21 = tail call i64 @atol(ptr nocapture noundef %20) #6
  %22 = trunc i64 %21 to i32
  %23 = icmp slt i32 %22, 1
  br i1 %23, label %24, label %26

24:                                               ; preds = %18
  %25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  br label %120

26:                                               ; preds = %18
  %27 = getelementptr inbounds i8, ptr %1, i64 24
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  %29 = tail call i64 @atol(ptr nocapture noundef %28) #6
  %30 = trunc i64 %29 to i32
  %31 = icmp slt i32 %30, 1
  br i1 %31, label %32, label %34

32:                                               ; preds = %26
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  br label %120

34:                                               ; preds = %26
  %35 = getelementptr inbounds i8, ptr %1, i64 32
  %36 = load ptr, ptr %35, align 8, !tbaa !5
  %37 = tail call i64 @atol(ptr nocapture noundef %36) #6
  %38 = trunc i64 %37 to i32
  %39 = icmp slt i32 %38, 1
  br i1 %39, label %40, label %42

40:                                               ; preds = %34
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  br label %120

42:                                               ; preds = %34
  %43 = getelementptr inbounds i8, ptr %1, i64 40
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = tail call i64 @atol(ptr nocapture noundef %44) #6
  %46 = trunc i64 %45 to i32
  %47 = icmp slt i32 %46, 0
  br i1 %47, label %48, label %50

48:                                               ; preds = %42
  %49 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  br label %120

50:                                               ; preds = %42
  %51 = tail call i32 @InitializeClearCache(i32 noundef %46)
  %52 = getelementptr inbounds i8, ptr %1, i64 48
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  %54 = tail call i32 @atoi(ptr nocapture noundef %53) #6
  tail call void @SetTiming(i32 noundef %54, i32 noundef 0) #5
  %55 = getelementptr inbounds i8, ptr %1, i64 56
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  %57 = tail call i64 @atol(ptr nocapture noundef %56) #6
  %58 = trunc i64 %57 to i32
  %59 = icmp slt i32 %58, 1
  br i1 %59, label %60, label %62

60:                                               ; preds = %50
  %61 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  br label %120

62:                                               ; preds = %50
  %63 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %64 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i64 noundef %14)
  %65 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %22)
  %66 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %30)
  %67 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %38)
  %68 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, i32 noundef %54)
  %69 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, i32 noundef %58)
  %70 = call i32 @SUNContext_Create(ptr noundef null, ptr noundef nonnull %3) #5
  %.not = icmp eq i32 %70, 0
  br i1 %.not, label %71, label %120

71:                                               ; preds = %62
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = call ptr @N_VNew_Pthreads(i64 noundef %14, i32 noundef %58, ptr noundef %72) #5
  %.not146 = icmp eq i32 %54, 0
  br i1 %.not146, label %.critedge, label %74

74:                                               ; preds = %71
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18)
  call void @PrintTableHeader(i32 noundef 1) #5
  br label %.critedge

.critedge:                                        ; preds = %71, %74
  %76 = call i32 @Test_N_VLinearSum(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %77 = call i32 @Test_N_VConst(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %78 = call i32 @Test_N_VProd(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %79 = call i32 @Test_N_VDiv(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %80 = call i32 @Test_N_VScale(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %81 = call i32 @Test_N_VAbs(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %82 = call i32 @Test_N_VInv(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %83 = call i32 @Test_N_VAddConst(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %84 = call i32 @Test_N_VDotProd(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %85 = call i32 @Test_N_VMaxNorm(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %86 = call i32 @Test_N_VWrmsNorm(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %87 = call i32 @Test_N_VWrmsNormMask(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %88 = call i32 @Test_N_VMin(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %89 = call i32 @Test_N_VWL2Norm(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %90 = call i32 @Test_N_VL1Norm(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %91 = call i32 @Test_N_VCompare(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %92 = call i32 @Test_N_VInvTest(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %93 = call i32 @Test_N_VConstrMask(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  %94 = call i32 @Test_N_VMinQuotient(ptr noundef %73, i64 noundef %14, i32 noundef %38) #5
  br i1 %.not146, label %.thread, label %103

.thread:                                          ; preds = %.critedge
  %95 = call i32 @Test_N_VLinearCombination(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %96 = call i32 @Test_N_VScaleAddMulti(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %97 = call i32 @Test_N_VDotProdMulti(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %98 = call i32 @Test_N_VLinearSumVectorArray(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %99 = call i32 @Test_N_VScaleVectorArray(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %100 = call i32 @Test_N_VConstVectorArray(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %101 = call i32 @Test_N_VWrmsNormVectorArray(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %102 = call i32 @Test_N_VWrmsNormMaskVectorArray(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  br label %.critedge152

103:                                              ; preds = %.critedge
  %104 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19, i32 noundef %22)
  call void @PrintTableHeader(i32 noundef 2) #5
  %105 = call i32 @Test_N_VLinearCombination(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %106 = call i32 @Test_N_VScaleAddMulti(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %107 = call i32 @Test_N_VDotProdMulti(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %108 = call i32 @Test_N_VLinearSumVectorArray(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %109 = call i32 @Test_N_VScaleVectorArray(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %110 = call i32 @Test_N_VConstVectorArray(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %111 = call i32 @Test_N_VWrmsNormVectorArray(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %112 = call i32 @Test_N_VWrmsNormMaskVectorArray(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %113 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.20, i32 noundef %22, i32 noundef %30)
  call void @PrintTableHeader(i32 noundef 2) #5
  br label %.critedge152

.critedge152:                                     ; preds = %.thread, %103
  %114 = call i32 @Test_N_VScaleAddMultiVectorArray(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %30, i32 noundef %38) #5
  %115 = call i32 @Test_N_VLinearCombinationVectorArray(ptr noundef %73, i64 noundef %14, i32 noundef %22, i32 noundef %30, i32 noundef %38) #5
  call void @N_VDestroy(ptr noundef %73) #5
  %116 = call i32 @FinalizeClearCache()
  %117 = call i32 @SUNContext_Free(ptr noundef nonnull %3) #5
  %.not147 = icmp eq i32 %117, 0
  br i1 %.not147, label %118, label %120

118:                                              ; preds = %.critedge152
  %119 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21)
  br label %120

120:                                              ; preds = %.critedge152, %62, %118, %60, %48, %40, %32, %24, %16, %7
  %.0 = phi i32 [ -1, %7 ], [ -1, %16 ], [ -1, %24 ], [ -1, %32 ], [ -1, %40 ], [ -1, %48 ], [ -1, %60 ], [ 0, %118 ], [ %70, %62 ], [ %117, %.critedge152 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret i32 %.0
}

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

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i64 @atol(ptr nocapture noundef nonnull) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden i32 @InitializeClearCache(i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #3

declare void @SetTiming(i32 noundef, i32 noundef) local_unnamed_addr #4

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

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

declare void @PrintTableHeader(i32 noundef) local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @N_VDestroy(ptr noundef) local_unnamed_addr #4

declare i32 @SUNContext_Free(ptr noundef) 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: nounwind uwtable
declare hidden i32 @FinalizeClearCache() local_unnamed_addr #0

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 }
attributes #6 = { nounwind willreturn memory(read) }

!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"}


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