; LLVM IR from o0o0o0o0o0o0o/image-processing-from-scratch :: ImageMatting/Eigen/bench (benchCholesky)

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.Eigen::Matrix" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { ptr, i64, i64 }
%"class.Eigen::Matrix.2" = type { %"class.Eigen::PlainObjectBase.3" }
%"class.Eigen::PlainObjectBase.3" = type { %"class.Eigen::DenseStorage.10" }
%"class.Eigen::DenseStorage.10" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [4 x float] }
%"class.Eigen::Matrix.11" = type { %"class.Eigen::PlainObjectBase.12" }
%"class.Eigen::PlainObjectBase.12" = type { %"class.Eigen::DenseStorage.19" }
%"class.Eigen::DenseStorage.19" = type { %"struct.Eigen::internal::plain_array.20" }
%"struct.Eigen::internal::plain_array.20" = type { [9 x float] }
%"class.Eigen::Matrix.21" = type { %"class.Eigen::PlainObjectBase.22" }
%"class.Eigen::PlainObjectBase.22" = type { %"class.Eigen::DenseStorage.29" }
%"class.Eigen::DenseStorage.29" = type { %"struct.Eigen::internal::plain_array.30" }
%"struct.Eigen::internal::plain_array.30" = type { [16 x float] }
%"class.Eigen::Matrix.31" = type { %"class.Eigen::PlainObjectBase.32" }
%"class.Eigen::PlainObjectBase.32" = type { %"class.Eigen::DenseStorage.39" }
%"class.Eigen::DenseStorage.39" = type { %"struct.Eigen::internal::plain_array.40" }
%"struct.Eigen::internal::plain_array.40" = type { [25 x float] }
%"class.Eigen::Matrix.41" = type { %"class.Eigen::PlainObjectBase.42" }
%"class.Eigen::PlainObjectBase.42" = type { %"class.Eigen::DenseStorage.49" }
%"class.Eigen::DenseStorage.49" = type { %"struct.Eigen::internal::plain_array.50" }
%"struct.Eigen::internal::plain_array.50" = type { [36 x float] }
%"class.Eigen::Matrix.51" = type { %"class.Eigen::PlainObjectBase.52" }
%"class.Eigen::PlainObjectBase.52" = type { %"class.Eigen::DenseStorage.59" }
%"class.Eigen::DenseStorage.59" = type { %"struct.Eigen::internal::plain_array.60" }
%"struct.Eigen::internal::plain_array.60" = type { [49 x float] }
%"class.Eigen::Matrix.61" = type { %"class.Eigen::PlainObjectBase.62" }
%"class.Eigen::PlainObjectBase.62" = type { %"class.Eigen::DenseStorage.69" }
%"class.Eigen::DenseStorage.69" = type { %"struct.Eigen::internal::plain_array.70" }
%"struct.Eigen::internal::plain_array.70" = type { [64 x float] }
%"class.Eigen::Matrix.71" = type { %"class.Eigen::PlainObjectBase.72" }
%"class.Eigen::PlainObjectBase.72" = type { %"class.Eigen::DenseStorage.79" }
%"class.Eigen::DenseStorage.79" = type { %"struct.Eigen::internal::plain_array.80" }
%"struct.Eigen::internal::plain_array.80" = type { [144 x float] }
%"class.Eigen::Matrix.81" = type { %"class.Eigen::PlainObjectBase.82" }
%"class.Eigen::PlainObjectBase.82" = type { %"class.Eigen::DenseStorage.89" }
%"class.Eigen::DenseStorage.89" = type { %"struct.Eigen::internal::plain_array.90" }
%"struct.Eigen::internal::plain_array.90" = type { [256 x float] }

@__const.main.dynsizes = external hidden unnamed_addr constant [14 x i32], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [52 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca [14 x i32], align 16
  %7 = alloca i32, align 4
  %8 = alloca %"class.Eigen::Matrix", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.Eigen::Matrix.2", align 16
  %12 = alloca %"class.Eigen::Matrix.11", align 4
  %13 = alloca %"class.Eigen::Matrix.21", align 16
  %14 = alloca %"class.Eigen::Matrix.31", align 4
  %15 = alloca %"class.Eigen::Matrix.41", align 16
  %16 = alloca %"class.Eigen::Matrix.51", align 4
  %17 = alloca %"class.Eigen::Matrix.61", align 16
  %18 = alloca %"class.Eigen::Matrix.71", align 16
  %19 = alloca %"class.Eigen::Matrix.81", align 16
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 56, ptr %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.dynsizes, i64 56, i1 false)
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %37, %2
  %23 = load i32, ptr %7, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [14 x i32], ptr %6, i64 0, i64 %24
  %26 = load i32, ptr %25, align 4, !tbaa !5
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %29, label %28

28:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %44

29:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #6
  %30 = load i32, ptr %7, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [14 x i32], ptr %6, i64 0, i64 %31
  %33 = load i32, ptr %7, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [14 x i32], ptr %6, i64 0, i64 %34
  call void @_ZN5Eigen6MatrixIfLin1ELin1ELi0ELin1ELin1EEC2IiiEERKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %35)
  invoke void @_Z8benchLLTIN5Eigen6MatrixIfLin1ELin1ELi0ELin1ELin1EEEEvRKT_(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %36 unwind label %40

36:                                               ; preds = %29
  call void @_ZN5Eigen15PlainObjectBaseINS_6MatrixIfLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  br label %37

37:                                               ; preds = %36
  %38 = load i32, ptr %7, align 4, !tbaa !5
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %7, align 4, !tbaa !5
  br label %22, !llvm.loop !11

40:                                               ; preds = %29
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %9, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %10, align 4
  call void @_ZN5Eigen15PlainObjectBaseINS_6MatrixIfLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %6) #6
  br label %45

44:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  call void @_ZN5Eigen6MatrixIfLi2ELi2ELi0ELi2ELi2EEC2Ev(ptr noundef nonnull align 16 dereferenceable(16) %11)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi2ELi2ELi0ELi2ELi2EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(16) %11)
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr %12) #6
  call void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(36) %12)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEvRKT_(ptr noundef nonnull align 4 dereferenceable(36) %12)
  call void @llvm.lifetime.end.p0(i64 36, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #6
  call void @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEC2Ev(ptr noundef nonnull align 16 dereferenceable(64) %13)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(64) %13)
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 100, ptr %14) #6
  call void @_ZN5Eigen6MatrixIfLi5ELi5ELi0ELi5ELi5EEC2Ev(ptr noundef nonnull align 4 dereferenceable(100) %14)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi5ELi5ELi0ELi5ELi5EEEEvRKT_(ptr noundef nonnull align 4 dereferenceable(100) %14)
  call void @llvm.lifetime.end.p0(i64 100, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %15) #6
  call void @_ZN5Eigen6MatrixIfLi6ELi6ELi0ELi6ELi6EEC2Ev(ptr noundef nonnull align 16 dereferenceable(144) %15)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi6ELi6ELi0ELi6ELi6EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(144) %15)
  call void @llvm.lifetime.end.p0(i64 144, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 196, ptr %16) #6
  call void @_ZN5Eigen6MatrixIfLi7ELi7ELi0ELi7ELi7EEC2Ev(ptr noundef nonnull align 4 dereferenceable(196) %16)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi7ELi7ELi0ELi7ELi7EEEEvRKT_(ptr noundef nonnull align 4 dereferenceable(196) %16)
  call void @llvm.lifetime.end.p0(i64 196, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr %17) #6
  call void @_ZN5Eigen6MatrixIfLi8ELi8ELi0ELi8ELi8EEC2Ev(ptr noundef nonnull align 16 dereferenceable(256) %17)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi8ELi8ELi0ELi8ELi8EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(256) %17)
  call void @llvm.lifetime.end.p0(i64 256, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 576, ptr %18) #6
  call void @_ZN5Eigen6MatrixIfLi12ELi12ELi0ELi12ELi12EEC2Ev(ptr noundef nonnull align 16 dereferenceable(576) %18)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi12ELi12ELi0ELi12ELi12EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(576) %18)
  call void @llvm.lifetime.end.p0(i64 576, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 1024, ptr %19) #6
  call void @_ZN5Eigen6MatrixIfLi16ELi16ELi0ELi16ELi16EEC2Ev(ptr noundef nonnull align 16 dereferenceable(1024) %19)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi16ELi16ELi0ELi16ELi16EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(1024) %19)
  call void @llvm.lifetime.end.p0(i64 1024, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %6) #6
  ret i32 0

45:                                               ; preds = %40
  %46 = load ptr, ptr %9, align 8
  %47 = load i32, ptr %10, align 4
  %48 = insertvalue { ptr, i32 } poison, ptr %46, 0
  %49 = insertvalue { ptr, i32 } %48, i32 %47, 1
  resume { ptr, i32 } %49
}

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLin1ELin1ELi0ELin1ELin1EEEEvRKT_(ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLin1ELin1ELi0ELin1ELin1EEC2IiiEERKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen15PlainObjectBaseINS_6MatrixIfLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi2ELi2ELi0ELi2ELi2EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(16)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi2ELi2ELi0ELi2ELi2EEC2Ev(ptr noundef nonnull align 16 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEvRKT_(ptr noundef nonnull align 4 dereferenceable(36)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(64)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEC2Ev(ptr noundef nonnull align 16 dereferenceable(64)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi5ELi5ELi0ELi5ELi5EEEEvRKT_(ptr noundef nonnull align 4 dereferenceable(100)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi5ELi5ELi0ELi5ELi5EEC2Ev(ptr noundef nonnull align 4 dereferenceable(100)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi6ELi6ELi0ELi6ELi6EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(144)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi6ELi6ELi0ELi6ELi6EEC2Ev(ptr noundef nonnull align 16 dereferenceable(144)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi7ELi7ELi0ELi7ELi7EEEEvRKT_(ptr noundef nonnull align 4 dereferenceable(196)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi7ELi7ELi0ELi7ELi7EEC2Ev(ptr noundef nonnull align 4 dereferenceable(196)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi8ELi8ELi0ELi8ELi8EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(256)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi8ELi8ELi0ELi8ELi8EEC2Ev(ptr noundef nonnull align 16 dereferenceable(256)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi12ELi12ELi0ELi12ELi12EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(576)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi12ELi12ELi0ELi12ELi12EEC2Ev(ptr noundef nonnull align 16 dereferenceable(576)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi16ELi16ELi0ELi16ELi16EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(1024)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi16ELi16ELi0ELi16ELi16EEC2Ev(ptr noundef nonnull align 16 dereferenceable(1024)) unnamed_addr #3 align 2

attributes #0 = { mustprogress norecurse 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 nounwind willreturn memory(argmem: readwrite) }
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 noinline 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 = { inlinehint 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 #6 = { 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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.Eigen::Matrix" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { ptr, i64, i64 }
%"class.Eigen::Matrix.2" = type { %"class.Eigen::PlainObjectBase.3" }
%"class.Eigen::PlainObjectBase.3" = type { %"class.Eigen::DenseStorage.10" }
%"class.Eigen::DenseStorage.10" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [4 x float] }
%"class.Eigen::Matrix.11" = type { %"class.Eigen::PlainObjectBase.12" }
%"class.Eigen::PlainObjectBase.12" = type { %"class.Eigen::DenseStorage.19" }
%"class.Eigen::DenseStorage.19" = type { %"struct.Eigen::internal::plain_array.20" }
%"struct.Eigen::internal::plain_array.20" = type { [9 x float] }
%"class.Eigen::Matrix.21" = type { %"class.Eigen::PlainObjectBase.22" }
%"class.Eigen::PlainObjectBase.22" = type { %"class.Eigen::DenseStorage.29" }
%"class.Eigen::DenseStorage.29" = type { %"struct.Eigen::internal::plain_array.30" }
%"struct.Eigen::internal::plain_array.30" = type { [16 x float] }
%"class.Eigen::Matrix.31" = type { %"class.Eigen::PlainObjectBase.32" }
%"class.Eigen::PlainObjectBase.32" = type { %"class.Eigen::DenseStorage.39" }
%"class.Eigen::DenseStorage.39" = type { %"struct.Eigen::internal::plain_array.40" }
%"struct.Eigen::internal::plain_array.40" = type { [25 x float] }
%"class.Eigen::Matrix.41" = type { %"class.Eigen::PlainObjectBase.42" }
%"class.Eigen::PlainObjectBase.42" = type { %"class.Eigen::DenseStorage.49" }
%"class.Eigen::DenseStorage.49" = type { %"struct.Eigen::internal::plain_array.50" }
%"struct.Eigen::internal::plain_array.50" = type { [36 x float] }
%"class.Eigen::Matrix.51" = type { %"class.Eigen::PlainObjectBase.52" }
%"class.Eigen::PlainObjectBase.52" = type { %"class.Eigen::DenseStorage.59" }
%"class.Eigen::DenseStorage.59" = type { %"struct.Eigen::internal::plain_array.60" }
%"struct.Eigen::internal::plain_array.60" = type { [49 x float] }
%"class.Eigen::Matrix.61" = type { %"class.Eigen::PlainObjectBase.62" }
%"class.Eigen::PlainObjectBase.62" = type { %"class.Eigen::DenseStorage.69" }
%"class.Eigen::DenseStorage.69" = type { %"struct.Eigen::internal::plain_array.70" }
%"struct.Eigen::internal::plain_array.70" = type { [64 x float] }
%"class.Eigen::Matrix.71" = type { %"class.Eigen::PlainObjectBase.72" }
%"class.Eigen::PlainObjectBase.72" = type { %"class.Eigen::DenseStorage.79" }
%"class.Eigen::DenseStorage.79" = type { %"struct.Eigen::internal::plain_array.80" }
%"struct.Eigen::internal::plain_array.80" = type { [144 x float] }
%"class.Eigen::Matrix.81" = type { %"class.Eigen::PlainObjectBase.82" }
%"class.Eigen::PlainObjectBase.82" = type { %"class.Eigen::DenseStorage.89" }
%"class.Eigen::DenseStorage.89" = type { %"struct.Eigen::internal::plain_array.90" }
%"struct.Eigen::internal::plain_array.90" = type { [256 x float] }

@__const.main.dynsizes = external hidden unnamed_addr constant [14 x i32], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [52 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca [14 x i32], align 16
  %4 = alloca %"class.Eigen::Matrix", align 8
  %5 = alloca %"class.Eigen::Matrix.2", align 16
  %6 = alloca %"class.Eigen::Matrix.11", align 4
  %7 = alloca %"class.Eigen::Matrix.21", align 16
  %8 = alloca %"class.Eigen::Matrix.31", align 4
  %9 = alloca %"class.Eigen::Matrix.41", align 16
  %10 = alloca %"class.Eigen::Matrix.51", align 4
  %11 = alloca %"class.Eigen::Matrix.61", align 16
  %12 = alloca %"class.Eigen::Matrix.71", align 16
  %13 = alloca %"class.Eigen::Matrix.81", align 16
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %3, ptr noundef nonnull align 16 dereferenceable(56) @__const.main.dynsizes, i64 56, i1 false)
  %14 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %15 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
  %16 = load i32, ptr %3, align 16, !tbaa !5
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %19, %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN5Eigen6MatrixIfLi2ELi2ELi0ELi2ELi2EEC2Ev(ptr noundef nonnull align 16 dereferenceable(16) %5)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi2ELi2ELi0ELi2ELi2EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(16) %5)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %6) #6
  call void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(36) %6)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEvRKT_(ptr noundef nonnull align 4 dereferenceable(36) %6)
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #6
  call void @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEC2Ev(ptr noundef nonnull align 16 dereferenceable(64) %7)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(64) %7)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %8) #6
  call void @_ZN5Eigen6MatrixIfLi5ELi5ELi0ELi5ELi5EEC2Ev(ptr noundef nonnull align 4 dereferenceable(100) %8)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi5ELi5ELi0ELi5ELi5EEEEvRKT_(ptr noundef nonnull align 4 dereferenceable(100) %8)
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %9) #6
  call void @_ZN5Eigen6MatrixIfLi6ELi6ELi0ELi6ELi6EEC2Ev(ptr noundef nonnull align 16 dereferenceable(144) %9)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi6ELi6ELi0ELi6ELi6EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(144) %9)
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 196, ptr nonnull %10) #6
  call void @_ZN5Eigen6MatrixIfLi7ELi7ELi0ELi7ELi7EEC2Ev(ptr noundef nonnull align 4 dereferenceable(196) %10)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi7ELi7ELi0ELi7ELi7EEEEvRKT_(ptr noundef nonnull align 4 dereferenceable(196) %10)
  call void @llvm.lifetime.end.p0(i64 196, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %11) #6
  call void @_ZN5Eigen6MatrixIfLi8ELi8ELi0ELi8ELi8EEC2Ev(ptr noundef nonnull align 16 dereferenceable(256) %11)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi8ELi8ELi0ELi8ELi8EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(256) %11)
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 576, ptr nonnull %12) #6
  call void @_ZN5Eigen6MatrixIfLi12ELi12ELi0ELi12ELi12EEC2Ev(ptr noundef nonnull align 16 dereferenceable(576) %12)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi12ELi12ELi0ELi12ELi12EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(576) %12)
  call void @llvm.lifetime.end.p0(i64 576, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %13) #6
  call void @_ZN5Eigen6MatrixIfLi16ELi16ELi0ELi16ELi16EEC2Ev(ptr noundef nonnull align 16 dereferenceable(1024) %13)
  call void @_Z8benchLLTIN5Eigen6MatrixIfLi16ELi16ELi0ELi16ELi16EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(1024) %13)
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  ret i32 0

.lr.ph:                                           ; preds = %2, %19
  %indvars.iv = phi i64 [ %indvars.iv.next, %19 ], [ 0, %2 ]
  %18 = phi ptr [ %20, %19 ], [ %3, %2 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @_ZN5Eigen6MatrixIfLin1ELin1ELi0ELin1ELin1EEC2IiiEERKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %18)
  invoke void @_Z8benchLLTIN5Eigen6MatrixIfLin1ELin1ELi0ELin1ELin1EEEEvRKT_(ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %19 unwind label %23

19:                                               ; preds = %.lr.ph
  call void @_ZN5Eigen15PlainObjectBaseINS_6MatrixIfLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %20 = getelementptr inbounds [14 x i32], ptr %3, i64 0, i64 %indvars.iv.next
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.lr.ph, label %._crit_edge, !llvm.loop !9

23:                                               ; preds = %.lr.ph
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Eigen15PlainObjectBaseINS_6MatrixIfLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  resume { ptr, i32 } %24
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLin1ELin1ELi0ELin1ELin1EEEEvRKT_(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLin1ELin1ELi0ELin1ELin1EEC2IiiEERKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen15PlainObjectBaseINS_6MatrixIfLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 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: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi2ELi2ELi0ELi2ELi2EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi2ELi2ELi0ELi2ELi2EEC2Ev(ptr noundef nonnull align 16 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEvRKT_(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEC2Ev(ptr noundef nonnull align 16 dereferenceable(64)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi5ELi5ELi0ELi5ELi5EEEEvRKT_(ptr noundef nonnull align 4 dereferenceable(100)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi5ELi5ELi0ELi5ELi5EEC2Ev(ptr noundef nonnull align 4 dereferenceable(100)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi6ELi6ELi0ELi6ELi6EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(144)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi6ELi6ELi0ELi6ELi6EEC2Ev(ptr noundef nonnull align 16 dereferenceable(144)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi7ELi7ELi0ELi7ELi7EEEEvRKT_(ptr noundef nonnull align 4 dereferenceable(196)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi7ELi7ELi0ELi7ELi7EEC2Ev(ptr noundef nonnull align 4 dereferenceable(196)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi8ELi8ELi0ELi8ELi8EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(256)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi8ELi8ELi0ELi8ELi8EEC2Ev(ptr noundef nonnull align 16 dereferenceable(256)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi12ELi12ELi0ELi12ELi12EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(576)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi12ELi12ELi0ELi12ELi12EEC2Ev(ptr noundef nonnull align 16 dereferenceable(576)) unnamed_addr #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_Z8benchLLTIN5Eigen6MatrixIfLi16ELi16ELi0ELi16ELi16EEEEvRKT_(ptr noundef nonnull align 16 dereferenceable(1024)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi16ELi16ELi0ELi16ELi16EEC2Ev(ptr noundef nonnull align 16 dereferenceable(1024)) unnamed_addr #3 align 2

attributes #0 = { mustprogress norecurse 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 noinline 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 = { inlinehint 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 #6 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass