; 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_impl31cmatrixrndorthogonalfromtheleftEPNS_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 i64, align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca %"struct.alglib_impl::ae_vector", align 8
  %17 = alloca %"struct.alglib_impl::hqrndstate", align 8
  %18 = alloca %"struct.alglib_impl::ae_complex", align 8
  %19 = alloca %"struct.alglib_impl::ae_complex", align 8
  %20 = alloca %"struct.alglib_impl::ae_complex", align 8
  %21 = alloca i32, align 4
  %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
  %26 = 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 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #5
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %27, ptr noundef %9)
  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 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %17, i8 0, i64 24, i1 false)
  %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_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %16, i64 noundef 0, i64 noundef 4, ptr noundef %29, i1 noundef zeroext true)
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl16_hqrndstate_initEPvPNS_8ae_stateEb(ptr noundef %17, ptr noundef %30, i1 noundef zeroext true)
  %31 = load i64, ptr %7, align 8, !tbaa !9
  %32 = icmp sge i64 %31, 1
  br i1 %32, label %33, label %36

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

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

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

46:                                               ; preds = %79, %41
  %47 = load i64, ptr %14, align 8, !tbaa !9
  %48 = load i64, ptr %7, align 8, !tbaa !9
  %49 = sub nsw i64 %48, 1
  %50 = icmp sle i64 %47, %49
  br i1 %50, label %51, label %82

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

79:                                               ; preds = %51
  %80 = load i64, ptr %14, align 8, !tbaa !9
  %81 = add nsw i64 %80, 1
  store i64 %81, ptr %14, align 8, !tbaa !9
  br label %46, !llvm.loop !15

82:                                               ; preds = %46
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %83)
  store i32 1, ptr %21, align 4
  br label %188

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

91:                                               ; preds = %156, %84
  %92 = load i64, ptr %12, align 8, !tbaa !9
  %93 = load i64, ptr %6, align 8, !tbaa !9
  %94 = icmp sle i64 %92, %93
  br i1 %94, label %95, label %159

95:                                               ; preds = %91
  br label %96

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

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

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

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

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

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

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

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

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

160:                                              ; preds = %183, %159
  %161 = load i64, ptr %13, align 8, !tbaa !9
  %162 = load i64, ptr %6, align 8, !tbaa !9
  %163 = sub nsw i64 %162, 1
  %164 = icmp sle i64 %161, %163
  br i1 %164, label %165, label %186

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

183:                                              ; preds = %165
  %184 = load i64, ptr %13, align 8, !tbaa !9
  %185 = add nsw i64 %184, 1
  store i64 %185, ptr %13, align 8, !tbaa !9
  br label %160, !llvm.loop !20

186:                                              ; preds = %160
  %187 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %187)
  store i32 0, ptr %21, align 4
  br label %188

188:                                              ; preds = %186, %82
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  %189 = load i32, ptr %21, align 4
  switch i32 %189, label %191 [
    i32 0, label %190
    i32 1, label %190
  ]

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

191:                                              ; preds = %188
  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_impl10ae_v_cmulcEPNS_10ae_complexEllS0_(ptr noundef, i64 noundef, i64 noundef, double, double) #2

declare void @_ZN11alglib_impl33complexapplyreflectionfromtheleftEPNS_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

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 = distinct !{!20, !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_impl31cmatrixrndorthogonalfromtheleftEPNS_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 %1, 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 %10, 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 = load ptr, ptr %18, align 8, !tbaa !8
  %20 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %19, i64 %.06375
  %.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 = load ptr, ptr %24, align 8, !tbaa !8
  %26 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %25, i64 %.06375
  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, %2
  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 %2, ptr noundef %3)
  %29 = add nsw i64 %1, 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 %1, 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 %1, 1
  br label %.preheader68

.preheader68:                                     ; preds = %.preheader68.lr.ph, %50
  %indvars.iv = phi i64 [ 3, %.preheader68.lr.ph ], [ %indvars.iv.next, %50 ]
  %.071 = phi i64 [ 2, %.preheader68.lr.ph ], [ %57, %50 ]
  br label %38

.preheader:                                       ; preds = %50
  br i1 %11, 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 = add nsw i64 %2, -1
  br label %58

38:                                               ; preds = %.backedge, %.preheader68
  %.06269 = phi i64 [ 1, %.preheader68 ], [ %.06269.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)
  %39 = load ptr, ptr %31, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %39, i64 %.06269
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr noundef nonnull align 8 dereferenceable(16) %6, i64 16, i1 false), !tbaa.struct !14
  %41 = add nuw i64 %.06269, 1
  %exitcond.not = icmp eq i64 %41, %indvars.iv
  br i1 %exitcond.not, label %42, label %.backedge

.backedge:                                        ; preds = %38, %42
  %.06269.be = phi i64 [ %41, %38 ], [ 1, %42 ]
  br label %38, !llvm.loop !15

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

50:                                               ; preds = %42
  call void @_ZN11alglib_impl25complexgeneratereflectionEPNS_9ae_vectorElPNS_10ae_complexEPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.071, ptr noundef nonnull %6, ptr noundef %3)
  %51 = call { double, double } @_ZN11alglib_impl17ae_complex_from_iEl(i64 noundef 1)
  %52 = extractvalue { double, double } %51, 0
  %53 = extractvalue { double, double } %51, 1
  %54 = load ptr, ptr %31, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i64 16
  store double %52, ptr %55, align 8, !tbaa !10
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %54, i64 24
  store double %53, 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
  %56 = sub nsw i64 %1, %.071
  call void @_ZN11alglib_impl33complexapplyreflectionfromtheleftEPNS_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 %56, i64 noundef %32, i64 noundef 0, i64 noundef %33, ptr noundef nonnull %7, ptr noundef %3)
  %57 = 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

58:                                               ; preds = %.lr.ph, %58
  %.173 = phi i64 [ 0, %.lr.ph ], [ %63, %58 ]
  call void @_ZN11alglib_impl10hqrndunit2EPNS_10hqrndstateEPdS2_PNS_8ae_stateE(ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %35, ptr noundef %3)
  %59 = load ptr, ptr %36, align 8, !tbaa !5
  %60 = getelementptr inbounds ptr, ptr %59, i64 %.173
  %61 = load ptr, ptr %60, align 8, !tbaa !8
  %62 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %37)
  %.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 %61, i64 noundef 1, i64 noundef %62, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload)
  %63 = add nuw nsw i64 %.173, 1
  %exitcond80.not = icmp eq i64 %63, %1
  br i1 %exitcond80.not, label %._crit_edge78, label %58, !llvm.loop !17

._crit_edge78:                                    ; preds = %58, %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_impl10ae_v_cmulcEPNS_10ae_complexEllS0_(ptr noundef, i64 noundef, i64 noundef, double, double) local_unnamed_addr #2

declare void @_ZN11alglib_impl33complexapplyreflectionfromtheleftEPNS_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

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 = distinct !{!17, !13}


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