; LLVM IR from CLASS-SZ/class_sz :: class-sz/tools (evolver_ndf15)

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

%struct.jacobian = type { ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr }
%struct.sparse_matrix = type { i32, i32, i32, ptr, ptr, ptr }
%struct.sparse_numerical = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@__func__.new_linearisation = external hidden unnamed_addr constant [18 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [45 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

declare void @class_protect_sprintf(ptr noundef, ptr noundef, ...) #1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @new_linearisation(ptr noundef %0, double noundef %1, i32 noundef %2, ptr noundef %3) #3 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca double, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca [2048 x i8], align 16
  %18 = alloca [2048 x i8], align 16
  %19 = alloca i32, align 4
  %20 = alloca [2048 x i8], align 16
  %21 = alloca [2048 x i8], align 16
  store ptr %0, ptr %6, align 8, !tbaa !5
  store double %1, ptr %7, align 8, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !11
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, 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 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.jacobian, ptr %22, i32 0, i32 5
  %24 = load i32, ptr %23, align 8, !tbaa !13
  %25 = icmp eq i32 %24, 1
  br i1 %25, label %26, label %163

26:                                               ; preds = %4
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.jacobian, ptr %27, i32 0, i32 17
  %29 = load ptr, ptr %28, align 8, !tbaa !15
  %30 = getelementptr inbounds %struct.sparse_matrix, ptr %29, i32 0, i32 3
  %31 = load ptr, ptr %30, align 8, !tbaa !16
  store ptr %31, ptr %14, align 8, !tbaa !5
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.jacobian, ptr %32, i32 0, i32 17
  %34 = load ptr, ptr %33, align 8, !tbaa !15
  %35 = getelementptr inbounds %struct.sparse_matrix, ptr %34, i32 0, i32 4
  %36 = load ptr, ptr %35, align 8, !tbaa !18
  store ptr %36, ptr %15, align 8, !tbaa !5
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.jacobian, ptr %37, i32 0, i32 17
  %39 = load ptr, ptr %38, align 8, !tbaa !15
  %40 = getelementptr inbounds %struct.sparse_matrix, ptr %39, i32 0, i32 5
  %41 = load ptr, ptr %40, align 8, !tbaa !19
  store ptr %41, ptr %11, align 8, !tbaa !5
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %42

42:                                               ; preds = %104, %26
  %43 = load i32, ptr %13, align 4, !tbaa !11
  %44 = load i32, ptr %8, align 4, !tbaa !11
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %46, label %107

46:                                               ; preds = %42
  %47 = load ptr, ptr %14, align 8, !tbaa !5
  %48 = load i32, ptr %13, align 4, !tbaa !11
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds i32, ptr %47, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !11
  store i32 %51, ptr %12, align 4, !tbaa !11
  br label %52

52:                                               ; preds = %100, %46
  %53 = load i32, ptr %12, align 4, !tbaa !11
  %54 = load ptr, ptr %14, align 8, !tbaa !5
  %55 = load i32, ptr %13, align 4, !tbaa !11
  %56 = add nsw i32 %55, 1
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds i32, ptr %54, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !11
  %60 = icmp slt i32 %53, %59
  br i1 %60, label %61, label %103

61:                                               ; preds = %52
  %62 = load ptr, ptr %15, align 8, !tbaa !5
  %63 = load i32, ptr %12, align 4, !tbaa !11
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds i32, ptr %62, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !11
  %67 = load i32, ptr %13, align 4, !tbaa !11
  %68 = icmp eq i32 %66, %67
  br i1 %68, label %69, label %84

69:                                               ; preds = %61
  %70 = load double, ptr %7, align 8, !tbaa !9
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.jacobian, ptr %71, i32 0, i32 18
  %73 = load ptr, ptr %72, align 8, !tbaa !20
  %74 = load i32, ptr %12, align 4, !tbaa !11
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds double, ptr %73, i64 %75
  %77 = load double, ptr %76, align 8, !tbaa !9
  %78 = fneg double %70
  %79 = call double @llvm.fmuladd.f64(double %78, double %77, double 1.000000e+00)
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = load i32, ptr %12, align 4, !tbaa !11
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds double, ptr %80, i64 %82
  store double %79, ptr %83, align 8, !tbaa !9
  br label %99

84:                                               ; preds = %61
  %85 = load double, ptr %7, align 8, !tbaa !9
  %86 = fneg double %85
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.jacobian, ptr %87, i32 0, i32 18
  %89 = load ptr, ptr %88, align 8, !tbaa !20
  %90 = load i32, ptr %12, align 4, !tbaa !11
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds double, ptr %89, i64 %91
  %93 = load double, ptr %92, align 8, !tbaa !9
  %94 = fmul double %86, %93
  %95 = load ptr, ptr %11, align 8, !tbaa !5
  %96 = load i32, ptr %12, align 4, !tbaa !11
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds double, ptr %95, i64 %97
  store double %94, ptr %98, align 8, !tbaa !9
  br label %99

99:                                               ; preds = %84, %69
  br label %100

100:                                              ; preds = %99
  %101 = load i32, ptr %12, align 4, !tbaa !11
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %12, align 4, !tbaa !11
  br label %52, !llvm.loop !21

103:                                              ; preds = %52
  br label %104

104:                                              ; preds = %103
  %105 = load i32, ptr %13, align 4, !tbaa !11
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %13, align 4, !tbaa !11
  br label %42, !llvm.loop !23

107:                                              ; preds = %42
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.jacobian, ptr %108, i32 0, i32 12
  %110 = load i32, ptr %109, align 4, !tbaa !24
  %111 = icmp eq i32 %110, 1
  br i1 %111, label %112, label %154

112:                                              ; preds = %107
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = call i32 @calc_C(ptr noundef %113)
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.jacobian, ptr %115, i32 0, i32 20
  %117 = load ptr, ptr %116, align 8, !tbaa !25
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.jacobian, ptr %118, i32 0, i32 21
  %120 = load ptr, ptr %119, align 8, !tbaa !26
  %121 = load i32, ptr %8, align 4, !tbaa !11
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.jacobian, ptr %122, i32 0, i32 13
  %124 = load i32, ptr %123, align 8, !tbaa !27
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.jacobian, ptr %125, i32 0, i32 19
  %127 = load ptr, ptr %126, align 8, !tbaa !28
  %128 = getelementptr inbounds %struct.sparse_numerical, ptr %127, i32 0, i32 7
  %129 = load ptr, ptr %128, align 8, !tbaa !29
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.jacobian, ptr %130, i32 0, i32 19
  %132 = load ptr, ptr %131, align 8, !tbaa !28
  %133 = getelementptr inbounds %struct.sparse_numerical, ptr %132, i32 0, i32 8
  %134 = load ptr, ptr %133, align 8, !tbaa !31
  %135 = call i32 @sp_amd(ptr noundef %117, ptr noundef %120, i32 noundef %121, i32 noundef %124, ptr noundef %129, ptr noundef %134)
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.jacobian, ptr %136, i32 0, i32 19
  %138 = load ptr, ptr %137, align 8, !tbaa !28
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.jacobian, ptr %139, i32 0, i32 17
  %141 = load ptr, ptr %140, align 8, !tbaa !15
  %142 = call i32 @sp_ludcmp(ptr noundef %138, ptr noundef %141, double noundef 1.000000e-03)
  store i32 %142, ptr %16, align 4, !tbaa !11
  %143 = load i32, ptr %16, align 4, !tbaa !11
  %144 = icmp eq i32 %143, 1
  br i1 %144, label %145, label %151

145:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 2048, ptr %17) #4
  %146 = getelementptr inbounds [2048 x i8], ptr %17, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %146, ptr noundef @.str.22)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %18) #4
  %147 = getelementptr inbounds [2048 x i8], ptr %18, i64 0, i64 0
  %148 = getelementptr inbounds [2048 x i8], ptr %17, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %147, ptr noundef @.str.14, ptr noundef @.str.23, ptr noundef %148)
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = getelementptr inbounds [2048 x i8], ptr %18, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %149, ptr noundef @.str.2, ptr noundef @__func__.new_linearisation, i32 noundef 977, ptr noundef %150)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr %17) #4
  store i32 1, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %244

151:                                              ; preds = %112
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.jacobian, ptr %152, i32 0, i32 12
  store i32 0, ptr %153, align 4, !tbaa !24
  br label %162

154:                                              ; preds = %107
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.jacobian, ptr %155, i32 0, i32 19
  %157 = load ptr, ptr %156, align 8, !tbaa !28
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.jacobian, ptr %158, i32 0, i32 17
  %160 = load ptr, ptr %159, align 8, !tbaa !15
  %161 = call i32 @sp_refactor(ptr noundef %157, ptr noundef %160)
  br label %162

162:                                              ; preds = %154, %151
  br label %243

163:                                              ; preds = %4
  store i32 1, ptr %12, align 4, !tbaa !11
  br label %164

164:                                              ; preds = %219, %163
  %165 = load i32, ptr %12, align 4, !tbaa !11
  %166 = load i32, ptr %8, align 4, !tbaa !11
  %167 = icmp sle i32 %165, %166
  br i1 %167, label %168, label %222

168:                                              ; preds = %164
  store i32 1, ptr %13, align 4, !tbaa !11
  br label %169

169:                                              ; preds = %215, %168
  %170 = load i32, ptr %13, align 4, !tbaa !11
  %171 = load i32, ptr %8, align 4, !tbaa !11
  %172 = icmp sle i32 %170, %171
  br i1 %172, label %173, label %218

173:                                              ; preds = %169
  %174 = load double, ptr %7, align 8, !tbaa !9
  %175 = fneg double %174
  %176 = load ptr, ptr %6, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.jacobian, ptr %176, i32 0, i32 0
  %178 = load ptr, ptr %177, align 8, !tbaa !32
  %179 = load i32, ptr %12, align 4, !tbaa !11
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds ptr, ptr %178, i64 %180
  %182 = load ptr, ptr %181, align 8, !tbaa !5
  %183 = load i32, ptr %13, align 4, !tbaa !11
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds double, ptr %182, i64 %184
  %186 = load double, ptr %185, align 8, !tbaa !9
  %187 = fmul double %175, %186
  %188 = load ptr, ptr %6, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.jacobian, ptr %188, i32 0, i32 2
  %190 = load ptr, ptr %189, align 8, !tbaa !33
  %191 = load i32, ptr %12, align 4, !tbaa !11
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds ptr, ptr %190, i64 %192
  %194 = load ptr, ptr %193, align 8, !tbaa !5
  %195 = load i32, ptr %13, align 4, !tbaa !11
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds double, ptr %194, i64 %196
  store double %187, ptr %197, align 8, !tbaa !9
  %198 = load i32, ptr %12, align 4, !tbaa !11
  %199 = load i32, ptr %13, align 4, !tbaa !11
  %200 = icmp eq i32 %198, %199
  br i1 %200, label %201, label %214

201:                                              ; preds = %173
  %202 = load ptr, ptr %6, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.jacobian, ptr %202, i32 0, i32 2
  %204 = load ptr, ptr %203, align 8, !tbaa !33
  %205 = load i32, ptr %12, align 4, !tbaa !11
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds ptr, ptr %204, i64 %206
  %208 = load ptr, ptr %207, align 8, !tbaa !5
  %209 = load i32, ptr %13, align 4, !tbaa !11
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds double, ptr %208, i64 %210
  %212 = load double, ptr %211, align 8, !tbaa !9
  %213 = fadd double %212, 1.000000e+00
  store double %213, ptr %211, align 8, !tbaa !9
  br label %214

214:                                              ; preds = %201, %173
  br label %215

215:                                              ; preds = %214
  %216 = load i32, ptr %13, align 4, !tbaa !11
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %13, align 4, !tbaa !11
  br label %169, !llvm.loop !34

218:                                              ; preds = %169
  br label %219

219:                                              ; preds = %218
  %220 = load i32, ptr %12, align 4, !tbaa !11
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %12, align 4, !tbaa !11
  br label %164, !llvm.loop !35

222:                                              ; preds = %164
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.jacobian, ptr %223, i32 0, i32 2
  %225 = load ptr, ptr %224, align 8, !tbaa !33
  %226 = load i32, ptr %8, align 4, !tbaa !11
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.jacobian, ptr %227, i32 0, i32 4
  %229 = load ptr, ptr %228, align 8, !tbaa !36
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.jacobian, ptr %230, i32 0, i32 3
  %232 = load ptr, ptr %231, align 8, !tbaa !37
  %233 = call i32 @ludcmp(ptr noundef %225, i32 noundef %226, ptr noundef %229, ptr noundef %10, ptr noundef %232)
  store i32 %233, ptr %16, align 4, !tbaa !11
  %234 = load i32, ptr %16, align 4, !tbaa !11
  %235 = icmp eq i32 %234, 1
  br i1 %235, label %236, label %242

236:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 2048, ptr %20) #4
  %237 = getelementptr inbounds [2048 x i8], ptr %20, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %237, ptr noundef @.str.24)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %21) #4
  %238 = getelementptr inbounds [2048 x i8], ptr %21, i64 0, i64 0
  %239 = getelementptr inbounds [2048 x i8], ptr %20, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %238, ptr noundef @.str.14, ptr noundef @.str.23, ptr noundef %239)
  %240 = load ptr, ptr %9, align 8, !tbaa !5
  %241 = getelementptr inbounds [2048 x i8], ptr %21, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %240, ptr noundef @.str.2, ptr noundef @__func__.new_linearisation, i32 noundef 996, ptr noundef %241)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr %20) #4
  store i32 1, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %244

242:                                              ; preds = %222
  br label %243

243:                                              ; preds = %242, %162
  store i32 0, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %244

244:                                              ; preds = %243, %236, %145
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %245 = load i32, ptr %5, align 4
  ret i32 %245
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @calc_C(ptr noundef) #3

declare i32 @sp_amd(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1

declare i32 @sp_ludcmp(ptr noundef, ptr noundef, double noundef) #1

declare i32 @sp_refactor(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @ludcmp(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 40}
!14 = !{!"jacobian", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !6, i64 80, !6, i64 88, !12, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136}
!15 = !{!14, !6, i64 104}
!16 = !{!17, !6, i64 16}
!17 = !{!"sparse_matrix", !12, i64 0, !12, i64 4, !12, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!18 = !{!17, !6, i64 24}
!19 = !{!17, !6, i64 32}
!20 = !{!14, !6, i64 112}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!14, !12, i64 68}
!25 = !{!14, !6, i64 128}
!26 = !{!14, !6, i64 136}
!27 = !{!14, !12, i64 72}
!28 = !{!14, !6, i64 120}
!29 = !{!30, !6, i64 56}
!30 = !{!"sparse_numerical", !12, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72}
!31 = !{!30, !6, i64 64}
!32 = !{!14, !6, i64 0}
!33 = !{!14, !6, i64 16}
!34 = distinct !{!34, !22}
!35 = distinct !{!35, !22}
!36 = !{!14, !6, i64 32}
!37 = !{!14, !6, i64 24}


; 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.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@__func__.new_linearisation = external hidden unnamed_addr constant [18 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [45 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

declare void @class_protect_sprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @new_linearisation(ptr noundef %0, double noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #3 {
  %5 = alloca double, align 8
  %6 = alloca [2048 x i8], align 16
  %7 = alloca [2048 x i8], align 16
  %8 = alloca [2048 x i8], align 16
  %9 = alloca [2048 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = load i32, ptr %10, align 8, !tbaa !5
  %12 = icmp eq i32 %11, 1
  br i1 %12, label %21, label %.preheader71

.preheader71:                                     ; preds = %4
  %.not74 = icmp slt i32 %2, 1
  br i1 %.not74, label %.preheader71.._crit_edge76_crit_edge, label %.preheader.lr.ph

.preheader71.._crit_edge76_crit_edge:             ; preds = %.preheader71
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 16
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !11
  br label %._crit_edge76

.preheader.lr.ph:                                 ; preds = %.preheader71
  %13 = fneg double %1
  %14 = getelementptr inbounds i8, ptr %0, i64 16
  %15 = load ptr, ptr %0, align 8, !tbaa !12
  %16 = load ptr, ptr %14, align 8, !tbaa !11
  %17 = add nuw i32 %2, 1
  %wide.trip.count87 = zext i32 %17 to i64
  %18 = zext nneg i32 %2 to i64
  %19 = zext nneg i32 %2 to i64
  %min.iters.check = icmp ult i32 %2, 4
  %n.vec = and i64 %18, 2147483644
  %ind.end = or disjoint i64 %n.vec, 1
  %broadcast.splatinsert = insertelement <2 x double> poison, double %13, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %cmp.n = icmp eq i64 %n.vec, %18
  %20 = and i32 %2, 1
  %lcmp.mod.not = icmp eq i32 %20, 0
  br label %.preheader

21:                                               ; preds = %4
  %22 = getelementptr inbounds i8, ptr %0, i64 104
  %23 = load ptr, ptr %22, align 8, !tbaa !13
  %24 = getelementptr inbounds i8, ptr %23, i64 16
  %25 = load ptr, ptr %24, align 8, !tbaa !14
  %26 = getelementptr inbounds i8, ptr %23, i64 24
  %27 = load ptr, ptr %26, align 8, !tbaa !16
  %28 = getelementptr inbounds i8, ptr %23, i64 32
  %29 = load ptr, ptr %28, align 8, !tbaa !17
  %30 = icmp sgt i32 %2, 0
  br i1 %30, label %.lr.ph81, label %._crit_edge82

.lr.ph81:                                         ; preds = %21
  %31 = fneg double %1
  %32 = getelementptr inbounds i8, ptr %0, i64 112
  %wide.trip.count97 = zext nneg i32 %2 to i64
  br label %33

.loopexit:                                        ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %33
  %exitcond98.not = icmp eq i64 %indvars.iv.next95, %wide.trip.count97
  br i1 %exitcond98.not, label %._crit_edge82, label %33, !llvm.loop !18

33:                                               ; preds = %.lr.ph81, %.loopexit
  %indvars.iv94 = phi i64 [ 0, %.lr.ph81 ], [ %indvars.iv.next95, %.loopexit ]
  %34 = getelementptr inbounds i32, ptr %25, i64 %indvars.iv94
  %35 = load i32, ptr %34, align 4, !tbaa !20
  %indvars.iv.next95 = add nuw nsw i64 %indvars.iv94, 1
  %36 = getelementptr inbounds i32, ptr %25, i64 %indvars.iv.next95
  %37 = load i32, ptr %36, align 4, !tbaa !20
  %38 = icmp slt i32 %35, %37
  br i1 %38, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %33
  %39 = sext i32 %35 to i64
  %wide.trip.count92 = sext i32 %37 to i64
  %40 = sub nsw i64 %wide.trip.count92, %39
  %xtraiter105 = and i64 %40, 1
  %lcmp.mod106.not = icmp eq i64 %xtraiter105, 0
  br i1 %lcmp.mod106.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader
  %41 = getelementptr inbounds i32, ptr %27, i64 %39
  %42 = load i32, ptr %41, align 4, !tbaa !20
  %43 = zext i32 %42 to i64
  %44 = icmp eq i64 %indvars.iv94, %43
  %45 = load ptr, ptr %32, align 8, !tbaa !21
  %46 = getelementptr inbounds double, ptr %45, i64 %39
  %47 = load double, ptr %46, align 8, !tbaa !22
  %48 = tail call double @llvm.fmuladd.f64(double %31, double %47, double 1.000000e+00)
  %49 = fmul double %47, %31
  %.sink.prol = select i1 %44, double %48, double %49
  %50 = getelementptr inbounds double, ptr %29, i64 %39
  store double %.sink.prol, ptr %50, align 8
  %indvars.iv.next90.prol = add nsw i64 %39, 1
  br label %.lr.ph.prol.loopexit

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader
  %indvars.iv89.unr = phi i64 [ %39, %.lr.ph.preheader ], [ %indvars.iv.next90.prol, %.lr.ph.prol ]
  %51 = add nsw i64 %wide.trip.count92, -1
  %52 = icmp eq i64 %51, %39
  br i1 %52, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %indvars.iv89 = phi i64 [ %indvars.iv.next90.1, %.lr.ph ], [ %indvars.iv89.unr, %.lr.ph.prol.loopexit ]
  %53 = getelementptr inbounds i32, ptr %27, i64 %indvars.iv89
  %54 = load i32, ptr %53, align 4, !tbaa !20
  %55 = zext i32 %54 to i64
  %56 = icmp eq i64 %indvars.iv94, %55
  %57 = load ptr, ptr %32, align 8, !tbaa !21
  %58 = getelementptr inbounds double, ptr %57, i64 %indvars.iv89
  %59 = load double, ptr %58, align 8, !tbaa !22
  %60 = tail call double @llvm.fmuladd.f64(double %31, double %59, double 1.000000e+00)
  %61 = fmul double %59, %31
  %.sink = select i1 %56, double %60, double %61
  %62 = getelementptr inbounds double, ptr %29, i64 %indvars.iv89
  store double %.sink, ptr %62, align 8
  %indvars.iv.next90 = add nsw i64 %indvars.iv89, 1
  %63 = getelementptr inbounds i32, ptr %27, i64 %indvars.iv.next90
  %64 = load i32, ptr %63, align 4, !tbaa !20
  %65 = zext i32 %64 to i64
  %66 = icmp eq i64 %indvars.iv94, %65
  %67 = load ptr, ptr %32, align 8, !tbaa !21
  %68 = getelementptr inbounds double, ptr %67, i64 %indvars.iv.next90
  %69 = load double, ptr %68, align 8, !tbaa !22
  %70 = tail call double @llvm.fmuladd.f64(double %31, double %69, double 1.000000e+00)
  %71 = fmul double %69, %31
  %.sink.1 = select i1 %66, double %70, double %71
  %72 = getelementptr inbounds double, ptr %29, i64 %indvars.iv.next90
  store double %.sink.1, ptr %72, align 8
  %indvars.iv.next90.1 = add nsw i64 %indvars.iv89, 2
  %exitcond93.not.1 = icmp eq i64 %indvars.iv.next90.1, %wide.trip.count92
  br i1 %exitcond93.not.1, label %.loopexit, label %.lr.ph, !llvm.loop !24

._crit_edge82:                                    ; preds = %.loopexit, %21
  %73 = getelementptr inbounds i8, ptr %0, i64 68
  %74 = load i32, ptr %73, align 4, !tbaa !25
  %75 = icmp eq i32 %74, 1
  br i1 %75, label %76, label %97

76:                                               ; preds = %._crit_edge82
  %77 = tail call i32 @calc_C(ptr noundef nonnull %0)
  %78 = getelementptr inbounds i8, ptr %0, i64 128
  %79 = load ptr, ptr %78, align 8, !tbaa !26
  %80 = getelementptr inbounds i8, ptr %0, i64 136
  %81 = load ptr, ptr %80, align 8, !tbaa !27
  %82 = getelementptr inbounds i8, ptr %0, i64 72
  %83 = load i32, ptr %82, align 8, !tbaa !28
  %84 = getelementptr inbounds i8, ptr %0, i64 120
  %85 = load ptr, ptr %84, align 8, !tbaa !29
  %86 = getelementptr inbounds i8, ptr %85, i64 56
  %87 = load ptr, ptr %86, align 8, !tbaa !30
  %88 = getelementptr inbounds i8, ptr %85, i64 64
  %89 = load ptr, ptr %88, align 8, !tbaa !32
  %90 = tail call i32 @sp_amd(ptr noundef %79, ptr noundef %81, i32 noundef %2, i32 noundef %83, ptr noundef %87, ptr noundef %89) #4
  %91 = load ptr, ptr %84, align 8, !tbaa !29
  %92 = load ptr, ptr %22, align 8, !tbaa !13
  %93 = tail call i32 @sp_ludcmp(ptr noundef %91, ptr noundef %92, double noundef 1.000000e-03) #4
  %94 = icmp eq i32 %93, 1
  br i1 %94, label %95, label %96

95:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %6) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %6, ptr noundef nonnull @.str.22) #4
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %7) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %7, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.23, ptr noundef nonnull %6) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %3, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.new_linearisation, i32 noundef 977, ptr noundef nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %6) #4
  br label %148

96:                                               ; preds = %76
  store i32 0, ptr %73, align 4, !tbaa !25
  br label %148

97:                                               ; preds = %._crit_edge82
  %98 = getelementptr inbounds i8, ptr %0, i64 120
  %99 = load ptr, ptr %98, align 8, !tbaa !29
  %100 = tail call i32 @sp_refactor(ptr noundef %99, ptr noundef %23) #4
  br label %148

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge
  %indvars.iv84 = phi i64 [ 1, %.preheader.lr.ph ], [ %indvars.iv.next85, %._crit_edge ]
  %101 = getelementptr inbounds ptr, ptr %15, i64 %indvars.iv84
  %102 = load ptr, ptr %101, align 8, !tbaa !33
  %103 = getelementptr inbounds ptr, ptr %16, i64 %indvars.iv84
  %104 = load ptr, ptr %103, align 8, !tbaa !33
  %105 = ptrtoint ptr %104 to i64
  %106 = ptrtoint ptr %102 to i64
  %107 = sub i64 %105, %106
  %diff.check = icmp ult i64 %107, 32
  %or.cond = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.preheader
  %broadcast.splatinsert101 = insertelement <2 x i64> poison, i64 %indvars.iv84, i64 0
  %broadcast.splat102 = shufflevector <2 x i64> %broadcast.splatinsert101, <2 x i64> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <2 x i64> [ <i64 1, i64 2>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <2 x i64> %vec.ind, <i64 2, i64 2>
  %offset.idx = or disjoint i64 %index, 1
  %108 = getelementptr inbounds double, ptr %102, i64 %offset.idx
  %109 = getelementptr inbounds i8, ptr %108, i64 16
  %wide.load = load <2 x double>, ptr %108, align 8, !tbaa !22
  %wide.load100 = load <2 x double>, ptr %109, align 8, !tbaa !22
  %110 = fmul <2 x double> %wide.load, %broadcast.splat
  %111 = fmul <2 x double> %wide.load100, %broadcast.splat
  %112 = getelementptr inbounds double, ptr %104, i64 %offset.idx
  %113 = icmp eq <2 x i64> %broadcast.splat102, %vec.ind
  %114 = icmp eq <2 x i64> %broadcast.splat102, %step.add
  %115 = fadd <2 x double> %110, <double 1.000000e+00, double 1.000000e+00>
  %116 = fadd <2 x double> %111, <double 1.000000e+00, double 1.000000e+00>
  %117 = select <2 x i1> %113, <2 x double> %115, <2 x double> %110
  %118 = select <2 x i1> %114, <2 x double> %116, <2 x double> %111
  %119 = getelementptr inbounds i8, ptr %112, i64 16
  store <2 x double> %117, ptr %112, align 8, !tbaa !22
  store <2 x double> %118, ptr %119, align 8, !tbaa !22
  %index.next = add nuw i64 %index, 4
  %vec.ind.next = add <2 x i64> %vec.ind, <i64 4, i64 4>
  %120 = icmp eq i64 %index.next, %n.vec
  br i1 %120, label %middle.block, label %vector.body, !llvm.loop !34

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.preheader
  %indvars.iv.ph = phi i64 [ 1, %.preheader ], [ %ind.end, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %121 = getelementptr inbounds double, ptr %102, i64 %indvars.iv.ph
  %122 = load double, ptr %121, align 8, !tbaa !22
  %123 = fmul double %122, %13
  %124 = getelementptr inbounds double, ptr %104, i64 %indvars.iv.ph
  %125 = icmp eq i64 %indvars.iv84, %indvars.iv.ph
  %126 = fadd double %123, 1.000000e+00
  %storemerge.prol = select i1 %125, double %126, double %123
  store double %storemerge.prol, ptr %124, align 8, !tbaa !22
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %127 = icmp eq i64 %indvars.iv.ph, %19
  br i1 %127, label %._crit_edge, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %128 = getelementptr inbounds double, ptr %102, i64 %indvars.iv
  %129 = load double, ptr %128, align 8, !tbaa !22
  %130 = fmul double %129, %13
  %131 = getelementptr inbounds double, ptr %104, i64 %indvars.iv
  %132 = icmp eq i64 %indvars.iv84, %indvars.iv
  %133 = fadd double %130, 1.000000e+00
  %storemerge = select i1 %132, double %133, double %130
  store double %storemerge, ptr %131, align 8, !tbaa !22
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %134 = getelementptr inbounds double, ptr %102, i64 %indvars.iv.next
  %135 = load double, ptr %134, align 8, !tbaa !22
  %136 = fmul double %135, %13
  %137 = getelementptr inbounds double, ptr %104, i64 %indvars.iv.next
  %138 = icmp eq i64 %indvars.iv84, %indvars.iv.next
  %139 = fadd double %136, 1.000000e+00
  %storemerge.1 = select i1 %138, double %139, double %136
  store double %storemerge.1, ptr %137, align 8, !tbaa !22
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count87
  br i1 %exitcond.not.1, label %._crit_edge, label %scalar.ph, !llvm.loop !37

._crit_edge:                                      ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %indvars.iv.next85 = add nuw nsw i64 %indvars.iv84, 1
  %exitcond88.not = icmp eq i64 %indvars.iv.next85, %wide.trip.count87
  br i1 %exitcond88.not, label %._crit_edge76, label %.preheader, !llvm.loop !38

._crit_edge76:                                    ; preds = %._crit_edge, %.preheader71.._crit_edge76_crit_edge
  %140 = phi ptr [ %.pre, %.preheader71.._crit_edge76_crit_edge ], [ %16, %._crit_edge ]
  %141 = getelementptr inbounds i8, ptr %0, i64 32
  %142 = load ptr, ptr %141, align 8, !tbaa !39
  %143 = getelementptr inbounds i8, ptr %0, i64 24
  %144 = load ptr, ptr %143, align 8, !tbaa !40
  %145 = call i32 @ludcmp(ptr noundef %140, i32 noundef %2, ptr noundef %142, ptr noundef nonnull %5, ptr noundef %144)
  %146 = icmp eq i32 %145, 1
  br i1 %146, label %147, label %148

147:                                              ; preds = %._crit_edge76
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %8) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str.24) #4
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %9) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.23, ptr noundef nonnull %8) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %3, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.new_linearisation, i32 noundef 996, ptr noundef nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %8) #4
  br label %148

148:                                              ; preds = %97, %96, %._crit_edge76, %147, %95
  %.0 = phi i32 [ 1, %95 ], [ 1, %147 ], [ 0, %._crit_edge76 ], [ 0, %96 ], [ 0, %97 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  ret i32 %.0
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @calc_C(ptr noundef) local_unnamed_addr #3

declare i32 @sp_amd(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @sp_ludcmp(ptr noundef, ptr noundef, double noundef) local_unnamed_addr #1

declare i32 @sp_refactor(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @ludcmp(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 40}
!6 = !{!"jacobian", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !7, i64 80, !7, i64 88, !10, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 104}
!14 = !{!15, !7, i64 16}
!15 = !{!"sparse_matrix", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!16 = !{!15, !7, i64 24}
!17 = !{!15, !7, i64 32}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!10, !10, i64 0}
!21 = !{!6, !7, i64 112}
!22 = !{!23, !23, i64 0}
!23 = !{!"double", !8, i64 0}
!24 = distinct !{!24, !19}
!25 = !{!6, !10, i64 68}
!26 = !{!6, !7, i64 128}
!27 = !{!6, !7, i64 136}
!28 = !{!6, !10, i64 72}
!29 = !{!6, !7, i64 120}
!30 = !{!31, !7, i64 56}
!31 = !{!"sparse_numerical", !10, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72}
!32 = !{!31, !7, i64 64}
!33 = !{!7, !7, i64 0}
!34 = distinct !{!34, !19, !35, !36}
!35 = !{!"llvm.loop.isvectorized", i32 1}
!36 = !{!"llvm.loop.unroll.runtime.disable"}
!37 = distinct !{!37, !19, !35}
!38 = distinct !{!38, !19}
!39 = !{!6, !7, i64 32}
!40 = !{!6, !7, i64 24}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MergedLoadStoreMotionPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass