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

; 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" = type { %"struct.cgp::numarray_stack" }
%"struct.cgp::numarray_stack" = type { %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0" }
%"struct.cgp::numarray_stack.0" = type { float, 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 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [78 x i8], align 1
@__func__._ZN3cgp12matrix_stackIfLi4ELi4EEC2ERKSt16initializer_listIfE = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cgp14numarray_stackINS0_IfLi4EEELi4EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp12matrix_stackIfLi4ELi4EEC2ERKSt16initializer_listIfE(ptr noundef nonnull align 4 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"struct.cgp::matrix_stack", align 4
  %10 = alloca ptr, align 8
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca %"struct.cgp::matrix_stack", align 4
  %15 = alloca ptr, align 8
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca %"struct.cgp::matrix_stack", align 4
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator", align 1
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator", align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %32 = load ptr, ptr %3, align 8
  %33 = getelementptr inbounds %"struct.cgp::matrix_stack", ptr %32, i32 0, i32 0
  call void @_ZN3cgp14numarray_stackINS0_IfLi4EEELi4EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %33)
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = call noundef i64 @_ZNKSt16initializer_listIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %34) #7
  %36 = icmp uge i64 %35, 16
  br i1 %36, label %37, label %65

37:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = call noundef ptr @_ZNKSt16initializer_listIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %38) #7
  store ptr %39, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %61, %37
  %41 = load i32, ptr %6, align 4, !tbaa !9
  %42 = icmp slt i32 %41, 4
  br i1 %42, label %44, label %43

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

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %57, %44
  %46 = load i32, ptr %8, align 4, !tbaa !9
  %47 = icmp slt i32 %46, 4
  br i1 %47, label %49, label %48

48:                                               ; preds = %45
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %60

49:                                               ; preds = %45
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = load float, ptr %50, align 4, !tbaa !11
  %52 = load i32, ptr %6, align 4, !tbaa !9
  %53 = load i32, ptr %8, align 4, !tbaa !9
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %32, i32 noundef %52, i32 noundef %53)
  store float %51, ptr %54, align 4, !tbaa !11
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds float, ptr %55, i32 1
  store ptr %56, ptr %5, align 8, !tbaa !5
  br label %57

57:                                               ; preds = %49
  %58 = load i32, ptr %8, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %8, align 4, !tbaa !9
  br label %45, !llvm.loop !13

60:                                               ; preds = %48
  br label %61

61:                                               ; preds = %60
  %62 = load i32, ptr %6, align 4, !tbaa !9
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %6, align 4, !tbaa !9
  br label %40, !llvm.loop !15

64:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %165

65:                                               ; preds = %2
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = call noundef i64 @_ZNKSt16initializer_listIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %66) #7
  %68 = icmp eq i64 %67, 1
  br i1 %68, label %69, label %73

69:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #7
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = call noundef ptr @_ZNKSt16initializer_listIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %70) #7
  %72 = load float, ptr %71, align 4, !tbaa !11
  call void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1Ef(ptr noundef nonnull align 4 dereferenceable(64) %9, float noundef %72)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %9, i64 64, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #7
  br label %164

73:                                               ; preds = %65
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = call noundef i64 @_ZNKSt16initializer_listIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %74) #7
  %76 = icmp eq i64 %75, 3
  br i1 %76, label %77, label %93

77:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = call noundef ptr @_ZNKSt16initializer_listIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %78) #7
  store ptr %79, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = load float, ptr %80, align 4, !tbaa !11
  store float %81, ptr %11, align 4, !tbaa !11
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = getelementptr inbounds float, ptr %82, i32 1
  store ptr %83, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = load float, ptr %84, align 4, !tbaa !11
  store float %85, ptr %12, align 4, !tbaa !11
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = getelementptr inbounds float, ptr %86, i32 1
  store ptr %87, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = load float, ptr %88, align 4, !tbaa !11
  store float %89, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #7
  %90 = load float, ptr %11, align 4, !tbaa !11
  %91 = load float, ptr %12, align 4, !tbaa !11
  %92 = load float, ptr %13, align 4, !tbaa !11
  call void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1Effff(ptr noundef nonnull align 4 dereferenceable(64) %14, float noundef %90, float noundef %91, float noundef %92, float noundef 1.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %14, i64 64, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %163

93:                                               ; preds = %73
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = call noundef i64 @_ZNKSt16initializer_listIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %94) #7
  %96 = icmp eq i64 %95, 4
  br i1 %96, label %97, label %118

97:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = call noundef ptr @_ZNKSt16initializer_listIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %98) #7
  store ptr %99, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %100 = load ptr, ptr %15, align 8, !tbaa !5
  %101 = load float, ptr %100, align 4, !tbaa !11
  store float %101, ptr %16, align 4, !tbaa !11
  %102 = load ptr, ptr %15, align 8, !tbaa !5
  %103 = getelementptr inbounds float, ptr %102, i32 1
  store ptr %103, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %104 = load ptr, ptr %15, align 8, !tbaa !5
  %105 = load float, ptr %104, align 4, !tbaa !11
  store float %105, ptr %17, align 4, !tbaa !11
  %106 = load ptr, ptr %15, align 8, !tbaa !5
  %107 = getelementptr inbounds float, ptr %106, i32 1
  store ptr %107, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %108 = load ptr, ptr %15, align 8, !tbaa !5
  %109 = load float, ptr %108, align 4, !tbaa !11
  store float %109, ptr %18, align 4, !tbaa !11
  %110 = load ptr, ptr %15, align 8, !tbaa !5
  %111 = getelementptr inbounds float, ptr %110, i32 1
  store ptr %111, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %112 = load ptr, ptr %15, align 8, !tbaa !5
  %113 = load float, ptr %112, align 4, !tbaa !11
  store float %113, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 64, ptr %20) #7
  %114 = load float, ptr %16, align 4, !tbaa !11
  %115 = load float, ptr %17, align 4, !tbaa !11
  %116 = load float, ptr %18, align 4, !tbaa !11
  %117 = load float, ptr %19, align 4, !tbaa !11
  call void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1Effff(ptr noundef nonnull align 4 dereferenceable(64) %20, float noundef %114, float noundef %115, float noundef %116, float noundef %117)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %20, i64 64, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %162

118:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %119 unwind label %128

119:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #7
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = call noundef i64 @_ZNKSt16initializer_listIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %120) #7
  invoke void @_ZN3cgp3strB5cxx11Em(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %27, i64 noundef %121)
          to label %122 unwind label %132

122:                                              ; preds = %119
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %26, ptr noundef @.str.1, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %123 unwind label %136

123:                                              ; preds = %122
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %25, ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef @.str.2)
          to label %124 unwind label %140

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %125 unwind label %144

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef @__func__._ZN3cgp12matrix_stackIfLi4ELi4EEC2ERKSt16initializer_listIfE, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %126 unwind label %148

126:                                              ; preds = %125
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %30, i32 noundef 99) #8
          to label %127 unwind label %152

127:                                              ; preds = %126
  unreachable

128:                                              ; preds = %118
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %23, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %24, align 4
  br label %161

132:                                              ; preds = %119
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %23, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %24, align 4
  br label %160

136:                                              ; preds = %122
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %23, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %24, align 4
  br label %159

140:                                              ; preds = %123
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %23, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %24, align 4
  br label %158

144:                                              ; preds = %124
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %23, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %24, align 4
  br label %157

148:                                              ; preds = %125
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %23, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %24, align 4
  br label %156

152:                                              ; preds = %126
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %23, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %24, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  br label %156

156:                                              ; preds = %152, %148
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %157

157:                                              ; preds = %156, %144
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  br label %158

158:                                              ; preds = %157, %140
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  br label %159

159:                                              ; preds = %158, %136
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  br label %160

160:                                              ; preds = %159, %132
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %161

161:                                              ; preds = %160, %128
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #7
  br label %166

162:                                              ; preds = %97
  br label %163

163:                                              ; preds = %162, %77
  br label %164

164:                                              ; preds = %163, %69
  br label %165

165:                                              ; preds = %164, %64
  ret void

166:                                              ; preds = %161
  %167 = load ptr, ptr %23, align 8
  %168 = load i32, ptr %24, align 4
  %169 = insertvalue { ptr, i32 } poison, ptr %167, 0
  %170 = insertvalue { ptr, i32 } %169, i32 %168, 1
  resume { ptr, i32 } %170
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt16initializer_listIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt16initializer_listIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #4

declare void @_ZN3cgp3strB5cxx11Em(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef) #6

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

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

declare void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1Ef(ptr, float)

declare void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1Effff(ptr, float, float, float, float)

attributes #0 = { 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 #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { 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 #6 = { "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 #7 = { nounwind }
attributes #8 = { 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}
!16 = !{i64 0, i64 4, !11, i64 4, i64 4, !11, i64 8, i64 4, !11, i64 12, i64 4, !11, i64 16, i64 4, !11, i64 20, i64 4, !11, i64 24, i64 4, !11, i64 28, i64 4, !11, i64 32, i64 4, !11, i64 36, i64 4, !11, i64 40, i64 4, !11, i64 44, i64 4, !11, i64 48, i64 4, !11, i64 52, i64 4, !11, i64 56, i64 4, !11, i64 60, i64 4, !11}


; 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" = type { %"struct.cgp::numarray_stack" }
%"struct.cgp::numarray_stack" = type { %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0" }
%"struct.cgp::numarray_stack.0" = type { float, 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 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [78 x i8], align 1
@__func__._ZN3cgp12matrix_stackIfLi4ELi4EEC2ERKSt16initializer_listIfE = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cgp14numarray_stackINS0_IfLi4EEELi4EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp12matrix_stackIfLi4ELi4EEC2ERKSt16initializer_listIfE(ptr noundef nonnull align 4 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.cgp::matrix_stack", align 4
  %4 = alloca %"struct.cgp::matrix_stack", align 4
  %5 = alloca %"struct.cgp::matrix_stack", align 4
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  tail call void @_ZN3cgp14numarray_stackINS0_IfLi4EEELi4EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %0)
  %15 = tail call noundef i64 @_ZNKSt16initializer_listIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %16 = icmp ugt i64 %15, 15
  br i1 %16, label %.preheader, label %65

.preheader:                                       ; preds = %2
  %17 = tail call noundef ptr @_ZNKSt16initializer_listIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %18 = load float, ptr %17, align 4, !tbaa !5
  %19 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 0, i32 noundef 0)
  store float %18, ptr %19, align 4, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %17, i64 4
  %21 = load float, ptr %20, align 4, !tbaa !5
  %22 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 0, i32 noundef 1)
  store float %21, ptr %22, align 4, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %17, i64 8
  %24 = load float, ptr %23, align 4, !tbaa !5
  %25 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 0, i32 noundef 2)
  store float %24, ptr %25, align 4, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %17, i64 12
  %27 = load float, ptr %26, align 4, !tbaa !5
  %28 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 0, i32 noundef 3)
  store float %27, ptr %28, align 4, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %17, i64 16
  %30 = load float, ptr %29, align 4, !tbaa !5
  %31 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 1, i32 noundef 0)
  store float %30, ptr %31, align 4, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %17, i64 20
  %33 = load float, ptr %32, align 4, !tbaa !5
  %34 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 1, i32 noundef 1)
  store float %33, ptr %34, align 4, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %17, i64 24
  %36 = load float, ptr %35, align 4, !tbaa !5
  %37 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 1, i32 noundef 2)
  store float %36, ptr %37, align 4, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %17, i64 28
  %39 = load float, ptr %38, align 4, !tbaa !5
  %40 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 1, i32 noundef 3)
  store float %39, ptr %40, align 4, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %17, i64 32
  %42 = load float, ptr %41, align 4, !tbaa !5
  %43 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 2, i32 noundef 0)
  store float %42, ptr %43, align 4, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %17, i64 36
  %45 = load float, ptr %44, align 4, !tbaa !5
  %46 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 2, i32 noundef 1)
  store float %45, ptr %46, align 4, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %17, i64 40
  %48 = load float, ptr %47, align 4, !tbaa !5
  %49 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 2, i32 noundef 2)
  store float %48, ptr %49, align 4, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %17, i64 44
  %51 = load float, ptr %50, align 4, !tbaa !5
  %52 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 2, i32 noundef 3)
  store float %51, ptr %52, align 4, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %17, i64 48
  %54 = load float, ptr %53, align 4, !tbaa !5
  %55 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 3, i32 noundef 0)
  store float %54, ptr %55, align 4, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %17, i64 52
  %57 = load float, ptr %56, align 4, !tbaa !5
  %58 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 3, i32 noundef 1)
  store float %57, ptr %58, align 4, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %17, i64 56
  %60 = load float, ptr %59, align 4, !tbaa !5
  %61 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 3, i32 noundef 2)
  store float %60, ptr %61, align 4, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %17, i64 60
  %63 = load float, ptr %62, align 4, !tbaa !5
  %64 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 3, i32 noundef 3)
  store float %63, ptr %64, align 4, !tbaa !5
  br label %.loopexit

65:                                               ; preds = %2
  %66 = tail call noundef i64 @_ZNKSt16initializer_listIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %67 = icmp eq i64 %66, 1
  br i1 %67, label %68, label %71

68:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #7
  %69 = tail call noundef ptr @_ZNKSt16initializer_listIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %70 = load float, ptr %69, align 4, !tbaa !5
  call void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1Ef(ptr noundef nonnull align 4 dereferenceable(64) %3, float noundef %70)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %0, ptr noundef nonnull align 4 dereferenceable(64) %3, i64 64, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #7
  br label %.loopexit

71:                                               ; preds = %65
  %72 = tail call noundef i64 @_ZNKSt16initializer_listIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %73 = icmp eq i64 %72, 3
  br i1 %73, label %74, label %81

74:                                               ; preds = %71
  %75 = tail call noundef ptr @_ZNKSt16initializer_listIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %76 = load float, ptr %75, align 4, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %75, i64 4
  %78 = load float, ptr %77, align 4, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %75, i64 8
  %80 = load float, ptr %79, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #7
  call void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1Effff(ptr noundef nonnull align 4 dereferenceable(64) %4, float noundef %76, float noundef %78, float noundef %80, float noundef 1.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %0, ptr noundef nonnull align 4 dereferenceable(64) %4, i64 64, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #7
  br label %.loopexit

81:                                               ; preds = %71
  %82 = tail call noundef i64 @_ZNKSt16initializer_listIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %83 = icmp eq i64 %82, 4
  br i1 %83, label %84, label %93

84:                                               ; preds = %81
  %85 = tail call noundef ptr @_ZNKSt16initializer_listIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %86 = load float, ptr %85, align 4, !tbaa !5
  %87 = getelementptr inbounds i8, ptr %85, i64 4
  %88 = load float, ptr %87, align 4, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %85, i64 8
  %90 = load float, ptr %89, align 4, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %85, i64 12
  %92 = load float, ptr %91, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #7
  call void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1Effff(ptr noundef nonnull align 4 dereferenceable(64) %5, float noundef %86, float noundef %88, float noundef %90, float noundef %92)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %0, ptr noundef nonnull align 4 dereferenceable(64) %5, i64 64, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #7
  br label %.loopexit

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

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  %95 = call noundef i64 @_ZNKSt16initializer_listIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  invoke void @_ZN3cgp3strB5cxx11Em(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, i64 noundef %95)
          to label %96 unwind label %104

96:                                               ; preds = %94
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull @.str.1, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %97 unwind label %106

97:                                               ; preds = %96
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.2)
          to label %98 unwind label %108

98:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %99 unwind label %110

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @__func__._ZN3cgp12matrix_stackIfLi4ELi4EEC2ERKSt16initializer_listIfE, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %100 unwind label %112

100:                                              ; preds = %99
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %13, i32 noundef 99) #8
          to label %101 unwind label %114

101:                                              ; preds = %100
  unreachable

102:                                              ; preds = %93
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %121

104:                                              ; preds = %94
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %120

106:                                              ; preds = %96
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %119

108:                                              ; preds = %97
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %118

110:                                              ; preds = %98
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %117

112:                                              ; preds = %99
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %116

114:                                              ; preds = %100
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %116

116:                                              ; preds = %114, %112
  %.pn = phi { ptr, i32 } [ %115, %114 ], [ %113, %112 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %117

117:                                              ; preds = %116, %110
  %.pn.pn = phi { ptr, i32 } [ %.pn, %116 ], [ %111, %110 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  br label %118

118:                                              ; preds = %117, %108
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %117 ], [ %109, %108 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %119

119:                                              ; preds = %118, %106
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %118 ], [ %107, %106 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %120

120:                                              ; preds = %119, %104
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %119 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %121

121:                                              ; preds = %120, %102
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %120 ], [ %103, %102 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn

.loopexit:                                        ; preds = %.preheader, %68, %84, %74
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt16initializer_listIfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt16initializer_listIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

; 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 #5

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

declare void @_ZN3cgp3strB5cxx11Em(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef) local_unnamed_addr #6

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

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

declare void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1Ef(ptr, float) local_unnamed_addr

declare void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1Effff(ptr, float, float, float, float) local_unnamed_addr

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { 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 #6 = { "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 #7 = { nounwind }
attributes #8 = { 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"}
!9 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !5, i64 12, i64 4, !5, i64 16, i64 4, !5, i64 20, i64 4, !5, i64 24, i64 4, !5, i64 28, i64 4, !5, i64 32, i64 4, !5, i64 36, i64 4, !5, i64 40, i64 4, !5, i64 44, i64 4, !5, i64 48, i64 4, !5, i64 52, i64 4, !5, i64 56, i64 4, !5, i64 60, i64 4, !5}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass