; LLVM IR from drohmer/cgp :: library/cgp/06_mat/mat4/mat4.ll (ZNK3cgp12matrix_stackIfLi4ELi4EE17remove_row_columnEii)

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

%"struct.cgp::matrix_stack.2" = type { %"struct.cgp::numarray_stack.3" }
%"struct.cgp::numarray_stack.3" = type { %"struct.cgp::numarray_stack.4", %"struct.cgp::numarray_stack.4", %"struct.cgp::numarray_stack.4" }
%"struct.cgp::numarray_stack.4" = type { float, float, float }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@.str.3 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [54 x i8], align 1
@__func__._ZNK3cgp12matrix_stackIfLi4ELi4EE17remove_row_columnEii = external hidden unnamed_addr constant [18 x i8], align 1

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noreturn
declare void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3cgp12matrix_stackIfLi4ELi4EE17remove_row_columnEii(ptr dead_on_unwind noalias writable sret(%"struct.cgp::matrix_stack.2") align 4 %0, ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef %2, i32 noundef %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  store i32 %3, ptr %7, align 4, !tbaa !9
  %23 = load ptr, ptr %5, align 8
  %24 = load i32, ptr %6, align 4, !tbaa !9
  %25 = icmp slt i32 %24, 4
  br i1 %25, label %26, label %29

26:                                               ; preds = %4
  %27 = load i32, ptr %7, align 4, !tbaa !9
  %28 = icmp slt i32 %27, 4
  br label %29

29:                                               ; preds = %26, %4
  %30 = phi i1 [ false, %4 ], [ %28, %26 ]
  %31 = zext i1 %30 to i32
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %33, label %63

33:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %34 unwind label %39

34:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %35 unwind label %43

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %36 unwind label %47

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef @__func__._ZNK3cgp12matrix_stackIfLi4ELi4EE17remove_row_columnEii, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %37 unwind label %51

37:                                               ; preds = %36
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %16, i32 noundef 195) #7
          to label %38 unwind label %55

38:                                               ; preds = %37
  unreachable

39:                                               ; preds = %33
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %10, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %11, align 4
  br label %62

43:                                               ; preds = %34
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %10, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %11, align 4
  br label %61

47:                                               ; preds = %35
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %10, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %11, align 4
  br label %60

51:                                               ; preds = %36
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %10, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %11, align 4
  br label %59

55:                                               ; preds = %37
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %10, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  br label %59

59:                                               ; preds = %55, %51
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %60

60:                                               ; preds = %59, %47
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %61

61:                                               ; preds = %60, %43
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %62

62:                                               ; preds = %61, %39
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  br label %103

63:                                               ; preds = %29
  call void @_ZN3cgp12matrix_stackIfLi3ELi3EEC1Ev(ptr noundef nonnull align 4 dereferenceable(36) %0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %99, %63
  %65 = load i32, ptr %19, align 4, !tbaa !9
  %66 = icmp slt i32 %65, 4
  br i1 %66, label %68, label %67

67:                                               ; preds = %64
  store i32 2, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %102

68:                                               ; preds = %64
  %69 = load i32, ptr %19, align 4, !tbaa !9
  %70 = load i32, ptr %6, align 4, !tbaa !9
  %71 = icmp ne i32 %69, %70
  br i1 %71, label %72, label %98

72:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %92, %72
  %74 = load i32, ptr %22, align 4, !tbaa !9
  %75 = icmp slt i32 %74, 4
  br i1 %75, label %77, label %76

76:                                               ; preds = %73
  store i32 5, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %95

77:                                               ; preds = %73
  %78 = load i32, ptr %22, align 4, !tbaa !9
  %79 = load i32, ptr %7, align 4, !tbaa !9
  %80 = icmp ne i32 %78, %79
  br i1 %80, label %81, label %91

81:                                               ; preds = %77
  %82 = load i32, ptr %19, align 4, !tbaa !9
  %83 = load i32, ptr %22, align 4, !tbaa !9
  %84 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %23, i32 noundef %82, i32 noundef %83)
  %85 = load float, ptr %84, align 4, !tbaa !11
  %86 = load i32, ptr %18, align 4, !tbaa !9
  %87 = load i32, ptr %21, align 4, !tbaa !9
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %86, i32 noundef %87)
  store float %85, ptr %88, align 4, !tbaa !11
  %89 = load i32, ptr %21, align 4, !tbaa !9
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %21, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %81, %77
  br label %92

92:                                               ; preds = %91
  %93 = load i32, ptr %22, align 4, !tbaa !9
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %22, align 4, !tbaa !9
  br label %73, !llvm.loop !13

95:                                               ; preds = %76
  %96 = load i32, ptr %18, align 4, !tbaa !9
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %98

98:                                               ; preds = %95, %68
  br label %99

99:                                               ; preds = %98
  %100 = load i32, ptr %19, align 4, !tbaa !9
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %19, align 4, !tbaa !9
  br label %64, !llvm.loop !15

102:                                              ; preds = %67
  store i32 1, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  ret void

103:                                              ; preds = %62
  %104 = load ptr, ptr %10, align 8
  %105 = load i32, ptr %11, align 4
  %106 = insertvalue { ptr, i32 } poison, ptr %104, 0
  %107 = insertvalue { ptr, i32 } %106, i32 %105, 1
  resume { ptr, i32 } %107
}

declare void @_ZN3cgp12matrix_stackIfLi3ELi3EEC1Ev(ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64), i32 noundef, i32 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36), i32 noundef, i32 noundef) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

!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 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


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

%"struct.cgp::matrix_stack.2" = type { %"struct.cgp::numarray_stack.3" }
%"struct.cgp::numarray_stack.3" = type { %"struct.cgp::numarray_stack.4", %"struct.cgp::numarray_stack.4", %"struct.cgp::numarray_stack.4" }
%"struct.cgp::numarray_stack.4" = type { float, float, float }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@.str.3 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [54 x i8], align 1
@__func__._ZNK3cgp12matrix_stackIfLi4ELi4EE17remove_row_columnEii = external hidden unnamed_addr constant [18 x i8], align 1

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noreturn
declare void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3cgp12matrix_stackIfLi4ELi4EE17remove_row_columnEii(ptr dead_on_unwind noalias writable sret(%"struct.cgp::matrix_stack.2") align 4 %0, ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = icmp sgt i32 %2, 3
  %14 = icmp sgt i32 %3, 3
  %.not29 = or i1 %13, %14
  br i1 %.not29, label %15, label %35

15:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %16 unwind label %21

16:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %17 unwind label %23

17:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %18 unwind label %25

18:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @__func__._ZNK3cgp12matrix_stackIfLi4ELi4EE17remove_row_columnEii, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %19 unwind label %27

19:                                               ; preds = %18
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %11, i32 noundef 195) #7
          to label %20 unwind label %29

20:                                               ; preds = %19
  unreachable

21:                                               ; preds = %15
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %34

23:                                               ; preds = %16
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %33

25:                                               ; preds = %17
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %32

27:                                               ; preds = %18
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %31

29:                                               ; preds = %19
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %31

31:                                               ; preds = %29, %27
  %.pn = phi { ptr, i32 } [ %30, %29 ], [ %28, %27 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %32

32:                                               ; preds = %31, %25
  %.pn.pn = phi { ptr, i32 } [ %.pn, %31 ], [ %26, %25 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %33

33:                                               ; preds = %32, %23
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %32 ], [ %24, %23 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %34

34:                                               ; preds = %33, %21
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %33 ], [ %22, %21 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  resume { ptr, i32 } %.pn.pn.pn.pn

35:                                               ; preds = %4
  tail call void @_ZN3cgp12matrix_stackIfLi3ELi3EEC1Ev(ptr noundef nonnull align 4 dereferenceable(36) %0)
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %.preheader.preheader.1, label %.preheader.preheader

.preheader.preheader:                             ; preds = %35
  %.not30 = icmp eq i32 %3, 0
  br i1 %.not30, label %.preheader.2, label %.preheader.1

.preheader.1:                                     ; preds = %.preheader.preheader
  %36 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 0, i32 noundef 0)
  %37 = load float, ptr %36, align 4, !tbaa !5
  %38 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef 0, i32 noundef 0)
  store float %37, ptr %38, align 4, !tbaa !5
  %.not30.1 = icmp eq i32 %3, 1
  br i1 %.not30.1, label %.preheader.3, label %.preheader.2

.preheader.2:                                     ; preds = %.preheader.preheader, %.preheader.1
  %.149 = phi i32 [ 1, %.preheader.1 ], [ 0, %.preheader.preheader ]
  %39 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 0, i32 noundef 1)
  %40 = load float, ptr %39, align 4, !tbaa !5
  %41 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef 0, i32 noundef %.149)
  store float %40, ptr %41, align 4, !tbaa !5
  %42 = add nuw nsw i32 %.149, 1
  %.not30.2 = icmp eq i32 %3, 2
  br i1 %.not30.2, label %.preheader.3.thread, label %.preheader.3

.preheader.3:                                     ; preds = %.preheader.1, %.preheader.2
  %.1.152 = phi i32 [ %42, %.preheader.2 ], [ 1, %.preheader.1 ]
  %43 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 0, i32 noundef 2)
  %44 = load float, ptr %43, align 4, !tbaa !5
  %45 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef 0, i32 noundef %.1.152)
  store float %44, ptr %45, align 4, !tbaa !5
  %46 = add nuw nsw i32 %.1.152, 1
  %.not30.3 = icmp eq i32 %3, 3
  br i1 %.not30.3, label %50, label %.preheader.3.thread

.preheader.3.thread:                              ; preds = %.preheader.2, %.preheader.3
  %.1.255 = phi i32 [ %46, %.preheader.3 ], [ %42, %.preheader.2 ]
  %47 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 0, i32 noundef 3)
  %48 = load float, ptr %47, align 4, !tbaa !5
  %49 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef 0, i32 noundef %.1.255)
  store float %48, ptr %49, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %.preheader.3, %.preheader.3.thread
  %.not.1 = icmp eq i32 %2, 1
  br i1 %.not.1, label %.preheader.preheader.2, label %.preheader.preheader.1

.preheader.preheader.1:                           ; preds = %35, %50
  %.12158 = phi i32 [ 1, %50 ], [ 0, %35 ]
  %.not30.139 = icmp eq i32 %3, 0
  br i1 %.not30.139, label %.preheader.2.1, label %.preheader.1.1

.preheader.1.1:                                   ; preds = %.preheader.preheader.1
  %51 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 1, i32 noundef 0)
  %52 = load float, ptr %51, align 4, !tbaa !5
  %53 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %.12158, i32 noundef 0)
  store float %52, ptr %53, align 4, !tbaa !5
  %.not30.1.1 = icmp eq i32 %3, 1
  br i1 %.not30.1.1, label %.preheader.3.1, label %.preheader.2.1

.preheader.2.1:                                   ; preds = %.preheader.preheader.1, %.preheader.1.1
  %.1.14161 = phi i32 [ 1, %.preheader.1.1 ], [ 0, %.preheader.preheader.1 ]
  %54 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 1, i32 noundef 1)
  %55 = load float, ptr %54, align 4, !tbaa !5
  %56 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %.12158, i32 noundef %.1.14161)
  store float %55, ptr %56, align 4, !tbaa !5
  %57 = add nuw nsw i32 %.1.14161, 1
  %.not30.2.1 = icmp eq i32 %3, 2
  br i1 %.not30.2.1, label %.preheader.3.1.thread, label %.preheader.3.1

.preheader.3.1:                                   ; preds = %.preheader.1.1, %.preheader.2.1
  %.1.1.164 = phi i32 [ %57, %.preheader.2.1 ], [ 1, %.preheader.1.1 ]
  %58 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 1, i32 noundef 2)
  %59 = load float, ptr %58, align 4, !tbaa !5
  %60 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %.12158, i32 noundef %.1.1.164)
  store float %59, ptr %60, align 4, !tbaa !5
  %61 = add nuw nsw i32 %.1.1.164, 1
  %.not30.3.1 = icmp eq i32 %3, 3
  br i1 %.not30.3.1, label %65, label %.preheader.3.1.thread

.preheader.3.1.thread:                            ; preds = %.preheader.2.1, %.preheader.3.1
  %.1.2.167 = phi i32 [ %61, %.preheader.3.1 ], [ %57, %.preheader.2.1 ]
  %62 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 1, i32 noundef 3)
  %63 = load float, ptr %62, align 4, !tbaa !5
  %64 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %.12158, i32 noundef %.1.2.167)
  store float %63, ptr %64, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %.preheader.3.1, %.preheader.3.1.thread
  %66 = add nuw nsw i32 %.12158, 1
  %.not.2 = icmp eq i32 %2, 2
  br i1 %.not.2, label %.preheader.preheader.3, label %.preheader.preheader.2

.preheader.preheader.2:                           ; preds = %50, %65
  %.121.171 = phi i32 [ %66, %65 ], [ 1, %50 ]
  %.not30.242 = icmp eq i32 %3, 0
  br i1 %.not30.242, label %.preheader.2.2, label %.preheader.1.2

.preheader.1.2:                                   ; preds = %.preheader.preheader.2
  %67 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 2, i32 noundef 0)
  %68 = load float, ptr %67, align 4, !tbaa !5
  %69 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %.121.171, i32 noundef 0)
  store float %68, ptr %69, align 4, !tbaa !5
  %.not30.1.2 = icmp eq i32 %3, 1
  br i1 %.not30.1.2, label %.preheader.3.2, label %.preheader.2.2

.preheader.2.2:                                   ; preds = %.preheader.preheader.2, %.preheader.1.2
  %.1.24474 = phi i32 [ 1, %.preheader.1.2 ], [ 0, %.preheader.preheader.2 ]
  %70 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 2, i32 noundef 1)
  %71 = load float, ptr %70, align 4, !tbaa !5
  %72 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %.121.171, i32 noundef %.1.24474)
  store float %71, ptr %72, align 4, !tbaa !5
  %73 = add nuw nsw i32 %.1.24474, 1
  %.not30.2.2 = icmp eq i32 %3, 2
  br i1 %.not30.2.2, label %.preheader.3.2.thread, label %.preheader.3.2

.preheader.3.2:                                   ; preds = %.preheader.1.2, %.preheader.2.2
  %.1.1.277 = phi i32 [ %73, %.preheader.2.2 ], [ 1, %.preheader.1.2 ]
  %74 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 2, i32 noundef 2)
  %75 = load float, ptr %74, align 4, !tbaa !5
  %76 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %.121.171, i32 noundef %.1.1.277)
  store float %75, ptr %76, align 4, !tbaa !5
  %77 = add nuw nsw i32 %.1.1.277, 1
  %.not30.3.2 = icmp eq i32 %3, 3
  br i1 %.not30.3.2, label %81, label %.preheader.3.2.thread

.preheader.3.2.thread:                            ; preds = %.preheader.2.2, %.preheader.3.2
  %.1.2.280 = phi i32 [ %77, %.preheader.3.2 ], [ %73, %.preheader.2.2 ]
  %78 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 2, i32 noundef 3)
  %79 = load float, ptr %78, align 4, !tbaa !5
  %80 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %.121.171, i32 noundef %.1.2.280)
  store float %79, ptr %80, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %.preheader.3.2, %.preheader.3.2.thread
  %82 = add nuw nsw i32 %.121.171, 1
  %.not.3 = icmp eq i32 %2, 3
  br i1 %.not.3, label %97, label %.preheader.preheader.3

.preheader.preheader.3:                           ; preds = %65, %81
  %.121.284 = phi i32 [ %82, %81 ], [ %66, %65 ]
  %.not30.345 = icmp eq i32 %3, 0
  br i1 %.not30.345, label %.preheader.2.3, label %.preheader.1.3

.preheader.1.3:                                   ; preds = %.preheader.preheader.3
  %83 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 3, i32 noundef 0)
  %84 = load float, ptr %83, align 4, !tbaa !5
  %85 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %.121.284, i32 noundef 0)
  store float %84, ptr %85, align 4, !tbaa !5
  %.not30.1.3 = icmp eq i32 %3, 1
  br i1 %.not30.1.3, label %.preheader.3.3, label %.preheader.2.3

.preheader.2.3:                                   ; preds = %.preheader.preheader.3, %.preheader.1.3
  %.1.387 = phi i32 [ 1, %.preheader.1.3 ], [ 0, %.preheader.preheader.3 ]
  %86 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 3, i32 noundef 1)
  %87 = load float, ptr %86, align 4, !tbaa !5
  %88 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %.121.284, i32 noundef %.1.387)
  store float %87, ptr %88, align 4, !tbaa !5
  %89 = add nuw nsw i32 %.1.387, 1
  %.not30.2.3 = icmp eq i32 %3, 2
  br i1 %.not30.2.3, label %.preheader.3.3.thread, label %.preheader.3.3

.preheader.3.3:                                   ; preds = %.preheader.1.3, %.preheader.2.3
  %.1.1.390 = phi i32 [ %89, %.preheader.2.3 ], [ 1, %.preheader.1.3 ]
  %90 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 3, i32 noundef 2)
  %91 = load float, ptr %90, align 4, !tbaa !5
  %92 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %.121.284, i32 noundef %.1.1.390)
  store float %91, ptr %92, align 4, !tbaa !5
  %93 = add nuw nsw i32 %.1.1.390, 1
  %.not30.3.3 = icmp eq i32 %3, 3
  br i1 %.not30.3.3, label %97, label %.preheader.3.3.thread

.preheader.3.3.thread:                            ; preds = %.preheader.2.3, %.preheader.3.3
  %.1.2.393 = phi i32 [ %93, %.preheader.3.3 ], [ %89, %.preheader.2.3 ]
  %94 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 3, i32 noundef 3)
  %95 = load float, ptr %94, align 4, !tbaa !5
  %96 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36) %0, i32 noundef %.121.284, i32 noundef %.1.2.393)
  store float %95, ptr %96, align 4, !tbaa !5
  br label %97

97:                                               ; preds = %.preheader.3.3, %.preheader.3.3.thread, %81
  ret void
}

declare void @_ZN3cgp12matrix_stackIfLi3ELi3EEC1Ev(ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64), i32 noundef, i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi3ELi3EE2atEii(ptr noundef nonnull align 4 dereferenceable(36), i32 noundef, i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

!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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass