; LLVM IR from HandmadeMath/HandmadeMath :: test/hmm_test.ll (Z36_hmt_test_Initialization_MatrixEmptyP21hmt_testresult_struct)

; 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"

%union.HMM_Mat2 = type { [2 x [2 x float]] }
%union.HMM_Mat3 = type { [3 x [3 x float]] }
%union.HMM_Mat4 = type { [4 x %union.HMM_Vec4] }
%union.HMM_Vec4 = type { <4 x float> }
%struct.hmt_testresult_struct = type { i32, i32 }

@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [34 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

declare i32 @printf(ptr noundef, ...) #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z36_hmt_test_Initialization_MatrixEmptyP21hmt_testresult_struct(ptr noundef %0) #3 {
  %2 = alloca ptr, align 8
  %3 = alloca %union.HMM_Mat2, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca %union.HMM_Mat3, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca %union.HMM_Mat4, align 16
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #5
  %25 = call { <2 x float>, <2 x float> } @_ZL6HMM_M2v()
  %26 = getelementptr inbounds %union.HMM_Mat2, ptr %3, i32 0, i32 0
  %27 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %26, i32 0, i32 0
  %28 = extractvalue { <2 x float>, <2 x float> } %25, 0
  store <2 x float> %28, ptr %27, align 4
  %29 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %26, i32 0, i32 1
  %30 = extractvalue { <2 x float>, <2 x float> } %25, 1
  store <2 x float> %30, ptr %29, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %103, %1
  %32 = load i32, ptr %4, align 4, !tbaa !9
  %33 = icmp slt i32 %32, 2
  br i1 %33, label %35, label %34

34:                                               ; preds = %31
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %106

35:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %36

36:                                               ; preds = %99, %35
  %37 = load i32, ptr %6, align 4, !tbaa !9
  %38 = icmp slt i32 %37, 2
  br i1 %38, label %40, label %39

39:                                               ; preds = %36
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %102

40:                                               ; preds = %36
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %41, i32 0, i32 0
  %43 = load i32, ptr %42, align 4, !tbaa !11
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %42, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %45 = load i32, ptr %4, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [2 x [2 x float]], ptr %3, i64 0, i64 %46
  %48 = load i32, ptr %6, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [2 x float], ptr %47, i64 0, i64 %49
  %51 = load float, ptr %50, align 4, !tbaa !13
  store float %51, ptr %7, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %52 = load float, ptr %7, align 4, !tbaa !14
  %53 = fsub float %52, 0.000000e+00
  store float %53, ptr %8, align 4, !tbaa !14
  %54 = load float, ptr %8, align 4, !tbaa !14
  %55 = fcmp olt float %54, 0xBE80000000000000
  br i1 %55, label %59, label %56

56:                                               ; preds = %40
  %57 = load float, ptr %8, align 4, !tbaa !14
  %58 = fcmp olt float 0x3E80000000000000, %57
  br i1 %58, label %59, label %70

59:                                               ; preds = %56, %40
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %60, i32 0, i32 1
  %62 = load i32, ptr %61, align 4, !tbaa !16
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %61, align 4, !tbaa !16
  %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 131)
  %65 = load float, ptr %7, align 4, !tbaa !14
  %66 = fpext float %65 to double
  %67 = load float, ptr %8, align 4, !tbaa !14
  %68 = fpext float %67 to double
  %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %66, double noundef %68)
  br label %70

70:                                               ; preds = %59, %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  %71 = load ptr, ptr %2, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %71, i32 0, i32 0
  %73 = load i32, ptr %72, align 4, !tbaa !11
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %72, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %75 = load i32, ptr %4, align 4, !tbaa !9
  %76 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN8HMM_Mat2ixEi(ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef %75)
  %77 = load i32, ptr %6, align 4, !tbaa !9
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec2ixEi(ptr noundef nonnull align 4 dereferenceable(8) %76, i32 noundef %77)
  %79 = load float, ptr %78, align 4, !tbaa !14
  store float %79, ptr %9, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %80 = load float, ptr %9, align 4, !tbaa !14
  %81 = fsub float %80, 0.000000e+00
  store float %81, ptr %10, align 4, !tbaa !14
  %82 = load float, ptr %10, align 4, !tbaa !14
  %83 = fcmp olt float %82, 0xBE80000000000000
  br i1 %83, label %87, label %84

84:                                               ; preds = %70
  %85 = load float, ptr %10, align 4, !tbaa !14
  %86 = fcmp olt float 0x3E80000000000000, %85
  br i1 %86, label %87, label %98

87:                                               ; preds = %84, %70
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %88, i32 0, i32 1
  %90 = load i32, ptr %89, align 4, !tbaa !16
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %89, align 4, !tbaa !16
  %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 133)
  %93 = load float, ptr %9, align 4, !tbaa !14
  %94 = fpext float %93 to double
  %95 = load float, ptr %10, align 4, !tbaa !14
  %96 = fpext float %95 to double
  %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %94, double noundef %96)
  br label %98

98:                                               ; preds = %87, %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %99

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

102:                                              ; preds = %39
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %4, align 4, !tbaa !9
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %4, align 4, !tbaa !9
  br label %31, !llvm.loop !19

106:                                              ; preds = %34
  call void @llvm.lifetime.start.p0(i64 36, ptr %11) #5
  call void @_ZL6HMM_M3v(ptr dead_on_unwind writable sret(%union.HMM_Mat3) align 4 %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %107

107:                                              ; preds = %179, %106
  %108 = load i32, ptr %12, align 4, !tbaa !9
  %109 = icmp slt i32 %108, 3
  br i1 %109, label %111, label %110

110:                                              ; preds = %107
  store i32 8, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %182

111:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %112

112:                                              ; preds = %175, %111
  %113 = load i32, ptr %13, align 4, !tbaa !9
  %114 = icmp slt i32 %113, 3
  br i1 %114, label %116, label %115

115:                                              ; preds = %112
  store i32 11, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %178

116:                                              ; preds = %112
  %117 = load ptr, ptr %2, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %117, i32 0, i32 0
  %119 = load i32, ptr %118, align 4, !tbaa !11
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %118, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %121 = load i32, ptr %12, align 4, !tbaa !9
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [3 x [3 x float]], ptr %11, i64 0, i64 %122
  %124 = load i32, ptr %13, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [3 x float], ptr %123, i64 0, i64 %125
  %127 = load float, ptr %126, align 4, !tbaa !13
  store float %127, ptr %14, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %128 = load float, ptr %14, align 4, !tbaa !14
  %129 = fsub float %128, 0.000000e+00
  store float %129, ptr %15, align 4, !tbaa !14
  %130 = load float, ptr %15, align 4, !tbaa !14
  %131 = fcmp olt float %130, 0xBE80000000000000
  br i1 %131, label %135, label %132

132:                                              ; preds = %116
  %133 = load float, ptr %15, align 4, !tbaa !14
  %134 = fcmp olt float 0x3E80000000000000, %133
  br i1 %134, label %135, label %146

135:                                              ; preds = %132, %116
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %136, i32 0, i32 1
  %138 = load i32, ptr %137, align 4, !tbaa !16
  %139 = add nsw i32 %138, 1
  store i32 %139, ptr %137, align 4, !tbaa !16
  %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 146)
  %141 = load float, ptr %14, align 4, !tbaa !14
  %142 = fpext float %141 to double
  %143 = load float, ptr %15, align 4, !tbaa !14
  %144 = fpext float %143 to double
  %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %142, double noundef %144)
  br label %146

146:                                              ; preds = %135, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  %147 = load ptr, ptr %2, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %147, i32 0, i32 0
  %149 = load i32, ptr %148, align 4, !tbaa !11
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %148, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %151 = load i32, ptr %12, align 4, !tbaa !9
  %152 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8HMM_Mat3ixEi(ptr noundef nonnull align 4 dereferenceable(36) %11, i32 noundef %151)
  %153 = load i32, ptr %13, align 4, !tbaa !9
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %152, i32 noundef %153)
  %155 = load float, ptr %154, align 4, !tbaa !14
  store float %155, ptr %16, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %156 = load float, ptr %16, align 4, !tbaa !14
  %157 = fsub float %156, 0.000000e+00
  store float %157, ptr %17, align 4, !tbaa !14
  %158 = load float, ptr %17, align 4, !tbaa !14
  %159 = fcmp olt float %158, 0xBE80000000000000
  br i1 %159, label %163, label %160

160:                                              ; preds = %146
  %161 = load float, ptr %17, align 4, !tbaa !14
  %162 = fcmp olt float 0x3E80000000000000, %161
  br i1 %162, label %163, label %174

163:                                              ; preds = %160, %146
  %164 = load ptr, ptr %2, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %164, i32 0, i32 1
  %166 = load i32, ptr %165, align 4, !tbaa !16
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %165, align 4, !tbaa !16
  %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 148)
  %169 = load float, ptr %16, align 4, !tbaa !14
  %170 = fpext float %169 to double
  %171 = load float, ptr %17, align 4, !tbaa !14
  %172 = fpext float %171 to double
  %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %170, double noundef %172)
  br label %174

174:                                              ; preds = %163, %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %175

175:                                              ; preds = %174
  %176 = load i32, ptr %13, align 4, !tbaa !9
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %13, align 4, !tbaa !9
  br label %112, !llvm.loop !20

178:                                              ; preds = %115
  br label %179

179:                                              ; preds = %178
  %180 = load i32, ptr %12, align 4, !tbaa !9
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %12, align 4, !tbaa !9
  br label %107, !llvm.loop !21

182:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #5
  call void @_ZL6HMM_M4v(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %18)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %183

183:                                              ; preds = %255, %182
  %184 = load i32, ptr %19, align 4, !tbaa !9
  %185 = icmp slt i32 %184, 4
  br i1 %185, label %187, label %186

186:                                              ; preds = %183
  store i32 14, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %258

187:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %188

188:                                              ; preds = %251, %187
  %189 = load i32, ptr %20, align 4, !tbaa !9
  %190 = icmp slt i32 %189, 4
  br i1 %190, label %192, label %191

191:                                              ; preds = %188
  store i32 17, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %254

192:                                              ; preds = %188
  %193 = load ptr, ptr %2, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %193, i32 0, i32 0
  %195 = load i32, ptr %194, align 4, !tbaa !11
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %194, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %197 = load i32, ptr %19, align 4, !tbaa !9
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [4 x [4 x float]], ptr %18, i64 0, i64 %198
  %200 = load i32, ptr %20, align 4, !tbaa !9
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [4 x float], ptr %199, i64 0, i64 %201
  %203 = load float, ptr %202, align 4, !tbaa !13
  store float %203, ptr %21, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %204 = load float, ptr %21, align 4, !tbaa !14
  %205 = fsub float %204, 0.000000e+00
  store float %205, ptr %22, align 4, !tbaa !14
  %206 = load float, ptr %22, align 4, !tbaa !14
  %207 = fcmp olt float %206, 0xBE80000000000000
  br i1 %207, label %211, label %208

208:                                              ; preds = %192
  %209 = load float, ptr %22, align 4, !tbaa !14
  %210 = fcmp olt float 0x3E80000000000000, %209
  br i1 %210, label %211, label %222

211:                                              ; preds = %208, %192
  %212 = load ptr, ptr %2, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %212, i32 0, i32 1
  %214 = load i32, ptr %213, align 4, !tbaa !16
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %213, align 4, !tbaa !16
  %216 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 161)
  %217 = load float, ptr %21, align 4, !tbaa !14
  %218 = fpext float %217 to double
  %219 = load float, ptr %22, align 4, !tbaa !14
  %220 = fpext float %219 to double
  %221 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %218, double noundef %220)
  br label %222

222:                                              ; preds = %211, %208
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  %223 = load ptr, ptr %2, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %223, i32 0, i32 0
  %225 = load i32, ptr %224, align 4, !tbaa !11
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %224, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %227 = load i32, ptr %19, align 4, !tbaa !9
  %228 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN8HMM_Mat4ixEi(ptr noundef nonnull align 16 dereferenceable(64) %18, i32 noundef %227)
  %229 = load i32, ptr %20, align 4, !tbaa !9
  %230 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec4ixEi(ptr noundef nonnull align 16 dereferenceable(16) %228, i32 noundef %229)
  %231 = load float, ptr %230, align 4, !tbaa !14
  store float %231, ptr %23, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %232 = load float, ptr %23, align 4, !tbaa !14
  %233 = fsub float %232, 0.000000e+00
  store float %233, ptr %24, align 4, !tbaa !14
  %234 = load float, ptr %24, align 4, !tbaa !14
  %235 = fcmp olt float %234, 0xBE80000000000000
  br i1 %235, label %239, label %236

236:                                              ; preds = %222
  %237 = load float, ptr %24, align 4, !tbaa !14
  %238 = fcmp olt float 0x3E80000000000000, %237
  br i1 %238, label %239, label %250

239:                                              ; preds = %236, %222
  %240 = load ptr, ptr %2, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %240, i32 0, i32 1
  %242 = load i32, ptr %241, align 4, !tbaa !16
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %241, align 4, !tbaa !16
  %244 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 163)
  %245 = load float, ptr %23, align 4, !tbaa !14
  %246 = fpext float %245 to double
  %247 = load float, ptr %24, align 4, !tbaa !14
  %248 = fpext float %247 to double
  %249 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %246, double noundef %248)
  br label %250

250:                                              ; preds = %239, %236
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %251

251:                                              ; preds = %250
  %252 = load i32, ptr %20, align 4, !tbaa !9
  %253 = add nsw i32 %252, 1
  store i32 %253, ptr %20, align 4, !tbaa !9
  br label %188, !llvm.loop !22

254:                                              ; preds = %191
  br label %255

255:                                              ; preds = %254
  %256 = load i32, ptr %19, align 4, !tbaa !9
  %257 = add nsw i32 %256, 1
  store i32 %257, ptr %19, align 4, !tbaa !9
  br label %183, !llvm.loop !23

258:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #5
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZL6HMM_M2v() #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN8HMM_Mat2ixEi(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL6HMM_M3v(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat3) align 4) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL6HMM_M4v(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16) #4

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS21hmt_testresult_struct", !10, i64 0, !10, i64 4}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!12, !10, i64 4}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}


; 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"

%union.HMM_Mat2 = type { [2 x [2 x float]] }
%union.HMM_Mat3 = type { [3 x [3 x float]] }
%union.HMM_Mat4 = type { [4 x %union.HMM_Vec4] }
%union.HMM_Vec4 = type { <4 x float> }

@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [34 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: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z36_hmt_test_Initialization_MatrixEmptyP21hmt_testresult_struct(ptr nocapture noundef %0) local_unnamed_addr #3 {
.preheader82:
  %1 = alloca %union.HMM_Mat2, align 8
  %2 = alloca %union.HMM_Mat3, align 4
  %3 = alloca %union.HMM_Mat4, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #6
  %4 = tail call { <2 x float>, <2 x float> } @_ZL6HMM_M2v()
  %5 = extractvalue { <2 x float>, <2 x float> } %4, 0
  store <2 x float> %5, ptr %1, align 8
  %6 = getelementptr inbounds i8, ptr %1, i64 8
  %7 = extractvalue { <2 x float>, <2 x float> } %4, 1
  store <2 x float> %7, ptr %6, align 8
  %8 = getelementptr inbounds i8, ptr %0, i64 4
  %9 = load i32, ptr %0, align 4, !tbaa !5
  %10 = add nsw i32 %9, 1
  store i32 %10, ptr %0, align 4, !tbaa !5
  %11 = extractelement <2 x float> %5, i64 0
  %12 = tail call float @llvm.fabs.f32(float %11)
  %or.cond = fcmp ogt float %12, 0x3E80000000000000
  br i1 %or.cond, label %13, label %19

13:                                               ; preds = %.preheader82
  %14 = load i32, ptr %8, align 4, !tbaa !10
  %15 = add nsw i32 %14, 1
  store i32 %15, ptr %8, align 4, !tbaa !10
  %16 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 131)
  %17 = fpext float %11 to double
  %18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %17, double noundef %17)
  %.pre = load i32, ptr %0, align 4, !tbaa !5
  br label %19

19:                                               ; preds = %.preheader82, %13
  %20 = phi i32 [ %10, %.preheader82 ], [ %.pre, %13 ]
  %21 = add nsw i32 %20, 1
  store i32 %21, ptr %0, align 4, !tbaa !5
  %22 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN8HMM_Mat2ixEi(ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef 0)
  %23 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec2ixEi(ptr noundef nonnull align 4 dereferenceable(8) %22, i32 noundef 0)
  %24 = load float, ptr %23, align 4, !tbaa !11
  %25 = call float @llvm.fabs.f32(float %24)
  %or.cond3 = fcmp ogt float %25, 0x3E80000000000000
  br i1 %or.cond3, label %26, label %32

26:                                               ; preds = %19
  %27 = load i32, ptr %8, align 4, !tbaa !10
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %8, align 4, !tbaa !10
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 133)
  %30 = fpext float %24 to double
  %31 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %30, double noundef %30)
  br label %32

32:                                               ; preds = %19, %26
  %33 = load i32, ptr %0, align 4, !tbaa !5
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %0, align 4, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %1, i64 4
  %36 = load float, ptr %35, align 4, !tbaa !13
  %37 = call float @llvm.fabs.f32(float %36)
  %or.cond.1 = fcmp ogt float %37, 0x3E80000000000000
  br i1 %or.cond.1, label %38, label %44

38:                                               ; preds = %32
  %39 = load i32, ptr %8, align 4, !tbaa !10
  %40 = add nsw i32 %39, 1
  store i32 %40, ptr %8, align 4, !tbaa !10
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 131)
  %42 = fpext float %36 to double
  %43 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %42, double noundef %42)
  %.pre103 = load i32, ptr %0, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %38, %32
  %45 = phi i32 [ %.pre103, %38 ], [ %34, %32 ]
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %0, align 4, !tbaa !5
  %47 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN8HMM_Mat2ixEi(ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef 0)
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec2ixEi(ptr noundef nonnull align 4 dereferenceable(8) %47, i32 noundef 1)
  %49 = load float, ptr %48, align 4, !tbaa !11
  %50 = call float @llvm.fabs.f32(float %49)
  %or.cond3.1 = fcmp ogt float %50, 0x3E80000000000000
  br i1 %or.cond3.1, label %51, label %.preheader82.1

51:                                               ; preds = %44
  %52 = load i32, ptr %8, align 4, !tbaa !10
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %8, align 4, !tbaa !10
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 133)
  %55 = fpext float %49 to double
  %56 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %55, double noundef %55)
  br label %.preheader82.1

.preheader82.1:                                   ; preds = %51, %44
  %57 = load i32, ptr %0, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %0, align 4, !tbaa !5
  %59 = load float, ptr %6, align 8, !tbaa !13
  %60 = call float @llvm.fabs.f32(float %59)
  %or.cond.191 = fcmp ogt float %60, 0x3E80000000000000
  br i1 %or.cond.191, label %61, label %67

61:                                               ; preds = %.preheader82.1
  %62 = load i32, ptr %8, align 4, !tbaa !10
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %8, align 4, !tbaa !10
  %64 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 131)
  %65 = fpext float %59 to double
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %65, double noundef %65)
  %.pre104 = load i32, ptr %0, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %61, %.preheader82.1
  %68 = phi i32 [ %.pre104, %61 ], [ %58, %.preheader82.1 ]
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %0, align 4, !tbaa !5
  %70 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN8HMM_Mat2ixEi(ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef 1)
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec2ixEi(ptr noundef nonnull align 4 dereferenceable(8) %70, i32 noundef 0)
  %72 = load float, ptr %71, align 4, !tbaa !11
  %73 = call float @llvm.fabs.f32(float %72)
  %or.cond3.192 = fcmp ogt float %73, 0x3E80000000000000
  br i1 %or.cond3.192, label %74, label %80

74:                                               ; preds = %67
  %75 = load i32, ptr %8, align 4, !tbaa !10
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %8, align 4, !tbaa !10
  %77 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 133)
  %78 = fpext float %72 to double
  %79 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %78, double noundef %78)
  br label %80

80:                                               ; preds = %74, %67
  %81 = load i32, ptr %0, align 4, !tbaa !5
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %0, align 4, !tbaa !5
  %83 = getelementptr inbounds i8, ptr %1, i64 12
  %84 = load float, ptr %83, align 4, !tbaa !13
  %85 = call float @llvm.fabs.f32(float %84)
  %or.cond.1.1 = fcmp ogt float %85, 0x3E80000000000000
  br i1 %or.cond.1.1, label %86, label %92

86:                                               ; preds = %80
  %87 = load i32, ptr %8, align 4, !tbaa !10
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %8, align 4, !tbaa !10
  %89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 131)
  %90 = fpext float %84 to double
  %91 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %90, double noundef %90)
  %.pre105 = load i32, ptr %0, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %86, %80
  %93 = phi i32 [ %.pre105, %86 ], [ %82, %80 ]
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %0, align 4, !tbaa !5
  %95 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN8HMM_Mat2ixEi(ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef 1)
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec2ixEi(ptr noundef nonnull align 4 dereferenceable(8) %95, i32 noundef 1)
  %97 = load float, ptr %96, align 4, !tbaa !11
  %98 = call float @llvm.fabs.f32(float %97)
  %or.cond3.1.1 = fcmp ogt float %98, 0x3E80000000000000
  br i1 %or.cond3.1.1, label %99, label %105

99:                                               ; preds = %92
  %100 = load i32, ptr %8, align 4, !tbaa !10
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %8, align 4, !tbaa !10
  %102 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 133)
  %103 = fpext float %97 to double
  %104 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %103, double noundef %103)
  br label %105

105:                                              ; preds = %99, %92
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %2) #6
  call void @_ZL6HMM_M3v(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat3) align 4 %2)
  br label %.preheader81

.preheader81:                                     ; preds = %105, %182
  %indvars.iv = phi i64 [ 0, %105 ], [ %indvars.iv.next, %182 ]
  %106 = load i32, ptr %0, align 4, !tbaa !5
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %0, align 4, !tbaa !5
  %108 = getelementptr inbounds [3 x [3 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 0
  %109 = load float, ptr %108, align 4, !tbaa !13
  %110 = call float @llvm.fabs.f32(float %109)
  %or.cond5 = fcmp ogt float %110, 0x3E80000000000000
  br i1 %or.cond5, label %112, label %118

111:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #6
  call void @_ZL6HMM_M4v(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %3)
  br label %.preheader

112:                                              ; preds = %.preheader81
  %113 = load i32, ptr %8, align 4, !tbaa !10
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %8, align 4, !tbaa !10
  %115 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 146)
  %116 = fpext float %109 to double
  %117 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %116, double noundef %116)
  %.pre106 = load i32, ptr %0, align 4, !tbaa !5
  br label %118

118:                                              ; preds = %.preheader81, %112
  %119 = phi i32 [ %107, %.preheader81 ], [ %.pre106, %112 ]
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %0, align 4, !tbaa !5
  %121 = trunc nuw nsw i64 %indvars.iv to i32
  %122 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8HMM_Mat3ixEi(ptr noundef nonnull align 4 dereferenceable(36) %2, i32 noundef %121)
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %122, i32 noundef 0)
  %124 = load float, ptr %123, align 4, !tbaa !11
  %125 = call float @llvm.fabs.f32(float %124)
  %or.cond7 = fcmp ogt float %125, 0x3E80000000000000
  br i1 %or.cond7, label %126, label %132

126:                                              ; preds = %118
  %127 = load i32, ptr %8, align 4, !tbaa !10
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %8, align 4, !tbaa !10
  %129 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 148)
  %130 = fpext float %124 to double
  %131 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %130, double noundef %130)
  br label %132

132:                                              ; preds = %118, %126
  %133 = load i32, ptr %0, align 4, !tbaa !5
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %0, align 4, !tbaa !5
  %135 = getelementptr inbounds [3 x [3 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 1
  %136 = load float, ptr %135, align 4, !tbaa !13
  %137 = call float @llvm.fabs.f32(float %136)
  %or.cond5.1 = fcmp ogt float %137, 0x3E80000000000000
  br i1 %or.cond5.1, label %138, label %144

138:                                              ; preds = %132
  %139 = load i32, ptr %8, align 4, !tbaa !10
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %8, align 4, !tbaa !10
  %141 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 146)
  %142 = fpext float %136 to double
  %143 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %142, double noundef %142)
  %.pre107 = load i32, ptr %0, align 4, !tbaa !5
  br label %144

144:                                              ; preds = %138, %132
  %145 = phi i32 [ %.pre107, %138 ], [ %134, %132 ]
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %0, align 4, !tbaa !5
  %147 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8HMM_Mat3ixEi(ptr noundef nonnull align 4 dereferenceable(36) %2, i32 noundef %121)
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %147, i32 noundef 1)
  %149 = load float, ptr %148, align 4, !tbaa !11
  %150 = call float @llvm.fabs.f32(float %149)
  %or.cond7.1 = fcmp ogt float %150, 0x3E80000000000000
  br i1 %or.cond7.1, label %151, label %157

151:                                              ; preds = %144
  %152 = load i32, ptr %8, align 4, !tbaa !10
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %8, align 4, !tbaa !10
  %154 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 148)
  %155 = fpext float %149 to double
  %156 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %155, double noundef %155)
  br label %157

157:                                              ; preds = %151, %144
  %158 = load i32, ptr %0, align 4, !tbaa !5
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %0, align 4, !tbaa !5
  %160 = getelementptr inbounds [3 x [3 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 2
  %161 = load float, ptr %160, align 4, !tbaa !13
  %162 = call float @llvm.fabs.f32(float %161)
  %or.cond5.2 = fcmp ogt float %162, 0x3E80000000000000
  br i1 %or.cond5.2, label %163, label %169

163:                                              ; preds = %157
  %164 = load i32, ptr %8, align 4, !tbaa !10
  %165 = add nsw i32 %164, 1
  store i32 %165, ptr %8, align 4, !tbaa !10
  %166 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 146)
  %167 = fpext float %161 to double
  %168 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %167, double noundef %167)
  %.pre108 = load i32, ptr %0, align 4, !tbaa !5
  br label %169

169:                                              ; preds = %163, %157
  %170 = phi i32 [ %.pre108, %163 ], [ %159, %157 ]
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %0, align 4, !tbaa !5
  %172 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8HMM_Mat3ixEi(ptr noundef nonnull align 4 dereferenceable(36) %2, i32 noundef %121)
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %172, i32 noundef 2)
  %174 = load float, ptr %173, align 4, !tbaa !11
  %175 = call float @llvm.fabs.f32(float %174)
  %or.cond7.2 = fcmp ogt float %175, 0x3E80000000000000
  br i1 %or.cond7.2, label %176, label %182

176:                                              ; preds = %169
  %177 = load i32, ptr %8, align 4, !tbaa !10
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %8, align 4, !tbaa !10
  %179 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 148)
  %180 = fpext float %174 to double
  %181 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %180, double noundef %180)
  br label %182

182:                                              ; preds = %176, %169
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 3
  br i1 %exitcond.not, label %111, label %.preheader81, !llvm.loop !14

.preheader:                                       ; preds = %111, %284
  %indvars.iv99 = phi i64 [ 0, %111 ], [ %indvars.iv.next100, %284 ]
  %183 = load i32, ptr %0, align 4, !tbaa !5
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %0, align 4, !tbaa !5
  %185 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %indvars.iv99, i64 0
  %186 = load float, ptr %185, align 16, !tbaa !13
  %187 = call float @llvm.fabs.f32(float %186)
  %or.cond9 = fcmp ogt float %187, 0x3E80000000000000
  br i1 %or.cond9, label %189, label %195

188:                                              ; preds = %284
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #6
  ret void

189:                                              ; preds = %.preheader
  %190 = load i32, ptr %8, align 4, !tbaa !10
  %191 = add nsw i32 %190, 1
  store i32 %191, ptr %8, align 4, !tbaa !10
  %192 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 161)
  %193 = fpext float %186 to double
  %194 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %193, double noundef %193)
  %.pre109 = load i32, ptr %0, align 4, !tbaa !5
  br label %195

195:                                              ; preds = %.preheader, %189
  %196 = phi i32 [ %184, %.preheader ], [ %.pre109, %189 ]
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %0, align 4, !tbaa !5
  %198 = trunc nuw nsw i64 %indvars.iv99 to i32
  %199 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN8HMM_Mat4ixEi(ptr noundef nonnull align 16 dereferenceable(64) %3, i32 noundef %198)
  %200 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec4ixEi(ptr noundef nonnull align 16 dereferenceable(16) %199, i32 noundef 0)
  %201 = load float, ptr %200, align 4, !tbaa !11
  %202 = call float @llvm.fabs.f32(float %201)
  %or.cond11 = fcmp ogt float %202, 0x3E80000000000000
  br i1 %or.cond11, label %203, label %209

203:                                              ; preds = %195
  %204 = load i32, ptr %8, align 4, !tbaa !10
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %8, align 4, !tbaa !10
  %206 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 163)
  %207 = fpext float %201 to double
  %208 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %207, double noundef %207)
  br label %209

209:                                              ; preds = %195, %203
  %210 = load i32, ptr %0, align 4, !tbaa !5
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %0, align 4, !tbaa !5
  %212 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %indvars.iv99, i64 1
  %213 = load float, ptr %212, align 4, !tbaa !13
  %214 = call float @llvm.fabs.f32(float %213)
  %or.cond9.1 = fcmp ogt float %214, 0x3E80000000000000
  br i1 %or.cond9.1, label %215, label %221

215:                                              ; preds = %209
  %216 = load i32, ptr %8, align 4, !tbaa !10
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %8, align 4, !tbaa !10
  %218 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 161)
  %219 = fpext float %213 to double
  %220 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %219, double noundef %219)
  %.pre110 = load i32, ptr %0, align 4, !tbaa !5
  br label %221

221:                                              ; preds = %215, %209
  %222 = phi i32 [ %.pre110, %215 ], [ %211, %209 ]
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr %0, align 4, !tbaa !5
  %224 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN8HMM_Mat4ixEi(ptr noundef nonnull align 16 dereferenceable(64) %3, i32 noundef %198)
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec4ixEi(ptr noundef nonnull align 16 dereferenceable(16) %224, i32 noundef 1)
  %226 = load float, ptr %225, align 4, !tbaa !11
  %227 = call float @llvm.fabs.f32(float %226)
  %or.cond11.1 = fcmp ogt float %227, 0x3E80000000000000
  br i1 %or.cond11.1, label %228, label %234

228:                                              ; preds = %221
  %229 = load i32, ptr %8, align 4, !tbaa !10
  %230 = add nsw i32 %229, 1
  store i32 %230, ptr %8, align 4, !tbaa !10
  %231 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 163)
  %232 = fpext float %226 to double
  %233 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %232, double noundef %232)
  br label %234

234:                                              ; preds = %228, %221
  %235 = load i32, ptr %0, align 4, !tbaa !5
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %0, align 4, !tbaa !5
  %237 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %indvars.iv99, i64 2
  %238 = load float, ptr %237, align 8, !tbaa !13
  %239 = call float @llvm.fabs.f32(float %238)
  %or.cond9.2 = fcmp ogt float %239, 0x3E80000000000000
  br i1 %or.cond9.2, label %240, label %246

240:                                              ; preds = %234
  %241 = load i32, ptr %8, align 4, !tbaa !10
  %242 = add nsw i32 %241, 1
  store i32 %242, ptr %8, align 4, !tbaa !10
  %243 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 161)
  %244 = fpext float %238 to double
  %245 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %244, double noundef %244)
  %.pre111 = load i32, ptr %0, align 4, !tbaa !5
  br label %246

246:                                              ; preds = %240, %234
  %247 = phi i32 [ %.pre111, %240 ], [ %236, %234 ]
  %248 = add nsw i32 %247, 1
  store i32 %248, ptr %0, align 4, !tbaa !5
  %249 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN8HMM_Mat4ixEi(ptr noundef nonnull align 16 dereferenceable(64) %3, i32 noundef %198)
  %250 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec4ixEi(ptr noundef nonnull align 16 dereferenceable(16) %249, i32 noundef 2)
  %251 = load float, ptr %250, align 4, !tbaa !11
  %252 = call float @llvm.fabs.f32(float %251)
  %or.cond11.2 = fcmp ogt float %252, 0x3E80000000000000
  br i1 %or.cond11.2, label %253, label %259

253:                                              ; preds = %246
  %254 = load i32, ptr %8, align 4, !tbaa !10
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr %8, align 4, !tbaa !10
  %256 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 163)
  %257 = fpext float %251 to double
  %258 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %257, double noundef %257)
  br label %259

259:                                              ; preds = %253, %246
  %260 = load i32, ptr %0, align 4, !tbaa !5
  %261 = add nsw i32 %260, 1
  store i32 %261, ptr %0, align 4, !tbaa !5
  %262 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %indvars.iv99, i64 3
  %263 = load float, ptr %262, align 4, !tbaa !13
  %264 = call float @llvm.fabs.f32(float %263)
  %or.cond9.3 = fcmp ogt float %264, 0x3E80000000000000
  br i1 %or.cond9.3, label %265, label %271

265:                                              ; preds = %259
  %266 = load i32, ptr %8, align 4, !tbaa !10
  %267 = add nsw i32 %266, 1
  store i32 %267, ptr %8, align 4, !tbaa !10
  %268 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 161)
  %269 = fpext float %263 to double
  %270 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %269, double noundef %269)
  %.pre112 = load i32, ptr %0, align 4, !tbaa !5
  br label %271

271:                                              ; preds = %265, %259
  %272 = phi i32 [ %.pre112, %265 ], [ %261, %259 ]
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr %0, align 4, !tbaa !5
  %274 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN8HMM_Mat4ixEi(ptr noundef nonnull align 16 dereferenceable(64) %3, i32 noundef %198)
  %275 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8HMM_Vec4ixEi(ptr noundef nonnull align 16 dereferenceable(16) %274, i32 noundef 3)
  %276 = load float, ptr %275, align 4, !tbaa !11
  %277 = call float @llvm.fabs.f32(float %276)
  %or.cond11.3 = fcmp ogt float %277, 0x3E80000000000000
  br i1 %or.cond11.3, label %278, label %284

278:                                              ; preds = %271
  %279 = load i32, ptr %8, align 4, !tbaa !10
  %280 = add nsw i32 %279, 1
  store i32 %280, ptr %8, align 4, !tbaa !10
  %281 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 163)
  %282 = fpext float %276 to double
  %283 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %282, double noundef %282)
  br label %284

284:                                              ; preds = %278, %271
  %indvars.iv.next100 = add nuw nsw i64 %indvars.iv99, 1
  %exitcond102.not = icmp eq i64 %indvars.iv.next100, 4
  br i1 %exitcond102.not, label %188, label %.preheader, !llvm.loop !16
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZL6HMM_M2v() local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN8HMM_Mat2ixEi(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL6HMM_M3v(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat3) align 4) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL6HMM_M4v(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16) local_unnamed_addr #4

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress 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"="64" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 0}
!6 = !{!"_ZTS21hmt_testresult_struct", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass