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

; 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 [21 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [46 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 [17 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [30 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 [25 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.19 = 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
  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
  %16 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = icmp slt i32 %18, 7
  br i1 %19, label %20, label %24

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

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

31:                                               ; preds = %24
  %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %277

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

41:                                               ; preds = %33
  %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %43

43:                                               ; preds = %41, %33
  %44 = load ptr, ptr %5, align 8, !tbaa !9
  %45 = getelementptr inbounds ptr, ptr %44, i64 3
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  %47 = call i64 @atol(ptr noundef %46) #5
  %48 = trunc i64 %47 to i32
  store i32 %48, ptr %12, align 4, !tbaa !5
  %49 = load i32, ptr %12, align 4, !tbaa !5
  %50 = icmp slt i32 %49, 1
  br i1 %50, label %51, label %53

51:                                               ; preds = %43
  %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %53

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

61:                                               ; preds = %53
  %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %277

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

71:                                               ; preds = %63
  %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %277

73:                                               ; preds = %63
  %74 = load i32, ptr %13, align 4, !tbaa !5
  %75 = call i32 @InitializeClearCache(i32 noundef %74)
  %76 = load ptr, ptr %5, align 8, !tbaa !9
  %77 = getelementptr inbounds ptr, ptr %76, i64 6
  %78 = load ptr, ptr %77, align 8, !tbaa !9
  %79 = call i32 @atoi(ptr noundef %78) #5
  store i32 %79, ptr %9, align 4, !tbaa !5
  %80 = load i32, ptr %9, align 4, !tbaa !5
  call void @SetTiming(i32 noundef %80, i32 noundef 0)
  %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %82 = load i64, ptr %8, align 8, !tbaa !11
  %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i64 noundef %82)
  %84 = load i32, ptr %11, align 4, !tbaa !5
  %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %84)
  %86 = load i32, ptr %12, align 4, !tbaa !5
  %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %86)
  %88 = load i32, ptr %10, align 4, !tbaa !5
  %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %88)
  %90 = load i32, ptr %9, align 4, !tbaa !5
  %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %90)
  %92 = call i32 @SUNContext_Create(ptr noundef null, ptr noundef %6)
  store i32 %92, ptr %14, align 4, !tbaa !5
  %93 = load i32, ptr %14, align 4, !tbaa !5
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %97

95:                                               ; preds = %73
  %96 = load i32, ptr %14, align 4, !tbaa !5
  store i32 %96, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %277

97:                                               ; preds = %73
  %98 = load i64, ptr %8, align 8, !tbaa !11
  %99 = load ptr, ptr %6, align 8, !tbaa !9
  %100 = call ptr @N_VNew_Serial(i64 noundef %98, ptr noundef %99)
  store ptr %100, ptr %7, align 8, !tbaa !9
  %101 = load i32, ptr %9, align 4, !tbaa !5
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %105

103:                                              ; preds = %97
  %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  br label %105

105:                                              ; preds = %103, %97
  %106 = load i32, ptr %9, align 4, !tbaa !5
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %109

108:                                              ; preds = %105
  call void @PrintTableHeader(i32 noundef 1)
  br label %109

109:                                              ; preds = %108, %105
  %110 = load ptr, ptr %7, align 8, !tbaa !9
  %111 = load i64, ptr %8, align 8, !tbaa !11
  %112 = load i32, ptr %10, align 4, !tbaa !5
  %113 = call i32 @Test_N_VLinearSum(ptr noundef %110, i64 noundef %111, i32 noundef %112)
  store i32 %113, ptr %14, align 4, !tbaa !5
  %114 = load ptr, ptr %7, align 8, !tbaa !9
  %115 = load i64, ptr %8, align 8, !tbaa !11
  %116 = load i32, ptr %10, align 4, !tbaa !5
  %117 = call i32 @Test_N_VConst(ptr noundef %114, i64 noundef %115, i32 noundef %116)
  store i32 %117, ptr %14, align 4, !tbaa !5
  %118 = load ptr, ptr %7, align 8, !tbaa !9
  %119 = load i64, ptr %8, align 8, !tbaa !11
  %120 = load i32, ptr %10, align 4, !tbaa !5
  %121 = call i32 @Test_N_VProd(ptr noundef %118, i64 noundef %119, i32 noundef %120)
  store i32 %121, ptr %14, align 4, !tbaa !5
  %122 = load ptr, ptr %7, align 8, !tbaa !9
  %123 = load i64, ptr %8, align 8, !tbaa !11
  %124 = load i32, ptr %10, align 4, !tbaa !5
  %125 = call i32 @Test_N_VDiv(ptr noundef %122, i64 noundef %123, i32 noundef %124)
  store i32 %125, ptr %14, align 4, !tbaa !5
  %126 = load ptr, ptr %7, align 8, !tbaa !9
  %127 = load i64, ptr %8, align 8, !tbaa !11
  %128 = load i32, ptr %10, align 4, !tbaa !5
  %129 = call i32 @Test_N_VScale(ptr noundef %126, i64 noundef %127, i32 noundef %128)
  store i32 %129, ptr %14, align 4, !tbaa !5
  %130 = load ptr, ptr %7, align 8, !tbaa !9
  %131 = load i64, ptr %8, align 8, !tbaa !11
  %132 = load i32, ptr %10, align 4, !tbaa !5
  %133 = call i32 @Test_N_VAbs(ptr noundef %130, i64 noundef %131, i32 noundef %132)
  store i32 %133, ptr %14, align 4, !tbaa !5
  %134 = load ptr, ptr %7, align 8, !tbaa !9
  %135 = load i64, ptr %8, align 8, !tbaa !11
  %136 = load i32, ptr %10, align 4, !tbaa !5
  %137 = call i32 @Test_N_VInv(ptr noundef %134, i64 noundef %135, i32 noundef %136)
  store i32 %137, ptr %14, align 4, !tbaa !5
  %138 = load ptr, ptr %7, align 8, !tbaa !9
  %139 = load i64, ptr %8, align 8, !tbaa !11
  %140 = load i32, ptr %10, align 4, !tbaa !5
  %141 = call i32 @Test_N_VAddConst(ptr noundef %138, i64 noundef %139, i32 noundef %140)
  store i32 %141, ptr %14, align 4, !tbaa !5
  %142 = load ptr, ptr %7, align 8, !tbaa !9
  %143 = load i64, ptr %8, align 8, !tbaa !11
  %144 = load i32, ptr %10, align 4, !tbaa !5
  %145 = call i32 @Test_N_VDotProd(ptr noundef %142, i64 noundef %143, i32 noundef %144)
  store i32 %145, ptr %14, align 4, !tbaa !5
  %146 = load ptr, ptr %7, align 8, !tbaa !9
  %147 = load i64, ptr %8, align 8, !tbaa !11
  %148 = load i32, ptr %10, align 4, !tbaa !5
  %149 = call i32 @Test_N_VMaxNorm(ptr noundef %146, i64 noundef %147, i32 noundef %148)
  store i32 %149, ptr %14, align 4, !tbaa !5
  %150 = load ptr, ptr %7, align 8, !tbaa !9
  %151 = load i64, ptr %8, align 8, !tbaa !11
  %152 = load i32, ptr %10, align 4, !tbaa !5
  %153 = call i32 @Test_N_VWrmsNorm(ptr noundef %150, i64 noundef %151, i32 noundef %152)
  store i32 %153, ptr %14, align 4, !tbaa !5
  %154 = load ptr, ptr %7, align 8, !tbaa !9
  %155 = load i64, ptr %8, align 8, !tbaa !11
  %156 = load i32, ptr %10, align 4, !tbaa !5
  %157 = call i32 @Test_N_VWrmsNormMask(ptr noundef %154, i64 noundef %155, i32 noundef %156)
  store i32 %157, ptr %14, align 4, !tbaa !5
  %158 = load ptr, ptr %7, align 8, !tbaa !9
  %159 = load i64, ptr %8, align 8, !tbaa !11
  %160 = load i32, ptr %10, align 4, !tbaa !5
  %161 = call i32 @Test_N_VMin(ptr noundef %158, i64 noundef %159, i32 noundef %160)
  store i32 %161, ptr %14, align 4, !tbaa !5
  %162 = load ptr, ptr %7, align 8, !tbaa !9
  %163 = load i64, ptr %8, align 8, !tbaa !11
  %164 = load i32, ptr %10, align 4, !tbaa !5
  %165 = call i32 @Test_N_VWL2Norm(ptr noundef %162, i64 noundef %163, i32 noundef %164)
  store i32 %165, ptr %14, align 4, !tbaa !5
  %166 = load ptr, ptr %7, align 8, !tbaa !9
  %167 = load i64, ptr %8, align 8, !tbaa !11
  %168 = load i32, ptr %10, align 4, !tbaa !5
  %169 = call i32 @Test_N_VL1Norm(ptr noundef %166, i64 noundef %167, i32 noundef %168)
  store i32 %169, ptr %14, align 4, !tbaa !5
  %170 = load ptr, ptr %7, align 8, !tbaa !9
  %171 = load i64, ptr %8, align 8, !tbaa !11
  %172 = load i32, ptr %10, align 4, !tbaa !5
  %173 = call i32 @Test_N_VCompare(ptr noundef %170, i64 noundef %171, i32 noundef %172)
  store i32 %173, ptr %14, align 4, !tbaa !5
  %174 = load ptr, ptr %7, align 8, !tbaa !9
  %175 = load i64, ptr %8, align 8, !tbaa !11
  %176 = load i32, ptr %10, align 4, !tbaa !5
  %177 = call i32 @Test_N_VInvTest(ptr noundef %174, i64 noundef %175, i32 noundef %176)
  store i32 %177, ptr %14, align 4, !tbaa !5
  %178 = load ptr, ptr %7, align 8, !tbaa !9
  %179 = load i64, ptr %8, align 8, !tbaa !11
  %180 = load i32, ptr %10, align 4, !tbaa !5
  %181 = call i32 @Test_N_VConstrMask(ptr noundef %178, i64 noundef %179, i32 noundef %180)
  store i32 %181, ptr %14, align 4, !tbaa !5
  %182 = load ptr, ptr %7, align 8, !tbaa !9
  %183 = load i64, ptr %8, align 8, !tbaa !11
  %184 = load i32, ptr %10, align 4, !tbaa !5
  %185 = call i32 @Test_N_VMinQuotient(ptr noundef %182, i64 noundef %183, i32 noundef %184)
  store i32 %185, ptr %14, align 4, !tbaa !5
  %186 = load i32, ptr %11, align 4, !tbaa !5
  %187 = icmp sgt i32 %186, 0
  br i1 %187, label %188, label %266

188:                                              ; preds = %109
  %189 = load i32, ptr %9, align 4, !tbaa !5
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %194

191:                                              ; preds = %188
  %192 = load i32, ptr %11, align 4, !tbaa !5
  %193 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %192)
  br label %194

194:                                              ; preds = %191, %188
  %195 = load i32, ptr %9, align 4, !tbaa !5
  %196 = icmp ne i32 %195, 0
  br i1 %196, label %197, label %198

197:                                              ; preds = %194
  call void @PrintTableHeader(i32 noundef 2)
  br label %198

198:                                              ; preds = %197, %194
  %199 = load ptr, ptr %7, align 8, !tbaa !9
  %200 = load i64, ptr %8, align 8, !tbaa !11
  %201 = load i32, ptr %11, align 4, !tbaa !5
  %202 = load i32, ptr %10, align 4, !tbaa !5
  %203 = call i32 @Test_N_VLinearCombination(ptr noundef %199, i64 noundef %200, i32 noundef %201, i32 noundef %202)
  store i32 %203, ptr %14, align 4, !tbaa !5
  %204 = load ptr, ptr %7, align 8, !tbaa !9
  %205 = load i64, ptr %8, align 8, !tbaa !11
  %206 = load i32, ptr %11, align 4, !tbaa !5
  %207 = load i32, ptr %10, align 4, !tbaa !5
  %208 = call i32 @Test_N_VScaleAddMulti(ptr noundef %204, i64 noundef %205, i32 noundef %206, i32 noundef %207)
  store i32 %208, ptr %14, align 4, !tbaa !5
  %209 = load ptr, ptr %7, align 8, !tbaa !9
  %210 = load i64, ptr %8, align 8, !tbaa !11
  %211 = load i32, ptr %11, align 4, !tbaa !5
  %212 = load i32, ptr %10, align 4, !tbaa !5
  %213 = call i32 @Test_N_VDotProdMulti(ptr noundef %209, i64 noundef %210, i32 noundef %211, i32 noundef %212)
  store i32 %213, ptr %14, align 4, !tbaa !5
  %214 = load ptr, ptr %7, align 8, !tbaa !9
  %215 = load i64, ptr %8, align 8, !tbaa !11
  %216 = load i32, ptr %11, align 4, !tbaa !5
  %217 = load i32, ptr %10, align 4, !tbaa !5
  %218 = call i32 @Test_N_VLinearSumVectorArray(ptr noundef %214, i64 noundef %215, i32 noundef %216, i32 noundef %217)
  store i32 %218, ptr %14, align 4, !tbaa !5
  %219 = load ptr, ptr %7, align 8, !tbaa !9
  %220 = load i64, ptr %8, align 8, !tbaa !11
  %221 = load i32, ptr %11, align 4, !tbaa !5
  %222 = load i32, ptr %10, align 4, !tbaa !5
  %223 = call i32 @Test_N_VScaleVectorArray(ptr noundef %219, i64 noundef %220, i32 noundef %221, i32 noundef %222)
  store i32 %223, ptr %14, align 4, !tbaa !5
  %224 = load ptr, ptr %7, align 8, !tbaa !9
  %225 = load i64, ptr %8, align 8, !tbaa !11
  %226 = load i32, ptr %11, align 4, !tbaa !5
  %227 = load i32, ptr %10, align 4, !tbaa !5
  %228 = call i32 @Test_N_VConstVectorArray(ptr noundef %224, i64 noundef %225, i32 noundef %226, i32 noundef %227)
  store i32 %228, ptr %14, align 4, !tbaa !5
  %229 = load ptr, ptr %7, align 8, !tbaa !9
  %230 = load i64, ptr %8, align 8, !tbaa !11
  %231 = load i32, ptr %11, align 4, !tbaa !5
  %232 = load i32, ptr %10, align 4, !tbaa !5
  %233 = call i32 @Test_N_VWrmsNormVectorArray(ptr noundef %229, i64 noundef %230, i32 noundef %231, i32 noundef %232)
  store i32 %233, ptr %14, align 4, !tbaa !5
  %234 = load ptr, ptr %7, align 8, !tbaa !9
  %235 = load i64, ptr %8, align 8, !tbaa !11
  %236 = load i32, ptr %11, align 4, !tbaa !5
  %237 = load i32, ptr %10, align 4, !tbaa !5
  %238 = call i32 @Test_N_VWrmsNormMaskVectorArray(ptr noundef %234, i64 noundef %235, i32 noundef %236, i32 noundef %237)
  store i32 %238, ptr %14, align 4, !tbaa !5
  %239 = load i32, ptr %12, align 4, !tbaa !5
  %240 = icmp sgt i32 %239, 0
  br i1 %240, label %241, label %265

241:                                              ; preds = %198
  %242 = load i32, ptr %9, align 4, !tbaa !5
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %248

244:                                              ; preds = %241
  %245 = load i32, ptr %11, align 4, !tbaa !5
  %246 = load i32, ptr %12, align 4, !tbaa !5
  %247 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %245, i32 noundef %246)
  br label %248

248:                                              ; preds = %244, %241
  %249 = load i32, ptr %9, align 4, !tbaa !5
  %250 = icmp ne i32 %249, 0
  br i1 %250, label %251, label %252

251:                                              ; preds = %248
  call void @PrintTableHeader(i32 noundef 2)
  br label %252

252:                                              ; preds = %251, %248
  %253 = load ptr, ptr %7, align 8, !tbaa !9
  %254 = load i64, ptr %8, align 8, !tbaa !11
  %255 = load i32, ptr %11, align 4, !tbaa !5
  %256 = load i32, ptr %12, align 4, !tbaa !5
  %257 = load i32, ptr %10, align 4, !tbaa !5
  %258 = call i32 @Test_N_VScaleAddMultiVectorArray(ptr noundef %253, i64 noundef %254, i32 noundef %255, i32 noundef %256, i32 noundef %257)
  store i32 %258, ptr %14, align 4, !tbaa !5
  %259 = load ptr, ptr %7, align 8, !tbaa !9
  %260 = load i64, ptr %8, align 8, !tbaa !11
  %261 = load i32, ptr %11, align 4, !tbaa !5
  %262 = load i32, ptr %12, align 4, !tbaa !5
  %263 = load i32, ptr %10, align 4, !tbaa !5
  %264 = call i32 @Test_N_VLinearCombinationVectorArray(ptr noundef %259, i64 noundef %260, i32 noundef %261, i32 noundef %262, i32 noundef %263)
  store i32 %264, ptr %14, align 4, !tbaa !5
  br label %265

265:                                              ; preds = %252, %198
  br label %266

266:                                              ; preds = %265, %109
  %267 = load ptr, ptr %7, align 8, !tbaa !9
  call void @N_VDestroy(ptr noundef %267)
  %268 = call i32 @FinalizeClearCache()
  %269 = call i32 @SUNContext_Free(ptr noundef %6)
  store i32 %269, ptr %14, align 4, !tbaa !5
  %270 = load i32, ptr %14, align 4, !tbaa !5
  %271 = icmp ne i32 %270, 0
  br i1 %271, label %272, label %274

272:                                              ; preds = %266
  %273 = load i32, ptr %14, align 4, !tbaa !5
  store i32 %273, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %277

274:                                              ; preds = %266
  %275 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
  %276 = load i32, ptr %14, align 4, !tbaa !5
  store i32 %276, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %277

277:                                              ; preds = %274, %272, %95, %71, %61, %31, %20
  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
  %278 = load i32, ptr %3, align 4
  ret i32 %278
}

; 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_Serial(i64 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 [21 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [46 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 [17 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [30 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 [25 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.19 = 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, 7
  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 %109

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 %109

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 %26

26:                                               ; preds = %24, %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 %34

34:                                               ; preds = %32, %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 %109

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 %109

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 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  %56 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i64 noundef %14)
  %57 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %22)
  %58 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %30)
  %59 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %38)
  %60 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %54)
  %61 = call i32 @SUNContext_Create(ptr noundef null, ptr noundef nonnull %3) #5
  %.not = icmp eq i32 %61, 0
  br i1 %.not, label %62, label %109

62:                                               ; preds = %50
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = call ptr @N_VNew_Serial(i64 noundef %14, ptr noundef %63) #5
  %.not143 = icmp eq i32 %54, 0
  br i1 %.not143, label %.critedge, label %65

65:                                               ; preds = %62
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  call void @PrintTableHeader(i32 noundef 1) #5
  br label %.critedge

.critedge:                                        ; preds = %62, %65
  %67 = call i32 @Test_N_VLinearSum(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %68 = call i32 @Test_N_VConst(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %69 = call i32 @Test_N_VProd(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %70 = call i32 @Test_N_VDiv(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %71 = call i32 @Test_N_VScale(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %72 = call i32 @Test_N_VAbs(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %73 = call i32 @Test_N_VInv(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %74 = call i32 @Test_N_VAddConst(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %75 = call i32 @Test_N_VDotProd(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %76 = call i32 @Test_N_VMaxNorm(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %77 = call i32 @Test_N_VWrmsNorm(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %78 = call i32 @Test_N_VWrmsNormMask(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %79 = call i32 @Test_N_VMin(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %80 = call i32 @Test_N_VWL2Norm(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %81 = call i32 @Test_N_VL1Norm(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %82 = call i32 @Test_N_VCompare(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %83 = call i32 @Test_N_VInvTest(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %84 = call i32 @Test_N_VConstrMask(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %85 = call i32 @Test_N_VMinQuotient(ptr noundef %64, i64 noundef %14, i32 noundef %38) #5
  %86 = icmp sgt i32 %22, 0
  br i1 %86, label %87, label %104

87:                                               ; preds = %.critedge
  br i1 %.not143, label %.critedge146, label %88

88:                                               ; preds = %87
  %89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, i32 noundef %22)
  call void @PrintTableHeader(i32 noundef 2) #5
  br label %.critedge146

.critedge146:                                     ; preds = %87, %88
  %90 = call i32 @Test_N_VLinearCombination(ptr noundef %64, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %91 = call i32 @Test_N_VScaleAddMulti(ptr noundef %64, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %92 = call i32 @Test_N_VDotProdMulti(ptr noundef %64, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %93 = call i32 @Test_N_VLinearSumVectorArray(ptr noundef %64, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %94 = call i32 @Test_N_VScaleVectorArray(ptr noundef %64, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %95 = call i32 @Test_N_VConstVectorArray(ptr noundef %64, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %96 = call i32 @Test_N_VWrmsNormVectorArray(ptr noundef %64, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %97 = call i32 @Test_N_VWrmsNormMaskVectorArray(ptr noundef %64, i64 noundef %14, i32 noundef %22, i32 noundef %38) #5
  %98 = icmp sgt i32 %30, 0
  br i1 %98, label %99, label %104

99:                                               ; preds = %.critedge146
  br i1 %.not143, label %.critedge148, label %100

100:                                              ; preds = %99
  %101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef %22, i32 noundef %30)
  call void @PrintTableHeader(i32 noundef 2) #5
  br label %.critedge148

.critedge148:                                     ; preds = %99, %100
  %102 = call i32 @Test_N_VScaleAddMultiVectorArray(ptr noundef %64, i64 noundef %14, i32 noundef %22, i32 noundef %30, i32 noundef %38) #5
  %103 = call i32 @Test_N_VLinearCombinationVectorArray(ptr noundef %64, i64 noundef %14, i32 noundef %22, i32 noundef %30, i32 noundef %38) #5
  br label %104

104:                                              ; preds = %.critedge146, %.critedge148, %.critedge
  call void @N_VDestroy(ptr noundef %64) #5
  %105 = call i32 @FinalizeClearCache()
  %106 = call i32 @SUNContext_Free(ptr noundef nonnull %3) #5
  %.not144 = icmp eq i32 %106, 0
  br i1 %.not144, label %107, label %109

107:                                              ; preds = %104
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19)
  br label %109

109:                                              ; preds = %104, %50, %107, %48, %40, %16, %7
  %.0 = phi i32 [ -1, %7 ], [ -1, %16 ], [ -1, %40 ], [ -1, %48 ], [ 0, %107 ], [ %61, %50 ], [ %106, %104 ]
  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_Serial(i64 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,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass