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

; 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 @clartv_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %struct.complex, align 4
  %22 = alloca %struct.complex, align 4
  %23 = alloca %struct.complex, align 4
  %24 = alloca %struct.complex, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %struct.complex, align 4
  %30 = alloca %struct.complex, align 4
  %31 = alloca { float, float }, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %32 = load ptr, ptr %15, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.complex, ptr %32, i32 -1
  store ptr %33, ptr %15, align 8, !tbaa !5
  %34 = load ptr, ptr %14, align 8, !tbaa !5
  %35 = getelementptr inbounds float, ptr %34, i32 -1
  store ptr %35, ptr %14, align 8, !tbaa !5
  %36 = load ptr, ptr %12, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.complex, ptr %36, i32 -1
  store ptr %37, ptr %12, align 8, !tbaa !5
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.complex, ptr %38, i32 -1
  store ptr %39, ptr %10, align 8, !tbaa !5
  store i32 1, ptr %27, align 4, !tbaa !9
  store i32 1, ptr %28, align 4, !tbaa !9
  store i32 1, ptr %26, align 4, !tbaa !9
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = load i32, ptr %40, align 4, !tbaa !9
  store i32 %41, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %25, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %257, %8
  %43 = load i32, ptr %25, align 4, !tbaa !9
  %44 = load i32, ptr %17, align 4, !tbaa !9
  %45 = icmp sle i32 %43, %44
  br i1 %45, label %46, label %260

46:                                               ; preds = %42
  %47 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %47, ptr %18, align 4, !tbaa !9
  %48 = load ptr, ptr %10, align 8, !tbaa !5
  %49 = load i32, ptr %18, align 4, !tbaa !9
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds %struct.complex, ptr %48, i64 %50
  %52 = getelementptr inbounds %struct.complex, ptr %51, i32 0, i32 0
  %53 = load float, ptr %52, align 4, !tbaa !11
  %54 = getelementptr inbounds %struct.complex, ptr %29, i32 0, i32 0
  store float %53, ptr %54, align 4, !tbaa !11
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = load i32, ptr %18, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds %struct.complex, ptr %55, i64 %57
  %59 = getelementptr inbounds %struct.complex, ptr %58, i32 0, i32 1
  %60 = load float, ptr %59, align 4, !tbaa !14
  %61 = getelementptr inbounds %struct.complex, ptr %29, i32 0, i32 1
  store float %60, ptr %61, align 4, !tbaa !14
  %62 = load i32, ptr %28, align 4, !tbaa !9
  store i32 %62, ptr %18, align 4, !tbaa !9
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  %64 = load i32, ptr %18, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds %struct.complex, ptr %63, i64 %65
  %67 = getelementptr inbounds %struct.complex, ptr %66, i32 0, i32 0
  %68 = load float, ptr %67, align 4, !tbaa !11
  %69 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 0
  store float %68, ptr %69, align 4, !tbaa !11
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = load i32, ptr %18, align 4, !tbaa !9
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds %struct.complex, ptr %70, i64 %72
  %74 = getelementptr inbounds %struct.complex, ptr %73, i32 0, i32 1
  %75 = load float, ptr %74, align 4, !tbaa !14
  %76 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 1
  store float %75, ptr %76, align 4, !tbaa !14
  %77 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %77, ptr %18, align 4, !tbaa !9
  %78 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %78, ptr %19, align 4, !tbaa !9
  %79 = load ptr, ptr %14, align 8, !tbaa !5
  %80 = load i32, ptr %19, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds float, ptr %79, i64 %81
  %83 = load float, ptr %82, align 4, !tbaa !15
  %84 = getelementptr inbounds %struct.complex, ptr %29, i32 0, i32 0
  %85 = load float, ptr %84, align 4, !tbaa !11
  %86 = fmul float %83, %85
  %87 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 0
  store float %86, ptr %87, align 4, !tbaa !11
  %88 = load ptr, ptr %14, align 8, !tbaa !5
  %89 = load i32, ptr %19, align 4, !tbaa !9
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds float, ptr %88, i64 %90
  %92 = load float, ptr %91, align 4, !tbaa !15
  %93 = getelementptr inbounds %struct.complex, ptr %29, i32 0, i32 1
  %94 = load float, ptr %93, align 4, !tbaa !14
  %95 = fmul float %92, %94
  %96 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 1
  store float %95, ptr %96, align 4, !tbaa !14
  %97 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %97, ptr %20, align 4, !tbaa !9
  %98 = load ptr, ptr %15, align 8, !tbaa !5
  %99 = load i32, ptr %20, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds %struct.complex, ptr %98, i64 %100
  %102 = getelementptr inbounds %struct.complex, ptr %101, i32 0, i32 0
  %103 = load float, ptr %102, align 4, !tbaa !11
  %104 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 0
  %105 = load float, ptr %104, align 4, !tbaa !11
  %106 = load ptr, ptr %15, align 8, !tbaa !5
  %107 = load i32, ptr %20, align 4, !tbaa !9
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds %struct.complex, ptr %106, i64 %108
  %110 = getelementptr inbounds %struct.complex, ptr %109, i32 0, i32 1
  %111 = load float, ptr %110, align 4, !tbaa !14
  %112 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 1
  %113 = load float, ptr %112, align 4, !tbaa !14
  %114 = fmul float %111, %113
  %115 = fneg float %114
  %116 = call float @llvm.fmuladd.f32(float %103, float %105, float %115)
  %117 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 0
  store float %116, ptr %117, align 4, !tbaa !11
  %118 = load ptr, ptr %15, align 8, !tbaa !5
  %119 = load i32, ptr %20, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds %struct.complex, ptr %118, i64 %120
  %122 = getelementptr inbounds %struct.complex, ptr %121, i32 0, i32 0
  %123 = load float, ptr %122, align 4, !tbaa !11
  %124 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 1
  %125 = load float, ptr %124, align 4, !tbaa !14
  %126 = load ptr, ptr %15, align 8, !tbaa !5
  %127 = load i32, ptr %20, align 4, !tbaa !9
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds %struct.complex, ptr %126, i64 %128
  %130 = getelementptr inbounds %struct.complex, ptr %129, i32 0, i32 1
  %131 = load float, ptr %130, align 4, !tbaa !14
  %132 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 0
  %133 = load float, ptr %132, align 4, !tbaa !11
  %134 = fmul float %131, %133
  %135 = call float @llvm.fmuladd.f32(float %123, float %125, float %134)
  %136 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 1
  store float %135, ptr %136, align 4, !tbaa !14
  %137 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 0
  %138 = load float, ptr %137, align 4, !tbaa !11
  %139 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 0
  %140 = load float, ptr %139, align 4, !tbaa !11
  %141 = fadd float %138, %140
  %142 = getelementptr inbounds %struct.complex, ptr %21, i32 0, i32 0
  store float %141, ptr %142, align 4, !tbaa !11
  %143 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 1
  %144 = load float, ptr %143, align 4, !tbaa !14
  %145 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 1
  %146 = load float, ptr %145, align 4, !tbaa !14
  %147 = fadd float %144, %146
  %148 = getelementptr inbounds %struct.complex, ptr %21, i32 0, i32 1
  store float %147, ptr %148, align 4, !tbaa !14
  %149 = getelementptr inbounds %struct.complex, ptr %21, i32 0, i32 0
  %150 = load float, ptr %149, align 4, !tbaa !11
  %151 = load ptr, ptr %10, align 8, !tbaa !5
  %152 = load i32, ptr %18, align 4, !tbaa !9
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds %struct.complex, ptr %151, i64 %153
  %155 = getelementptr inbounds %struct.complex, ptr %154, i32 0, i32 0
  store float %150, ptr %155, align 4, !tbaa !11
  %156 = getelementptr inbounds %struct.complex, ptr %21, i32 0, i32 1
  %157 = load float, ptr %156, align 4, !tbaa !14
  %158 = load ptr, ptr %10, align 8, !tbaa !5
  %159 = load i32, ptr %18, align 4, !tbaa !9
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds %struct.complex, ptr %158, i64 %160
  %162 = getelementptr inbounds %struct.complex, ptr %161, i32 0, i32 1
  store float %157, ptr %162, align 4, !tbaa !14
  %163 = load i32, ptr %28, align 4, !tbaa !9
  store i32 %163, ptr %18, align 4, !tbaa !9
  %164 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %164, ptr %19, align 4, !tbaa !9
  %165 = load ptr, ptr %14, align 8, !tbaa !5
  %166 = load i32, ptr %19, align 4, !tbaa !9
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds float, ptr %165, i64 %167
  %169 = load float, ptr %168, align 4, !tbaa !15
  %170 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 0
  %171 = load float, ptr %170, align 4, !tbaa !11
  %172 = fmul float %169, %171
  %173 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 0
  store float %172, ptr %173, align 4, !tbaa !11
  %174 = load ptr, ptr %14, align 8, !tbaa !5
  %175 = load i32, ptr %19, align 4, !tbaa !9
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds float, ptr %174, i64 %176
  %178 = load float, ptr %177, align 4, !tbaa !15
  %179 = getelementptr inbounds %struct.complex, ptr %30, i32 0, i32 1
  %180 = load float, ptr %179, align 4, !tbaa !14
  %181 = fmul float %178, %180
  %182 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 1
  store float %181, ptr %182, align 4, !tbaa !14
  %183 = load ptr, ptr %15, align 8, !tbaa !5
  %184 = load i32, ptr %26, align 4, !tbaa !9
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds %struct.complex, ptr %183, i64 %185
  %187 = call <2 x float> @Cf(ptr noundef %186)
  store <2 x float> %187, ptr %31, align 4
  %188 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 0
  %189 = load float, ptr %188, align 4
  %190 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 1
  %191 = load float, ptr %190, align 4
  %192 = fneg float %191
  %193 = call ptr @_pCf(ptr noundef %24)
  %194 = getelementptr inbounds { float, float }, ptr %193, i32 0, i32 0
  %195 = getelementptr inbounds { float, float }, ptr %193, i32 0, i32 1
  store float %189, ptr %194, align 4
  store float %192, ptr %195, align 4
  %196 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  %197 = load float, ptr %196, align 4, !tbaa !11
  %198 = getelementptr inbounds %struct.complex, ptr %29, i32 0, i32 0
  %199 = load float, ptr %198, align 4, !tbaa !11
  %200 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  %201 = load float, ptr %200, align 4, !tbaa !14
  %202 = getelementptr inbounds %struct.complex, ptr %29, i32 0, i32 1
  %203 = load float, ptr %202, align 4, !tbaa !14
  %204 = fmul float %201, %203
  %205 = fneg float %204
  %206 = call float @llvm.fmuladd.f32(float %197, float %199, float %205)
  %207 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 0
  store float %206, ptr %207, align 4, !tbaa !11
  %208 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  %209 = load float, ptr %208, align 4, !tbaa !11
  %210 = getelementptr inbounds %struct.complex, ptr %29, i32 0, i32 1
  %211 = load float, ptr %210, align 4, !tbaa !14
  %212 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  %213 = load float, ptr %212, align 4, !tbaa !14
  %214 = getelementptr inbounds %struct.complex, ptr %29, i32 0, i32 0
  %215 = load float, ptr %214, align 4, !tbaa !11
  %216 = fmul float %213, %215
  %217 = call float @llvm.fmuladd.f32(float %209, float %211, float %216)
  %218 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 1
  store float %217, ptr %218, align 4, !tbaa !14
  %219 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 0
  %220 = load float, ptr %219, align 4, !tbaa !11
  %221 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 0
  %222 = load float, ptr %221, align 4, !tbaa !11
  %223 = fsub float %220, %222
  %224 = getelementptr inbounds %struct.complex, ptr %21, i32 0, i32 0
  store float %223, ptr %224, align 4, !tbaa !11
  %225 = getelementptr inbounds %struct.complex, ptr %22, i32 0, i32 1
  %226 = load float, ptr %225, align 4, !tbaa !14
  %227 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 1
  %228 = load float, ptr %227, align 4, !tbaa !14
  %229 = fsub float %226, %228
  %230 = getelementptr inbounds %struct.complex, ptr %21, i32 0, i32 1
  store float %229, ptr %230, align 4, !tbaa !14
  %231 = getelementptr inbounds %struct.complex, ptr %21, i32 0, i32 0
  %232 = load float, ptr %231, align 4, !tbaa !11
  %233 = load ptr, ptr %12, align 8, !tbaa !5
  %234 = load i32, ptr %18, align 4, !tbaa !9
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds %struct.complex, ptr %233, i64 %235
  %237 = getelementptr inbounds %struct.complex, ptr %236, i32 0, i32 0
  store float %232, ptr %237, align 4, !tbaa !11
  %238 = getelementptr inbounds %struct.complex, ptr %21, i32 0, i32 1
  %239 = load float, ptr %238, align 4, !tbaa !14
  %240 = load ptr, ptr %12, align 8, !tbaa !5
  %241 = load i32, ptr %18, align 4, !tbaa !9
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds %struct.complex, ptr %240, i64 %242
  %244 = getelementptr inbounds %struct.complex, ptr %243, i32 0, i32 1
  store float %239, ptr %244, align 4, !tbaa !14
  %245 = load ptr, ptr %11, align 8, !tbaa !5
  %246 = load i32, ptr %245, align 4, !tbaa !9
  %247 = load i32, ptr %27, align 4, !tbaa !9
  %248 = add nsw i32 %247, %246
  store i32 %248, ptr %27, align 4, !tbaa !9
  %249 = load ptr, ptr %13, align 8, !tbaa !5
  %250 = load i32, ptr %249, align 4, !tbaa !9
  %251 = load i32, ptr %28, align 4, !tbaa !9
  %252 = add nsw i32 %251, %250
  store i32 %252, ptr %28, align 4, !tbaa !9
  %253 = load ptr, ptr %16, align 8, !tbaa !5
  %254 = load i32, ptr %253, align 4, !tbaa !9
  %255 = load i32, ptr %26, align 4, !tbaa !9
  %256 = add nsw i32 %255, %254
  store i32 %256, ptr %26, align 4, !tbaa !9
  br label %257

257:                                              ; preds = %46
  %258 = load i32, ptr %25, align 4, !tbaa !9
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %25, align 4, !tbaa !9
  br label %42, !llvm.loop !16

260:                                              ; preds = %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  ret void
}

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

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

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

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

; 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { 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 #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!13, !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


; 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 @clartv_(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5, ptr noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 {
  %9 = alloca %struct.complex, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %10 = getelementptr inbounds i8, ptr %6, i64 -8
  %11 = getelementptr inbounds i8, ptr %5, i64 -4
  %12 = getelementptr inbounds i8, ptr %3, i64 -8
  %13 = getelementptr inbounds i8, ptr %1, i64 -8
  %14 = load i32, ptr %0, align 4, !tbaa !5
  %.not80 = icmp slt i32 %14, 1
  br i1 %.not80, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %8
  %15 = getelementptr inbounds i8, ptr %9, i64 4
  br label %16

16:                                               ; preds = %.lr.ph, %16
  %.084 = phi i32 [ 1, %.lr.ph ], [ %67, %16 ]
  %.07783 = phi i32 [ 1, %.lr.ph ], [ %64, %16 ]
  %.07882 = phi i32 [ 1, %.lr.ph ], [ %62, %16 ]
  %.07981 = phi i32 [ 1, %.lr.ph ], [ %66, %16 ]
  %17 = sext i32 %.07882 to i64
  %18 = getelementptr inbounds %struct.complex, ptr %13, i64 %17
  %19 = sext i32 %.07783 to i64
  %20 = getelementptr inbounds %struct.complex, ptr %12, i64 %19
  %21 = sext i32 %.07981 to i64
  %22 = getelementptr inbounds float, ptr %11, i64 %21
  %23 = load float, ptr %22, align 4, !tbaa !9
  %24 = getelementptr inbounds %struct.complex, ptr %10, i64 %21
  %25 = load float, ptr %24, align 4, !tbaa !11
  %26 = getelementptr inbounds i8, ptr %24, i64 4
  %27 = load float, ptr %26, align 4, !tbaa !13
  %28 = fneg float %27
  %29 = load <2 x float>, ptr %18, align 4, !tbaa !9
  %30 = load <2 x float>, ptr %20, align 4, !tbaa !9
  %31 = insertelement <2 x float> poison, float %23, i64 0
  %32 = shufflevector <2 x float> %31, <2 x float> poison, <2 x i32> zeroinitializer
  %33 = fmul <2 x float> %29, %32
  %34 = insertelement <2 x float> poison, float %27, i64 0
  %35 = insertelement <2 x float> %34, float %28, i64 1
  %36 = fmul <2 x float> %30, %35
  %37 = shufflevector <2 x float> %36, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %38 = insertelement <2 x float> poison, float %25, i64 0
  %39 = shufflevector <2 x float> %38, <2 x float> poison, <2 x i32> zeroinitializer
  %40 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %39, <2 x float> %30, <2 x float> %37)
  %41 = fadd <2 x float> %33, %40
  store <2 x float> %41, ptr %18, align 4, !tbaa !9
  %42 = load float, ptr %22, align 4, !tbaa !9
  %43 = call <2 x float> @Cf(ptr noundef nonnull %24)
  %.sroa.0.0.vec.extract = extractelement <2 x float> %43, i64 0
  %.sroa.0.4.vec.extract = extractelement <2 x float> %43, i64 1
  %44 = fneg float %.sroa.0.4.vec.extract
  %45 = call ptr @_pCf(ptr noundef nonnull %9)
  %46 = getelementptr inbounds i8, ptr %45, i64 4
  store float %.sroa.0.0.vec.extract, ptr %45, align 4
  store float %44, ptr %46, align 4
  %47 = load float, ptr %9, align 4, !tbaa !11
  %48 = load float, ptr %15, align 4, !tbaa !13
  %49 = fneg float %48
  %50 = insertelement <2 x float> poison, float %42, i64 0
  %51 = shufflevector <2 x float> %50, <2 x float> poison, <2 x i32> zeroinitializer
  %52 = fmul <2 x float> %30, %51
  %53 = insertelement <2 x float> poison, float %48, i64 0
  %54 = insertelement <2 x float> %53, float %49, i64 1
  %55 = fmul <2 x float> %29, %54
  %56 = shufflevector <2 x float> %55, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %57 = insertelement <2 x float> poison, float %47, i64 0
  %58 = shufflevector <2 x float> %57, <2 x float> poison, <2 x i32> zeroinitializer
  %59 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %58, <2 x float> %29, <2 x float> %56)
  %60 = fsub <2 x float> %52, %59
  store <2 x float> %60, ptr %20, align 4, !tbaa !9
  %61 = load i32, ptr %2, align 4, !tbaa !5
  %62 = add nsw i32 %61, %.07882
  %63 = load i32, ptr %4, align 4, !tbaa !5
  %64 = add nsw i32 %63, %.07783
  %65 = load i32, ptr %7, align 4, !tbaa !5
  %66 = add nsw i32 %65, %.07981
  %67 = add nuw i32 %.084, 1
  %exitcond.not = icmp eq i32 %.084, %14
  br i1 %exitcond.not, label %._crit_edge, label %16, !llvm.loop !14

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

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

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

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

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

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

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 = { 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 #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = !{!12, !10, i64 0}
!12 = !{!"", !10, i64 0, !10, i64 4}
!13 = !{!12, !10, i64 4}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalDCEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass