; LLVM IR from kkumatani/distant_speech_recognition :: btk20_src/matrix/linpack_c.ll (Z5cchudPSt7complexIfEiiS1_S1_iiS1_PfS2_S1_)

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

%"class.std::complex" = type { { float, float } }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 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) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8)) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: nounwind
declare double @sqrt(double noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZSt3absIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

declare void @_Z5crotgPSt7complexIfES0_PfS1_(ptr noundef, <2 x float>, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5cchudPSt7complexIfEiiS1_S1_iiS1_PfS2_S1_(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #6 {
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca float, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca float, align 4
  %27 = alloca %"class.std::complex", align 4
  %28 = alloca %"class.std::complex", align 4
  %29 = alloca %"class.std::complex", align 4
  %30 = alloca %"class.std::complex", align 4
  %31 = alloca %"class.std::complex", align 4
  %32 = alloca %"class.std::complex", align 4
  %33 = alloca %"class.std::complex", align 4
  %34 = alloca %"class.std::complex", align 4
  %35 = alloca %"class.std::complex", align 4
  %36 = alloca %"class.std::complex", align 4
  %37 = alloca %"class.std::complex", align 4
  %38 = alloca %"class.std::complex", align 4
  %39 = alloca %"class.std::complex", align 4
  %40 = alloca %"class.std::complex", align 4
  %41 = alloca %"class.std::complex", align 4
  %42 = alloca %"class.std::complex", align 4
  %43 = alloca %"class.std::complex", align 4
  %44 = alloca %"class.std::complex", align 4
  store ptr %0, ptr %12, align 8, !tbaa !5
  store i32 %1, ptr %13, align 4, !tbaa !9
  store i32 %2, ptr %14, align 4, !tbaa !9
  store ptr %3, ptr %15, align 8, !tbaa !5
  store ptr %4, ptr %16, align 8, !tbaa !5
  store i32 %5, ptr %17, align 4, !tbaa !9
  store i32 %6, ptr %18, align 4, !tbaa !9
  store ptr %7, ptr %19, align 8, !tbaa !5
  store ptr %8, ptr %20, align 8, !tbaa !5
  store ptr %9, ptr %21, align 8, !tbaa !5
  store ptr %10, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef 0.000000e+00, float noundef 0.000000e+00)
  store i32 1, ptr %25, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %152, %11
  %46 = load i32, ptr %25, align 4, !tbaa !9
  %47 = load i32, ptr %14, align 4, !tbaa !9
  %48 = icmp sle i32 %46, %47
  br i1 %48, label %49, label %155

49:                                               ; preds = %45
  %50 = load ptr, ptr %15, align 8, !tbaa !5
  %51 = load i32, ptr %25, align 4, !tbaa !9
  %52 = sub nsw i32 %51, 1
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds %"class.std::complex", ptr %50, i64 %53
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %54, i64 8, i1 false), !tbaa.struct !11
  store i32 1, ptr %24, align 4, !tbaa !9
  br label %55

55:                                               ; preds = %125, %49
  %56 = load i32, ptr %24, align 4, !tbaa !9
  %57 = load i32, ptr %25, align 4, !tbaa !9
  %58 = sub nsw i32 %57, 1
  %59 = icmp sle i32 %56, %58
  br i1 %59, label %60, label %128

60:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %61 = load ptr, ptr %21, align 8, !tbaa !5
  %62 = load i32, ptr %24, align 4, !tbaa !9
  %63 = sub nsw i32 %62, 1
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds float, ptr %61, i64 %64
  %66 = load ptr, ptr %12, align 8, !tbaa !5
  %67 = load i32, ptr %24, align 4, !tbaa !9
  %68 = sub nsw i32 %67, 1
  %69 = load i32, ptr %25, align 4, !tbaa !9
  %70 = sub nsw i32 %69, 1
  %71 = load i32, ptr %13, align 4, !tbaa !9
  %72 = mul nsw i32 %70, %71
  %73 = add nsw i32 %68, %72
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds %"class.std::complex", ptr %66, i64 %74
  %76 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %65, ptr noundef nonnull align 4 dereferenceable(8) %75)
  %77 = getelementptr inbounds %"class.std::complex", ptr %31, i32 0, i32 0
  store <2 x float> %76, ptr %77, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %78 = load ptr, ptr %22, align 8, !tbaa !5
  %79 = load i32, ptr %24, align 4, !tbaa !9
  %80 = sub nsw i32 %79, 1
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds %"class.std::complex", ptr %78, i64 %81
  %83 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %82, ptr noundef nonnull align 4 dereferenceable(8) %28)
  %84 = getelementptr inbounds %"class.std::complex", ptr %32, i32 0, i32 0
  store <2 x float> %83, ptr %84, align 4
  %85 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %32)
  %86 = getelementptr inbounds %"class.std::complex", ptr %30, i32 0, i32 0
  store <2 x float> %85, ptr %86, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %87 = load ptr, ptr %21, align 8, !tbaa !5
  %88 = load i32, ptr %24, align 4, !tbaa !9
  %89 = sub nsw i32 %88, 1
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds float, ptr %87, i64 %90
  %92 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %91, ptr noundef nonnull align 4 dereferenceable(8) %28)
  %93 = getelementptr inbounds %"class.std::complex", ptr %34, i32 0, i32 0
  store <2 x float> %92, ptr %93, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %94 = load ptr, ptr %22, align 8, !tbaa !5
  %95 = load i32, ptr %24, align 4, !tbaa !9
  %96 = sub nsw i32 %95, 1
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds %"class.std::complex", ptr %94, i64 %97
  %99 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %98)
  %100 = getelementptr inbounds %"class.std::complex", ptr %36, i32 0, i32 0
  store <2 x float> %99, ptr %100, align 4
  %101 = load ptr, ptr %12, align 8, !tbaa !5
  %102 = load i32, ptr %24, align 4, !tbaa !9
  %103 = sub nsw i32 %102, 1
  %104 = load i32, ptr %25, align 4, !tbaa !9
  %105 = sub nsw i32 %104, 1
  %106 = load i32, ptr %13, align 4, !tbaa !9
  %107 = mul nsw i32 %105, %106
  %108 = add nsw i32 %103, %107
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds %"class.std::complex", ptr %101, i64 %109
  %111 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %110)
  %112 = getelementptr inbounds %"class.std::complex", ptr %35, i32 0, i32 0
  store <2 x float> %111, ptr %112, align 4
  %113 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef nonnull align 4 dereferenceable(8) %35)
  %114 = getelementptr inbounds %"class.std::complex", ptr %33, i32 0, i32 0
  store <2 x float> %113, ptr %114, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %33, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  %115 = load ptr, ptr %12, align 8, !tbaa !5
  %116 = load i32, ptr %24, align 4, !tbaa !9
  %117 = sub nsw i32 %116, 1
  %118 = load i32, ptr %25, align 4, !tbaa !9
  %119 = sub nsw i32 %118, 1
  %120 = load i32, ptr %13, align 4, !tbaa !9
  %121 = mul nsw i32 %119, %120
  %122 = add nsw i32 %117, %121
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds %"class.std::complex", ptr %115, i64 %123
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %124, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !11
  br label %125

125:                                              ; preds = %60
  %126 = load i32, ptr %24, align 4, !tbaa !9
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %24, align 4, !tbaa !9
  br label %55, !llvm.loop !13

128:                                              ; preds = %55
  %129 = load ptr, ptr %12, align 8, !tbaa !5
  %130 = load i32, ptr %25, align 4, !tbaa !9
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds %"class.std::complex", ptr %129, i64 %131
  %133 = getelementptr inbounds %"class.std::complex", ptr %132, i64 -1
  %134 = load i32, ptr %25, align 4, !tbaa !9
  %135 = sub nsw i32 %134, 1
  %136 = load i32, ptr %13, align 4, !tbaa !9
  %137 = mul nsw i32 %135, %136
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds %"class.std::complex", ptr %133, i64 %138
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !11
  %140 = load ptr, ptr %21, align 8, !tbaa !5
  %141 = load i32, ptr %25, align 4, !tbaa !9
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds float, ptr %140, i64 %142
  %144 = getelementptr inbounds float, ptr %143, i64 -1
  %145 = load ptr, ptr %22, align 8, !tbaa !5
  %146 = load i32, ptr %25, align 4, !tbaa !9
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds %"class.std::complex", ptr %145, i64 %147
  %149 = getelementptr inbounds %"class.std::complex", ptr %148, i64 -1
  %150 = getelementptr inbounds %"class.std::complex", ptr %37, i32 0, i32 0
  %151 = load <2 x float>, ptr %150, align 4
  call void @_Z5crotgPSt7complexIfES0_PfS1_(ptr noundef %139, <2 x float> %151, ptr noundef %144, ptr noundef %149)
  br label %152

152:                                              ; preds = %128
  %153 = load i32, ptr %25, align 4, !tbaa !9
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %25, align 4, !tbaa !9
  br label %45, !llvm.loop !15

155:                                              ; preds = %45
  store i32 1, ptr %25, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %286, %155
  %157 = load i32, ptr %25, align 4, !tbaa !9
  %158 = load i32, ptr %18, align 4, !tbaa !9
  %159 = icmp sle i32 %157, %158
  br i1 %159, label %160, label %289

160:                                              ; preds = %156
  %161 = load ptr, ptr %19, align 8, !tbaa !5
  %162 = load i32, ptr %25, align 4, !tbaa !9
  %163 = sub nsw i32 %162, 1
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds %"class.std::complex", ptr %161, i64 %164
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %165, i64 8, i1 false), !tbaa.struct !11
  store i32 1, ptr %24, align 4, !tbaa !9
  br label %166

166:                                              ; preds = %235, %160
  %167 = load i32, ptr %24, align 4, !tbaa !9
  %168 = load i32, ptr %14, align 4, !tbaa !9
  %169 = icmp sle i32 %167, %168
  br i1 %169, label %170, label %238

170:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %171 = load ptr, ptr %21, align 8, !tbaa !5
  %172 = load i32, ptr %24, align 4, !tbaa !9
  %173 = sub nsw i32 %172, 1
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds float, ptr %171, i64 %174
  %176 = load ptr, ptr %16, align 8, !tbaa !5
  %177 = load i32, ptr %24, align 4, !tbaa !9
  %178 = sub nsw i32 %177, 1
  %179 = load i32, ptr %25, align 4, !tbaa !9
  %180 = sub nsw i32 %179, 1
  %181 = load i32, ptr %17, align 4, !tbaa !9
  %182 = mul nsw i32 %180, %181
  %183 = add nsw i32 %178, %182
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds %"class.std::complex", ptr %176, i64 %184
  %186 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %175, ptr noundef nonnull align 4 dereferenceable(8) %185)
  %187 = getelementptr inbounds %"class.std::complex", ptr %39, i32 0, i32 0
  store <2 x float> %186, ptr %187, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %188 = load ptr, ptr %22, align 8, !tbaa !5
  %189 = load i32, ptr %24, align 4, !tbaa !9
  %190 = sub nsw i32 %189, 1
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds %"class.std::complex", ptr %188, i64 %191
  %193 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %192, ptr noundef nonnull align 4 dereferenceable(8) %29)
  %194 = getelementptr inbounds %"class.std::complex", ptr %40, i32 0, i32 0
  store <2 x float> %193, ptr %194, align 4
  %195 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %39, ptr noundef nonnull align 4 dereferenceable(8) %40)
  %196 = getelementptr inbounds %"class.std::complex", ptr %38, i32 0, i32 0
  store <2 x float> %195, ptr %196, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %38, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  %197 = load ptr, ptr %21, align 8, !tbaa !5
  %198 = load i32, ptr %24, align 4, !tbaa !9
  %199 = sub nsw i32 %198, 1
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds float, ptr %197, i64 %200
  %202 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %201, ptr noundef nonnull align 4 dereferenceable(8) %29)
  %203 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  store <2 x float> %202, ptr %203, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %204 = load ptr, ptr %22, align 8, !tbaa !5
  %205 = load i32, ptr %24, align 4, !tbaa !9
  %206 = sub nsw i32 %205, 1
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds %"class.std::complex", ptr %204, i64 %207
  %209 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %208)
  %210 = getelementptr inbounds %"class.std::complex", ptr %44, i32 0, i32 0
  store <2 x float> %209, ptr %210, align 4
  %211 = load ptr, ptr %16, align 8, !tbaa !5
  %212 = load i32, ptr %24, align 4, !tbaa !9
  %213 = sub nsw i32 %212, 1
  %214 = load i32, ptr %25, align 4, !tbaa !9
  %215 = sub nsw i32 %214, 1
  %216 = load i32, ptr %17, align 4, !tbaa !9
  %217 = mul nsw i32 %215, %216
  %218 = add nsw i32 %213, %217
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds %"class.std::complex", ptr %211, i64 %219
  %221 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef nonnull align 4 dereferenceable(8) %220)
  %222 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  store <2 x float> %221, ptr %222, align 4
  %223 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %42, ptr noundef nonnull align 4 dereferenceable(8) %43)
  %224 = getelementptr inbounds %"class.std::complex", ptr %41, i32 0, i32 0
  store <2 x float> %223, ptr %224, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %41, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  %225 = load ptr, ptr %16, align 8, !tbaa !5
  %226 = load i32, ptr %24, align 4, !tbaa !9
  %227 = sub nsw i32 %226, 1
  %228 = load i32, ptr %25, align 4, !tbaa !9
  %229 = sub nsw i32 %228, 1
  %230 = load i32, ptr %17, align 4, !tbaa !9
  %231 = mul nsw i32 %229, %230
  %232 = add nsw i32 %227, %231
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds %"class.std::complex", ptr %225, i64 %233
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %234, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !11
  br label %235

235:                                              ; preds = %170
  %236 = load i32, ptr %24, align 4, !tbaa !9
  %237 = add nsw i32 %236, 1
  store i32 %237, ptr %24, align 4, !tbaa !9
  br label %166, !llvm.loop !16

238:                                              ; preds = %166
  %239 = call noundef float @_ZSt3absIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %29)
  store float %239, ptr %23, align 4, !tbaa !17
  %240 = load float, ptr %23, align 4, !tbaa !17
  %241 = fpext float %240 to double
  %242 = fcmp une double %241, 0.000000e+00
  br i1 %242, label %243, label %285

243:                                              ; preds = %238
  %244 = load ptr, ptr %20, align 8, !tbaa !5
  %245 = load i32, ptr %25, align 4, !tbaa !9
  %246 = sub nsw i32 %245, 1
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds float, ptr %244, i64 %247
  %249 = load float, ptr %248, align 4, !tbaa !17
  %250 = fpext float %249 to double
  %251 = fcmp ole double 0.000000e+00, %250
  br i1 %251, label %252, label %285

252:                                              ; preds = %243
  %253 = load float, ptr %23, align 4, !tbaa !17
  %254 = load ptr, ptr %20, align 8, !tbaa !5
  %255 = load i32, ptr %25, align 4, !tbaa !9
  %256 = sub nsw i32 %255, 1
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds float, ptr %254, i64 %257
  %259 = load float, ptr %258, align 4, !tbaa !17
  %260 = fadd float %253, %259
  store float %260, ptr %26, align 4, !tbaa !17
  %261 = load float, ptr %26, align 4, !tbaa !17
  %262 = fpext float %261 to double
  %263 = load float, ptr %23, align 4, !tbaa !17
  %264 = load float, ptr %26, align 4, !tbaa !17
  %265 = fdiv float %263, %264
  %266 = call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %265, i32 noundef 2)
  %267 = load ptr, ptr %20, align 8, !tbaa !5
  %268 = load i32, ptr %25, align 4, !tbaa !9
  %269 = sub nsw i32 %268, 1
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds float, ptr %267, i64 %270
  %272 = load float, ptr %271, align 4, !tbaa !17
  %273 = load float, ptr %26, align 4, !tbaa !17
  %274 = fdiv float %272, %273
  %275 = call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %274, i32 noundef 2)
  %276 = fadd double %266, %275
  %277 = call double @sqrt(double noundef %276) #8
  %278 = fmul double %262, %277
  %279 = fptrunc double %278 to float
  %280 = load ptr, ptr %20, align 8, !tbaa !5
  %281 = load i32, ptr %25, align 4, !tbaa !9
  %282 = sub nsw i32 %281, 1
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds float, ptr %280, i64 %283
  store float %279, ptr %284, align 4, !tbaa !17
  br label %285

285:                                              ; preds = %252, %243, %238
  br label %286

286:                                              ; preds = %285
  %287 = load i32, ptr %25, align 4, !tbaa !9
  %288 = add nsw i32 %287, 1
  store i32 %288, ptr %25, align 4, !tbaa !9
  br label %156, !llvm.loop !19

289:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef, i32 noundef) #7

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 #6 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #7 = { inlinehint 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 #8 = { 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 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 8, !12}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = !{!18, !18, i64 0}
!18 = !{!"float", !7, i64 0}
!19 = distinct !{!19, !14}


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

%"class.std::complex" = type { { float, float } }

; 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 nounwind uwtable
declare dso_local void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZSt3absIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

declare void @_Z5crotgPSt7complexIfES0_PfS1_(ptr noundef, <2 x float>, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5cchudPSt7complexIfEiiS1_S1_iiS1_PfS2_S1_(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7, ptr nocapture noundef %8, ptr noundef %9, ptr noundef %10) local_unnamed_addr #5 {
  %12 = alloca %"class.std::complex", align 8
  %13 = alloca %"class.std::complex", align 8
  %14 = alloca %"class.std::complex", align 8
  %15 = alloca %"class.std::complex", align 8
  %16 = alloca %"class.std::complex", align 8
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca %"class.std::complex", align 8
  %19 = alloca %"class.std::complex", align 8
  %20 = alloca %"class.std::complex", align 8
  %21 = alloca %"class.std::complex", align 8
  %22 = alloca %"class.std::complex", align 8
  %23 = alloca %"class.std::complex", align 8
  %24 = alloca %"class.std::complex", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %invariant.gep = getelementptr i8, ptr %0, i64 -8
  %invariant.gep91 = getelementptr i8, ptr %9, i64 -4
  %invariant.gep93 = getelementptr i8, ptr %10, i64 -8
  %.not95 = icmp slt i32 %2, 1
  br i1 %.not95, label %.preheader.thread, label %.lr.ph98.preheader

.lr.ph98.preheader:                               ; preds = %11
  %25 = sext i32 %1 to i64
  %26 = add nuw i32 %2, 1
  %wide.trip.count113 = zext i32 %26 to i64
  br label %.lr.ph98

.preheader:                                       ; preds = %._crit_edge
  %.not86104 = icmp slt i32 %6, 1
  br i1 %.not86104, label %._crit_edge107, label %.lr.ph106

.preheader.thread:                                ; preds = %11
  %.not86104130 = icmp slt i32 %6, 1
  br i1 %.not86104130, label %._crit_edge107, label %.lr.ph106.split.us.preheader

.lr.ph106:                                        ; preds = %.preheader
  br i1 %.not95, label %.lr.ph106.split.us.preheader, label %.lr.ph102.preheader

.lr.ph102.preheader:                              ; preds = %.lr.ph106
  %27 = add nuw i32 %2, 1
  %28 = sext i32 %5 to i64
  %29 = add nuw i32 %6, 1
  %wide.trip.count122 = zext i32 %29 to i64
  %wide.trip.count = zext i32 %27 to i64
  br label %.lr.ph102

.lr.ph106.split.us.preheader:                     ; preds = %.preheader.thread, %.lr.ph106
  %30 = add nuw i32 %6, 1
  %wide.trip.count127 = zext i32 %30 to i64
  br label %.lr.ph106.split.us

.lr.ph106.split.us:                               ; preds = %.lr.ph106.split.us.preheader, %52
  %indvars.iv124 = phi i64 [ 1, %.lr.ph106.split.us.preheader ], [ %indvars.iv.next125, %52 ]
  %31 = add nsw i64 %indvars.iv124, -1
  %32 = getelementptr inbounds %"class.std::complex", ptr %7, i64 %31
  %33 = load i64, ptr %32, align 4, !tbaa !5
  store i64 %33, ptr %14, align 8, !tbaa !5
  %34 = call noundef float @_ZSt3absIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %14)
  %35 = fcmp une float %34, 0.000000e+00
  br i1 %35, label %36, label %52

36:                                               ; preds = %.lr.ph106.split.us
  %37 = getelementptr inbounds float, ptr %8, i64 %31
  %38 = load float, ptr %37, align 4, !tbaa !8
  %39 = fcmp ult float %38, 0.000000e+00
  br i1 %39, label %52, label %40

40:                                               ; preds = %36
  %41 = fadd float %34, %38
  %42 = fpext float %41 to double
  %43 = fdiv float %34, %41
  %44 = call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %43, i32 noundef 2)
  %45 = load float, ptr %37, align 4, !tbaa !8
  %46 = fdiv float %45, %41
  %47 = call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %46, i32 noundef 2)
  %48 = fadd double %44, %47
  %49 = call double @sqrt(double noundef %48) #7
  %50 = fmul double %49, %42
  %51 = fptrunc double %50 to float
  store float %51, ptr %37, align 4, !tbaa !8
  br label %52

52:                                               ; preds = %40, %36, %.lr.ph106.split.us
  %indvars.iv.next125 = add nuw nsw i64 %indvars.iv124, 1
  %exitcond128.not = icmp eq i64 %indvars.iv.next125, %wide.trip.count127
  br i1 %exitcond128.not, label %._crit_edge107, label %.lr.ph106.split.us, !llvm.loop !10

.lr.ph98:                                         ; preds = %.lr.ph98.preheader, %._crit_edge
  %indvars.iv110 = phi i64 [ 1, %.lr.ph98.preheader ], [ %indvars.iv.next111, %._crit_edge ]
  %53 = add nsw i64 %indvars.iv110, -1
  %54 = getelementptr inbounds %"class.std::complex", ptr %3, i64 %53
  %55 = load i64, ptr %54, align 4, !tbaa !5
  store i64 %55, ptr %13, align 8, !tbaa !5
  %.not88.not89 = icmp ugt i64 %indvars.iv110, 1
  br i1 %.not88.not89, label %.lr.ph, label %.lr.ph98.._crit_edge_crit_edge

.lr.ph98.._crit_edge_crit_edge:                   ; preds = %.lr.ph98
  %56 = bitcast i64 %55 to <2 x float>
  %.pre = mul nsw i64 %53, %25
  br label %._crit_edge

.lr.ph:                                           ; preds = %.lr.ph98
  %57 = mul nsw i64 %53, %25
  %invariant.gep132 = getelementptr %"class.std::complex", ptr %0, i64 %57
  br label %58

58:                                               ; preds = %.lr.ph, %58
  %indvars.iv = phi i64 [ 1, %.lr.ph ], [ %indvars.iv.next, %58 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %59 = add nsw i64 %indvars.iv, -1
  %60 = getelementptr inbounds float, ptr %9, i64 %59
  %gep133 = getelementptr %"class.std::complex", ptr %invariant.gep132, i64 %59
  %61 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %60, ptr noundef nonnull align 4 dereferenceable(8) %gep133)
  store <2 x float> %61, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %62 = getelementptr inbounds %"class.std::complex", ptr %10, i64 %59
  %63 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %62, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %63, ptr %16, align 8
  %64 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %64, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %65 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %60, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %65, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %66 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %62)
  store <2 x float> %66, ptr %19, align 8
  %67 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %gep133)
  store <2 x float> %67, ptr %18, align 8
  %68 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %68, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  %69 = load i64, ptr %12, align 8, !tbaa !5
  store i64 %69, ptr %gep133, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %indvars.iv110
  br i1 %exitcond.not, label %._crit_edge, label %58, !llvm.loop !12

._crit_edge:                                      ; preds = %58, %.lr.ph98.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.lr.ph98.._crit_edge_crit_edge ], [ %57, %58 ]
  %.sroa.02.0.copyload = phi <2 x float> [ %56, %.lr.ph98.._crit_edge_crit_edge ], [ %68, %58 ]
  %gep = getelementptr %"class.std::complex", ptr %invariant.gep, i64 %indvars.iv110
  %70 = getelementptr inbounds %"class.std::complex", ptr %gep, i64 %.pre-phi
  %gep92 = getelementptr float, ptr %invariant.gep91, i64 %indvars.iv110
  %gep94 = getelementptr %"class.std::complex", ptr %invariant.gep93, i64 %indvars.iv110
  call void @_Z5crotgPSt7complexIfES0_PfS1_(ptr noundef nonnull %70, <2 x float> %.sroa.02.0.copyload, ptr noundef nonnull %gep92, ptr noundef nonnull %gep94)
  %indvars.iv.next111 = add nuw nsw i64 %indvars.iv110, 1
  %exitcond114.not = icmp eq i64 %indvars.iv.next111, %wide.trip.count113
  br i1 %exitcond114.not, label %.preheader, label %.lr.ph98, !llvm.loop !13

.lr.ph102:                                        ; preds = %.lr.ph102.preheader, %105
  %indvars.iv119 = phi i64 [ 1, %.lr.ph102.preheader ], [ %indvars.iv.next120, %105 ]
  %71 = add nsw i64 %indvars.iv119, -1
  %72 = getelementptr inbounds %"class.std::complex", ptr %7, i64 %71
  %73 = load i64, ptr %72, align 4, !tbaa !5
  store i64 %73, ptr %14, align 8, !tbaa !5
  %74 = mul nsw i64 %71, %28
  %invariant.gep134 = getelementptr %"class.std::complex", ptr %4, i64 %74
  br label %75

75:                                               ; preds = %.lr.ph102, %75
  %indvars.iv115 = phi i64 [ 1, %.lr.ph102 ], [ %indvars.iv.next116, %75 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %76 = add nsw i64 %indvars.iv115, -1
  %77 = getelementptr inbounds float, ptr %9, i64 %76
  %gep135 = getelementptr %"class.std::complex", ptr %invariant.gep134, i64 %76
  %78 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %77, ptr noundef nonnull align 4 dereferenceable(8) %gep135)
  store <2 x float> %78, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %79 = getelementptr inbounds %"class.std::complex", ptr %10, i64 %76
  %80 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %79, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %80, ptr %21, align 8
  %81 = call <2 x float> @_ZStplIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %21)
  store <2 x float> %81, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %82 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 4 dereferenceable(4) %77, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %82, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  %83 = call <2 x float> @_ZSt4conjIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) %79)
  store <2 x float> %83, ptr %24, align 8
  %84 = call <2 x float> @_ZStmlIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(8) %gep135)
  store <2 x float> %84, ptr %23, align 8
  %85 = call <2 x float> @_ZStmiIfESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %23)
  store <2 x float> %85, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  %86 = load i64, ptr %12, align 8, !tbaa !5
  store i64 %86, ptr %gep135, align 4, !tbaa !5
  %indvars.iv.next116 = add nuw nsw i64 %indvars.iv115, 1
  %exitcond118.not = icmp eq i64 %indvars.iv.next116, %wide.trip.count
  br i1 %exitcond118.not, label %._crit_edge103, label %75, !llvm.loop !14

._crit_edge103:                                   ; preds = %75
  %87 = call noundef float @_ZSt3absIfET_RKSt7complexIS0_E(ptr noundef nonnull align 4 dereferenceable(8) %14)
  %88 = fcmp une float %87, 0.000000e+00
  br i1 %88, label %89, label %105

89:                                               ; preds = %._crit_edge103
  %90 = getelementptr inbounds float, ptr %8, i64 %71
  %91 = load float, ptr %90, align 4, !tbaa !8
  %92 = fcmp ult float %91, 0.000000e+00
  br i1 %92, label %105, label %93

93:                                               ; preds = %89
  %94 = fadd float %87, %91
  %95 = fpext float %94 to double
  %96 = fdiv float %87, %94
  %97 = call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %96, i32 noundef 2)
  %98 = load float, ptr %90, align 4, !tbaa !8
  %99 = fdiv float %98, %94
  %100 = call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %99, i32 noundef 2)
  %101 = fadd double %97, %100
  %102 = call double @sqrt(double noundef %101) #7
  %103 = fmul double %102, %95
  %104 = fptrunc double %103 to float
  store float %104, ptr %90, align 4, !tbaa !8
  br label %105

105:                                              ; preds = %._crit_edge103, %89, %93
  %indvars.iv.next120 = add nuw nsw i64 %indvars.iv119, 1
  %exitcond123.not = icmp eq i64 %indvars.iv.next120, %wide.trip.count122
  br i1 %exitcond123.not, label %._crit_edge107, label %.lr.ph102, !llvm.loop !10

._crit_edge107:                                   ; preds = %105, %52, %.preheader.thread, %.preheader
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef, i32 noundef) local_unnamed_addr #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 nofree nounwind willreturn memory(write) "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 = { "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 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #6 = { inlinehint 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 #7 = { 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 = !{!"float", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}


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