; LLVM IR from Dimandragon/non-parametric-dsp :: alglib-cpp/src (optimization)

; 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.alglib_impl::presolveinfo" = type { i64, i64, i64, i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::xquadraticconstraints", %"struct.alglib_impl::xconicconstraints", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::xquadraticconstraints", %"struct.alglib_impl::xconicconstraints", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::presolverstack", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::presolvebuffers" }
%"struct.alglib_impl::sparsematrix" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::xquadraticconstraints" = type { i64, %"struct.alglib_impl::ae_obj_array", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_obj_array" = type { i64, i64, i8, ptr, ptr, ptr, ptr, %"struct.alglib_impl::ae_lock", %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::xconicconstraints" = type { i64, %"struct.alglib_impl::ae_obj_array" }
%"struct.alglib_impl::presolverstack" = type { i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::presolvebuffers" = type { %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::dynamiccrsqconstraint" }
%"struct.alglib_impl::niset" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64 }
%"struct.alglib_impl::dynamiccrsqconstraint" = type { i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::dynamiccrs", double, double, i8 }
%"struct.alglib_impl::dynamiccrs" = type { i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }

@_ZN11alglib_implL32lpqppresolve_pstobjectivescalingE = external hidden global i64, align 8
@_ZN11alglib_implL26lpqppresolve_pstcolscalingE = external hidden global i64, align 8
@_ZN11alglib_implL27lpqppresolve_pstcolshiftingE = external hidden global i64, align 8
@_ZN11alglib_implL26lpqppresolve_pstrowscalingE = external hidden global i64, align 8
@_ZN11alglib_implL25lpqppresolve_pstqcscalingE = external hidden global i64, align 8
@_ZN11alglib_implL28lpqppresolve_pstdropemptycolE = external hidden global i64, align 8
@_ZN11alglib_implL28lpqppresolve_pstdropemptyrowE = external hidden global i64, align 8
@_ZN11alglib_implL27lpqppresolve_pstdropemptyqcE = external hidden global i64, align 8
@_ZN11alglib_implL28lpqppresolve_pstsingletonrowE = external hidden global i64, align 8
@_ZN11alglib_implL24lpqppresolve_pstfixedvarE = external hidden global i64, align 8
@_ZN11alglib_implL29lpqppresolve_pstexplicitslackE = external hidden global i64, align 8
@_ZN11alglib_implL29lpqppresolve_pstimplicitslackE = external hidden global i64, align 8
@_ZN11alglib_implL27lpqppresolve_pstdoubletoneqE = external hidden global i64, align 8
@.str.856 = external hidden unnamed_addr constant [40 x i8], align 1

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

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

declare void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl11presolvefwdEPNS_12presolveinfoEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %12, i32 0, i32 1
  %14 = load i64, ptr %13, align 8, !tbaa !9
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %16, i32 0, i32 38
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %14, ptr noundef %15, ptr noundef %17, ptr noundef %18)
  store i64 0, ptr %7, align 8, !tbaa !26
  br label %19

19:                                               ; preds = %152, %3
  %20 = load i64, ptr %7, align 8, !tbaa !26
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %21, i32 0, i32 35
  %23 = getelementptr inbounds %"struct.alglib_impl::presolverstack", ptr %22, i32 0, i32 4
  %24 = load i64, ptr %23, align 8, !tbaa !27
  %25 = sub nsw i64 %24, 1
  %26 = icmp sle i64 %20, %25
  br i1 %26, label %27, label %155

27:                                               ; preds = %19
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %28, i32 0, i32 35
  %30 = getelementptr inbounds %"struct.alglib_impl::presolverstack", ptr %29, i32 0, i32 5
  %31 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %32 = load ptr, ptr %31, align 8, !tbaa !28
  %33 = load i64, ptr %7, align 8, !tbaa !26
  %34 = getelementptr inbounds i64, ptr %32, i64 %33
  %35 = load i64, ptr %34, align 8, !tbaa !26
  store i64 %35, ptr %8, align 8, !tbaa !26
  %36 = load i64, ptr %8, align 8, !tbaa !26
  %37 = load i64, ptr @_ZN11alglib_implL32lpqppresolve_pstobjectivescalingE, align 8, !tbaa !26
  %38 = icmp eq i64 %36, %37
  br i1 %38, label %39, label %40

39:                                               ; preds = %27
  br label %152

40:                                               ; preds = %27
  %41 = load i64, ptr %8, align 8, !tbaa !26
  %42 = load i64, ptr @_ZN11alglib_implL26lpqppresolve_pstcolscalingE, align 8, !tbaa !26
  %43 = icmp eq i64 %41, %42
  br i1 %43, label %44, label %70

44:                                               ; preds = %40
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %45, i32 0, i32 35
  %47 = load i64, ptr %7, align 8, !tbaa !26
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_implL40lpqppresolve_presolverselectstreamsourceEPNS_14presolverstackElPNS_8ae_stateE(ptr noundef %46, i64 noundef %47, ptr noundef %48)
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %49, i32 0, i32 35
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_implL32lpqppresolve_presolverunstreamirEPNS_14presolverstackEPlPdPNS_8ae_stateE(ptr noundef %50, ptr noundef %10, ptr noundef %11, ptr noundef %51)
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %52, i32 0, i32 35
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_implL31lpqppresolve_presolverasserteosEPNS_14presolverstackEPNS_8ae_stateE(ptr noundef %53, ptr noundef %54)
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %55, i32 0, i32 38
  %57 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %56, i32 0, i32 4
  %58 = load ptr, ptr %57, align 8, !tbaa !28
  %59 = load i64, ptr %10, align 8, !tbaa !26
  %60 = getelementptr inbounds double, ptr %58, i64 %59
  %61 = load double, ptr %60, align 8, !tbaa !29
  %62 = load double, ptr %11, align 8, !tbaa !29
  %63 = fmul double %61, %62
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %64, i32 0, i32 38
  %66 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %67 = load ptr, ptr %66, align 8, !tbaa !28
  %68 = load i64, ptr %10, align 8, !tbaa !26
  %69 = getelementptr inbounds double, ptr %67, i64 %68
  store double %63, ptr %69, align 8, !tbaa !29
  br label %152

70:                                               ; preds = %40
  %71 = load i64, ptr %8, align 8, !tbaa !26
  %72 = load i64, ptr @_ZN11alglib_implL27lpqppresolve_pstcolshiftingE, align 8, !tbaa !26
  %73 = icmp eq i64 %71, %72
  br i1 %73, label %74, label %100

74:                                               ; preds = %70
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %75, i32 0, i32 35
  %77 = load i64, ptr %7, align 8, !tbaa !26
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_implL40lpqppresolve_presolverselectstreamsourceEPNS_14presolverstackElPNS_8ae_stateE(ptr noundef %76, i64 noundef %77, ptr noundef %78)
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %79, i32 0, i32 35
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_implL32lpqppresolve_presolverunstreamirEPNS_14presolverstackEPlPdPNS_8ae_stateE(ptr noundef %80, ptr noundef %10, ptr noundef %11, ptr noundef %81)
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %82, i32 0, i32 35
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_implL31lpqppresolve_presolverasserteosEPNS_14presolverstackEPNS_8ae_stateE(ptr noundef %83, ptr noundef %84)
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %85, i32 0, i32 38
  %87 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %86, i32 0, i32 4
  %88 = load ptr, ptr %87, align 8, !tbaa !28
  %89 = load i64, ptr %10, align 8, !tbaa !26
  %90 = getelementptr inbounds double, ptr %88, i64 %89
  %91 = load double, ptr %90, align 8, !tbaa !29
  %92 = load double, ptr %11, align 8, !tbaa !29
  %93 = fadd double %91, %92
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %94, i32 0, i32 38
  %96 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %95, i32 0, i32 4
  %97 = load ptr, ptr %96, align 8, !tbaa !28
  %98 = load i64, ptr %10, align 8, !tbaa !26
  %99 = getelementptr inbounds double, ptr %97, i64 %98
  store double %93, ptr %99, align 8, !tbaa !29
  br label %152

100:                                              ; preds = %70
  %101 = load i64, ptr %8, align 8, !tbaa !26
  %102 = load i64, ptr @_ZN11alglib_implL26lpqppresolve_pstrowscalingE, align 8, !tbaa !26
  %103 = icmp eq i64 %101, %102
  br i1 %103, label %104, label %105

104:                                              ; preds = %100
  br label %152

105:                                              ; preds = %100
  %106 = load i64, ptr %8, align 8, !tbaa !26
  %107 = load i64, ptr @_ZN11alglib_implL25lpqppresolve_pstqcscalingE, align 8, !tbaa !26
  %108 = icmp eq i64 %106, %107
  br i1 %108, label %109, label %110

109:                                              ; preds = %105
  br label %152

110:                                              ; preds = %105
  %111 = load i64, ptr %8, align 8, !tbaa !26
  %112 = load i64, ptr @_ZN11alglib_implL28lpqppresolve_pstdropemptycolE, align 8, !tbaa !26
  %113 = icmp eq i64 %111, %112
  br i1 %113, label %114, label %115

114:                                              ; preds = %110
  br label %152

115:                                              ; preds = %110
  %116 = load i64, ptr %8, align 8, !tbaa !26
  %117 = load i64, ptr @_ZN11alglib_implL28lpqppresolve_pstdropemptyrowE, align 8, !tbaa !26
  %118 = icmp eq i64 %116, %117
  br i1 %118, label %119, label %120

119:                                              ; preds = %115
  br label %152

120:                                              ; preds = %115
  %121 = load i64, ptr %8, align 8, !tbaa !26
  %122 = load i64, ptr @_ZN11alglib_implL27lpqppresolve_pstdropemptyqcE, align 8, !tbaa !26
  %123 = icmp eq i64 %121, %122
  br i1 %123, label %124, label %125

124:                                              ; preds = %120
  br label %152

125:                                              ; preds = %120
  %126 = load i64, ptr %8, align 8, !tbaa !26
  %127 = load i64, ptr @_ZN11alglib_implL28lpqppresolve_pstsingletonrowE, align 8, !tbaa !26
  %128 = icmp eq i64 %126, %127
  br i1 %128, label %129, label %130

129:                                              ; preds = %125
  br label %152

130:                                              ; preds = %125
  %131 = load i64, ptr %8, align 8, !tbaa !26
  %132 = load i64, ptr @_ZN11alglib_implL24lpqppresolve_pstfixedvarE, align 8, !tbaa !26
  %133 = icmp eq i64 %131, %132
  br i1 %133, label %134, label %135

134:                                              ; preds = %130
  br label %152

135:                                              ; preds = %130
  %136 = load i64, ptr %8, align 8, !tbaa !26
  %137 = load i64, ptr @_ZN11alglib_implL29lpqppresolve_pstexplicitslackE, align 8, !tbaa !26
  %138 = icmp eq i64 %136, %137
  br i1 %138, label %139, label %140

139:                                              ; preds = %135
  br label %152

140:                                              ; preds = %135
  %141 = load i64, ptr %8, align 8, !tbaa !26
  %142 = load i64, ptr @_ZN11alglib_implL29lpqppresolve_pstimplicitslackE, align 8, !tbaa !26
  %143 = icmp eq i64 %141, %142
  br i1 %143, label %144, label %145

144:                                              ; preds = %140
  br label %152

145:                                              ; preds = %140
  %146 = load i64, ptr %8, align 8, !tbaa !26
  %147 = load i64, ptr @_ZN11alglib_implL27lpqppresolve_pstdoubletoneqE, align 8, !tbaa !26
  %148 = icmp eq i64 %146, %147
  br i1 %148, label %149, label %150

149:                                              ; preds = %145
  br label %152

150:                                              ; preds = %145
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.856, ptr noundef %151)
  br label %152

152:                                              ; preds = %150, %149, %144, %139, %134, %129, %124, %119, %114, %109, %104, %74, %44, %39
  %153 = load i64, ptr %7, align 8, !tbaa !26
  %154 = add nsw i64 %153, 1
  store i64 %154, ptr %7, align 8, !tbaa !26
  br label %19, !llvm.loop !30

155:                                              ; preds = %19
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %156, i32 0, i32 0
  %158 = load i64, ptr %157, align 8, !tbaa !32
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %158, ptr noundef %159, ptr noundef %160)
  store i64 0, ptr %9, align 8, !tbaa !26
  br label %161

161:                                              ; preds = %187, %155
  %162 = load i64, ptr %9, align 8, !tbaa !26
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %163, i32 0, i32 0
  %165 = load i64, ptr %164, align 8, !tbaa !32
  %166 = sub nsw i64 %165, 1
  %167 = icmp sle i64 %162, %166
  br i1 %167, label %168, label %190

168:                                              ; preds = %161
  %169 = load ptr, ptr %4, align 8, !tbaa !5
  %170 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %169, i32 0, i32 38
  %171 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %170, i32 0, i32 4
  %172 = load ptr, ptr %171, align 8, !tbaa !28
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.alglib_impl::presolveinfo", ptr %173, i32 0, i32 31
  %175 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %174, i32 0, i32 4
  %176 = load ptr, ptr %175, align 8, !tbaa !28
  %177 = load i64, ptr %9, align 8, !tbaa !26
  %178 = getelementptr inbounds i64, ptr %176, i64 %177
  %179 = load i64, ptr %178, align 8, !tbaa !26
  %180 = getelementptr inbounds double, ptr %172, i64 %179
  %181 = load double, ptr %180, align 8, !tbaa !29
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %182, i32 0, i32 4
  %184 = load ptr, ptr %183, align 8, !tbaa !28
  %185 = load i64, ptr %9, align 8, !tbaa !26
  %186 = getelementptr inbounds double, ptr %184, i64 %185
  store double %181, ptr %186, align 8, !tbaa !29
  br label %187

187:                                              ; preds = %168
  %188 = load i64, ptr %9, align 8, !tbaa !26
  %189 = add nsw i64 %188, 1
  store i64 %189, ptr %9, align 8, !tbaa !26
  br label %161, !llvm.loop !33

190:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, 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
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11alglib_implL40lpqppresolve_presolverselectstreamsourceEPNS_14presolverstackElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11alglib_implL32lpqppresolve_presolverunstreamirEPNS_14presolverstackEPlPdPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL31lpqppresolve_presolverasserteosEPNS_14presolverstackEPNS_8ae_stateE(ptr noundef, ptr noundef) #2

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 = { mustprogress 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 #3 = { mustprogress 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++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"_ZTSN11alglib_impl12presolveinfoE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !12, i64 64, !12, i64 128, !12, i64 192, !13, i64 256, !15, i64 264, !15, i64 632, !16, i64 1000, !19, i64 1208, !11, i64 1352, !12, i64 1360, !12, i64 1424, !12, i64 1488, !12, i64 1552, !15, i64 1616, !15, i64 1984, !12, i64 2352, !12, i64 2416, !16, i64 2480, !19, i64 2688, !12, i64 2832, !12, i64 2896, !12, i64 2960, !12, i64 3024, !12, i64 3088, !12, i64 3152, !12, i64 3216, !12, i64 3280, !20, i64 3344, !12, i64 4240, !12, i64 4304, !12, i64 4368, !12, i64 4432, !12, i64 4496, !12, i64 4560, !12, i64 4624, !21, i64 4688}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSN11alglib_impl9ae_vectorE", !11, i64 0, !11, i64 8, !13, i64 16, !14, i64 24, !7, i64 56}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!"_ZTSN11alglib_impl12sparsematrixE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !11, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360}
!16 = !{!"_ZTSN11alglib_impl21xquadraticconstraintsE", !11, i64 0, !17, i64 8, !12, i64 144}
!17 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !11, i64 0, !11, i64 8, !13, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !18, i64 56, !14, i64 104}
!18 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !14, i64 8, !13, i64 40}
!19 = !{!"_ZTSN11alglib_impl17xconicconstraintsE", !11, i64 0, !17, i64 8}
!20 = !{!"_ZTSN11alglib_impl14presolverstackE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !12, i64 104, !12, i64 168, !12, i64 232, !12, i64 296, !11, i64 360, !11, i64 368, !11, i64 376, !12, i64 384, !12, i64 448, !12, i64 512, !12, i64 576, !12, i64 640, !12, i64 704, !12, i64 768, !12, i64 832}
!21 = !{!"_ZTSN11alglib_impl15presolvebuffersE", !22, i64 0, !22, i64 152, !22, i64 304, !22, i64 456, !12, i64 608, !12, i64 672, !12, i64 736, !12, i64 800, !23, i64 864}
!22 = !{!"_ZTSN11alglib_impl5nisetE", !11, i64 0, !11, i64 8, !12, i64 16, !12, i64 80, !11, i64 144}
!23 = !{!"_ZTSN11alglib_impl21dynamiccrsqconstraintE", !11, i64 0, !12, i64 8, !12, i64 72, !24, i64 136, !25, i64 416, !25, i64 424, !13, i64 432}
!24 = !{!"_ZTSN11alglib_impl10dynamiccrsE", !11, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 88, !12, i64 152, !12, i64 216}
!25 = !{!"double", !7, i64 0}
!26 = !{!11, !11, i64 0}
!27 = !{!10, !11, i64 3376}
!28 = !{!7, !7, i64 0}
!29 = !{!25, !25, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!10, !11, i64 0}
!33 = distinct !{!33, !31}


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

@_ZN11alglib_implL32lpqppresolve_pstobjectivescalingE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL26lpqppresolve_pstcolscalingE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL27lpqppresolve_pstcolshiftingE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL26lpqppresolve_pstrowscalingE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL25lpqppresolve_pstqcscalingE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL28lpqppresolve_pstdropemptycolE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL28lpqppresolve_pstdropemptyrowE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL27lpqppresolve_pstdropemptyqcE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL28lpqppresolve_pstsingletonrowE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL24lpqppresolve_pstfixedvarE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL29lpqppresolve_pstexplicitslackE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL29lpqppresolve_pstimplicitslackE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL27lpqppresolve_pstdoubletoneqE = external hidden local_unnamed_addr global i64, align 8
@.str.856 = external hidden unnamed_addr constant [40 x i8], align 1

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

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

declare void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl11presolvefwdEPNS_12presolveinfoEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = alloca i64, align 8
  %5 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load i64, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 4368
  tail call void @_ZN11alglib_impl11rcopyallocvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %7, ptr noundef %1, ptr noundef nonnull %8, ptr noundef %2)
  %9 = getelementptr inbounds i8, ptr %0, i64 3344
  %10 = getelementptr inbounds i8, ptr %0, i64 3376
  %11 = load i64, ptr %10, align 8, !tbaa !25
  %.not.not71 = icmp sgt i64 %11, 0
  br i1 %.not.not71, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %3
  %12 = getelementptr inbounds i8, ptr %0, i64 3440
  %13 = getelementptr inbounds i8, ptr %0, i64 4424
  br label %14

14:                                               ; preds = %.lr.ph, %62
  %.05172 = phi i64 [ 0, %.lr.ph ], [ %63, %62 ]
  %15 = load ptr, ptr %12, align 8, !tbaa !26
  %16 = getelementptr inbounds i64, ptr %15, i64 %.05172
  %17 = load i64, ptr %16, align 8, !tbaa !27
  %18 = load i64, ptr @_ZN11alglib_implL32lpqppresolve_pstobjectivescalingE, align 8, !tbaa !27
  %19 = icmp eq i64 %17, %18
  br i1 %19, label %62, label %20

20:                                               ; preds = %14
  %21 = load i64, ptr @_ZN11alglib_implL26lpqppresolve_pstcolscalingE, align 8, !tbaa !27
  %22 = icmp eq i64 %17, %21
  br i1 %22, label %23, label %30

23:                                               ; preds = %20
  call void @_ZN11alglib_implL40lpqppresolve_presolverselectstreamsourceEPNS_14presolverstackElPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %.05172, ptr noundef %2)
  call void @_ZN11alglib_implL32lpqppresolve_presolverunstreamirEPNS_14presolverstackEPlPdPNS_8ae_stateE(ptr noundef nonnull %9, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %2)
  call void @_ZN11alglib_implL31lpqppresolve_presolverasserteosEPNS_14presolverstackEPNS_8ae_stateE(ptr noundef nonnull %9, ptr noundef %2)
  %24 = load ptr, ptr %13, align 8, !tbaa !26
  %25 = load i64, ptr %4, align 8, !tbaa !27
  %26 = getelementptr inbounds double, ptr %24, i64 %25
  %27 = load double, ptr %26, align 8, !tbaa !28
  %28 = load double, ptr %5, align 8, !tbaa !28
  %29 = fmul double %27, %28
  store double %29, ptr %26, align 8, !tbaa !28
  br label %62

30:                                               ; preds = %20
  %31 = load i64, ptr @_ZN11alglib_implL27lpqppresolve_pstcolshiftingE, align 8, !tbaa !27
  %32 = icmp eq i64 %17, %31
  br i1 %32, label %33, label %40

33:                                               ; preds = %30
  call void @_ZN11alglib_implL40lpqppresolve_presolverselectstreamsourceEPNS_14presolverstackElPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %.05172, ptr noundef %2)
  call void @_ZN11alglib_implL32lpqppresolve_presolverunstreamirEPNS_14presolverstackEPlPdPNS_8ae_stateE(ptr noundef nonnull %9, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %2)
  call void @_ZN11alglib_implL31lpqppresolve_presolverasserteosEPNS_14presolverstackEPNS_8ae_stateE(ptr noundef nonnull %9, ptr noundef %2)
  %34 = load ptr, ptr %13, align 8, !tbaa !26
  %35 = load i64, ptr %4, align 8, !tbaa !27
  %36 = getelementptr inbounds double, ptr %34, i64 %35
  %37 = load double, ptr %36, align 8, !tbaa !28
  %38 = load double, ptr %5, align 8, !tbaa !28
  %39 = fadd double %37, %38
  store double %39, ptr %36, align 8, !tbaa !28
  br label %62

40:                                               ; preds = %30
  %41 = load i64, ptr @_ZN11alglib_implL26lpqppresolve_pstrowscalingE, align 8, !tbaa !27
  %42 = icmp eq i64 %17, %41
  %43 = load i64, ptr @_ZN11alglib_implL25lpqppresolve_pstqcscalingE, align 8
  %44 = icmp eq i64 %17, %43
  %or.cond = select i1 %42, i1 true, i1 %44
  %45 = load i64, ptr @_ZN11alglib_implL28lpqppresolve_pstdropemptycolE, align 8
  %46 = icmp eq i64 %17, %45
  %or.cond56 = select i1 %or.cond, i1 true, i1 %46
  %47 = load i64, ptr @_ZN11alglib_implL28lpqppresolve_pstdropemptyrowE, align 8
  %48 = icmp eq i64 %17, %47
  %or.cond58 = select i1 %or.cond56, i1 true, i1 %48
  %49 = load i64, ptr @_ZN11alglib_implL27lpqppresolve_pstdropemptyqcE, align 8
  %50 = icmp eq i64 %17, %49
  %or.cond60 = select i1 %or.cond58, i1 true, i1 %50
  %51 = load i64, ptr @_ZN11alglib_implL28lpqppresolve_pstsingletonrowE, align 8
  %52 = icmp eq i64 %17, %51
  %or.cond62 = select i1 %or.cond60, i1 true, i1 %52
  %53 = load i64, ptr @_ZN11alglib_implL24lpqppresolve_pstfixedvarE, align 8
  %54 = icmp eq i64 %17, %53
  %or.cond64 = select i1 %or.cond62, i1 true, i1 %54
  %55 = load i64, ptr @_ZN11alglib_implL29lpqppresolve_pstexplicitslackE, align 8
  %56 = icmp eq i64 %17, %55
  %or.cond66 = select i1 %or.cond64, i1 true, i1 %56
  %57 = load i64, ptr @_ZN11alglib_implL29lpqppresolve_pstimplicitslackE, align 8
  %58 = icmp eq i64 %17, %57
  %or.cond68 = select i1 %or.cond66, i1 true, i1 %58
  %59 = load i64, ptr @_ZN11alglib_implL27lpqppresolve_pstdoubletoneqE, align 8
  %60 = icmp eq i64 %17, %59
  %or.cond70 = select i1 %or.cond68, i1 true, i1 %60
  br i1 %or.cond70, label %62, label %61

61:                                               ; preds = %40
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.856, ptr noundef %2)
  br label %62

62:                                               ; preds = %40, %14, %61, %33, %23
  %63 = add nuw nsw i64 %.05172, 1
  %64 = load i64, ptr %10, align 8, !tbaa !25
  %.not.not = icmp slt i64 %63, %64
  br i1 %.not.not, label %14, label %._crit_edge, !llvm.loop !29

._crit_edge:                                      ; preds = %62, %3
  %65 = load i64, ptr %0, align 8, !tbaa !31
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %65, ptr noundef %1, ptr noundef %2)
  %66 = load i64, ptr %0, align 8, !tbaa !31
  %.not.not5373 = icmp sgt i64 %66, 0
  br i1 %.not.not5373, label %.lr.ph76, label %._crit_edge77

.lr.ph76:                                         ; preds = %._crit_edge
  %67 = getelementptr inbounds i8, ptr %0, i64 4424
  %68 = getelementptr inbounds i8, ptr %0, i64 3144
  %69 = getelementptr inbounds i8, ptr %1, i64 56
  %xtraiter = and i64 %66, 1
  %70 = icmp eq i64 %66, 1
  br i1 %70, label %._crit_edge77.loopexit.unr-lcssa, label %.lr.ph76.new

.lr.ph76.new:                                     ; preds = %.lr.ph76
  %unroll_iter = and i64 %66, 9223372036854775806
  br label %71

71:                                               ; preds = %71, %.lr.ph76.new
  %.074 = phi i64 [ 0, %.lr.ph76.new ], [ %89, %71 ]
  %niter = phi i64 [ 0, %.lr.ph76.new ], [ %niter.next.1, %71 ]
  %72 = load ptr, ptr %67, align 8, !tbaa !26
  %73 = load ptr, ptr %68, align 8, !tbaa !26
  %74 = getelementptr inbounds i64, ptr %73, i64 %.074
  %75 = load i64, ptr %74, align 8, !tbaa !27
  %76 = getelementptr inbounds double, ptr %72, i64 %75
  %77 = load double, ptr %76, align 8, !tbaa !28
  %78 = load ptr, ptr %69, align 8, !tbaa !26
  %79 = getelementptr inbounds double, ptr %78, i64 %.074
  store double %77, ptr %79, align 8, !tbaa !28
  %80 = or disjoint i64 %.074, 1
  %81 = load ptr, ptr %67, align 8, !tbaa !26
  %82 = load ptr, ptr %68, align 8, !tbaa !26
  %83 = getelementptr inbounds i64, ptr %82, i64 %80
  %84 = load i64, ptr %83, align 8, !tbaa !27
  %85 = getelementptr inbounds double, ptr %81, i64 %84
  %86 = load double, ptr %85, align 8, !tbaa !28
  %87 = load ptr, ptr %69, align 8, !tbaa !26
  %88 = getelementptr inbounds double, ptr %87, i64 %80
  store double %86, ptr %88, align 8, !tbaa !28
  %89 = add nuw nsw i64 %.074, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge77.loopexit.unr-lcssa, label %71, !llvm.loop !32

._crit_edge77.loopexit.unr-lcssa:                 ; preds = %71, %.lr.ph76
  %.074.unr = phi i64 [ 0, %.lr.ph76 ], [ %89, %71 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge77, label %._crit_edge77.loopexit.epilog-lcssa

._crit_edge77.loopexit.epilog-lcssa:              ; preds = %._crit_edge77.loopexit.unr-lcssa
  %90 = load ptr, ptr %67, align 8, !tbaa !26
  %91 = load ptr, ptr %68, align 8, !tbaa !26
  %92 = getelementptr inbounds i64, ptr %91, i64 %.074.unr
  %93 = load i64, ptr %92, align 8, !tbaa !27
  %94 = getelementptr inbounds double, ptr %90, i64 %93
  %95 = load double, ptr %94, align 8, !tbaa !28
  %96 = load ptr, ptr %69, align 8, !tbaa !26
  %97 = getelementptr inbounds double, ptr %96, i64 %.074.unr
  store double %95, ptr %97, align 8, !tbaa !28
  br label %._crit_edge77

._crit_edge77:                                    ; preds = %._crit_edge77.loopexit.epilog-lcssa, %._crit_edge77.loopexit.unr-lcssa, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11alglib_implL40lpqppresolve_presolverselectstreamsourceEPNS_14presolverstackElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11alglib_implL32lpqppresolve_presolverunstreamirEPNS_14presolverstackEPlPdPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL31lpqppresolve_presolverasserteosEPNS_14presolverstackEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #2

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 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 #3 = { mustprogress 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, !7, i64 8}
!6 = !{!"_ZTSN11alglib_impl12presolveinfoE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !10, i64 64, !10, i64 128, !10, i64 192, !11, i64 256, !14, i64 264, !14, i64 632, !15, i64 1000, !18, i64 1208, !7, i64 1352, !10, i64 1360, !10, i64 1424, !10, i64 1488, !10, i64 1552, !14, i64 1616, !14, i64 1984, !10, i64 2352, !10, i64 2416, !15, i64 2480, !18, i64 2688, !10, i64 2832, !10, i64 2896, !10, i64 2960, !10, i64 3024, !10, i64 3088, !10, i64 3152, !10, i64 3216, !10, i64 3280, !19, i64 3344, !10, i64 4240, !10, i64 4304, !10, i64 4368, !10, i64 4432, !10, i64 4496, !10, i64 4560, !10, i64 4624, !20, i64 4688}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !11, i64 16, !12, i64 24, !8, i64 56}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"_ZTSN11alglib_impl12sparsematrixE", !10, i64 0, !10, i64 64, !10, i64 128, !10, i64 192, !10, i64 256, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360}
!15 = !{!"_ZTSN11alglib_impl21xquadraticconstraintsE", !7, i64 0, !16, i64 8, !10, i64 144}
!16 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !7, i64 0, !7, i64 8, !11, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !17, i64 56, !12, i64 104}
!17 = !{!"_ZTSN11alglib_impl7ae_lockE", !13, i64 0, !12, i64 8, !11, i64 40}
!18 = !{!"_ZTSN11alglib_impl17xconicconstraintsE", !7, i64 0, !16, i64 8}
!19 = !{!"_ZTSN11alglib_impl14presolverstackE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !10, i64 104, !10, i64 168, !10, i64 232, !10, i64 296, !7, i64 360, !7, i64 368, !7, i64 376, !10, i64 384, !10, i64 448, !10, i64 512, !10, i64 576, !10, i64 640, !10, i64 704, !10, i64 768, !10, i64 832}
!20 = !{!"_ZTSN11alglib_impl15presolvebuffersE", !21, i64 0, !21, i64 152, !21, i64 304, !21, i64 456, !10, i64 608, !10, i64 672, !10, i64 736, !10, i64 800, !22, i64 864}
!21 = !{!"_ZTSN11alglib_impl5nisetE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 80, !7, i64 144}
!22 = !{!"_ZTSN11alglib_impl21dynamiccrsqconstraintE", !7, i64 0, !10, i64 8, !10, i64 72, !23, i64 136, !24, i64 416, !24, i64 424, !11, i64 432}
!23 = !{!"_ZTSN11alglib_impl10dynamiccrsE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 88, !10, i64 152, !10, i64 216}
!24 = !{!"double", !8, i64 0}
!25 = !{!6, !7, i64 3376}
!26 = !{!8, !8, i64 0}
!27 = !{!7, !7, i64 0}
!28 = !{!24, !24, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!6, !7, i64 0}
!32 = distinct !{!32, !30}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass