; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/src (linalg)

; 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::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_complex" = type { double, double }
%"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::hqrndstate" = type { i64, i64, i64 }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }

@.str.200 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [46 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; 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) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl32cmatrixrndorthogonalfromtherightEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"struct.alglib_impl::ae_frame", align 8
  %10 = alloca %"struct.alglib_impl::ae_complex", align 8
  %11 = alloca %"struct.alglib_impl::ae_complex", align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca %"struct.alglib_impl::hqrndstate", align 8
  %17 = alloca %"struct.alglib_impl::ae_complex", align 8
  %18 = alloca %"struct.alglib_impl::ae_complex", align 8
  %19 = alloca %"struct.alglib_impl::ae_complex", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"struct.alglib_impl::ae_complex", align 8
  %22 = alloca %"struct.alglib_impl::ae_complex", align 8
  %23 = alloca %"struct.alglib_impl::ae_complex", align 8
  %24 = alloca %"struct.alglib_impl::ae_complex", align 8
  %25 = alloca %"struct.alglib_impl::ae_complex", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !9
  store i64 %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %26, ptr noundef %9)
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 24, i1 false)
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %14, i64 noundef 0, i64 noundef 4, ptr noundef %27, i1 noundef zeroext true)
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %15, i64 noundef 0, i64 noundef 4, ptr noundef %28, i1 noundef zeroext true)
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl16_hqrndstate_initEPvPNS_8ae_stateEb(ptr noundef %16, ptr noundef %29, i1 noundef zeroext true)
  %30 = load i64, ptr %7, align 8, !tbaa !9
  %31 = icmp sge i64 %30, 1
  br i1 %31, label %32, label %35

32:                                               ; preds = %4
  %33 = load i64, ptr %6, align 8, !tbaa !9
  %34 = icmp sge i64 %33, 1
  br label %35

35:                                               ; preds = %32, %4
  %36 = phi i1 [ false, %4 ], [ %34, %32 ]
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %36, ptr noundef @.str.227, ptr noundef %37)
  %38 = load i64, ptr %7, align 8, !tbaa !9
  %39 = icmp eq i64 %38, 1
  br i1 %39, label %40, label %83

40:                                               ; preds = %35
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl14hqrndrandomizeEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %16, ptr noundef %41)
  %42 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %11, i32 0, i32 0
  %43 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %11, i32 0, i32 1
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl10hqrndunit2EPNS_10hqrndstateEPdS2_PNS_8ae_stateE(ptr noundef %16, ptr noundef %42, ptr noundef %43, ptr noundef %44)
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %45

45:                                               ; preds = %78, %40
  %46 = load i64, ptr %13, align 8, !tbaa !9
  %47 = load i64, ptr %6, align 8, !tbaa !9
  %48 = sub nsw i64 %47, 1
  %49 = icmp sle i64 %46, %48
  br i1 %49, label %50, label %81

50:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %51, i32 0, i32 6
  %53 = load ptr, ptr %52, align 8, !tbaa !11
  %54 = load i64, ptr %13, align 8, !tbaa !9
  %55 = getelementptr inbounds ptr, ptr %53, i64 %54
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %56, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %57, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !12
  %58 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %59 = load double, ptr %58, align 8
  %60 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %61 = load double, ptr %60, align 8
  %62 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %63 = load double, ptr %62, align 8
  %64 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %65 = load double, ptr %64, align 8
  %66 = call { double, double } @_ZN11alglib_impl8ae_c_mulENS_10ae_complexES0_(double %59, double %61, double %63, double %65)
  %67 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %68 = extractvalue { double, double } %66, 0
  store double %68, ptr %67, align 8
  %69 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %70 = extractvalue { double, double } %66, 1
  store double %70, ptr %69, align 8
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %71, i32 0, i32 6
  %73 = load ptr, ptr %72, align 8, !tbaa !11
  %74 = load i64, ptr %13, align 8, !tbaa !9
  %75 = getelementptr inbounds ptr, ptr %73, i64 %74
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %76, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %77, ptr align 8 %17, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  br label %78

78:                                               ; preds = %50
  %79 = load i64, ptr %13, align 8, !tbaa !9
  %80 = add nsw i64 %79, 1
  store i64 %80, ptr %13, align 8, !tbaa !9
  br label %45, !llvm.loop !15

81:                                               ; preds = %45
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %82)
  store i32 1, ptr %20, align 4
  br label %190

83:                                               ; preds = %35
  %84 = load i64, ptr %6, align 8, !tbaa !9
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef %84, ptr noundef %85)
  %86 = load i64, ptr %7, align 8, !tbaa !9
  %87 = add nsw i64 %86, 1
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %15, i64 noundef %87, ptr noundef %88)
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl14hqrndrandomizeEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %16, ptr noundef %89)
  store i64 2, ptr %12, align 8, !tbaa !9
  br label %90

90:                                               ; preds = %155, %83
  %91 = load i64, ptr %12, align 8, !tbaa !9
  %92 = load i64, ptr %7, align 8, !tbaa !9
  %93 = icmp sle i64 %91, %92
  br i1 %93, label %94, label %158

94:                                               ; preds = %90
  br label %95

95:                                               ; preds = %125, %94
  store i64 1, ptr %13, align 8, !tbaa !9
  br label %96

96:                                               ; preds = %108, %95
  %97 = load i64, ptr %13, align 8, !tbaa !9
  %98 = load i64, ptr %12, align 8, !tbaa !9
  %99 = icmp sle i64 %97, %98
  br i1 %99, label %100, label %111

100:                                              ; preds = %96
  %101 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %11, i32 0, i32 0
  %102 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %11, i32 0, i32 1
  %103 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl12hqrndnormal2EPNS_10hqrndstateEPdS2_PNS_8ae_stateE(ptr noundef %16, ptr noundef %101, ptr noundef %102, ptr noundef %103)
  %104 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %105 = load ptr, ptr %104, align 8, !tbaa !11
  %106 = load i64, ptr %13, align 8, !tbaa !9
  %107 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %105, i64 %106
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %107, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !12
  br label %108

108:                                              ; preds = %100
  %109 = load i64, ptr %13, align 8, !tbaa !9
  %110 = add nsw i64 %109, 1
  store i64 %110, ptr %13, align 8, !tbaa !9
  br label %96, !llvm.loop !17

111:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  %112 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %113 = load ptr, ptr %112, align 8, !tbaa !11
  %114 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %113, i64 1
  %115 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %116 = load ptr, ptr %115, align 8, !tbaa !11
  %117 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %116, i64 1
  %118 = load i64, ptr %12, align 8, !tbaa !9
  %119 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %118)
  %120 = call { double, double } @_ZN11alglib_impl16ae_v_cdotproductEPKNS_10ae_complexElPKcS2_lS4_l(ptr noundef %114, i64 noundef 1, ptr noundef @.str.200, ptr noundef %117, i64 noundef 1, ptr noundef @.str.201, i64 noundef %119)
  %121 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %122 = extractvalue { double, double } %120, 0
  store double %122, ptr %121, align 8
  %123 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %124 = extractvalue { double, double } %120, 1
  store double %124, ptr %123, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  br label %125

125:                                              ; preds = %111
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !12
  %126 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %127 = load double, ptr %126, align 8
  %128 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %129 = load double, ptr %128, align 8
  %130 = call noundef zeroext i1 @_ZN11alglib_impl9ae_c_eq_dENS_10ae_complexEd(double %127, double %129, double noundef 0.000000e+00)
  br i1 %130, label %95, label %131, !llvm.loop !18

131:                                              ; preds = %125
  %132 = load i64, ptr %12, align 8, !tbaa !9
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl25complexgeneratereflectionEPNS_9ae_vectorElPNS_10ae_complexEPNS_8ae_stateE(ptr noundef %15, i64 noundef %132, ptr noundef %11, ptr noundef %133)
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  %134 = call { double, double } @_ZN11alglib_impl17ae_complex_from_iEl(i64 noundef 1)
  %135 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 0
  %136 = extractvalue { double, double } %134, 0
  store double %136, ptr %135, align 8
  %137 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 1
  %138 = extractvalue { double, double } %134, 1
  store double %138, ptr %137, align 8
  %139 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %140 = load ptr, ptr %139, align 8, !tbaa !11
  %141 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %140, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %141, ptr align 8 %23, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  %142 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !12
  %143 = load i64, ptr %6, align 8, !tbaa !9
  %144 = sub nsw i64 %143, 1
  %145 = load i64, ptr %7, align 8, !tbaa !9
  %146 = load i64, ptr %12, align 8, !tbaa !9
  %147 = sub nsw i64 %145, %146
  %148 = load i64, ptr %7, align 8, !tbaa !9
  %149 = sub nsw i64 %148, 1
  %150 = load ptr, ptr %8, align 8, !tbaa !5
  %151 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 0
  %152 = load double, ptr %151, align 8
  %153 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 1
  %154 = load double, ptr %153, align 8
  call void @_ZN11alglib_impl34complexapplyreflectionfromtherightEPNS_9ae_matrixENS_10ae_complexEPNS_9ae_vectorEllllS4_PNS_8ae_stateE(ptr noundef %142, double %152, double %154, ptr noundef %15, i64 noundef 0, i64 noundef %144, i64 noundef %147, i64 noundef %149, ptr noundef %14, ptr noundef %150)
  br label %155

155:                                              ; preds = %131
  %156 = load i64, ptr %12, align 8, !tbaa !9
  %157 = add nsw i64 %156, 1
  store i64 %157, ptr %12, align 8, !tbaa !9
  br label %90, !llvm.loop !19

158:                                              ; preds = %90
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %159

159:                                              ; preds = %185, %158
  %160 = load i64, ptr %13, align 8, !tbaa !9
  %161 = load i64, ptr %7, align 8, !tbaa !9
  %162 = sub nsw i64 %161, 1
  %163 = icmp sle i64 %160, %162
  br i1 %163, label %164, label %188

164:                                              ; preds = %159
  %165 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %11, i32 0, i32 0
  %166 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %11, i32 0, i32 1
  %167 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl10hqrndunit2EPNS_10hqrndstateEPdS2_PNS_8ae_stateE(ptr noundef %16, ptr noundef %165, ptr noundef %166, ptr noundef %167)
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %168, i32 0, i32 6
  %170 = load ptr, ptr %169, align 8, !tbaa !11
  %171 = getelementptr inbounds ptr, ptr %170, i64 0
  %172 = load ptr, ptr %171, align 8, !tbaa !5
  %173 = load i64, ptr %13, align 8, !tbaa !9
  %174 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %172, i64 %173
  %175 = load ptr, ptr %5, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %175, i32 0, i32 2
  %177 = load i64, ptr %176, align 8, !tbaa !20
  %178 = load i64, ptr %6, align 8, !tbaa !9
  %179 = sub nsw i64 %178, 1
  %180 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %179)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !12
  %181 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %182 = load double, ptr %181, align 8
  %183 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %184 = load double, ptr %183, align 8
  call void @_ZN11alglib_impl10ae_v_cmulcEPNS_10ae_complexEllS0_(ptr noundef %174, i64 noundef %177, i64 noundef %180, double %182, double %184)
  br label %185

185:                                              ; preds = %164
  %186 = load i64, ptr %13, align 8, !tbaa !9
  %187 = add nsw i64 %186, 1
  store i64 %187, ptr %13, align 8, !tbaa !9
  br label %159, !llvm.loop !24

188:                                              ; preds = %159
  %189 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %189)
  store i32 0, ptr %20, align 4
  br label %190

190:                                              ; preds = %188, %81
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #5
  %191 = load i32, ptr %20, align 4
  switch i32 %191, label %193 [
    i32 0, label %192
    i32 1, label %192
  ]

192:                                              ; preds = %190, %190
  ret void

193:                                              ; preds = %190
  unreachable
}

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 noundef) #2

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

declare void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #2

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

declare { double, double } @_ZN11alglib_impl17ae_complex_from_iEl(i64 noundef) #2

declare { double, double } @_ZN11alglib_impl16ae_v_cdotproductEPKNS_10ae_complexElPKcS2_lS4_l(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #2

declare void @_ZN11alglib_impl16_hqrndstate_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #2

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

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

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

declare { double, double } @_ZN11alglib_impl8ae_c_mulENS_10ae_complexES0_(double, double, double, double) #2

declare noundef zeroext i1 @_ZN11alglib_impl9ae_c_eq_dENS_10ae_complexEd(double, double, double noundef) #2

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

declare void @_ZN11alglib_impl34complexapplyreflectionfromtherightEPNS_9ae_matrixENS_10ae_complexEPNS_9ae_vectorEllllS4_PNS_8ae_stateE(ptr noundef, double, double, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #2

declare void @_ZN11alglib_impl10ae_v_cmulcEPNS_10ae_complexEllS0_(ptr noundef, i64 noundef, i64 noundef, double, double) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{i64 0, i64 8, !13, i64 8, i64 8, !13}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = !{!21, !10, i64 16}
!21 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !22, i64 32, !23, i64 40, !7, i64 72}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!24 = distinct !{!24, !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"

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_complex" = type { double, double }
%"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::hqrndstate" = type { i64, i64, i64 }

@.str.200 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [46 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; 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 #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl32cmatrixrndorthogonalfromtherightEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #4 {
  %5 = alloca %"struct.alglib_impl::ae_frame", align 8
  %6 = alloca %"struct.alglib_impl::ae_complex", align 8
  %7 = alloca %"struct.alglib_impl::ae_vector", align 8
  %8 = alloca %"struct.alglib_impl::ae_vector", align 8
  %9 = alloca %"struct.alglib_impl::hqrndstate", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %3, ptr noundef nonnull %5)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %7, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %8, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, i8 0, i64 24, i1 false)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %7, i64 noundef 0, i64 noundef 4, ptr noundef %3, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %8, i64 noundef 0, i64 noundef 4, ptr noundef %3, i1 noundef zeroext true)
  call void @_ZN11alglib_impl16_hqrndstate_initEPvPNS_8ae_stateEb(ptr noundef nonnull %9, ptr noundef %3, i1 noundef zeroext true)
  %10 = icmp sgt i64 %2, 0
  %11 = icmp sgt i64 %1, 0
  %12 = and i1 %11, %10
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %12, ptr noundef nonnull @.str.227, ptr noundef %3)
  %13 = icmp eq i64 %2, 1
  br i1 %13, label %14, label %28

14:                                               ; preds = %4
  call void @_ZN11alglib_impl14hqrndrandomizeEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef nonnull %9, ptr noundef %3)
  %15 = getelementptr inbounds i8, ptr %6, i64 8
  call void @_ZN11alglib_impl10hqrndunit2EPNS_10hqrndstateEPdS2_PNS_8ae_stateE(ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %15, ptr noundef %3)
  br i1 %11, label %.lr.ph77, label %._crit_edge78

.lr.ph77:                                         ; preds = %14
  %16 = getelementptr inbounds i8, ptr %0, i64 72
  br label %17

17:                                               ; preds = %.lr.ph77, %17
  %.06375 = phi i64 [ 0, %.lr.ph77 ], [ %27, %17 ]
  %18 = load ptr, ptr %16, align 8, !tbaa !5
  %19 = getelementptr inbounds ptr, ptr %18, i64 %.06375
  %20 = load ptr, ptr %19, align 8, !tbaa !8
  %.sroa.010.0.copyload = load double, ptr %20, align 8, !tbaa !10
  %.sroa.211.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 8
  %.sroa.211.0.copyload = load double, ptr %.sroa.211.0..sroa_idx, align 8, !tbaa !10
  %.sroa.08.0.copyload = load double, ptr %6, align 8, !tbaa !10
  %.sroa.29.0.copyload = load double, ptr %15, align 8, !tbaa !10
  %21 = call { double, double } @_ZN11alglib_impl8ae_c_mulENS_10ae_complexES0_(double %.sroa.010.0.copyload, double %.sroa.211.0.copyload, double %.sroa.08.0.copyload, double %.sroa.29.0.copyload)
  %22 = extractvalue { double, double } %21, 0
  %23 = extractvalue { double, double } %21, 1
  %24 = load ptr, ptr %16, align 8, !tbaa !5
  %25 = getelementptr inbounds ptr, ptr %24, i64 %.06375
  %26 = load ptr, ptr %25, align 8, !tbaa !8
  store double %22, ptr %26, align 8, !tbaa !10
  %.sroa.413.0..sroa_idx = getelementptr inbounds i8, ptr %26, i64 8
  store double %23, ptr %.sroa.413.0..sroa_idx, align 8, !tbaa !10
  %27 = add nuw nsw i64 %.06375, 1
  %exitcond81.not = icmp eq i64 %27, %1
  br i1 %exitcond81.not, label %._crit_edge78, label %17, !llvm.loop !12

28:                                               ; preds = %4
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef %1, ptr noundef %3)
  %29 = add nsw i64 %2, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %29, ptr noundef %3)
  call void @_ZN11alglib_impl14hqrndrandomizeEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef nonnull %9, ptr noundef %3)
  %.not70 = icmp slt i64 %2, 2
  br i1 %.not70, label %._crit_edge78, label %.preheader68.lr.ph

.preheader68.lr.ph:                               ; preds = %28
  %30 = getelementptr inbounds i8, ptr %6, i64 8
  %31 = getelementptr inbounds i8, ptr %8, i64 56
  %32 = add nsw i64 %1, -1
  %33 = add nsw i64 %2, -1
  %34 = add nuw i64 %2, 1
  br label %.preheader68

.preheader68:                                     ; preds = %.preheader68.lr.ph, %51
  %indvars.iv = phi i64 [ 3, %.preheader68.lr.ph ], [ %indvars.iv.next, %51 ]
  %.071 = phi i64 [ 2, %.preheader68.lr.ph ], [ %58, %51 ]
  br label %39

.preheader:                                       ; preds = %51
  br i1 %10, label %.lr.ph, label %._crit_edge78

.lr.ph:                                           ; preds = %.preheader
  %35 = getelementptr inbounds i8, ptr %6, i64 8
  %36 = getelementptr inbounds i8, ptr %0, i64 72
  %37 = getelementptr inbounds i8, ptr %0, i64 16
  %38 = add nsw i64 %1, -1
  br label %59

39:                                               ; preds = %.backedge, %.preheader68
  %.169 = phi i64 [ 1, %.preheader68 ], [ %.169.be, %.backedge ]
  call void @_ZN11alglib_impl12hqrndnormal2EPNS_10hqrndstateEPdS2_PNS_8ae_stateE(ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %30, ptr noundef %3)
  %40 = load ptr, ptr %31, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %40, i64 %.169
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(16) %6, i64 16, i1 false), !tbaa.struct !14
  %42 = add nuw i64 %.169, 1
  %exitcond.not = icmp eq i64 %42, %indvars.iv
  br i1 %exitcond.not, label %43, label %.backedge

.backedge:                                        ; preds = %39, %43
  %.169.be = phi i64 [ %42, %39 ], [ 1, %43 ]
  br label %39, !llvm.loop !15

43:                                               ; preds = %39
  %44 = load ptr, ptr %31, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 16
  %46 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %.071)
  %47 = call { double, double } @_ZN11alglib_impl16ae_v_cdotproductEPKNS_10ae_complexElPKcS2_lS4_l(ptr noundef nonnull %45, i64 noundef 1, ptr noundef nonnull @.str.200, ptr noundef nonnull %45, i64 noundef 1, ptr noundef nonnull @.str.201, i64 noundef %46)
  %48 = extractvalue { double, double } %47, 0
  %49 = extractvalue { double, double } %47, 1
  %50 = call noundef zeroext i1 @_ZN11alglib_impl9ae_c_eq_dENS_10ae_complexEd(double %48, double %49, double noundef 0.000000e+00)
  br i1 %50, label %.backedge, label %51

51:                                               ; preds = %43
  call void @_ZN11alglib_impl25complexgeneratereflectionEPNS_9ae_vectorElPNS_10ae_complexEPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.071, ptr noundef nonnull %6, ptr noundef %3)
  %52 = call { double, double } @_ZN11alglib_impl17ae_complex_from_iEl(i64 noundef 1)
  %53 = extractvalue { double, double } %52, 0
  %54 = extractvalue { double, double } %52, 1
  %55 = load ptr, ptr %31, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 16
  store double %53, ptr %56, align 8, !tbaa !10
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %55, i64 24
  store double %54, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !10
  %.sroa.01.0.copyload = load double, ptr %6, align 8, !tbaa !10
  %.sroa.22.0.copyload = load double, ptr %30, align 8, !tbaa !10
  %57 = sub nsw i64 %2, %.071
  call void @_ZN11alglib_impl34complexapplyreflectionfromtherightEPNS_9ae_matrixENS_10ae_complexEPNS_9ae_vectorEllllS4_PNS_8ae_stateE(ptr noundef %0, double %.sroa.01.0.copyload, double %.sroa.22.0.copyload, ptr noundef nonnull %8, i64 noundef 0, i64 noundef %32, i64 noundef %57, i64 noundef %33, ptr noundef nonnull %7, ptr noundef %3)
  %58 = add nuw nsw i64 %.071, 1
  %indvars.iv.next = add nuw i64 %indvars.iv, 1
  %exitcond79.not = icmp eq i64 %indvars.iv, %34
  br i1 %exitcond79.not, label %.preheader, label %.preheader68, !llvm.loop !16

59:                                               ; preds = %.lr.ph, %59
  %.273 = phi i64 [ 0, %.lr.ph ], [ %65, %59 ]
  call void @_ZN11alglib_impl10hqrndunit2EPNS_10hqrndstateEPdS2_PNS_8ae_stateE(ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %35, ptr noundef %3)
  %60 = load ptr, ptr %36, align 8, !tbaa !5
  %61 = load ptr, ptr %60, align 8, !tbaa !8
  %62 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %61, i64 %.273
  %63 = load i64, ptr %37, align 8, !tbaa !17
  %64 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %38)
  %.sroa.0.0.copyload = load double, ptr %6, align 8, !tbaa !10
  %.sroa.2.0.copyload = load double, ptr %35, align 8, !tbaa !10
  call void @_ZN11alglib_impl10ae_v_cmulcEPNS_10ae_complexEllS0_(ptr noundef %62, i64 noundef %63, i64 noundef %64, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload)
  %65 = add nuw nsw i64 %.273, 1
  %exitcond80.not = icmp eq i64 %65, %2
  br i1 %exitcond80.not, label %._crit_edge78, label %59, !llvm.loop !22

._crit_edge78:                                    ; preds = %59, %17, %.preheader, %28, %14
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %3)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  ret void
}

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

declare { double, double } @_ZN11alglib_impl17ae_complex_from_iEl(i64 noundef) local_unnamed_addr #2

declare { double, double } @_ZN11alglib_impl16ae_v_cdotproductEPKNS_10ae_complexElPKcS2_lS4_l(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl16_hqrndstate_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN11alglib_impl14hqrndrandomizeEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl10hqrndunit2EPNS_10hqrndstateEPdS2_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl12hqrndnormal2EPNS_10hqrndstateEPdS2_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare { double, double } @_ZN11alglib_impl8ae_c_mulENS_10ae_complexES0_(double, double, double, double) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl9ae_c_eq_dENS_10ae_complexEd(double, double, double noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl25complexgeneratereflectionEPNS_9ae_vectorElPNS_10ae_complexEPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl34complexapplyreflectionfromtherightEPNS_9ae_matrixENS_10ae_complexEPNS_9ae_vectorEllllS4_PNS_8ae_stateE(ptr noundef, double, double, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl10ae_v_cmulcEPNS_10ae_complexEllS0_(ptr noundef, i64 noundef, i64 noundef, double, double) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"double", !6, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{i64 0, i64 8, !10, i64 8, i64 8, !10}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = !{!18, !19, i64 16}
!18 = !{!"_ZTSN11alglib_impl9ae_matrixE", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !20, i64 32, !21, i64 40, !6, i64 72}
!19 = !{!"long", !6, i64 0}
!20 = !{!"bool", !6, i64 0}
!21 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24}
!22 = distinct !{!22, !13}


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