; LLVM IR from o0o0o0o0o0o0o/image-processing-from-scratch :: ImageMatting/Eigen/blas (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.Eigen::CwiseBinaryOp.75" = type { %"class.Eigen::Map.9", %"class.Eigen::Map.9", [8 x i8] }
%"class.Eigen::CwiseBinaryOp.82" = type <{ %"class.Eigen::Map.36", %"class.Eigen::Map.36", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.89" = type <{ %"class.Eigen::Reverse", %"class.Eigen::Map.36", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.96" = type <{ %"class.Eigen::Map.36", %"class.Eigen::Reverse", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.103" = type <{ %"class.Eigen::Reverse", %"class.Eigen::Reverse", [8 x i8] }>

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

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

; 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_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Map.36") align 8, ptr noundef, i32 noundef, i32 noundef) #1

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

; Function Attrs: mustprogress uwtable
define dso_local double @ddot_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #1 {
  %6 = alloca double, align 8
  %7 = alloca ptr, align 8
  %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 %"class.Eigen::CwiseBinaryOp.75", align 8
  %15 = alloca %"class.Eigen::Map.9", align 8
  %16 = alloca %"class.Eigen::Map.9", align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.Eigen::CwiseBinaryOp.82", align 8
  %19 = alloca %"class.Eigen::Map.36", align 8
  %20 = alloca %"class.Eigen::Map.36", align 8
  %21 = alloca %"class.Eigen::CwiseBinaryOp.89", align 8
  %22 = alloca %"class.Eigen::Reverse", align 8
  %23 = alloca %"class.Eigen::Map.36", align 8
  %24 = alloca %"class.Eigen::Map.36", align 8
  %25 = alloca %"class.Eigen::CwiseBinaryOp.96", align 8
  %26 = alloca %"class.Eigen::Map.36", align 8
  %27 = alloca %"class.Eigen::Reverse", align 8
  %28 = alloca %"class.Eigen::Map.36", align 8
  %29 = alloca %"class.Eigen::CwiseBinaryOp.103", align 8
  %30 = alloca %"class.Eigen::Reverse", align 8
  %31 = alloca %"class.Eigen::Map.36", align 8
  %32 = alloca %"class.Eigen::Reverse", align 8
  %33 = alloca %"class.Eigen::Map.36", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = load i32, ptr %34, align 4, !tbaa !9
  %36 = icmp sle i32 %35, 0
  br i1 %36, label %37, label %38

37:                                               ; preds = %5
  store double 0.000000e+00, ptr %6, align 8
  br label %142

38:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %39, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %40, ptr %13, align 8, !tbaa !5
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = load i32, ptr %41, align 4, !tbaa !9
  %43 = icmp eq i32 %42, 1
  br i1 %43, label %44, label %56

44:                                               ; preds = %38
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  %46 = load i32, ptr %45, align 4, !tbaa !9
  %47 = icmp eq i32 %46, 1
  br i1 %47, label %48, label %56

48:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 56, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #3
  %49 = load ptr, ptr %12, align 8, !tbaa !5
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = load i32, ptr %50, align 4, !tbaa !9
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_6StrideILi0ELi0EEEEEPS3_i(ptr dead_on_unwind writable sret(%"class.Eigen::Map.9") align 8 %15, ptr noundef %49, i32 noundef %51)
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #3
  %52 = load ptr, ptr %13, align 8, !tbaa !5
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = load i32, ptr %53, align 4, !tbaa !9
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_6StrideILi0ELi0EEEEEPS3_i(ptr dead_on_unwind writable sret(%"class.Eigen::Map.9") align 8 %16, ptr noundef %52, i32 noundef %54)
  call void @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEE12cwiseProductIS6_EEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opIdNSA_6traitsIT_E6ScalarEEEKS6_KSD_EERKNS0_ISD_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8 %14, ptr noundef nonnull align 1 dereferenceable(1) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
  %55 = call noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEESB_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1) %14)
  store double %55, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 56, ptr %14) #3
  store i32 1, ptr %17, align 4
  br label %141

56:                                               ; preds = %44, %38
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  %58 = load i32, ptr %57, align 4, !tbaa !9
  %59 = icmp sgt i32 %58, 0
  br i1 %59, label %60, label %76

60:                                               ; preds = %56
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = icmp sgt i32 %62, 0
  br i1 %63, label %64, label %76

64:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 88, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #3
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = load i32, ptr %68, align 4, !tbaa !9
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %19, ptr noundef %65, i32 noundef %67, i32 noundef %69)
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #3
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = load i32, ptr %71, align 4, !tbaa !9
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = load i32, ptr %73, align 4, !tbaa !9
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %20, ptr noundef %70, i32 noundef %72, i32 noundef %74)
  call void @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE12cwiseProductIS6_EEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opIdNSA_6traitsIT_E6ScalarEEEKS6_KSD_EERKNS0_ISD_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.82") align 8 %18, ptr noundef nonnull align 1 dereferenceable(1) %19, ptr noundef nonnull align 1 dereferenceable(1) %20)
  %75 = call noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEESB_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1) %18)
  store double %75, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 88, ptr %18) #3
  store i32 1, ptr %17, align 4
  br label %141

76:                                               ; preds = %60, %56
  %77 = load ptr, ptr %9, align 8, !tbaa !5
  %78 = load i32, ptr %77, align 4, !tbaa !9
  %79 = icmp slt i32 %78, 0
  br i1 %79, label %80, label %97

80:                                               ; preds = %76
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = load i32, ptr %81, align 4, !tbaa !9
  %83 = icmp sgt i32 %82, 0
  br i1 %83, label %84, label %97

84:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 88, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #3
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = load i32, ptr %86, align 4, !tbaa !9
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = load i32, ptr %88, align 4, !tbaa !9
  %90 = sub nsw i32 0, %89
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %23, ptr noundef %85, i32 noundef %87, i32 noundef %90)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind writable sret(%"class.Eigen::Reverse") align 8 %22, ptr noundef nonnull align 1 dereferenceable(1) %23)
  call void @llvm.lifetime.start.p0(i64 40, ptr %24) #3
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  %95 = load i32, ptr %94, align 4, !tbaa !9
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %24, ptr noundef %91, i32 noundef %93, i32 noundef %95)
  call void @_ZNK5Eigen10MatrixBaseINS_7ReverseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEE12cwiseProductIS7_EEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opIdNSC_6traitsIT_E6ScalarEEEKS8_KSF_EERKNS0_ISF_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.89") align 8 %21, ptr noundef nonnull align 1 dereferenceable(1) %22, ptr noundef nonnull align 1 dereferenceable(1) %24)
  %96 = call noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_7ReverseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEKSB_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1) %21)
  store double %96, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 88, ptr %21) #3
  store i32 1, ptr %17, align 4
  br label %141

97:                                               ; preds = %80, %76
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = icmp sgt i32 %99, 0
  br i1 %100, label %101, label %118

101:                                              ; preds = %97
  %102 = load ptr, ptr %11, align 8, !tbaa !5
  %103 = load i32, ptr %102, align 4, !tbaa !9
  %104 = icmp slt i32 %103, 0
  br i1 %104, label %105, label %118

105:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 88, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #3
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  %108 = load i32, ptr %107, align 4, !tbaa !9
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = load i32, ptr %109, align 4, !tbaa !9
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %26, ptr noundef %106, i32 noundef %108, i32 noundef %110)
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #3
  %111 = load ptr, ptr %13, align 8, !tbaa !5
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = load i32, ptr %112, align 4, !tbaa !9
  %114 = load ptr, ptr %11, align 8, !tbaa !5
  %115 = load i32, ptr %114, align 4, !tbaa !9
  %116 = sub nsw i32 0, %115
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %28, ptr noundef %111, i32 noundef %113, i32 noundef %116)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind writable sret(%"class.Eigen::Reverse") align 8 %27, ptr noundef nonnull align 1 dereferenceable(1) %28)
  call void @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE12cwiseProductINS_7ReverseIS6_Li2EEEEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opIdNSC_6traitsIT_E6ScalarEEEKS6_KSF_EERKNS0_ISF_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.96") align 8 %25, ptr noundef nonnull align 1 dereferenceable(1) %26, ptr noundef nonnull align 1 dereferenceable(1) %27)
  %117 = call noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEKNS_7ReverseISA_Li2EEEEEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1) %25)
  store double %117, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #3
  store i32 1, ptr %17, align 4
  br label %141

118:                                              ; preds = %101, %97
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = load i32, ptr %119, align 4, !tbaa !9
  %121 = icmp slt i32 %120, 0
  br i1 %121, label %122, label %140

122:                                              ; preds = %118
  %123 = load ptr, ptr %11, align 8, !tbaa !5
  %124 = load i32, ptr %123, align 4, !tbaa !9
  %125 = icmp slt i32 %124, 0
  br i1 %125, label %126, label %140

126:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 88, ptr %29) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %30) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %31) #3
  %127 = load ptr, ptr %12, align 8, !tbaa !5
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = load i32, ptr %128, align 4, !tbaa !9
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = load i32, ptr %130, align 4, !tbaa !9
  %132 = sub nsw i32 0, %131
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %31, ptr noundef %127, i32 noundef %129, i32 noundef %132)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind writable sret(%"class.Eigen::Reverse") align 8 %30, ptr noundef nonnull align 1 dereferenceable(1) %31)
  call void @llvm.lifetime.start.p0(i64 40, ptr %32) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %33) #3
  %133 = load ptr, ptr %13, align 8, !tbaa !5
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = load i32, ptr %134, align 4, !tbaa !9
  %136 = load ptr, ptr %11, align 8, !tbaa !5
  %137 = load i32, ptr %136, align 4, !tbaa !9
  %138 = sub nsw i32 0, %137
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.36") align 8 %33, ptr noundef %133, i32 noundef %135, i32 noundef %138)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind writable sret(%"class.Eigen::Reverse") align 8 %32, ptr noundef nonnull align 1 dereferenceable(1) %33)
  call void @_ZNK5Eigen10MatrixBaseINS_7ReverseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEE12cwiseProductIS8_EEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opIdNSC_6traitsIT_E6ScalarEEEKS8_KSF_EERKNS0_ISF_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.103") align 8 %29, ptr noundef nonnull align 1 dereferenceable(1) %30, ptr noundef nonnull align 1 dereferenceable(1) %32)
  %139 = call noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_7ReverseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEESD_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1) %29)
  store double %139, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 88, ptr %29) #3
  store i32 1, ptr %17, align 4
  br label %141

140:                                              ; preds = %122, %118
  store double 0.000000e+00, ptr %6, align 8
  store i32 1, ptr %17, align 4
  br label %141

141:                                              ; preds = %140, %126, %105, %84, %64, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br label %142

142:                                              ; preds = %141, %37
  %143 = load double, ptr %6, align 8
  ret double %143
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEESB_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEESB_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_7ReverseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEKSB_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEKNS_7ReverseISA_Li2EEEEEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_7ReverseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEESD_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

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


; 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.Eigen::CwiseBinaryOp.75" = type { %"class.Eigen::Map.9", %"class.Eigen::Map.9", [8 x i8] }
%"class.Eigen::CwiseBinaryOp.82" = type <{ %"class.Eigen::Map.36", %"class.Eigen::Map.36", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.89" = type <{ %"class.Eigen::Reverse", %"class.Eigen::Map.36", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.96" = type <{ %"class.Eigen::Map.36", %"class.Eigen::Reverse", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.103" = type <{ %"class.Eigen::Reverse", %"class.Eigen::Reverse", [8 x i8] }>

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

; 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_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Map.36") align 8, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @ddot_(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #1 {
  %6 = alloca %"class.Eigen::CwiseBinaryOp.75", align 8
  %7 = alloca %"class.Eigen::Map.9", align 8
  %8 = alloca %"class.Eigen::Map.9", align 8
  %9 = alloca %"class.Eigen::CwiseBinaryOp.82", align 8
  %10 = alloca %"class.Eigen::Map.36", align 8
  %11 = alloca %"class.Eigen::Map.36", align 8
  %12 = alloca %"class.Eigen::CwiseBinaryOp.89", align 8
  %13 = alloca %"class.Eigen::Reverse", align 8
  %14 = alloca %"class.Eigen::Map.36", align 8
  %15 = alloca %"class.Eigen::Map.36", align 8
  %16 = alloca %"class.Eigen::CwiseBinaryOp.96", 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::CwiseBinaryOp.103", align 8
  %21 = alloca %"class.Eigen::Reverse", align 8
  %22 = alloca %"class.Eigen::Map.36", align 8
  %23 = alloca %"class.Eigen::Reverse", align 8
  %24 = alloca %"class.Eigen::Map.36", align 8
  %25 = load i32, ptr %0, align 4, !tbaa !5
  %26 = icmp slt i32 %25, 1
  br i1 %26, label %.thread43, label %27

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

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

33:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #3
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_6StrideILi0ELi0EEEEEPS3_i(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.9") align 8 %7, ptr noundef %1, i32 noundef %25)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #3
  %34 = load i32, ptr %0, align 4, !tbaa !5
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_6StrideILi0ELi0EEEEEPS3_i(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.9") align 8 %8, ptr noundef %3, i32 noundef %34)
  call void @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEEE12cwiseProductIS6_EEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opIdNSA_6traitsIT_E6ScalarEEEKS6_KSD_EERKNS0_ISD_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8 %6, ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef nonnull align 1 dereferenceable(1) %8)
  %35 = call noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEESB_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1) %6)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #3
  br label %.thread43

36:                                               ; preds = %27
  %37 = icmp sgt i32 %28, 0
  br i1 %37, label %thread-pre-split, label %44

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

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

40:                                               ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #3
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %10, ptr noundef %1, i32 noundef %25, i32 noundef %28)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #3
  %41 = load i32, ptr %0, align 4, !tbaa !5
  %42 = load i32, ptr %4, align 4, !tbaa !5
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %11, ptr noundef %3, i32 noundef %41, i32 noundef %42)
  call void @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE12cwiseProductIS6_EEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opIdNSA_6traitsIT_E6ScalarEEEKS6_KSD_EERKNS0_ISD_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.82") align 8 %9, ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
  %43 = call noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEESB_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %9) #3
  br label %.thread43

44:                                               ; preds = %36
  %45 = icmp slt i32 %28, 0
  br i1 %45, label %46, label %.thread43

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

49:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #3
  %50 = sub nsw i32 0, %28
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %14, ptr noundef %1, i32 noundef %25, i32 noundef %50)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Reverse") align 8 %13, ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #3
  %51 = load i32, ptr %0, align 4, !tbaa !5
  %52 = load i32, ptr %4, align 4, !tbaa !5
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %15, ptr noundef %3, i32 noundef %51, i32 noundef %52)
  call void @_ZNK5Eigen10MatrixBaseINS_7ReverseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEE12cwiseProductIS7_EEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opIdNSC_6traitsIT_E6ScalarEEEKS8_KSF_EERKNS0_ISF_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.89") align 8 %12, ptr noundef nonnull align 1 dereferenceable(1) %13, ptr noundef nonnull align 1 dereferenceable(1) %15)
  %53 = call noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_7ReverseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEKSB_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1) %12)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %12) #3
  br label %.thread43

54:                                               ; preds = %.thread
  %55 = icmp slt i32 %38, 0
  br i1 %55, label %56, label %.thread43

56:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %16) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #3
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %17, ptr noundef %1, i32 noundef %25, i32 noundef %28)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %18) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #3
  %57 = load i32, ptr %0, align 4, !tbaa !5
  %58 = load i32, ptr %4, align 4, !tbaa !5
  %59 = sub nsw i32 0, %58
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %19, ptr noundef %3, i32 noundef %57, i32 noundef %59)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Reverse") align 8 %18, ptr noundef nonnull align 1 dereferenceable(1) %19)
  call void @_ZNK5Eigen10MatrixBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE12cwiseProductINS_7ReverseIS6_Li2EEEEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opIdNSC_6traitsIT_E6ScalarEEEKS6_KSF_EERKNS0_ISF_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.96") align 8 %16, ptr noundef nonnull align 1 dereferenceable(1) %17, ptr noundef nonnull align 1 dereferenceable(1) %18)
  %60 = call noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEKNS_7ReverseISA_Li2EEEEEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1) %16)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #3
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %16) #3
  br label %.thread43

.thread43.thread:                                 ; preds = %46
  %61 = icmp slt i32 %47, 0
  br i1 %61, label %62, label %.thread43

62:                                               ; preds = %.thread43.thread
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %20) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %22) #3
  %63 = sub nsw i32 0, %28
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %22, ptr noundef %1, i32 noundef %25, i32 noundef %63)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Reverse") align 8 %21, ptr noundef nonnull align 1 dereferenceable(1) %22)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %23) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %24) #3
  %64 = load i32, ptr %0, align 4, !tbaa !5
  %65 = load i32, ptr %4, align 4, !tbaa !5
  %66 = sub nsw i32 0, %65
  call void @_Z11make_vectorIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELi1ELi0ELin1ELi1EEELi0ENS0_11InnerStrideILin1EEEEEPS3_ii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.36") align 8 %24, ptr noundef %3, i32 noundef %64, i32 noundef %66)
  call void @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEE7reverseEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Reverse") align 8 %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
  call void @_ZNK5Eigen10MatrixBaseINS_7ReverseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEE12cwiseProductIS8_EEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opIdNSC_6traitsIT_E6ScalarEEEKS8_KSF_EERKNS0_ISF_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.103") align 8 %20, ptr noundef nonnull align 1 dereferenceable(1) %21, ptr noundef nonnull align 1 dereferenceable(1) %23)
  %67 = call noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_7ReverseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEESD_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1) %20)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #3
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %20) #3
  br label %.thread43

.thread43:                                        ; preds = %54, %44, %33, %40, %49, %56, %62, %.thread43.thread, %5
  %.1 = phi double [ 0.000000e+00, %5 ], [ %35, %33 ], [ %43, %40 ], [ %53, %49 ], [ %60, %56 ], [ %67, %62 ], [ 0.000000e+00, %.thread43.thread ], [ 0.000000e+00, %44 ], [ 0.000000e+00, %54 ]
  ret double %.1
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_6StrideILi0ELi0EEEEESB_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEESB_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_7ReverseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEEKSB_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEEKNS_7ReverseISA_Li2EEEEEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen9DenseBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIddEEKNS_7ReverseINS_3MapINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0ENS_11InnerStrideILin1EEEEELi2EEESD_EEE3sumEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

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


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