; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (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 i32 @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 i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %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 i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca %struct.complex, align 4
  %30 = alloca %struct.complex, 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 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  %31 = load ptr, ptr %15, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.complex, ptr %31, i32 -1
  store ptr %32, ptr %15, align 8, !tbaa !5
  %33 = load ptr, ptr %14, align 8, !tbaa !5
  %34 = getelementptr inbounds float, ptr %33, i32 -1
  store ptr %34, ptr %14, align 8, !tbaa !5
  %35 = load ptr, ptr %12, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.complex, ptr %35, i32 -1
  store ptr %36, ptr %12, align 8, !tbaa !5
  %37 = load ptr, ptr %10, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.complex, ptr %37, i32 -1
  store ptr %38, ptr %10, align 8, !tbaa !5
  store i64 1, ptr %27, align 8, !tbaa !9
  store i64 1, ptr %28, align 8, !tbaa !9
  store i64 1, ptr %26, align 8, !tbaa !9
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = load i64, ptr %39, align 8, !tbaa !9
  store i64 %40, ptr %17, align 8, !tbaa !9
  store i64 1, ptr %25, align 8, !tbaa !9
  br label %41

41:                                               ; preds = %230, %8
  %42 = load i64, ptr %25, align 8, !tbaa !9
  %43 = load i64, ptr %17, align 8, !tbaa !9
  %44 = icmp sle i64 %42, %43
  br i1 %44, label %45, label %233

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

230:                                              ; preds = %45
  %231 = load i64, ptr %25, align 8, !tbaa !9
  %232 = add nsw i64 %231, 1
  store i64 %232, ptr %25, align 8, !tbaa !9
  br label %41, !llvm.loop !16

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

; 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

declare void @r_cnjg(ptr noundef, ptr noundef) #3

; 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"="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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "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 }

!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 = !{!"long", !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 noundef i32 @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) #4
  %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 i64, ptr %0, align 8, !tbaa !5
  %.not79 = icmp slt i64 %14, 1
  br i1 %.not79, 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
  %.083 = phi i64 [ 1, %.lr.ph ], [ %57, %16 ]
  %.07682 = phi i64 [ 1, %.lr.ph ], [ %55, %16 ]
  %.07781 = phi i64 [ 1, %.lr.ph ], [ %59, %16 ]
  %.07880 = phi i64 [ 1, %.lr.ph ], [ %60, %16 ]
  %17 = getelementptr inbounds %struct.complex, ptr %13, i64 %.07682
  %18 = getelementptr inbounds %struct.complex, ptr %12, i64 %.083
  %19 = getelementptr inbounds float, ptr %11, i64 %.07781
  %20 = load float, ptr %19, align 4, !tbaa !9
  %21 = getelementptr inbounds %struct.complex, ptr %10, i64 %.07781
  %22 = load float, ptr %21, align 4, !tbaa !11
  %23 = getelementptr inbounds i8, ptr %21, i64 4
  %24 = load float, ptr %23, align 4, !tbaa !13
  %25 = fneg float %24
  %26 = load <2 x float>, ptr %17, align 4, !tbaa !9
  %27 = load <2 x float>, ptr %18, align 4, !tbaa !9
  %28 = insertelement <2 x float> poison, float %20, i64 0
  %29 = shufflevector <2 x float> %28, <2 x float> poison, <2 x i32> zeroinitializer
  %30 = fmul <2 x float> %26, %29
  %31 = insertelement <2 x float> poison, float %24, i64 0
  %32 = insertelement <2 x float> %31, float %25, i64 1
  %33 = fmul <2 x float> %27, %32
  %34 = shufflevector <2 x float> %33, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %35 = insertelement <2 x float> poison, float %22, i64 0
  %36 = shufflevector <2 x float> %35, <2 x float> poison, <2 x i32> zeroinitializer
  %37 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %36, <2 x float> %27, <2 x float> %34)
  %38 = fadd <2 x float> %30, %37
  store <2 x float> %38, ptr %17, align 4, !tbaa !9
  %39 = load float, ptr %19, align 4, !tbaa !9
  call void @r_cnjg(ptr noundef nonnull %9, ptr noundef nonnull %21) #4
  %40 = load float, ptr %9, align 4, !tbaa !11
  %41 = load float, ptr %15, align 4, !tbaa !13
  %42 = fneg float %41
  %43 = insertelement <2 x float> poison, float %39, i64 0
  %44 = shufflevector <2 x float> %43, <2 x float> poison, <2 x i32> zeroinitializer
  %45 = fmul <2 x float> %27, %44
  %46 = insertelement <2 x float> poison, float %41, i64 0
  %47 = insertelement <2 x float> %46, float %42, i64 1
  %48 = fmul <2 x float> %26, %47
  %49 = shufflevector <2 x float> %48, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %50 = insertelement <2 x float> poison, float %40, i64 0
  %51 = shufflevector <2 x float> %50, <2 x float> poison, <2 x i32> zeroinitializer
  %52 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %51, <2 x float> %26, <2 x float> %49)
  %53 = fsub <2 x float> %45, %52
  store <2 x float> %53, ptr %18, align 4, !tbaa !9
  %54 = load i64, ptr %2, align 8, !tbaa !5
  %55 = add nsw i64 %54, %.07682
  %56 = load i64, ptr %4, align 8, !tbaa !5
  %57 = add nsw i64 %56, %.083
  %58 = load i64, ptr %7, align 8, !tbaa !5
  %59 = add nsw i64 %58, %.07781
  %60 = add nuw i64 %.07880, 1
  %exitcond.not = icmp eq i64 %.07880, %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) #4
  ret i32 0
}

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

declare void @r_cnjg(ptr noundef, ptr noundef) 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) #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>) #3

attributes #0 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = !{!"long", !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