; LLVM IR from o0o0o0o0o0o0o/image-processing-from-scratch :: ImageMatting/Eigen/blas (complex_double)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.Eigen::Map.9" = type { %"class.Eigen::MapBase.base.19", [7 x i8] }
%"class.Eigen::MapBase.base.19" = type { %"class.Eigen::MapBase.base.18" }
%"class.Eigen::MapBase.base.18" = type <{ ptr, %"class.Eigen::internal::variable_if_dynamic", i8 }>
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::Map.36" = type { %"class.Eigen::MapBase.base.46", %"class.Eigen::InnerStride" }
%"class.Eigen::MapBase.base.46" = type { %"class.Eigen::MapBase.base.45" }
%"class.Eigen::MapBase.base.45" = type <{ ptr, %"class.Eigen::internal::variable_if_dynamic", i8 }>
%"class.Eigen::InnerStride" = type { %"class.Eigen::Stride" }
%"class.Eigen::Stride" = type { [8 x i8], %"class.Eigen::internal::variable_if_dynamic" }
%"class.Eigen::Reverse" = type { %"class.Eigen::Map.36" }
%"class.std::complex" = type { { double, double } }

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Map.9") align 8, ptr noundef, i32 noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Map.36") align 8, ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Reverse") align 8, ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local i32 @zdotcw_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #2 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %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 %"class.std::complex", align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::complex", align 8
  %20 = alloca %"class.Eigen::Map.9", align 8
  %21 = alloca %"class.Eigen::Map.9", align 8
  %22 = alloca %"class.std::complex", align 8
  %23 = alloca %"class.Eigen::Map.36", align 8
  %24 = alloca %"class.Eigen::Map.36", align 8
  %25 = alloca %"class.std::complex", align 8
  %26 = alloca %"class.Eigen::Reverse", align 8
  %27 = alloca %"class.Eigen::Map.36", align 8
  %28 = alloca %"class.Eigen::Map.36", align 8
  %29 = alloca %"class.std::complex", align 8
  %30 = alloca %"class.Eigen::Map.36", align 8
  %31 = alloca %"class.Eigen::Reverse", align 8
  %32 = alloca %"class.Eigen::Map.36", align 8
  %33 = alloca %"class.std::complex", align 8
  %34 = alloca %"class.Eigen::Reverse", align 8
  %35 = alloca %"class.Eigen::Map.36", align 8
  %36 = alloca %"class.Eigen::Reverse", align 8
  %37 = alloca %"class.Eigen::Map.36", align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %38, ptr %14, align 8, !tbaa !5
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = load i32, ptr %39, align 4, !tbaa !9
  %41 = icmp sle i32 %40, 0
  br i1 %41, label %42, label %44

42:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %15, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %43 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %43, ptr align 8 %15, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %181

44:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %45, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %46, ptr %18, align 8, !tbaa !5
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = load i32, ptr %47, align 4, !tbaa !9
  %49 = icmp eq i32 %48, 1
  br i1 %49, label %50, label %68

50:                                               ; preds = %44
  %51 = load ptr, ptr %12, align 8, !tbaa !5
  %52 = load i32, ptr %51, align 4, !tbaa !9
  %53 = icmp eq i32 %52, 1
  br i1 %53, label %54, label %68

54:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #5
  %55 = load ptr, ptr %17, align 8, !tbaa !5
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = load i32, ptr %56, align 4, !tbaa !9
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind writable sret(%"class.Eigen::Map.9") align 8 %20, ptr noundef %55, i32 noundef %57)
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #5
  %58 = load ptr, ptr %18, align 8, !tbaa !5
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = load i32, ptr %59, align 4, !tbaa !9
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind writable sret(%"class.Eigen::Map.9") align 8 %21, ptr noundef %58, i32 noundef %60)
  %61 = call { double, double } @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEE3dotIS8_EENS_20ScalarBinaryOpTraitsIS4_NS_8internal6traitsIT_E6ScalarENSC_17scalar_product_opIS4_SG_EEE10ReturnTypeERKNS0_ISE_EE(ptr noundef nonnull align 1 dereferenceable(1) %20, ptr noundef nonnull align 1 dereferenceable(1) %21)
  %62 = getelementptr inbounds %"class.std::complex", ptr %19, i32 0, i32 0
  %63 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 0
  %64 = extractvalue { double, double } %61, 0
  store double %64, ptr %63, align 8
  %65 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 1
  %66 = extractvalue { double, double } %61, 1
  store double %66, ptr %65, align 8
  %67 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %67, ptr align 8 %19, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  br label %180

68:                                               ; preds = %50, %44
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = icmp sgt i32 %70, 0
  br i1 %71, label %72, label %94

72:                                               ; preds = %68
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  %74 = load i32, ptr %73, align 4, !tbaa !9
  %75 = icmp sgt i32 %74, 0
  br i1 %75, label %76, label %94

76:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #5
  %77 = load ptr, ptr %17, align 8, !tbaa !5
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = load i32, ptr %78, align 4, !tbaa !9
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = load i32, ptr %80, align 4, !tbaa !9
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %23, ptr noundef %77, i32 noundef %79, i32 noundef %81)
  call void @llvm.lifetime.start.p0(i64 40, ptr %24) #5
  %82 = load ptr, ptr %18, align 8, !tbaa !5
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = load i32, ptr %85, align 4, !tbaa !9
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %24, ptr noundef %82, i32 noundef %84, i32 noundef %86)
  %87 = call { double, double } @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE3dotIS8_EENS_20ScalarBinaryOpTraitsIS4_NS_8internal6traitsIT_E6ScalarENSC_17scalar_product_opIS4_SG_EEE10ReturnTypeERKNS0_ISE_EE(ptr noundef nonnull align 1 dereferenceable(1) %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
  %88 = getelementptr inbounds %"class.std::complex", ptr %22, i32 0, i32 0
  %89 = getelementptr inbounds { double, double }, ptr %88, i32 0, i32 0
  %90 = extractvalue { double, double } %87, 0
  store double %90, ptr %89, align 8
  %91 = getelementptr inbounds { double, double }, ptr %88, i32 0, i32 1
  %92 = extractvalue { double, double } %87, 1
  store double %92, ptr %91, align 8
  %93 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %93, ptr align 8 %22, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  br label %179

94:                                               ; preds = %72, %68
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = load i32, ptr %95, align 4, !tbaa !9
  %97 = icmp slt i32 %96, 0
  br i1 %97, label %98, label %121

98:                                               ; preds = %94
  %99 = load ptr, ptr %12, align 8, !tbaa !5
  %100 = load i32, ptr %99, align 4, !tbaa !9
  %101 = icmp sgt i32 %100, 0
  br i1 %101, label %102, label %121

102:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #5
  %103 = load ptr, ptr %17, align 8, !tbaa !5
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = load i32, ptr %104, align 4, !tbaa !9
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  %107 = load i32, ptr %106, align 4, !tbaa !9
  %108 = sub nsw i32 0, %107
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %27, ptr noundef %103, i32 noundef %105, i32 noundef %108)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind writable sret(%"class.Eigen::Reverse") align 8 %26, ptr noundef nonnull align 1 dereferenceable(1) %27)
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #5
  %109 = load ptr, ptr %18, align 8, !tbaa !5
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = load i32, ptr %110, align 4, !tbaa !9
  %112 = load ptr, ptr %12, align 8, !tbaa !5
  %113 = load i32, ptr %112, align 4, !tbaa !9
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %28, ptr noundef %109, i32 noundef %111, i32 noundef %113)
  %114 = call { double, double } @_ZNK5Eigen10MatrixBaseINS_7ReverseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEE3dotIS9_EENS_20ScalarBinaryOpTraitsIS5_NS_8internal6traitsIT_E6ScalarENSE_17scalar_product_opIS5_SI_EEE10ReturnTypeERKNS0_ISG_EE(ptr noundef nonnull align 1 dereferenceable(1) %26, ptr noundef nonnull align 1 dereferenceable(1) %28)
  %115 = getelementptr inbounds %"class.std::complex", ptr %25, i32 0, i32 0
  %116 = getelementptr inbounds { double, double }, ptr %115, i32 0, i32 0
  %117 = extractvalue { double, double } %114, 0
  store double %117, ptr %116, align 8
  %118 = getelementptr inbounds { double, double }, ptr %115, i32 0, i32 1
  %119 = extractvalue { double, double } %114, 1
  store double %119, ptr %118, align 8
  %120 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %120, ptr align 8 %25, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  br label %178

121:                                              ; preds = %98, %94
  %122 = load ptr, ptr %10, align 8, !tbaa !5
  %123 = load i32, ptr %122, align 4, !tbaa !9
  %124 = icmp sgt i32 %123, 0
  br i1 %124, label %125, label %148

125:                                              ; preds = %121
  %126 = load ptr, ptr %12, align 8, !tbaa !5
  %127 = load i32, ptr %126, align 4, !tbaa !9
  %128 = icmp slt i32 %127, 0
  br i1 %128, label %129, label %148

129:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %30) #5
  %130 = load ptr, ptr %17, align 8, !tbaa !5
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = load i32, ptr %131, align 4, !tbaa !9
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = load i32, ptr %133, align 4, !tbaa !9
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %30, ptr noundef %130, i32 noundef %132, i32 noundef %134)
  call void @llvm.lifetime.start.p0(i64 40, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %32) #5
  %135 = load ptr, ptr %18, align 8, !tbaa !5
  %136 = load ptr, ptr %8, align 8, !tbaa !5
  %137 = load i32, ptr %136, align 4, !tbaa !9
  %138 = load ptr, ptr %12, align 8, !tbaa !5
  %139 = load i32, ptr %138, align 4, !tbaa !9
  %140 = sub nsw i32 0, %139
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %32, ptr noundef %135, i32 noundef %137, i32 noundef %140)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind writable sret(%"class.Eigen::Reverse") align 8 %31, ptr noundef nonnull align 1 dereferenceable(1) %32)
  %141 = call { double, double } @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE3dotINS_7ReverseIS8_Li2EEEEENS_20ScalarBinaryOpTraitsIS4_NS_8internal6traitsIT_E6ScalarENSE_17scalar_product_opIS4_SI_EEE10ReturnTypeERKNS0_ISG_EE(ptr noundef nonnull align 1 dereferenceable(1) %30, ptr noundef nonnull align 1 dereferenceable(1) %31)
  %142 = getelementptr inbounds %"class.std::complex", ptr %29, i32 0, i32 0
  %143 = getelementptr inbounds { double, double }, ptr %142, i32 0, i32 0
  %144 = extractvalue { double, double } %141, 0
  store double %144, ptr %143, align 8
  %145 = getelementptr inbounds { double, double }, ptr %142, i32 0, i32 1
  %146 = extractvalue { double, double } %141, 1
  store double %146, ptr %145, align 8
  %147 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %147, ptr align 8 %29, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  br label %177

148:                                              ; preds = %125, %121
  %149 = load ptr, ptr %10, align 8, !tbaa !5
  %150 = load i32, ptr %149, align 4, !tbaa !9
  %151 = icmp slt i32 %150, 0
  br i1 %151, label %152, label %176

152:                                              ; preds = %148
  %153 = load ptr, ptr %12, align 8, !tbaa !5
  %154 = load i32, ptr %153, align 4, !tbaa !9
  %155 = icmp slt i32 %154, 0
  br i1 %155, label %156, label %176

156:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %35) #5
  %157 = load ptr, ptr %17, align 8, !tbaa !5
  %158 = load ptr, ptr %8, align 8, !tbaa !5
  %159 = load i32, ptr %158, align 4, !tbaa !9
  %160 = load ptr, ptr %10, align 8, !tbaa !5
  %161 = load i32, ptr %160, align 4, !tbaa !9
  %162 = sub nsw i32 0, %161
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %35, ptr noundef %157, i32 noundef %159, i32 noundef %162)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind writable sret(%"class.Eigen::Reverse") align 8 %34, ptr noundef nonnull align 1 dereferenceable(1) %35)
  call void @llvm.lifetime.start.p0(i64 40, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %37) #5
  %163 = load ptr, ptr %18, align 8, !tbaa !5
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  %165 = load i32, ptr %164, align 4, !tbaa !9
  %166 = load ptr, ptr %12, align 8, !tbaa !5
  %167 = load i32, ptr %166, align 4, !tbaa !9
  %168 = sub nsw i32 0, %167
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %37, ptr noundef %163, i32 noundef %165, i32 noundef %168)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind writable sret(%"class.Eigen::Reverse") align 8 %36, ptr noundef nonnull align 1 dereferenceable(1) %37)
  %169 = call { double, double } @_ZNK5Eigen10MatrixBaseINS_7ReverseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEE3dotISA_EENS_20ScalarBinaryOpTraitsIS5_NS_8internal6traitsIT_E6ScalarENSE_17scalar_product_opIS5_SI_EEE10ReturnTypeERKNS0_ISG_EE(ptr noundef nonnull align 1 dereferenceable(1) %34, ptr noundef nonnull align 1 dereferenceable(1) %36)
  %170 = getelementptr inbounds %"class.std::complex", ptr %33, i32 0, i32 0
  %171 = getelementptr inbounds { double, double }, ptr %170, i32 0, i32 0
  %172 = extractvalue { double, double } %169, 0
  store double %172, ptr %171, align 8
  %173 = getelementptr inbounds { double, double }, ptr %170, i32 0, i32 1
  %174 = extractvalue { double, double } %169, 1
  store double %174, ptr %173, align 8
  %175 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %175, ptr align 8 %33, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 40, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #5
  br label %176

176:                                              ; preds = %156, %152, %148
  br label %177

177:                                              ; preds = %176, %129
  br label %178

178:                                              ; preds = %177, %102
  br label %179

179:                                              ; preds = %178, %76
  br label %180

180:                                              ; preds = %179, %54
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %181

181:                                              ; preds = %180, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %182 = load i32, ptr %7, align 4
  ret i32 %182
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEE3dotIS8_EENS_20ScalarBinaryOpTraitsIS4_NS_8internal6traitsIT_E6ScalarENSC_17scalar_product_opIS4_SG_EEE10ReturnTypeERKNS0_ISE_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE3dotIS8_EENS_20ScalarBinaryOpTraitsIS4_NS_8internal6traitsIT_E6ScalarENSC_17scalar_product_opIS4_SG_EEE10ReturnTypeERKNS0_ISE_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK5Eigen10MatrixBaseINS_7ReverseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEE3dotIS9_EENS_20ScalarBinaryOpTraitsIS5_NS_8internal6traitsIT_E6ScalarENSE_17scalar_product_opIS5_SI_EEE10ReturnTypeERKNS0_ISG_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE3dotINS_7ReverseIS8_Li2EEEEENS_20ScalarBinaryOpTraitsIS4_NS_8internal6traitsIT_E6ScalarENSE_17scalar_product_opIS4_SI_EEE10ReturnTypeERKNS0_ISG_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK5Eigen10MatrixBaseINS_7ReverseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEE3dotISA_EENS_20ScalarBinaryOpTraitsIS5_NS_8internal6traitsIT_E6ScalarENSE_17scalar_product_opIS5_SI_EEE10ReturnTypeERKNS0_ISG_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.Eigen::Map.9" = type { %"class.Eigen::MapBase.base.19", [7 x i8] }
%"class.Eigen::MapBase.base.19" = type { %"class.Eigen::MapBase.base.18" }
%"class.Eigen::MapBase.base.18" = type <{ ptr, %"class.Eigen::internal::variable_if_dynamic", i8 }>
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::Map.36" = type { %"class.Eigen::MapBase.base.46", %"class.Eigen::InnerStride" }
%"class.Eigen::MapBase.base.46" = type { %"class.Eigen::MapBase.base.45" }
%"class.Eigen::MapBase.base.45" = type <{ ptr, %"class.Eigen::internal::variable_if_dynamic", i8 }>
%"class.Eigen::InnerStride" = type { %"class.Eigen::Stride" }
%"class.Eigen::Stride" = type { [8 x i8], %"class.Eigen::internal::variable_if_dynamic" }
%"class.Eigen::Reverse" = type { %"class.Eigen::Map.36" }
%"class.std::complex" = type { { double, double } }

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Map.9") align 8, ptr noundef, i32 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) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Map.36") align 8, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Reverse") align 8, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @zdotcw_(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3, ptr nocapture noundef readonly %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #2 {
  %7 = alloca %"class.std::complex", align 8
  %8 = alloca %"class.Eigen::Map.9", align 8
  %9 = alloca %"class.Eigen::Map.9", align 8
  %10 = alloca %"class.Eigen::Map.36", align 8
  %11 = alloca %"class.Eigen::Map.36", align 8
  %12 = alloca %"class.Eigen::Reverse", align 8
  %13 = alloca %"class.Eigen::Map.36", align 8
  %14 = alloca %"class.Eigen::Map.36", align 8
  %15 = alloca %"class.Eigen::Map.36", align 8
  %16 = alloca %"class.Eigen::Reverse", align 8
  %17 = alloca %"class.Eigen::Map.36", align 8
  %18 = alloca %"class.Eigen::Reverse", align 8
  %19 = alloca %"class.Eigen::Map.36", align 8
  %20 = alloca %"class.Eigen::Reverse", align 8
  %21 = alloca %"class.Eigen::Map.36", align 8
  %22 = load i32, ptr %0, align 4, !tbaa !5
  %23 = icmp slt i32 %22, 1
  br i1 %23, label %24, label %25

24:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %7, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  br label %.thread57

25:                                               ; preds = %6
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = icmp eq i32 %26, 1
  br i1 %27, label %28, label %36

28:                                               ; preds = %25
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = icmp eq i32 %29, 1
  br i1 %30, label %31, label %.thread

31:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.9") align 8 %8, ptr noundef %1, i32 noundef %22)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  %32 = load i32, ptr %0, align 4, !tbaa !5
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_6StrideILi0ELi0EEEEEPS5_i(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.9") align 8 %9, ptr noundef %3, i32 noundef %32)
  %33 = call { double, double } @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEE3dotIS8_EENS_20ScalarBinaryOpTraitsIS4_NS_8internal6traitsIT_E6ScalarENSC_17scalar_product_opIS4_SG_EEE10ReturnTypeERKNS0_ISE_EE(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
  %34 = extractvalue { double, double } %33, 0
  %35 = extractvalue { double, double } %33, 1
  store double %34, ptr %5, align 8
  %.sroa.48.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  store double %35, ptr %.sroa.48.0..sroa_idx, align 8, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  br label %.thread57

36:                                               ; preds = %25
  %37 = icmp sgt i32 %26, 0
  br i1 %37, label %thread-pre-split, label %46

thread-pre-split:                                 ; preds = %36
  %.pr = load i32, ptr %4, align 4, !tbaa !5
  br label %.thread

.thread:                                          ; preds = %28, %thread-pre-split
  %38 = phi i32 [ %.pr, %thread-pre-split ], [ %29, %28 ]
  %39 = icmp sgt i32 %38, 0
  br i1 %39, label %40, label %58

40:                                               ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #5
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %10, ptr noundef %1, i32 noundef %22, i32 noundef %26)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #5
  %41 = load i32, ptr %0, align 4, !tbaa !5
  %42 = load i32, ptr %4, align 4, !tbaa !5
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %11, ptr noundef %3, i32 noundef %41, i32 noundef %42)
  %43 = call { double, double } @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE3dotIS8_EENS_20ScalarBinaryOpTraitsIS4_NS_8internal6traitsIT_E6ScalarENSC_17scalar_product_opIS4_SG_EEE10ReturnTypeERKNS0_ISE_EE(ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
  %44 = extractvalue { double, double } %43, 0
  %45 = extractvalue { double, double } %43, 1
  store double %44, ptr %5, align 8
  %.sroa.46.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  store double %45, ptr %.sroa.46.0..sroa_idx, align 8, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #5
  br label %.thread57

46:                                               ; preds = %36
  %47 = icmp slt i32 %26, 0
  br i1 %47, label %48, label %.thread57

48:                                               ; preds = %46
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = icmp sgt i32 %49, 0
  br i1 %50, label %51, label %.thread57.thread

51:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #5
  %52 = sub nsw i32 0, %26
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %13, ptr noundef %1, i32 noundef %22, i32 noundef %52)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Reverse") align 8 %12, ptr noundef nonnull align 1 dereferenceable(1) %13)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #5
  %53 = load i32, ptr %0, align 4, !tbaa !5
  %54 = load i32, ptr %4, align 4, !tbaa !5
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %14, ptr noundef %3, i32 noundef %53, i32 noundef %54)
  %55 = call { double, double } @_ZNK5Eigen10MatrixBaseINS_7ReverseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEE3dotIS9_EENS_20ScalarBinaryOpTraitsIS5_NS_8internal6traitsIT_E6ScalarENSE_17scalar_product_opIS5_SI_EEE10ReturnTypeERKNS0_ISG_EE(ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef nonnull align 1 dereferenceable(1) %14)
  %56 = extractvalue { double, double } %55, 0
  %57 = extractvalue { double, double } %55, 1
  store double %56, ptr %5, align 8
  %.sroa.44.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  store double %57, ptr %.sroa.44.0..sroa_idx, align 8, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #5
  br label %.thread57

58:                                               ; preds = %.thread
  %59 = icmp slt i32 %38, 0
  br i1 %59, label %60, label %.thread57

60:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #5
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %15, ptr noundef %1, i32 noundef %22, i32 noundef %26)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #5
  %61 = load i32, ptr %0, align 4, !tbaa !5
  %62 = load i32, ptr %4, align 4, !tbaa !5
  %63 = sub nsw i32 0, %62
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %17, ptr noundef %3, i32 noundef %61, i32 noundef %63)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Reverse") align 8 %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
  %64 = call { double, double } @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE3dotINS_7ReverseIS8_Li2EEEEENS_20ScalarBinaryOpTraitsIS4_NS_8internal6traitsIT_E6ScalarENSE_17scalar_product_opIS4_SI_EEE10ReturnTypeERKNS0_ISG_EE(ptr noundef nonnull align 1 dereferenceable(1) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
  %65 = extractvalue { double, double } %64, 0
  %66 = extractvalue { double, double } %64, 1
  store double %65, ptr %5, align 8
  %.sroa.42.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  store double %66, ptr %.sroa.42.0..sroa_idx, align 8, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #5
  br label %.thread57

.thread57.thread:                                 ; preds = %48
  %67 = icmp slt i32 %49, 0
  br i1 %67, label %68, label %.thread57

68:                                               ; preds = %.thread57.thread
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #5
  %69 = sub nsw i32 0, %26
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %19, ptr noundef %1, i32 noundef %22, i32 noundef %69)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Reverse") align 8 %18, ptr noundef nonnull align 1 dereferenceable(1) %19)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #5
  %70 = load i32, ptr %0, align 4, !tbaa !5
  %71 = load i32, ptr %4, align 4, !tbaa !5
  %72 = sub nsw i32 0, %71
  call void @_Z11make_vectorISt7complexIdEEN5Eigen3MapINS2_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS2_11InnerStrideILin1EEEEEPS5_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %21, ptr noundef %3, i32 noundef %70, i32 noundef %72)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Reverse") align 8 %20, ptr noundef nonnull align 1 dereferenceable(1) %21)
  %73 = call { double, double } @_ZNK5Eigen10MatrixBaseINS_7ReverseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEE3dotISA_EENS_20ScalarBinaryOpTraitsIS5_NS_8internal6traitsIT_E6ScalarENSE_17scalar_product_opIS5_SI_EEE10ReturnTypeERKNS0_ISG_EE(ptr noundef nonnull align 1 dereferenceable(1) %18, ptr noundef nonnull align 1 dereferenceable(1) %20)
  %74 = extractvalue { double, double } %73, 0
  %75 = extractvalue { double, double } %73, 1
  store double %74, ptr %5, align 8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  store double %75, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #5
  br label %.thread57

.thread57:                                        ; preds = %58, %46, %31, %51, %.thread57.thread, %68, %60, %40, %24
  ret i32 0
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEE3dotIS8_EENS_20ScalarBinaryOpTraitsIS4_NS_8internal6traitsIT_E6ScalarENSC_17scalar_product_opIS4_SG_EEE10ReturnTypeERKNS0_ISE_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE3dotIS8_EENS_20ScalarBinaryOpTraitsIS4_NS_8internal6traitsIT_E6ScalarENSC_17scalar_product_opIS4_SG_EEE10ReturnTypeERKNS0_ISE_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK5Eigen10MatrixBaseINS_7ReverseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEE3dotIS9_EENS_20ScalarBinaryOpTraitsIS5_NS_8internal6traitsIT_E6ScalarENSE_17scalar_product_opIS5_SI_EEE10ReturnTypeERKNS0_ISG_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE3dotINS_7ReverseIS8_Li2EEEEENS_20ScalarBinaryOpTraitsIS4_NS_8internal6traitsIT_E6ScalarENSE_17scalar_product_opIS4_SI_EEE10ReturnTypeERKNS0_ISG_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZNK5Eigen10MatrixBaseINS_7ReverseINS_3MapINS_6MatrixISt7complexIdELin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEE3dotISA_EENS_20ScalarBinaryOpTraitsIS5_NS_8internal6traitsIT_E6ScalarENSE_17scalar_product_opIS5_SI_EEE10ReturnTypeERKNS0_ISG_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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++ TBAA"}
!9 = !{i64 0, i64 16, !10}
!10 = !{!7, !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass