; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/SRC (clarnv)

; 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.complex = type { float, float }

; Function Attrs: nounwind uwtable
define dso_local void @clarnv_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %struct.complex, align 4
  %17 = alloca %struct.complex, align 4
  %18 = alloca %struct.complex, align 4
  %19 = alloca i32, align 4
  %20 = alloca [128 x float], align 16
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca { float, float }, align 4
  %24 = alloca { float, float }, align 4
  %25 = alloca { float, float }, align 4
  %26 = alloca { float, float }, align 4
  %27 = alloca { float, float }, align 4
  %28 = alloca { float, float }, align 4
  %29 = alloca { float, float }, align 4
  %30 = alloca { float, float }, align 4
  %31 = alloca { float, float }, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 512, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.complex, ptr %32, i32 -1
  store ptr %33, ptr %8, align 8, !tbaa !5
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds i32, ptr %34, i32 -1
  store ptr %35, ptr %6, align 8, !tbaa !5
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = load i32, ptr %36, align 4, !tbaa !9
  store i32 %37, ptr %9, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  br label %38

38:                                               ; preds = %383, %4
  %39 = load i32, ptr %22, align 4, !tbaa !9
  %40 = load i32, ptr %9, align 4, !tbaa !9
  %41 = icmp sle i32 %39, %40
  br i1 %41, label %42, label %386

42:                                               ; preds = %38
  store i32 64, ptr %10, align 4, !tbaa !9
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = load i32, ptr %22, align 4, !tbaa !9
  %46 = sub nsw i32 %44, %45
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %11, align 4, !tbaa !9
  %48 = load i32, ptr %10, align 4, !tbaa !9
  %49 = load i32, ptr %11, align 4, !tbaa !9
  %50 = icmp sle i32 %48, %49
  br i1 %50, label %51, label %53

51:                                               ; preds = %42
  %52 = load i32, ptr %10, align 4, !tbaa !9
  br label %55

53:                                               ; preds = %42
  %54 = load i32, ptr %11, align 4, !tbaa !9
  br label %55

55:                                               ; preds = %53, %51
  %56 = phi i32 [ %52, %51 ], [ %54, %53 ]
  store i32 %56, ptr %21, align 4, !tbaa !9
  %57 = load i32, ptr %21, align 4, !tbaa !9
  %58 = shl i32 %57, 1
  store i32 %58, ptr %10, align 4, !tbaa !9
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds i32, ptr %59, i64 1
  %61 = getelementptr inbounds [128 x float], ptr %20, i64 0, i64 0
  call void @slaruv_(ptr noundef %60, ptr noundef %10, ptr noundef %61)
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = load i32, ptr %62, align 4, !tbaa !9
  %64 = icmp eq i32 %63, 1
  br i1 %64, label %65, label %110

65:                                               ; preds = %55
  %66 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %66, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %106, %65
  %68 = load i32, ptr %19, align 4, !tbaa !9
  %69 = load i32, ptr %10, align 4, !tbaa !9
  %70 = icmp sle i32 %68, %69
  br i1 %70, label %71, label %109

71:                                               ; preds = %67
  %72 = load i32, ptr %22, align 4, !tbaa !9
  %73 = load i32, ptr %19, align 4, !tbaa !9
  %74 = add nsw i32 %72, %73
  %75 = sub nsw i32 %74, 1
  store i32 %75, ptr %11, align 4, !tbaa !9
  %76 = load i32, ptr %19, align 4, !tbaa !9
  %77 = shl i32 %76, 1
  %78 = sub nsw i32 %77, 2
  store i32 %78, ptr %12, align 4, !tbaa !9
  %79 = load i32, ptr %19, align 4, !tbaa !9
  %80 = shl i32 %79, 1
  %81 = sub nsw i32 %80, 1
  store i32 %81, ptr %13, align 4, !tbaa !9
  %82 = load i32, ptr %12, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [128 x float], ptr %20, i64 0, i64 %83
  %85 = load float, ptr %84, align 4, !tbaa !11
  %86 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %85, ptr %86, align 4, !tbaa !13
  %87 = load i32, ptr %13, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [128 x float], ptr %20, i64 0, i64 %88
  %90 = load float, ptr %89, align 4, !tbaa !11
  %91 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %90, ptr %91, align 4, !tbaa !15
  %92 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %93 = load float, ptr %92, align 4, !tbaa !13
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = load i32, ptr %11, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds %struct.complex, ptr %94, i64 %96
  %98 = getelementptr inbounds %struct.complex, ptr %97, i32 0, i32 0
  store float %93, ptr %98, align 4, !tbaa !13
  %99 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %100 = load float, ptr %99, align 4, !tbaa !15
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = load i32, ptr %11, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds %struct.complex, ptr %101, i64 %103
  %105 = getelementptr inbounds %struct.complex, ptr %104, i32 0, i32 1
  store float %100, ptr %105, align 4, !tbaa !15
  br label %106

106:                                              ; preds = %71
  %107 = load i32, ptr %19, align 4, !tbaa !9
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %19, align 4, !tbaa !9
  br label %67, !llvm.loop !16

109:                                              ; preds = %67
  br label %382

110:                                              ; preds = %55
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = load i32, ptr %111, align 4, !tbaa !9
  %113 = icmp eq i32 %112, 2
  br i1 %113, label %114, label %161

114:                                              ; preds = %110
  %115 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %115, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %116

116:                                              ; preds = %157, %114
  %117 = load i32, ptr %19, align 4, !tbaa !9
  %118 = load i32, ptr %10, align 4, !tbaa !9
  %119 = icmp sle i32 %117, %118
  br i1 %119, label %120, label %160

120:                                              ; preds = %116
  %121 = load i32, ptr %22, align 4, !tbaa !9
  %122 = load i32, ptr %19, align 4, !tbaa !9
  %123 = add nsw i32 %121, %122
  %124 = sub nsw i32 %123, 1
  store i32 %124, ptr %11, align 4, !tbaa !9
  %125 = load i32, ptr %19, align 4, !tbaa !9
  %126 = shl i32 %125, 1
  %127 = sub nsw i32 %126, 2
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [128 x float], ptr %20, i64 0, i64 %128
  %130 = load float, ptr %129, align 4, !tbaa !11
  %131 = call float @llvm.fmuladd.f32(float %130, float 2.000000e+00, float -1.000000e+00)
  store float %131, ptr %14, align 4, !tbaa !11
  %132 = load i32, ptr %19, align 4, !tbaa !9
  %133 = shl i32 %132, 1
  %134 = sub nsw i32 %133, 1
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [128 x float], ptr %20, i64 0, i64 %135
  %137 = load float, ptr %136, align 4, !tbaa !11
  %138 = call float @llvm.fmuladd.f32(float %137, float 2.000000e+00, float -1.000000e+00)
  store float %138, ptr %15, align 4, !tbaa !11
  %139 = load float, ptr %14, align 4, !tbaa !11
  %140 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %139, ptr %140, align 4, !tbaa !13
  %141 = load float, ptr %15, align 4, !tbaa !11
  %142 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %141, ptr %142, align 4, !tbaa !15
  %143 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %144 = load float, ptr %143, align 4, !tbaa !13
  %145 = load ptr, ptr %8, align 8, !tbaa !5
  %146 = load i32, ptr %11, align 4, !tbaa !9
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds %struct.complex, ptr %145, i64 %147
  %149 = getelementptr inbounds %struct.complex, ptr %148, i32 0, i32 0
  store float %144, ptr %149, align 4, !tbaa !13
  %150 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %151 = load float, ptr %150, align 4, !tbaa !15
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = load i32, ptr %11, align 4, !tbaa !9
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds %struct.complex, ptr %152, i64 %154
  %156 = getelementptr inbounds %struct.complex, ptr %155, i32 0, i32 1
  store float %151, ptr %156, align 4, !tbaa !15
  br label %157

157:                                              ; preds = %120
  %158 = load i32, ptr %19, align 4, !tbaa !9
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %19, align 4, !tbaa !9
  br label %116, !llvm.loop !18

160:                                              ; preds = %116
  br label %381

161:                                              ; preds = %110
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = load i32, ptr %162, align 4, !tbaa !9
  %164 = icmp eq i32 %163, 3
  br i1 %164, label %165, label %241

165:                                              ; preds = %161
  %166 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %166, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %167

167:                                              ; preds = %237, %165
  %168 = load i32, ptr %19, align 4, !tbaa !9
  %169 = load i32, ptr %10, align 4, !tbaa !9
  %170 = icmp sle i32 %168, %169
  br i1 %170, label %171, label %240

171:                                              ; preds = %167
  %172 = load i32, ptr %22, align 4, !tbaa !9
  %173 = load i32, ptr %19, align 4, !tbaa !9
  %174 = add nsw i32 %172, %173
  %175 = sub nsw i32 %174, 1
  store i32 %175, ptr %11, align 4, !tbaa !9
  %176 = load i32, ptr %19, align 4, !tbaa !9
  %177 = shl i32 %176, 1
  %178 = sub nsw i32 %177, 2
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [128 x float], ptr %20, i64 0, i64 %179
  %181 = load float, ptr %180, align 4, !tbaa !11
  %182 = fpext float %181 to double
  %183 = call double @log(double noundef %182) #7
  %184 = fmul double %183, -2.000000e+00
  %185 = call double @sqrt(double noundef %184) #7
  %186 = fptrunc double %185 to float
  store float %186, ptr %14, align 4, !tbaa !11
  %187 = load i32, ptr %19, align 4, !tbaa !9
  %188 = shl i32 %187, 1
  %189 = sub nsw i32 %188, 1
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [128 x float], ptr %20, i64 0, i64 %190
  %192 = load float, ptr %191, align 4, !tbaa !11
  %193 = fmul float %192, 0x401921FB60000000
  store float %193, ptr %15, align 4, !tbaa !11
  %194 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 0
  store float 0.000000e+00, ptr %194, align 4, !tbaa !13
  %195 = load float, ptr %15, align 4, !tbaa !11
  %196 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 1
  store float %195, ptr %196, align 4, !tbaa !15
  %197 = call <2 x float> @Cf(ptr noundef %18)
  store <2 x float> %197, ptr %23, align 4
  %198 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %199 = load float, ptr %198, align 4
  %200 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  %201 = load float, ptr %200, align 4
  %202 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 0
  %203 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 1
  store float %199, ptr %202, align 4
  store float %201, ptr %203, align 4
  %204 = load <2 x float>, ptr %24, align 4
  %205 = call <2 x float> @cexpf(<2 x float> noundef %204) #7
  store <2 x float> %205, ptr %25, align 4
  %206 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 0
  %207 = load float, ptr %206, align 4
  %208 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 1
  %209 = load float, ptr %208, align 4
  %210 = call ptr @_pCf(ptr noundef %17)
  %211 = getelementptr inbounds { float, float }, ptr %210, i32 0, i32 0
  %212 = getelementptr inbounds { float, float }, ptr %210, i32 0, i32 1
  store float %207, ptr %211, align 4
  store float %209, ptr %212, align 4
  %213 = load float, ptr %14, align 4, !tbaa !11
  %214 = getelementptr inbounds %struct.complex, ptr %17, i32 0, i32 0
  %215 = load float, ptr %214, align 4, !tbaa !13
  %216 = fmul float %213, %215
  %217 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %216, ptr %217, align 4, !tbaa !13
  %218 = load float, ptr %14, align 4, !tbaa !11
  %219 = getelementptr inbounds %struct.complex, ptr %17, i32 0, i32 1
  %220 = load float, ptr %219, align 4, !tbaa !15
  %221 = fmul float %218, %220
  %222 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %221, ptr %222, align 4, !tbaa !15
  %223 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %224 = load float, ptr %223, align 4, !tbaa !13
  %225 = load ptr, ptr %8, align 8, !tbaa !5
  %226 = load i32, ptr %11, align 4, !tbaa !9
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds %struct.complex, ptr %225, i64 %227
  %229 = getelementptr inbounds %struct.complex, ptr %228, i32 0, i32 0
  store float %224, ptr %229, align 4, !tbaa !13
  %230 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %231 = load float, ptr %230, align 4, !tbaa !15
  %232 = load ptr, ptr %8, align 8, !tbaa !5
  %233 = load i32, ptr %11, align 4, !tbaa !9
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds %struct.complex, ptr %232, i64 %234
  %236 = getelementptr inbounds %struct.complex, ptr %235, i32 0, i32 1
  store float %231, ptr %236, align 4, !tbaa !15
  br label %237

237:                                              ; preds = %171
  %238 = load i32, ptr %19, align 4, !tbaa !9
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %19, align 4, !tbaa !9
  br label %167, !llvm.loop !19

240:                                              ; preds = %167
  br label %380

241:                                              ; preds = %161
  %242 = load ptr, ptr %5, align 8, !tbaa !5
  %243 = load i32, ptr %242, align 4, !tbaa !9
  %244 = icmp eq i32 %243, 4
  br i1 %244, label %245, label %319

245:                                              ; preds = %241
  %246 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %246, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %247

247:                                              ; preds = %315, %245
  %248 = load i32, ptr %19, align 4, !tbaa !9
  %249 = load i32, ptr %10, align 4, !tbaa !9
  %250 = icmp sle i32 %248, %249
  br i1 %250, label %251, label %318

251:                                              ; preds = %247
  %252 = load i32, ptr %22, align 4, !tbaa !9
  %253 = load i32, ptr %19, align 4, !tbaa !9
  %254 = add nsw i32 %252, %253
  %255 = sub nsw i32 %254, 1
  store i32 %255, ptr %11, align 4, !tbaa !9
  %256 = load i32, ptr %19, align 4, !tbaa !9
  %257 = shl i32 %256, 1
  %258 = sub nsw i32 %257, 2
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds [128 x float], ptr %20, i64 0, i64 %259
  %261 = load float, ptr %260, align 4, !tbaa !11
  %262 = fpext float %261 to double
  %263 = call double @sqrt(double noundef %262) #7
  %264 = fptrunc double %263 to float
  store float %264, ptr %14, align 4, !tbaa !11
  %265 = load i32, ptr %19, align 4, !tbaa !9
  %266 = shl i32 %265, 1
  %267 = sub nsw i32 %266, 1
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds [128 x float], ptr %20, i64 0, i64 %268
  %270 = load float, ptr %269, align 4, !tbaa !11
  %271 = fmul float %270, 0x401921FB60000000
  store float %271, ptr %15, align 4, !tbaa !11
  %272 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 0
  store float 0.000000e+00, ptr %272, align 4, !tbaa !13
  %273 = load float, ptr %15, align 4, !tbaa !11
  %274 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 1
  store float %273, ptr %274, align 4, !tbaa !15
  %275 = call <2 x float> @Cf(ptr noundef %18)
  store <2 x float> %275, ptr %26, align 4
  %276 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %277 = load float, ptr %276, align 4
  %278 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  %279 = load float, ptr %278, align 4
  %280 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %281 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  store float %277, ptr %280, align 4
  store float %279, ptr %281, align 4
  %282 = load <2 x float>, ptr %27, align 4
  %283 = call <2 x float> @cexpf(<2 x float> noundef %282) #7
  store <2 x float> %283, ptr %28, align 4
  %284 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %285 = load float, ptr %284, align 4
  %286 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  %287 = load float, ptr %286, align 4
  %288 = call ptr @_pCf(ptr noundef %17)
  %289 = getelementptr inbounds { float, float }, ptr %288, i32 0, i32 0
  %290 = getelementptr inbounds { float, float }, ptr %288, i32 0, i32 1
  store float %285, ptr %289, align 4
  store float %287, ptr %290, align 4
  %291 = load float, ptr %14, align 4, !tbaa !11
  %292 = getelementptr inbounds %struct.complex, ptr %17, i32 0, i32 0
  %293 = load float, ptr %292, align 4, !tbaa !13
  %294 = fmul float %291, %293
  %295 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %294, ptr %295, align 4, !tbaa !13
  %296 = load float, ptr %14, align 4, !tbaa !11
  %297 = getelementptr inbounds %struct.complex, ptr %17, i32 0, i32 1
  %298 = load float, ptr %297, align 4, !tbaa !15
  %299 = fmul float %296, %298
  %300 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %299, ptr %300, align 4, !tbaa !15
  %301 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %302 = load float, ptr %301, align 4, !tbaa !13
  %303 = load ptr, ptr %8, align 8, !tbaa !5
  %304 = load i32, ptr %11, align 4, !tbaa !9
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds %struct.complex, ptr %303, i64 %305
  %307 = getelementptr inbounds %struct.complex, ptr %306, i32 0, i32 0
  store float %302, ptr %307, align 4, !tbaa !13
  %308 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %309 = load float, ptr %308, align 4, !tbaa !15
  %310 = load ptr, ptr %8, align 8, !tbaa !5
  %311 = load i32, ptr %11, align 4, !tbaa !9
  %312 = sext i32 %311 to i64
  %313 = getelementptr inbounds %struct.complex, ptr %310, i64 %312
  %314 = getelementptr inbounds %struct.complex, ptr %313, i32 0, i32 1
  store float %309, ptr %314, align 4, !tbaa !15
  br label %315

315:                                              ; preds = %251
  %316 = load i32, ptr %19, align 4, !tbaa !9
  %317 = add nsw i32 %316, 1
  store i32 %317, ptr %19, align 4, !tbaa !9
  br label %247, !llvm.loop !20

318:                                              ; preds = %247
  br label %379

319:                                              ; preds = %241
  %320 = load ptr, ptr %5, align 8, !tbaa !5
  %321 = load i32, ptr %320, align 4, !tbaa !9
  %322 = icmp eq i32 %321, 5
  br i1 %322, label %323, label %378

323:                                              ; preds = %319
  %324 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %324, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %325

325:                                              ; preds = %374, %323
  %326 = load i32, ptr %19, align 4, !tbaa !9
  %327 = load i32, ptr %10, align 4, !tbaa !9
  %328 = icmp sle i32 %326, %327
  br i1 %328, label %329, label %377

329:                                              ; preds = %325
  %330 = load i32, ptr %22, align 4, !tbaa !9
  %331 = load i32, ptr %19, align 4, !tbaa !9
  %332 = add nsw i32 %330, %331
  %333 = sub nsw i32 %332, 1
  store i32 %333, ptr %11, align 4, !tbaa !9
  %334 = load i32, ptr %19, align 4, !tbaa !9
  %335 = shl i32 %334, 1
  %336 = sub nsw i32 %335, 1
  %337 = sext i32 %336 to i64
  %338 = getelementptr inbounds [128 x float], ptr %20, i64 0, i64 %337
  %339 = load float, ptr %338, align 4, !tbaa !11
  %340 = fmul float %339, 0x401921FB60000000
  store float %340, ptr %14, align 4, !tbaa !11
  %341 = getelementptr inbounds %struct.complex, ptr %17, i32 0, i32 0
  store float 0.000000e+00, ptr %341, align 4, !tbaa !13
  %342 = load float, ptr %14, align 4, !tbaa !11
  %343 = getelementptr inbounds %struct.complex, ptr %17, i32 0, i32 1
  store float %342, ptr %343, align 4, !tbaa !15
  %344 = call <2 x float> @Cf(ptr noundef %17)
  store <2 x float> %344, ptr %29, align 4
  %345 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 0
  %346 = load float, ptr %345, align 4
  %347 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 1
  %348 = load float, ptr %347, align 4
  %349 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 0
  %350 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 1
  store float %346, ptr %349, align 4
  store float %348, ptr %350, align 4
  %351 = load <2 x float>, ptr %30, align 4
  %352 = call <2 x float> @cexpf(<2 x float> noundef %351) #7
  store <2 x float> %352, ptr %31, align 4
  %353 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 0
  %354 = load float, ptr %353, align 4
  %355 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 1
  %356 = load float, ptr %355, align 4
  %357 = call ptr @_pCf(ptr noundef %16)
  %358 = getelementptr inbounds { float, float }, ptr %357, i32 0, i32 0
  %359 = getelementptr inbounds { float, float }, ptr %357, i32 0, i32 1
  store float %354, ptr %358, align 4
  store float %356, ptr %359, align 4
  %360 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %361 = load float, ptr %360, align 4, !tbaa !13
  %362 = load ptr, ptr %8, align 8, !tbaa !5
  %363 = load i32, ptr %11, align 4, !tbaa !9
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds %struct.complex, ptr %362, i64 %364
  %366 = getelementptr inbounds %struct.complex, ptr %365, i32 0, i32 0
  store float %361, ptr %366, align 4, !tbaa !13
  %367 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %368 = load float, ptr %367, align 4, !tbaa !15
  %369 = load ptr, ptr %8, align 8, !tbaa !5
  %370 = load i32, ptr %11, align 4, !tbaa !9
  %371 = sext i32 %370 to i64
  %372 = getelementptr inbounds %struct.complex, ptr %369, i64 %371
  %373 = getelementptr inbounds %struct.complex, ptr %372, i32 0, i32 1
  store float %368, ptr %373, align 4, !tbaa !15
  br label %374

374:                                              ; preds = %329
  %375 = load i32, ptr %19, align 4, !tbaa !9
  %376 = add nsw i32 %375, 1
  store i32 %376, ptr %19, align 4, !tbaa !9
  br label %325, !llvm.loop !21

377:                                              ; preds = %325
  br label %378

378:                                              ; preds = %377, %319
  br label %379

379:                                              ; preds = %378, %318
  br label %380

380:                                              ; preds = %379, %240
  br label %381

381:                                              ; preds = %380, %160
  br label %382

382:                                              ; preds = %381, %109
  br label %383

383:                                              ; preds = %382
  %384 = load i32, ptr %22, align 4, !tbaa !9
  %385 = add nsw i32 %384, 64
  store i32 %385, ptr %22, align 4, !tbaa !9
  br label %38, !llvm.loop !22

386:                                              ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 512, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  ret void
}

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

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

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @Cf(ptr noundef) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @_pCf(ptr noundef) #6

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

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


; 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.complex = type { float, float }

; Function Attrs: nounwind uwtable
define dso_local void @clarnv_(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
  %5 = alloca i32, align 4
  %6 = alloca %struct.complex, align 8
  %7 = alloca %struct.complex, align 8
  %8 = alloca %struct.complex, align 4
  %9 = alloca [128 x float], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %9) #8
  %10 = getelementptr inbounds i8, ptr %3, i64 -8
  %11 = load i32, ptr %2, align 4, !tbaa !5
  %.not122 = icmp slt i32 %11, 1
  br i1 %.not122, label %._crit_edge, label %.lr.ph128

.lr.ph128:                                        ; preds = %4
  %12 = getelementptr inbounds i8, ptr %7, i64 4
  %13 = getelementptr inbounds i8, ptr %8, i64 4
  %14 = zext nneg i32 %11 to i64
  %invariant.gep246 = getelementptr i8, ptr %10, i64 -8
  %invariant.gep = getelementptr i8, ptr %10, i64 -8
  %invariant.gep249 = getelementptr i8, ptr %10, i64 -8
  br label %15

15:                                               ; preds = %.lr.ph128, %.loopexit
  %indvars.iv152 = phi i64 [ 1, %.lr.ph128 ], [ %indvars.iv.next153, %.loopexit ]
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = trunc nuw nsw i64 %indvars.iv152 to i32
  %18 = sub nsw i32 %16, %17
  %19 = add nsw i32 %18, 1
  %20 = icmp sgt i32 %18, 62
  %21 = select i1 %20, i32 64, i32 %19
  %22 = shl i32 %21, 1
  store i32 %22, ptr %5, align 4, !tbaa !5
  call void @slaruv_(ptr noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %9) #8
  %23 = load i32, ptr %0, align 4, !tbaa !5
  switch i32 %23, label %.loopexit [
    i32 1, label %24
    i32 2, label %63
    i32 3, label %94
    i32 4, label %119
    i32 5, label %139
  ]

24:                                               ; preds = %15
  store i32 %21, ptr %5, align 4, !tbaa !5
  %.not98117 = icmp slt i32 %21, 1
  br i1 %.not98117, label %.loopexit, label %.lr.ph119.preheader

.lr.ph119.preheader:                              ; preds = %24
  %25 = add nuw i32 %21, 1
  %wide.trip.count150 = zext i32 %25 to i64
  %invariant.gep169 = getelementptr %struct.complex, ptr %10, i64 %indvars.iv152
  %26 = zext nneg i32 %21 to i64
  %min.iters.check = icmp ugt i32 %21, 5
  %27 = add nsw i64 %wide.trip.count150, -2
  %.not205 = icmp ult i64 %27, 1073741824
  %or.cond = select i1 %min.iters.check, i1 %.not205, i1 false
  br i1 %or.cond, label %vector.ph, label %.lr.ph119.preheader207

vector.ph:                                        ; preds = %.lr.ph119.preheader
  %n.vec = and i64 %26, 2147483644
  %ind.end = or disjoint i64 %n.vec, 1
  %invariant.gep232 = getelementptr i8, ptr %invariant.gep169, i64 -8
  %invariant.gep234 = getelementptr i8, ptr %invariant.gep169, i64 -8
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %28 = or disjoint i64 %index, 3
  %29 = shl i64 %offset.idx, 33
  %30 = shl i64 %28, 33
  %31 = add nsw i64 %29, -8589934592
  %32 = add nsw i64 %30, -8589934592
  %33 = ashr exact i64 %31, 32
  %34 = ashr exact i64 %32, 32
  %35 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %33
  %36 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %34
  %wide.vec = load <4 x float>, ptr %35, align 16, !tbaa !9
  %wide.vec176 = load <4 x float>, ptr %36, align 16, !tbaa !9
  %gep233 = getelementptr %struct.complex, ptr %invariant.gep232, i64 %offset.idx
  %gep235 = getelementptr %struct.complex, ptr %invariant.gep234, i64 %28
  store <4 x float> %wide.vec, ptr %gep233, align 4, !tbaa !9
  store <4 x float> %wide.vec176, ptr %gep235, align 4, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %37 = icmp eq i64 %index.next, %n.vec
  br i1 %37, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %26
  %38 = shufflevector <4 x float> %wide.vec176, <4 x float> poison, <2 x i32> <i32 2, i32 3>
  br i1 %cmp.n, label %.loopexit.sink.split, label %.lr.ph119.preheader207

.lr.ph119.preheader207:                           ; preds = %middle.block, %.lr.ph119.preheader
  %indvars.iv147.ph = phi i64 [ 1, %.lr.ph119.preheader ], [ %ind.end, %middle.block ]
  %39 = sub nsw i64 %wide.trip.count150, %indvars.iv147.ph
  %40 = zext nneg i32 %21 to i64
  %41 = sub nsw i64 %40, %indvars.iv147.ph
  %xtraiter215 = and i64 %39, 3
  %lcmp.mod216.not = icmp eq i64 %xtraiter215, 0
  br i1 %lcmp.mod216.not, label %.lr.ph119.prol.loopexit, label %.lr.ph119.prol.preheader

.lr.ph119.prol.preheader:                         ; preds = %.lr.ph119.preheader207
  %invariant.gep244 = getelementptr i8, ptr %invariant.gep169, i64 -8
  br label %.lr.ph119.prol

.lr.ph119.prol:                                   ; preds = %.lr.ph119.prol, %.lr.ph119.prol.preheader
  %indvars.iv147.prol = phi i64 [ %indvars.iv.next148.prol, %.lr.ph119.prol ], [ %indvars.iv147.ph, %.lr.ph119.prol.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph119.prol ], [ 0, %.lr.ph119.prol.preheader ]
  %42 = shl i64 %indvars.iv147.prol, 33
  %sext157.prol = add i64 %42, -8589934592
  %43 = ashr exact i64 %sext157.prol, 32
  %44 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %43
  %45 = load <2 x float>, ptr %44, align 8, !tbaa !9
  %gep245 = getelementptr %struct.complex, ptr %invariant.gep244, i64 %indvars.iv147.prol
  store <2 x float> %45, ptr %gep245, align 4, !tbaa !9
  %indvars.iv.next148.prol = add nuw nsw i64 %indvars.iv147.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter215
  br i1 %prol.iter.cmp.not, label %.lr.ph119.prol.loopexit, label %.lr.ph119.prol, !llvm.loop !15

.lr.ph119.prol.loopexit:                          ; preds = %.lr.ph119.prol, %.lr.ph119.preheader207
  %.lcssa214.unr = phi <2 x float> [ poison, %.lr.ph119.preheader207 ], [ %45, %.lr.ph119.prol ]
  %indvars.iv147.unr = phi i64 [ %indvars.iv147.ph, %.lr.ph119.preheader207 ], [ %indvars.iv.next148.prol, %.lr.ph119.prol ]
  %46 = icmp ult i64 %41, 3
  br i1 %46, label %.loopexit.sink.split, label %.lr.ph119.preheader207.new

.lr.ph119.preheader207.new:                       ; preds = %.lr.ph119.prol.loopexit
  %invariant.gep236 = getelementptr i8, ptr %invariant.gep169, i64 -8
  %invariant.gep238 = getelementptr i8, ptr %invariant.gep169, i64 -8
  %invariant.gep240 = getelementptr i8, ptr %invariant.gep169, i64 -8
  %invariant.gep242 = getelementptr i8, ptr %invariant.gep169, i64 -8
  br label %.lr.ph119

.lr.ph119:                                        ; preds = %.lr.ph119, %.lr.ph119.preheader207.new
  %indvars.iv147 = phi i64 [ %indvars.iv147.unr, %.lr.ph119.preheader207.new ], [ %indvars.iv.next148.3, %.lr.ph119 ]
  %47 = shl i64 %indvars.iv147, 33
  %sext157 = add i64 %47, -8589934592
  %48 = ashr exact i64 %sext157, 32
  %49 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %48
  %50 = load <2 x float>, ptr %49, align 8, !tbaa !9
  %gep237 = getelementptr %struct.complex, ptr %invariant.gep236, i64 %indvars.iv147
  store <2 x float> %50, ptr %gep237, align 4, !tbaa !9
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %51 = shl i64 %indvars.iv.next148, 33
  %sext157.1 = add i64 %51, -8589934592
  %52 = ashr exact i64 %sext157.1, 32
  %53 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %52
  %54 = load <2 x float>, ptr %53, align 8, !tbaa !9
  %gep239 = getelementptr %struct.complex, ptr %invariant.gep238, i64 %indvars.iv.next148
  store <2 x float> %54, ptr %gep239, align 4, !tbaa !9
  %indvars.iv.next148.1 = add nuw nsw i64 %indvars.iv147, 2
  %55 = shl i64 %indvars.iv.next148.1, 33
  %sext157.2 = add i64 %55, -8589934592
  %56 = ashr exact i64 %sext157.2, 32
  %57 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %56
  %58 = load <2 x float>, ptr %57, align 8, !tbaa !9
  %gep241 = getelementptr %struct.complex, ptr %invariant.gep240, i64 %indvars.iv.next148.1
  store <2 x float> %58, ptr %gep241, align 4, !tbaa !9
  %indvars.iv.next148.2 = add nuw nsw i64 %indvars.iv147, 3
  %59 = shl i64 %indvars.iv.next148.2, 33
  %sext157.3 = add i64 %59, -8589934592
  %60 = ashr exact i64 %sext157.3, 32
  %61 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %60
  %62 = load <2 x float>, ptr %61, align 8, !tbaa !9
  %gep243 = getelementptr %struct.complex, ptr %invariant.gep242, i64 %indvars.iv.next148.2
  store <2 x float> %62, ptr %gep243, align 4, !tbaa !9
  %indvars.iv.next148.3 = add nuw nsw i64 %indvars.iv147, 4
  %exitcond151.not.3 = icmp eq i64 %indvars.iv.next148.3, %wide.trip.count150
  br i1 %exitcond151.not.3, label %.loopexit.sink.split, label %.lr.ph119, !llvm.loop !17

63:                                               ; preds = %15
  store i32 %21, ptr %5, align 4, !tbaa !5
  %.not97113 = icmp slt i32 %21, 1
  br i1 %.not97113, label %.loopexit, label %.lr.ph115.preheader

.lr.ph115.preheader:                              ; preds = %63
  %64 = add nuw i32 %21, 1
  %wide.trip.count = zext i32 %64 to i64
  %invariant.gep167 = getelementptr %struct.complex, ptr %10, i64 %indvars.iv152
  %65 = zext nneg i32 %21 to i64
  %min.iters.check187 = icmp ugt i32 %21, 3
  %66 = add nsw i64 %wide.trip.count, -2
  %.not203 = icmp ult i64 %66, 1073741824
  %or.cond206 = select i1 %min.iters.check187, i1 %.not203, i1 false
  br i1 %or.cond206, label %vector.ph188, label %.lr.ph115.preheader208

vector.ph188:                                     ; preds = %.lr.ph115.preheader
  %n.vec190 = and i64 %65, 2147483644
  %ind.end191 = or disjoint i64 %n.vec190, 1
  %invariant.gep226 = getelementptr i8, ptr %invariant.gep167, i64 -8
  br label %vector.body193

vector.body193:                                   ; preds = %vector.body193, %vector.ph188
  %index194 = phi i64 [ 0, %vector.ph188 ], [ %index.next200, %vector.body193 ]
  %offset.idx195 = or disjoint i64 %index194, 1
  %67 = shl i64 %offset.idx195, 33
  %68 = add nsw i64 %67, -8589934592
  %69 = ashr exact i64 %68, 32
  %70 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %69
  %wide.vec196 = load <8 x float>, ptr %70, align 16, !tbaa !9
  %strided.vec197 = shufflevector <8 x float> %wide.vec196, <8 x float> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
  %strided.vec198 = shufflevector <8 x float> %wide.vec196, <8 x float> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
  %71 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %strided.vec197, <4 x float> <float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00>, <4 x float> <float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00>)
  %72 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %strided.vec198, <4 x float> <float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00>, <4 x float> <float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00>)
  %gep227 = getelementptr %struct.complex, ptr %invariant.gep226, i64 %offset.idx195
  %interleaved.vec199 = shufflevector <4 x float> %71, <4 x float> %72, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
  store <8 x float> %interleaved.vec199, ptr %gep227, align 4, !tbaa !9
  %index.next200 = add nuw i64 %index194, 4
  %73 = icmp eq i64 %index.next200, %n.vec190
  br i1 %73, label %middle.block185, label %vector.body193, !llvm.loop !18

middle.block185:                                  ; preds = %vector.body193
  %cmp.n201 = icmp eq i64 %n.vec190, %65
  %74 = shufflevector <4 x float> %71, <4 x float> %72, <2 x i32> <i32 3, i32 7>
  br i1 %cmp.n201, label %.loopexit.sink.split, label %.lr.ph115.preheader208

.lr.ph115.preheader208:                           ; preds = %middle.block185, %.lr.ph115.preheader
  %indvars.iv144.ph = phi i64 [ 1, %.lr.ph115.preheader ], [ %ind.end191, %middle.block185 ]
  %75 = zext nneg i32 %21 to i64
  %76 = and i32 %21, 1
  %lcmp.mod.not = icmp eq i32 %76, 0
  br i1 %lcmp.mod.not, label %.lr.ph115.prol.loopexit, label %.lr.ph115.prol

.lr.ph115.prol:                                   ; preds = %.lr.ph115.preheader208
  %77 = shl i64 %indvars.iv144.ph, 33
  %sext156.prol = add nsw i64 %77, -8589934592
  %78 = ashr exact i64 %sext156.prol, 32
  %79 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %78
  %80 = load <2 x float>, ptr %79, align 16, !tbaa !9
  %81 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %80, <2 x float> <float 2.000000e+00, float 2.000000e+00>, <2 x float> <float -1.000000e+00, float -1.000000e+00>)
  %gep168.prol = getelementptr %struct.complex, ptr %invariant.gep167, i64 %indvars.iv144.ph
  %82 = getelementptr i8, ptr %gep168.prol, i64 -8
  store <2 x float> %81, ptr %82, align 4, !tbaa !9
  %indvars.iv.next145.prol = add nuw nsw i64 %indvars.iv144.ph, 1
  br label %.lr.ph115.prol.loopexit

.lr.ph115.prol.loopexit:                          ; preds = %.lr.ph115.prol, %.lr.ph115.preheader208
  %.lcssa213.unr = phi <2 x float> [ poison, %.lr.ph115.preheader208 ], [ %81, %.lr.ph115.prol ]
  %indvars.iv144.unr = phi i64 [ %indvars.iv144.ph, %.lr.ph115.preheader208 ], [ %indvars.iv.next145.prol, %.lr.ph115.prol ]
  %83 = icmp eq i64 %indvars.iv144.ph, %75
  br i1 %83, label %.loopexit.sink.split, label %.lr.ph115.preheader208.new

.lr.ph115.preheader208.new:                       ; preds = %.lr.ph115.prol.loopexit
  %invariant.gep228 = getelementptr i8, ptr %invariant.gep167, i64 -8
  %invariant.gep230 = getelementptr i8, ptr %invariant.gep167, i64 -8
  br label %.lr.ph115

.lr.ph115:                                        ; preds = %.lr.ph115, %.lr.ph115.preheader208.new
  %indvars.iv144 = phi i64 [ %indvars.iv144.unr, %.lr.ph115.preheader208.new ], [ %indvars.iv.next145.1, %.lr.ph115 ]
  %84 = shl i64 %indvars.iv144, 33
  %sext156 = add i64 %84, -8589934592
  %85 = ashr exact i64 %sext156, 32
  %86 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %85
  %87 = load <2 x float>, ptr %86, align 8, !tbaa !9
  %88 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %87, <2 x float> <float 2.000000e+00, float 2.000000e+00>, <2 x float> <float -1.000000e+00, float -1.000000e+00>)
  %gep229 = getelementptr %struct.complex, ptr %invariant.gep228, i64 %indvars.iv144
  store <2 x float> %88, ptr %gep229, align 4, !tbaa !9
  %indvars.iv.next145 = add nuw nsw i64 %indvars.iv144, 1
  %89 = shl i64 %indvars.iv.next145, 33
  %sext156.1 = add i64 %89, -8589934592
  %90 = ashr exact i64 %sext156.1, 32
  %91 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %90
  %92 = load <2 x float>, ptr %91, align 8, !tbaa !9
  %93 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %92, <2 x float> <float 2.000000e+00, float 2.000000e+00>, <2 x float> <float -1.000000e+00, float -1.000000e+00>)
  %gep231 = getelementptr %struct.complex, ptr %invariant.gep230, i64 %indvars.iv.next145
  store <2 x float> %93, ptr %gep231, align 4, !tbaa !9
  %indvars.iv.next145.1 = add nuw nsw i64 %indvars.iv144, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next145.1, %wide.trip.count
  br i1 %exitcond.not.1, label %.loopexit.sink.split, label %.lr.ph115, !llvm.loop !19

94:                                               ; preds = %15
  store i32 %21, ptr %5, align 4, !tbaa !5
  %.not96109 = icmp slt i32 %21, 1
  br i1 %.not96109, label %.loopexit, label %.lr.ph111.preheader

.lr.ph111.preheader:                              ; preds = %94
  %gep250 = getelementptr %struct.complex, ptr %invariant.gep249, i64 %indvars.iv152
  br label %.lr.ph111

.lr.ph111:                                        ; preds = %.lr.ph111.preheader, %.lr.ph111
  %indvars.iv141 = phi i64 [ 1, %.lr.ph111.preheader ], [ %indvars.iv.next142, %.lr.ph111 ]
  %95 = shl i64 %indvars.iv141, 33
  %sext155 = add i64 %95, -8589934592
  %96 = ashr exact i64 %sext155, 32
  %97 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %96
  %98 = load float, ptr %97, align 8, !tbaa !9
  %99 = fpext float %98 to double
  %100 = call double @log(double noundef %99) #8
  %101 = fmul double %100, -2.000000e+00
  %102 = call double @sqrt(double noundef %101) #8
  %103 = fptrunc double %102 to float
  %indvars.iv141.tr = trunc i64 %indvars.iv141 to i32
  %104 = shl i32 %indvars.iv141.tr, 1
  %105 = add i32 %104, -1
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %106
  %108 = load float, ptr %107, align 4, !tbaa !9
  %109 = fmul float %108, 0x401921FB60000000
  store float 0.000000e+00, ptr %8, align 4, !tbaa !20
  store float %109, ptr %13, align 4, !tbaa !22
  %110 = call <2 x float> @Cf(ptr noundef nonnull %8)
  %111 = call <2 x float> @cexpf(<2 x float> noundef %110) #8
  %112 = call ptr @_pCf(ptr noundef nonnull %7)
  store <2 x float> %111, ptr %112, align 4
  %113 = load <2 x float>, ptr %7, align 8, !tbaa !9
  %114 = insertelement <2 x float> poison, float %103, i64 0
  %115 = shufflevector <2 x float> %114, <2 x float> poison, <2 x i32> zeroinitializer
  %116 = fmul <2 x float> %113, %115
  store <2 x float> %116, ptr %6, align 8, !tbaa !9
  %gep225 = getelementptr %struct.complex, ptr %gep250, i64 %indvars.iv141
  store <2 x float> %116, ptr %gep225, align 4, !tbaa !9
  %indvars.iv.next142 = add nuw nsw i64 %indvars.iv141, 1
  %117 = load i32, ptr %5, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %.not96.not = icmp slt i64 %indvars.iv141, %118
  br i1 %.not96.not, label %.lr.ph111, label %.loopexit, !llvm.loop !23

119:                                              ; preds = %15
  store i32 %21, ptr %5, align 4, !tbaa !5
  %.not95105 = icmp slt i32 %21, 1
  br i1 %.not95105, label %.loopexit, label %.lr.ph107.preheader

.lr.ph107.preheader:                              ; preds = %119
  %gep248 = getelementptr %struct.complex, ptr %invariant.gep, i64 %indvars.iv152
  br label %.lr.ph107

.lr.ph107:                                        ; preds = %.lr.ph107.preheader, %.lr.ph107
  %indvars.iv138 = phi i64 [ 1, %.lr.ph107.preheader ], [ %indvars.iv.next139, %.lr.ph107 ]
  %120 = shl i64 %indvars.iv138, 33
  %sext = add i64 %120, -8589934592
  %121 = ashr exact i64 %sext, 32
  %122 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %121
  %123 = load float, ptr %122, align 8, !tbaa !9
  %sqrtf = call float @sqrtf(float noundef %123) #3
  %indvars.iv138.tr = trunc i64 %indvars.iv138 to i32
  %124 = shl i32 %indvars.iv138.tr, 1
  %125 = add i32 %124, -1
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %126
  %128 = load float, ptr %127, align 4, !tbaa !9
  %129 = fmul float %128, 0x401921FB60000000
  store float 0.000000e+00, ptr %8, align 4, !tbaa !20
  store float %129, ptr %13, align 4, !tbaa !22
  %130 = call <2 x float> @Cf(ptr noundef nonnull %8)
  %131 = call <2 x float> @cexpf(<2 x float> noundef %130) #8
  %132 = call ptr @_pCf(ptr noundef nonnull %7)
  store <2 x float> %131, ptr %132, align 4
  %133 = load <2 x float>, ptr %7, align 8, !tbaa !9
  %134 = insertelement <2 x float> poison, float %sqrtf, i64 0
  %135 = shufflevector <2 x float> %134, <2 x float> poison, <2 x i32> zeroinitializer
  %136 = fmul <2 x float> %135, %133
  store <2 x float> %136, ptr %6, align 8, !tbaa !9
  %gep = getelementptr %struct.complex, ptr %gep248, i64 %indvars.iv138
  store <2 x float> %136, ptr %gep, align 4, !tbaa !9
  %indvars.iv.next139 = add nuw nsw i64 %indvars.iv138, 1
  %137 = load i32, ptr %5, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %.not95.not = icmp slt i64 %indvars.iv138, %138
  br i1 %.not95.not, label %.lr.ph107, label %.loopexit, !llvm.loop !24

139:                                              ; preds = %15
  store i32 %21, ptr %5, align 4, !tbaa !5
  %.not94103 = icmp slt i32 %21, 1
  br i1 %.not94103, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %139
  %gep247 = getelementptr %struct.complex, ptr %invariant.gep246, i64 %indvars.iv152
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %indvars.iv.tr = trunc i64 %indvars.iv to i32
  %140 = shl i32 %indvars.iv.tr, 1
  %141 = add i32 %140, -1
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [128 x float], ptr %9, i64 0, i64 %142
  %144 = load float, ptr %143, align 4, !tbaa !9
  %145 = fmul float %144, 0x401921FB60000000
  store float 0.000000e+00, ptr %7, align 8, !tbaa !20
  store float %145, ptr %12, align 4, !tbaa !22
  %146 = call <2 x float> @Cf(ptr noundef nonnull %7)
  %147 = call <2 x float> @cexpf(<2 x float> noundef %146) #8
  %148 = call ptr @_pCf(ptr noundef nonnull %6)
  store <2 x float> %147, ptr %148, align 4
  %gep222 = getelementptr %struct.complex, ptr %gep247, i64 %indvars.iv
  %149 = load <2 x float>, ptr %6, align 8, !tbaa !9
  store <2 x float> %149, ptr %gep222, align 4, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %150 = load i32, ptr %5, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %.not94.not = icmp slt i64 %indvars.iv, %151
  br i1 %.not94.not, label %.lr.ph, label %.loopexit, !llvm.loop !25

.loopexit.sink.split:                             ; preds = %.lr.ph115.prol.loopexit, %.lr.ph115, %.lr.ph119.prol.loopexit, %.lr.ph119, %middle.block185, %middle.block
  %152 = phi <2 x float> [ %38, %middle.block ], [ %74, %middle.block185 ], [ %.lcssa214.unr, %.lr.ph119.prol.loopexit ], [ %62, %.lr.ph119 ], [ %.lcssa213.unr, %.lr.ph115.prol.loopexit ], [ %93, %.lr.ph115 ]
  store <2 x float> %152, ptr %6, align 8, !tbaa !9
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph107, %.lr.ph111, %.loopexit.sink.split, %139, %119, %94, %63, %24, %15
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 64
  %.not = icmp ugt i64 %indvars.iv.next153, %14
  br i1 %.not, label %._crit_edge, label %15, !llvm.loop !26

._crit_edge:                                      ; preds = %.loopexit, %4
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  ret void
}

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

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

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

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

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @Cf(ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @_pCf(ptr noundef) local_unnamed_addr #6

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

declare float @sqrtf(float) local_unnamed_addr

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #7

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #7

attributes #0 = { nounwind 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 = { inlinehint nounwind 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 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.unroll.disable"}
!17 = distinct !{!17, !12, !13}
!18 = distinct !{!18, !12, !13, !14}
!19 = distinct !{!19, !12, !13}
!20 = !{!21, !10, i64 0}
!21 = !{!"", !10, i64 0, !10, i64 4}
!22 = !{!21, !10, i64 4}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}


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