; LLVM IR from Derek-TH-Wang/quadruped_ctrl :: src/osqp/src (polish)

; 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.OSQPWorkspace = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64 }
%struct.OSQPData = type { i64, i64, ptr, ptr, ptr, ptr, ptr }
%struct.OSQPPolish = type { ptr, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, double, double }
%struct.OSQPSettings = type { double, double, i64, i64, i64, double, double, i64, double, double, double, double, double, i32, double, i64, i64, i64, i64, i64, i64, double }
%struct.OSQPInfo = type { i64, [32 x i8], i64, i64, double, double, double, double, double, double, double, double, i64, double }
%struct.linsys_solver = type { i32, ptr, ptr, ptr, ptr, i64 }

; Function Attrs: nounwind uwtable
define dso_local i64 @polish(ptr noundef %0) #0 {
  %2 = alloca i64, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.OSQPWorkspace, ptr %10, i32 0, i32 27
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  call void @osqp_tic(ptr noundef %12)
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = call i64 @form_Ared(ptr noundef %13)
  store i64 %14, ptr %4, align 8, !tbaa !12
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.OSQPWorkspace, ptr %15, i32 0, i32 0
  %17 = load ptr, ptr %16, align 8, !tbaa !13
  %18 = getelementptr inbounds %struct.OSQPData, ptr %17, i32 0, i32 2
  %19 = load ptr, ptr %18, align 8, !tbaa !14
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.OSQPWorkspace, ptr %20, i32 0, i32 2
  %22 = load ptr, ptr %21, align 8, !tbaa !16
  %23 = getelementptr inbounds %struct.OSQPPolish, ptr %22, i32 0, i32 0
  %24 = load ptr, ptr %23, align 8, !tbaa !17
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.OSQPWorkspace, ptr %25, i32 0, i32 23
  %27 = load ptr, ptr %26, align 8, !tbaa !20
  %28 = getelementptr inbounds %struct.OSQPSettings, ptr %27, i32 0, i32 14
  %29 = load double, ptr %28, align 8, !tbaa !21
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.OSQPWorkspace, ptr %30, i32 0, i32 23
  %32 = load ptr, ptr %31, align 8, !tbaa !20
  %33 = getelementptr inbounds %struct.OSQPSettings, ptr %32, i32 0, i32 13
  %34 = load i32, ptr %33, align 8, !tbaa !24
  %35 = call ptr @init_linsys_solver(ptr noundef %19, ptr noundef %24, double noundef %29, ptr noundef null, i32 noundef %34, i64 noundef 1)
  store ptr %35, ptr %7, align 8, !tbaa !5
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = icmp ne ptr %36, null
  br i1 %37, label %62, label %38

38:                                               ; preds = %1
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.OSQPWorkspace, ptr %39, i32 0, i32 26
  %41 = load ptr, ptr %40, align 8, !tbaa !25
  %42 = getelementptr inbounds %struct.OSQPInfo, ptr %41, i32 0, i32 3
  store i64 -1, ptr %42, align 8, !tbaa !26
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.OSQPWorkspace, ptr %43, i32 0, i32 2
  %45 = load ptr, ptr %44, align 8, !tbaa !16
  %46 = icmp ne ptr %45, null
  br i1 %46, label %47, label %61

47:                                               ; preds = %38
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.OSQPWorkspace, ptr %48, i32 0, i32 2
  %50 = load ptr, ptr %49, align 8, !tbaa !16
  %51 = getelementptr inbounds %struct.OSQPPolish, ptr %50, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8, !tbaa !17
  %53 = icmp ne ptr %52, null
  br i1 %53, label %54, label %60

54:                                               ; preds = %47
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.OSQPWorkspace, ptr %55, i32 0, i32 2
  %57 = load ptr, ptr %56, align 8, !tbaa !16
  %58 = getelementptr inbounds %struct.OSQPPolish, ptr %57, i32 0, i32 0
  %59 = load ptr, ptr %58, align 8, !tbaa !17
  call void @csc_spfree(ptr noundef %59)
  br label %60

60:                                               ; preds = %54, %47
  br label %61

61:                                               ; preds = %60, %38
  store i64 1, ptr %2, align 8
  store i32 1, ptr %9, align 4
  br label %313

62:                                               ; preds = %1
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.OSQPWorkspace, ptr %63, i32 0, i32 0
  %65 = load ptr, ptr %64, align 8, !tbaa !13
  %66 = getelementptr inbounds %struct.OSQPData, ptr %65, i32 0, i32 0
  %67 = load i64, ptr %66, align 8, !tbaa !28
  %68 = load i64, ptr %4, align 8, !tbaa !12
  %69 = add nsw i64 %67, %68
  %70 = mul i64 8, %69
  %71 = call noalias ptr @malloc(i64 noundef %70) #6
  store ptr %71, ptr %6, align 8, !tbaa !5
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  call void @form_rhs_red(ptr noundef %72, ptr noundef %73)
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.OSQPWorkspace, ptr %75, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8, !tbaa !13
  %78 = getelementptr inbounds %struct.OSQPData, ptr %77, i32 0, i32 0
  %79 = load i64, ptr %78, align 8, !tbaa !28
  %80 = load i64, ptr %4, align 8, !tbaa !12
  %81 = add nsw i64 %79, %80
  %82 = call ptr @vec_copy(ptr noundef %74, i64 noundef %81)
  store ptr %82, ptr %8, align 8, !tbaa !5
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.linsys_solver, ptr %83, i32 0, i32 1
  %85 = load ptr, ptr %84, align 8, !tbaa !29
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.OSQPWorkspace, ptr %88, i32 0, i32 23
  %90 = load ptr, ptr %89, align 8, !tbaa !20
  %91 = call i64 %85(ptr noundef %86, ptr noundef %87, ptr noundef %90)
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  call void @iterative_refinement(ptr noundef %92, ptr noundef %93, ptr noundef %94, ptr noundef %95)
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.OSQPWorkspace, ptr %97, i32 0, i32 2
  %99 = load ptr, ptr %98, align 8, !tbaa !16
  %100 = getelementptr inbounds %struct.OSQPPolish, ptr %99, i32 0, i32 7
  %101 = load ptr, ptr %100, align 8, !tbaa !31
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.OSQPWorkspace, ptr %102, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8, !tbaa !13
  %105 = getelementptr inbounds %struct.OSQPData, ptr %104, i32 0, i32 0
  %106 = load i64, ptr %105, align 8, !tbaa !28
  call void @prea_vec_copy(ptr noundef %96, ptr noundef %101, i64 noundef %106)
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.OSQPWorkspace, ptr %107, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8, !tbaa !13
  %110 = getelementptr inbounds %struct.OSQPData, ptr %109, i32 0, i32 3
  %111 = load ptr, ptr %110, align 8, !tbaa !32
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.OSQPWorkspace, ptr %112, i32 0, i32 2
  %114 = load ptr, ptr %113, align 8, !tbaa !16
  %115 = getelementptr inbounds %struct.OSQPPolish, ptr %114, i32 0, i32 7
  %116 = load ptr, ptr %115, align 8, !tbaa !31
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.OSQPWorkspace, ptr %117, i32 0, i32 2
  %119 = load ptr, ptr %118, align 8, !tbaa !16
  %120 = getelementptr inbounds %struct.OSQPPolish, ptr %119, i32 0, i32 8
  %121 = load ptr, ptr %120, align 8, !tbaa !33
  call void @mat_vec(ptr noundef %111, ptr noundef %116, ptr noundef %121, i64 noundef 0)
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.OSQPWorkspace, ptr %124, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8, !tbaa !13
  %127 = getelementptr inbounds %struct.OSQPData, ptr %126, i32 0, i32 0
  %128 = load i64, ptr %127, align 8, !tbaa !28
  %129 = getelementptr inbounds double, ptr %123, i64 %128
  call void @get_ypol_from_yred(ptr noundef %122, ptr noundef %129)
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.OSQPWorkspace, ptr %131, i32 0, i32 2
  %133 = load ptr, ptr %132, align 8, !tbaa !16
  %134 = getelementptr inbounds %struct.OSQPPolish, ptr %133, i32 0, i32 8
  %135 = load ptr, ptr %134, align 8, !tbaa !33
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.OSQPWorkspace, ptr %136, i32 0, i32 2
  %138 = load ptr, ptr %137, align 8, !tbaa !16
  %139 = getelementptr inbounds %struct.OSQPPolish, ptr %138, i32 0, i32 9
  %140 = load ptr, ptr %139, align 8, !tbaa !34
  call void @project_normalcone(ptr noundef %130, ptr noundef %135, ptr noundef %140)
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  call void @update_info(ptr noundef %141, i64 noundef 0, i64 noundef 1, i64 noundef 1)
  %142 = load ptr, ptr %3, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.OSQPWorkspace, ptr %142, i32 0, i32 2
  %144 = load ptr, ptr %143, align 8, !tbaa !16
  %145 = getelementptr inbounds %struct.OSQPPolish, ptr %144, i32 0, i32 11
  %146 = load double, ptr %145, align 8, !tbaa !35
  %147 = load ptr, ptr %3, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.OSQPWorkspace, ptr %147, i32 0, i32 26
  %149 = load ptr, ptr %148, align 8, !tbaa !25
  %150 = getelementptr inbounds %struct.OSQPInfo, ptr %149, i32 0, i32 5
  %151 = load double, ptr %150, align 8, !tbaa !36
  %152 = fcmp olt double %146, %151
  br i1 %152, label %153, label %165

153:                                              ; preds = %62
  %154 = load ptr, ptr %3, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.OSQPWorkspace, ptr %154, i32 0, i32 2
  %156 = load ptr, ptr %155, align 8, !tbaa !16
  %157 = getelementptr inbounds %struct.OSQPPolish, ptr %156, i32 0, i32 12
  %158 = load double, ptr %157, align 8, !tbaa !37
  %159 = load ptr, ptr %3, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.OSQPWorkspace, ptr %159, i32 0, i32 26
  %161 = load ptr, ptr %160, align 8, !tbaa !25
  %162 = getelementptr inbounds %struct.OSQPInfo, ptr %161, i32 0, i32 6
  %163 = load double, ptr %162, align 8, !tbaa !38
  %164 = fcmp olt double %158, %163
  br i1 %164, label %205, label %165

165:                                              ; preds = %153, %62
  %166 = load ptr, ptr %3, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.OSQPWorkspace, ptr %166, i32 0, i32 2
  %168 = load ptr, ptr %167, align 8, !tbaa !16
  %169 = getelementptr inbounds %struct.OSQPPolish, ptr %168, i32 0, i32 11
  %170 = load double, ptr %169, align 8, !tbaa !35
  %171 = load ptr, ptr %3, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.OSQPWorkspace, ptr %171, i32 0, i32 26
  %173 = load ptr, ptr %172, align 8, !tbaa !25
  %174 = getelementptr inbounds %struct.OSQPInfo, ptr %173, i32 0, i32 5
  %175 = load double, ptr %174, align 8, !tbaa !36
  %176 = fcmp olt double %170, %175
  br i1 %176, label %177, label %184

177:                                              ; preds = %165
  %178 = load ptr, ptr %3, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.OSQPWorkspace, ptr %178, i32 0, i32 26
  %180 = load ptr, ptr %179, align 8, !tbaa !25
  %181 = getelementptr inbounds %struct.OSQPInfo, ptr %180, i32 0, i32 6
  %182 = load double, ptr %181, align 8, !tbaa !38
  %183 = fcmp olt double %182, 1.000000e-10
  br i1 %183, label %205, label %184

184:                                              ; preds = %177, %165
  %185 = load ptr, ptr %3, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.OSQPWorkspace, ptr %185, i32 0, i32 2
  %187 = load ptr, ptr %186, align 8, !tbaa !16
  %188 = getelementptr inbounds %struct.OSQPPolish, ptr %187, i32 0, i32 12
  %189 = load double, ptr %188, align 8, !tbaa !37
  %190 = load ptr, ptr %3, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.OSQPWorkspace, ptr %190, i32 0, i32 26
  %192 = load ptr, ptr %191, align 8, !tbaa !25
  %193 = getelementptr inbounds %struct.OSQPInfo, ptr %192, i32 0, i32 6
  %194 = load double, ptr %193, align 8, !tbaa !38
  %195 = fcmp olt double %189, %194
  br i1 %195, label %196, label %203

196:                                              ; preds = %184
  %197 = load ptr, ptr %3, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.OSQPWorkspace, ptr %197, i32 0, i32 26
  %199 = load ptr, ptr %198, align 8, !tbaa !25
  %200 = getelementptr inbounds %struct.OSQPInfo, ptr %199, i32 0, i32 5
  %201 = load double, ptr %200, align 8, !tbaa !36
  %202 = fcmp olt double %201, 1.000000e-10
  br label %203

203:                                              ; preds = %196, %184
  %204 = phi i1 [ false, %184 ], [ %202, %196 ]
  br label %205

205:                                              ; preds = %203, %177, %153
  %206 = phi i1 [ true, %177 ], [ true, %153 ], [ %204, %203 ]
  %207 = zext i1 %206 to i32
  %208 = sext i32 %207 to i64
  store i64 %208, ptr %5, align 8, !tbaa !12
  %209 = load i64, ptr %5, align 8, !tbaa !12
  %210 = icmp ne i64 %209, 0
  br i1 %210, label %211, label %282

211:                                              ; preds = %205
  %212 = load ptr, ptr %3, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.OSQPWorkspace, ptr %212, i32 0, i32 2
  %214 = load ptr, ptr %213, align 8, !tbaa !16
  %215 = getelementptr inbounds %struct.OSQPPolish, ptr %214, i32 0, i32 10
  %216 = load double, ptr %215, align 8, !tbaa !39
  %217 = load ptr, ptr %3, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.OSQPWorkspace, ptr %217, i32 0, i32 26
  %219 = load ptr, ptr %218, align 8, !tbaa !25
  %220 = getelementptr inbounds %struct.OSQPInfo, ptr %219, i32 0, i32 4
  store double %216, ptr %220, align 8, !tbaa !40
  %221 = load ptr, ptr %3, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.OSQPWorkspace, ptr %221, i32 0, i32 2
  %223 = load ptr, ptr %222, align 8, !tbaa !16
  %224 = getelementptr inbounds %struct.OSQPPolish, ptr %223, i32 0, i32 11
  %225 = load double, ptr %224, align 8, !tbaa !35
  %226 = load ptr, ptr %3, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.OSQPWorkspace, ptr %226, i32 0, i32 26
  %228 = load ptr, ptr %227, align 8, !tbaa !25
  %229 = getelementptr inbounds %struct.OSQPInfo, ptr %228, i32 0, i32 5
  store double %225, ptr %229, align 8, !tbaa !36
  %230 = load ptr, ptr %3, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.OSQPWorkspace, ptr %230, i32 0, i32 2
  %232 = load ptr, ptr %231, align 8, !tbaa !16
  %233 = getelementptr inbounds %struct.OSQPPolish, ptr %232, i32 0, i32 12
  %234 = load double, ptr %233, align 8, !tbaa !37
  %235 = load ptr, ptr %3, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.OSQPWorkspace, ptr %235, i32 0, i32 26
  %237 = load ptr, ptr %236, align 8, !tbaa !25
  %238 = getelementptr inbounds %struct.OSQPInfo, ptr %237, i32 0, i32 6
  store double %234, ptr %238, align 8, !tbaa !38
  %239 = load ptr, ptr %3, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.OSQPWorkspace, ptr %239, i32 0, i32 26
  %241 = load ptr, ptr %240, align 8, !tbaa !25
  %242 = getelementptr inbounds %struct.OSQPInfo, ptr %241, i32 0, i32 3
  store i64 1, ptr %242, align 8, !tbaa !26
  %243 = load ptr, ptr %3, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.OSQPWorkspace, ptr %243, i32 0, i32 2
  %245 = load ptr, ptr %244, align 8, !tbaa !16
  %246 = getelementptr inbounds %struct.OSQPPolish, ptr %245, i32 0, i32 7
  %247 = load ptr, ptr %246, align 8, !tbaa !31
  %248 = load ptr, ptr %3, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.OSQPWorkspace, ptr %248, i32 0, i32 6
  %250 = load ptr, ptr %249, align 8, !tbaa !41
  %251 = load ptr, ptr %3, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.OSQPWorkspace, ptr %251, i32 0, i32 0
  %253 = load ptr, ptr %252, align 8, !tbaa !13
  %254 = getelementptr inbounds %struct.OSQPData, ptr %253, i32 0, i32 0
  %255 = load i64, ptr %254, align 8, !tbaa !28
  call void @prea_vec_copy(ptr noundef %247, ptr noundef %250, i64 noundef %255)
  %256 = load ptr, ptr %3, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.OSQPWorkspace, ptr %256, i32 0, i32 2
  %258 = load ptr, ptr %257, align 8, !tbaa !16
  %259 = getelementptr inbounds %struct.OSQPPolish, ptr %258, i32 0, i32 8
  %260 = load ptr, ptr %259, align 8, !tbaa !33
  %261 = load ptr, ptr %3, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.OSQPWorkspace, ptr %261, i32 0, i32 8
  %263 = load ptr, ptr %262, align 8, !tbaa !42
  %264 = load ptr, ptr %3, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.OSQPWorkspace, ptr %264, i32 0, i32 0
  %266 = load ptr, ptr %265, align 8, !tbaa !13
  %267 = getelementptr inbounds %struct.OSQPData, ptr %266, i32 0, i32 1
  %268 = load i64, ptr %267, align 8, !tbaa !43
  call void @prea_vec_copy(ptr noundef %260, ptr noundef %263, i64 noundef %268)
  %269 = load ptr, ptr %3, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.OSQPWorkspace, ptr %269, i32 0, i32 2
  %271 = load ptr, ptr %270, align 8, !tbaa !16
  %272 = getelementptr inbounds %struct.OSQPPolish, ptr %271, i32 0, i32 9
  %273 = load ptr, ptr %272, align 8, !tbaa !34
  %274 = load ptr, ptr %3, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.OSQPWorkspace, ptr %274, i32 0, i32 7
  %276 = load ptr, ptr %275, align 8, !tbaa !44
  %277 = load ptr, ptr %3, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.OSQPWorkspace, ptr %277, i32 0, i32 0
  %279 = load ptr, ptr %278, align 8, !tbaa !13
  %280 = getelementptr inbounds %struct.OSQPData, ptr %279, i32 0, i32 1
  %281 = load i64, ptr %280, align 8, !tbaa !43
  call void @prea_vec_copy(ptr noundef %273, ptr noundef %276, i64 noundef %281)
  br label %287

282:                                              ; preds = %205
  %283 = load ptr, ptr %3, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.OSQPWorkspace, ptr %283, i32 0, i32 26
  %285 = load ptr, ptr %284, align 8, !tbaa !25
  %286 = getelementptr inbounds %struct.OSQPInfo, ptr %285, i32 0, i32 3
  store i64 -1, ptr %286, align 8, !tbaa !26
  br label %287

287:                                              ; preds = %282, %211
  %288 = load ptr, ptr %7, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.linsys_solver, ptr %288, i32 0, i32 2
  %290 = load ptr, ptr %289, align 8, !tbaa !45
  %291 = load ptr, ptr %7, align 8, !tbaa !5
  call void %290(ptr noundef %291)
  %292 = load ptr, ptr %3, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.OSQPWorkspace, ptr %292, i32 0, i32 2
  %294 = load ptr, ptr %293, align 8, !tbaa !16
  %295 = icmp ne ptr %294, null
  br i1 %295, label %296, label %310

296:                                              ; preds = %287
  %297 = load ptr, ptr %3, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.OSQPWorkspace, ptr %297, i32 0, i32 2
  %299 = load ptr, ptr %298, align 8, !tbaa !16
  %300 = getelementptr inbounds %struct.OSQPPolish, ptr %299, i32 0, i32 0
  %301 = load ptr, ptr %300, align 8, !tbaa !17
  %302 = icmp ne ptr %301, null
  br i1 %302, label %303, label %309

303:                                              ; preds = %296
  %304 = load ptr, ptr %3, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.OSQPWorkspace, ptr %304, i32 0, i32 2
  %306 = load ptr, ptr %305, align 8, !tbaa !16
  %307 = getelementptr inbounds %struct.OSQPPolish, ptr %306, i32 0, i32 0
  %308 = load ptr, ptr %307, align 8, !tbaa !17
  call void @csc_spfree(ptr noundef %308)
  br label %309

309:                                              ; preds = %303, %296
  br label %310

310:                                              ; preds = %309, %287
  %311 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %311) #5
  %312 = load ptr, ptr %8, align 8, !tbaa !5
  call void @free(ptr noundef %312) #5
  store i64 0, ptr %2, align 8
  store i32 1, ptr %9, align 4
  br label %313

313:                                              ; preds = %310, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  %314 = load i64, ptr %2, align 8
  ret i64 %314
}

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

declare void @osqp_tic(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i64 @form_Ared(ptr noundef) #0

declare ptr @init_linsys_solver(ptr noundef, ptr noundef, double noundef, ptr noundef, i32 noundef, i64 noundef) #2

declare void @csc_spfree(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare hidden void @form_rhs_red(ptr noundef, ptr noundef) #0

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

; Function Attrs: nounwind uwtable
declare hidden void @iterative_refinement(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare void @prea_vec_copy(ptr noundef, ptr noundef, i64 noundef) #2

declare void @mat_vec(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @get_ypol_from_yred(ptr noundef, ptr noundef) #0

declare void @project_normalcone(ptr noundef, ptr noundef, ptr noundef) #2

declare void @update_info(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #2

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

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

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 = { nounwind allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { nounwind allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 216}
!10 = !{!"", !6, 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, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !11, i64 224, !11, i64 232}
!11 = !{!"long long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !6, i64 0}
!14 = !{!15, !6, i64 16}
!15 = !{!"", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!16 = !{!10, !6, i64 16}
!17 = !{!18, !6, i64 0}
!18 = !{!"", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !19, i64 80, !19, i64 88, !19, i64 96}
!19 = !{!"double", !7, i64 0}
!20 = !{!10, !6, i64 184}
!21 = !{!22, !19, i64 112}
!22 = !{!"", !19, i64 0, !19, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !19, i64 40, !19, i64 48, !11, i64 56, !19, i64 64, !19, i64 72, !19, i64 80, !19, i64 88, !19, i64 96, !23, i64 104, !19, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !19, i64 168}
!23 = !{!"int", !7, i64 0}
!24 = !{!22, !23, i64 104}
!25 = !{!10, !6, i64 208}
!26 = !{!27, !11, i64 48}
!27 = !{!"", !11, i64 0, !7, i64 8, !11, i64 40, !11, i64 48, !19, i64 56, !19, i64 64, !19, i64 72, !19, i64 80, !19, i64 88, !19, i64 96, !19, i64 104, !19, i64 112, !11, i64 120, !19, i64 128}
!28 = !{!15, !11, i64 0}
!29 = !{!30, !6, i64 8}
!30 = !{!"linsys_solver", !23, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40}
!31 = !{!18, !6, i64 56}
!32 = !{!15, !6, i64 24}
!33 = !{!18, !6, i64 64}
!34 = !{!18, !6, i64 72}
!35 = !{!18, !19, i64 88}
!36 = !{!27, !19, i64 64}
!37 = !{!18, !19, i64 96}
!38 = !{!27, !19, i64 72}
!39 = !{!18, !19, i64 80}
!40 = !{!27, !19, i64 56}
!41 = !{!10, !6, i64 48}
!42 = !{!10, !6, i64 64}
!43 = !{!15, !11, i64 8}
!44 = !{!10, !6, i64 56}
!45 = !{!30, !6, i64 16}


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

; Function Attrs: nounwind uwtable
define dso_local range(i64 0, 2) i64 @polish(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 216
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @osqp_tic(ptr noundef %3) #4
  %4 = tail call i64 @form_Ared(ptr noundef %0)
  %5 = load ptr, ptr %0, align 8, !tbaa !11
  %6 = getelementptr inbounds i8, ptr %5, i64 16
  %7 = load ptr, ptr %6, align 8, !tbaa !12
  %8 = getelementptr inbounds i8, ptr %0, i64 16
  %9 = load ptr, ptr %8, align 8, !tbaa !14
  %10 = load ptr, ptr %9, align 8, !tbaa !15
  %11 = getelementptr inbounds i8, ptr %0, i64 184
  %12 = load ptr, ptr %11, align 8, !tbaa !18
  %13 = getelementptr inbounds i8, ptr %12, i64 112
  %14 = load double, ptr %13, align 8, !tbaa !19
  %15 = getelementptr inbounds i8, ptr %12, i64 104
  %16 = load i32, ptr %15, align 8, !tbaa !22
  %17 = tail call ptr @init_linsys_solver(ptr noundef %7, ptr noundef %10, double noundef %14, ptr noundef null, i32 noundef %16, i64 noundef 1) #4
  %.not = icmp eq ptr %17, null
  br i1 %.not, label %18, label %26

18:                                               ; preds = %1
  %19 = getelementptr inbounds i8, ptr %0, i64 208
  %20 = load ptr, ptr %19, align 8, !tbaa !23
  %21 = getelementptr inbounds i8, ptr %20, i64 48
  store i64 -1, ptr %21, align 8, !tbaa !24
  %22 = load ptr, ptr %8, align 8, !tbaa !14
  %.not79 = icmp eq ptr %22, null
  br i1 %.not79, label %114, label %23

23:                                               ; preds = %18
  %24 = load ptr, ptr %22, align 8, !tbaa !15
  %.not80 = icmp eq ptr %24, null
  br i1 %.not80, label %114, label %25

25:                                               ; preds = %23
  tail call void @csc_spfree(ptr noundef nonnull %24) #4
  br label %114

26:                                               ; preds = %1
  %27 = load ptr, ptr %0, align 8, !tbaa !11
  %28 = load i64, ptr %27, align 8, !tbaa !26
  %29 = add nsw i64 %28, %4
  %30 = shl i64 %29, 3
  %31 = tail call noalias ptr @malloc(i64 noundef %30) #5
  tail call void @form_rhs_red(ptr noundef nonnull %0, ptr noundef %31)
  %32 = load ptr, ptr %0, align 8, !tbaa !11
  %33 = load i64, ptr %32, align 8, !tbaa !26
  %34 = add nsw i64 %33, %4
  %35 = tail call ptr @vec_copy(ptr noundef %31, i64 noundef %34) #4
  %36 = getelementptr inbounds i8, ptr %17, i64 8
  %37 = load ptr, ptr %36, align 8, !tbaa !27
  %38 = load ptr, ptr %11, align 8, !tbaa !18
  %39 = tail call i64 %37(ptr noundef nonnull %17, ptr noundef %35, ptr noundef %38) #4
  tail call void @iterative_refinement(ptr noundef nonnull %0, ptr noundef nonnull %17, ptr noundef %35, ptr noundef %31)
  %40 = load ptr, ptr %8, align 8, !tbaa !14
  %41 = getelementptr inbounds i8, ptr %40, i64 56
  %42 = load ptr, ptr %41, align 8, !tbaa !29
  %43 = load ptr, ptr %0, align 8, !tbaa !11
  %44 = load i64, ptr %43, align 8, !tbaa !26
  tail call void @prea_vec_copy(ptr noundef %35, ptr noundef %42, i64 noundef %44) #4
  %45 = load ptr, ptr %0, align 8, !tbaa !11
  %46 = getelementptr inbounds i8, ptr %45, i64 24
  %47 = load ptr, ptr %46, align 8, !tbaa !30
  %48 = load ptr, ptr %8, align 8, !tbaa !14
  %49 = getelementptr inbounds i8, ptr %48, i64 56
  %50 = load ptr, ptr %49, align 8, !tbaa !29
  %51 = getelementptr inbounds i8, ptr %48, i64 64
  %52 = load ptr, ptr %51, align 8, !tbaa !31
  tail call void @mat_vec(ptr noundef %47, ptr noundef %50, ptr noundef %52, i64 noundef 0) #4
  %53 = load ptr, ptr %0, align 8, !tbaa !11
  %54 = load i64, ptr %53, align 8, !tbaa !26
  %55 = getelementptr inbounds double, ptr %35, i64 %54
  tail call void @get_ypol_from_yred(ptr noundef nonnull %0, ptr noundef %55)
  %56 = load ptr, ptr %8, align 8, !tbaa !14
  %57 = getelementptr inbounds i8, ptr %56, i64 64
  %58 = load ptr, ptr %57, align 8, !tbaa !31
  %59 = getelementptr inbounds i8, ptr %56, i64 72
  %60 = load ptr, ptr %59, align 8, !tbaa !32
  tail call void @project_normalcone(ptr noundef nonnull %0, ptr noundef %58, ptr noundef %60) #4
  tail call void @update_info(ptr noundef nonnull %0, i64 noundef 0, i64 noundef 1, i64 noundef 1) #4
  %61 = load ptr, ptr %8, align 8, !tbaa !14
  %62 = getelementptr inbounds i8, ptr %61, i64 88
  %63 = getelementptr inbounds i8, ptr %0, i64 208
  %64 = load ptr, ptr %63, align 8, !tbaa !23
  %65 = getelementptr inbounds i8, ptr %64, i64 64
  %66 = load double, ptr %65, align 8, !tbaa !33
  %67 = load <2 x double>, ptr %62, align 8, !tbaa !34
  %68 = extractelement <2 x double> %67, i64 0
  %69 = fcmp olt double %68, %66
  %70 = getelementptr inbounds i8, ptr %64, i64 72
  %71 = load double, ptr %70, align 8, !tbaa !35
  br i1 %69, label %72, label %._crit_edge

72:                                               ; preds = %26
  %73 = extractelement <2 x double> %67, i64 1
  %74 = fcmp olt double %73, %71
  %75 = fcmp olt double %71, 1.000000e-10
  %or.cond87 = or i1 %74, %75
  br i1 %or.cond87, label %.critedge, label %._crit_edge

._crit_edge:                                      ; preds = %72, %26
  %76 = extractelement <2 x double> %67, i64 1
  %77 = fcmp olt double %76, %71
  %78 = fcmp olt double %66, 1.000000e-10
  %or.cond = and i1 %78, %77
  br i1 %or.cond, label %.critedge, label %.critedge84

.critedge:                                        ; preds = %._crit_edge, %72
  %79 = getelementptr inbounds i8, ptr %61, i64 80
  %80 = load double, ptr %79, align 8, !tbaa !36
  %81 = getelementptr inbounds i8, ptr %64, i64 56
  store double %80, ptr %81, align 8, !tbaa !37
  store <2 x double> %67, ptr %65, align 8, !tbaa !34
  %82 = getelementptr inbounds i8, ptr %64, i64 48
  store i64 1, ptr %82, align 8, !tbaa !24
  %83 = getelementptr inbounds i8, ptr %61, i64 56
  %84 = load ptr, ptr %83, align 8, !tbaa !29
  %85 = getelementptr inbounds i8, ptr %0, i64 48
  %86 = load ptr, ptr %85, align 8, !tbaa !38
  %87 = load ptr, ptr %0, align 8, !tbaa !11
  %88 = load i64, ptr %87, align 8, !tbaa !26
  tail call void @prea_vec_copy(ptr noundef %84, ptr noundef %86, i64 noundef %88) #4
  %89 = load ptr, ptr %8, align 8, !tbaa !14
  %90 = getelementptr inbounds i8, ptr %89, i64 64
  %91 = load ptr, ptr %90, align 8, !tbaa !31
  %92 = getelementptr inbounds i8, ptr %0, i64 64
  %93 = load ptr, ptr %92, align 8, !tbaa !39
  %94 = load ptr, ptr %0, align 8, !tbaa !11
  %95 = getelementptr inbounds i8, ptr %94, i64 8
  %96 = load i64, ptr %95, align 8, !tbaa !40
  tail call void @prea_vec_copy(ptr noundef %91, ptr noundef %93, i64 noundef %96) #4
  %97 = load ptr, ptr %8, align 8, !tbaa !14
  %98 = getelementptr inbounds i8, ptr %97, i64 72
  %99 = load ptr, ptr %98, align 8, !tbaa !32
  %100 = getelementptr inbounds i8, ptr %0, i64 56
  %101 = load ptr, ptr %100, align 8, !tbaa !41
  %102 = load ptr, ptr %0, align 8, !tbaa !11
  %103 = getelementptr inbounds i8, ptr %102, i64 8
  %104 = load i64, ptr %103, align 8, !tbaa !40
  tail call void @prea_vec_copy(ptr noundef %99, ptr noundef %101, i64 noundef %104) #4
  br label %106

.critedge84:                                      ; preds = %._crit_edge
  %105 = getelementptr inbounds i8, ptr %64, i64 48
  store i64 -1, ptr %105, align 8, !tbaa !24
  br label %106

106:                                              ; preds = %.critedge84, %.critedge
  %107 = getelementptr inbounds i8, ptr %17, i64 16
  %108 = load ptr, ptr %107, align 8, !tbaa !42
  tail call void %108(ptr noundef nonnull %17) #4
  %109 = load ptr, ptr %8, align 8, !tbaa !14
  %.not81 = icmp eq ptr %109, null
  br i1 %.not81, label %113, label %110

110:                                              ; preds = %106
  %111 = load ptr, ptr %109, align 8, !tbaa !15
  %.not82 = icmp eq ptr %111, null
  br i1 %.not82, label %113, label %112

112:                                              ; preds = %110
  tail call void @csc_spfree(ptr noundef nonnull %111) #4
  br label %113

113:                                              ; preds = %110, %112, %106
  tail call void @free(ptr noundef %31) #4
  tail call void @free(ptr noundef %35) #4
  br label %114

114:                                              ; preds = %18, %25, %23, %113
  %.0 = phi i64 [ 0, %113 ], [ 1, %23 ], [ 1, %25 ], [ 1, %18 ]
  ret i64 %.0
}

declare void @osqp_tic(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i64 @form_Ared(ptr noundef) local_unnamed_addr #0

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

declare void @csc_spfree(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare hidden void @form_rhs_red(ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @vec_copy(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @iterative_refinement(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @prea_vec_copy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

declare void @mat_vec(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @get_ypol_from_yred(ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @project_normalcone(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @update_info(ptr noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

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

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 = { "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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { nounwind allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 216}
!6 = !{!"", !7, 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, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !10, i64 224, !10, i64 232}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long long", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !7, i64 16}
!13 = !{!"", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48}
!14 = !{!6, !7, i64 16}
!15 = !{!16, !7, i64 0}
!16 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !17, i64 80, !17, i64 88, !17, i64 96}
!17 = !{!"double", !8, i64 0}
!18 = !{!6, !7, i64 184}
!19 = !{!20, !17, i64 112}
!20 = !{!"", !17, i64 0, !17, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !17, i64 40, !17, i64 48, !10, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !17, i64 88, !17, i64 96, !21, i64 104, !17, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !17, i64 168}
!21 = !{!"int", !8, i64 0}
!22 = !{!20, !21, i64 104}
!23 = !{!6, !7, i64 208}
!24 = !{!25, !10, i64 48}
!25 = !{!"", !10, i64 0, !8, i64 8, !10, i64 40, !10, i64 48, !17, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !17, i64 88, !17, i64 96, !17, i64 104, !17, i64 112, !10, i64 120, !17, i64 128}
!26 = !{!13, !10, i64 0}
!27 = !{!28, !7, i64 8}
!28 = !{!"linsys_solver", !21, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40}
!29 = !{!16, !7, i64 56}
!30 = !{!13, !7, i64 24}
!31 = !{!16, !7, i64 64}
!32 = !{!16, !7, i64 72}
!33 = !{!25, !17, i64 64}
!34 = !{!17, !17, i64 0}
!35 = !{!25, !17, i64 72}
!36 = !{!16, !17, i64 80}
!37 = !{!25, !17, i64 56}
!38 = !{!6, !7, i64 48}
!39 = !{!6, !7, i64 64}
!40 = !{!13, !10, i64 8}
!41 = !{!6, !7, i64 56}
!42 = !{!28, !7, i64 16}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass