; LLVM IR from HandmadeMath/HandmadeMath :: test/hmm_test.ll (Z23_hmt_test_Addition_Mat4P21hmt_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_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 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.end.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z23_hmt_test_Addition_Mat4P21hmt_testresult_struct(ptr noundef %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca %union.HMM_Mat4, align 16
  %4 = alloca %union.HMM_Mat4, align 16
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %union.HMM_Mat4, align 16
  %12 = alloca %union.HMM_Mat4, align 16
  %13 = alloca %union.HMM_Mat4, align 16
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca %union.HMM_Mat4, align 16
  %20 = alloca %union.HMM_Mat4, align 16
  %21 = alloca %union.HMM_Mat4, align 16
  %22 = alloca float, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca %union.HMM_Mat4, align 16
  %28 = alloca %union.HMM_Mat4, align 16
  %29 = alloca %union.HMM_Mat4, align 16
  %30 = alloca float, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca float, align 4
  %34 = alloca float, align 4
  %35 = alloca %union.HMM_Mat4, align 16
  %36 = alloca float, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca float, align 4
  %40 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %3) #5
  call void @_ZL6HMM_M4v(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %3)
  call void @llvm.lifetime.start.p0(i64 64, ptr %4) #5
  call void @_ZL6HMM_M4v(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %41

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

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

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

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

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

50:                                               ; preds = %46
  %51 = load i32, ptr %5, align 4, !tbaa !9
  %52 = sitofp i32 %51 to float
  %53 = load i32, ptr %6, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %54
  %56 = load i32, ptr %8, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [4 x float], ptr %55, i64 0, i64 %57
  store float %52, ptr %58, align 4, !tbaa !11
  %59 = load i32, ptr %5, align 4, !tbaa !9
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %5, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %50
  %62 = load i32, ptr %8, align 4, !tbaa !9
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %8, align 4, !tbaa !9
  br label %46, !llvm.loop !12

64:                                               ; preds = %49
  br label %65

65:                                               ; preds = %64
  %66 = load i32, ptr %6, align 4, !tbaa !9
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %6, align 4, !tbaa !9
  br label %41, !llvm.loop !14

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

69:                                               ; preds = %93, %68
  %70 = load i32, ptr %9, align 4, !tbaa !9
  %71 = icmp slt i32 %70, 4
  br i1 %71, label %73, label %72

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

73:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %74

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

77:                                               ; preds = %74
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %92

78:                                               ; preds = %74
  %79 = load i32, ptr %5, align 4, !tbaa !9
  %80 = sitofp i32 %79 to float
  %81 = load i32, ptr %9, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 %82
  %84 = load i32, ptr %10, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [4 x float], ptr %83, i64 0, i64 %85
  store float %80, ptr %86, align 4, !tbaa !11
  %87 = load i32, ptr %5, align 4, !tbaa !9
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %5, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %78
  %90 = load i32, ptr %10, align 4, !tbaa !9
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %10, align 4, !tbaa !9
  br label %74, !llvm.loop !15

92:                                               ; preds = %77
  br label %93

93:                                               ; preds = %92
  %94 = load i32, ptr %9, align 4, !tbaa !9
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %9, align 4, !tbaa !9
  br label %69, !llvm.loop !16

96:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 %3, i64 64, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %4, i64 64, i1 false), !tbaa.struct !17
  call void @_ZL9HMM_AddM48HMM_Mat4S_(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %11, ptr noundef byval(%union.HMM_Mat4) align 16 %12, ptr noundef byval(%union.HMM_Mat4) align 16 %13)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store float 1.800000e+01, ptr %14, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %146, %96
  %98 = load i32, ptr %15, align 4, !tbaa !9
  %99 = icmp slt i32 %98, 4
  br i1 %99, label %101, label %100

100:                                              ; preds = %97
  store i32 14, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %149

101:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %142, %101
  %103 = load i32, ptr %16, align 4, !tbaa !9
  %104 = icmp slt i32 %103, 4
  br i1 %104, label %106, label %105

105:                                              ; preds = %102
  store i32 17, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %145

106:                                              ; preds = %102
  %107 = load ptr, ptr %2, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %107, i32 0, i32 0
  %109 = load i32, ptr %108, align 4, !tbaa !20
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %108, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %111 = load i32, ptr %15, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [4 x [4 x float]], ptr %11, i64 0, i64 %112
  %114 = load i32, ptr %16, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [4 x float], ptr %113, i64 0, i64 %115
  %117 = load float, ptr %116, align 4, !tbaa !11
  store float %117, ptr %17, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %118 = load float, ptr %17, align 4, !tbaa !18
  %119 = load float, ptr %14, align 4, !tbaa !18
  %120 = fsub float %118, %119
  store float %120, ptr %18, align 4, !tbaa !18
  %121 = load float, ptr %18, align 4, !tbaa !18
  %122 = fcmp olt float %121, 0xBE80000000000000
  br i1 %122, label %126, label %123

123:                                              ; preds = %106
  %124 = load float, ptr %18, align 4, !tbaa !18
  %125 = fcmp olt float 0x3E80000000000000, %124
  br i1 %125, label %126, label %139

126:                                              ; preds = %123, %106
  %127 = load ptr, ptr %2, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %127, i32 0, i32 1
  %129 = load i32, ptr %128, align 4, !tbaa !22
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %128, align 4, !tbaa !22
  %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 265)
  %132 = load float, ptr %14, align 4, !tbaa !18
  %133 = fpext float %132 to double
  %134 = load float, ptr %17, align 4, !tbaa !18
  %135 = fpext float %134 to double
  %136 = load float, ptr %18, align 4, !tbaa !18
  %137 = fpext float %136 to double
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef %133, double noundef %135, double noundef %137)
  br label %139

139:                                              ; preds = %126, %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  %140 = load float, ptr %14, align 4, !tbaa !18
  %141 = fadd float %140, 2.000000e+00
  store float %141, ptr %14, align 4, !tbaa !18
  br label %142

142:                                              ; preds = %139
  %143 = load i32, ptr %16, align 4, !tbaa !9
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %16, align 4, !tbaa !9
  br label %102, !llvm.loop !23

145:                                              ; preds = %105
  br label %146

146:                                              ; preds = %145
  %147 = load i32, ptr %15, align 4, !tbaa !9
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %15, align 4, !tbaa !9
  br label %97, !llvm.loop !24

149:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %3, i64 64, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %21, ptr align 16 %4, i64 64, i1 false), !tbaa.struct !17
  call void @_ZL7HMM_Add8HMM_Mat4S_(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %19, ptr noundef byval(%union.HMM_Mat4) align 16 %20, ptr noundef byval(%union.HMM_Mat4) align 16 %21)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store float 1.800000e+01, ptr %22, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %150

150:                                              ; preds = %199, %149
  %151 = load i32, ptr %23, align 4, !tbaa !9
  %152 = icmp slt i32 %151, 4
  br i1 %152, label %154, label %153

153:                                              ; preds = %150
  store i32 20, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %202

154:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %195, %154
  %156 = load i32, ptr %24, align 4, !tbaa !9
  %157 = icmp slt i32 %156, 4
  br i1 %157, label %159, label %158

158:                                              ; preds = %155
  store i32 23, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %198

159:                                              ; preds = %155
  %160 = load ptr, ptr %2, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %160, i32 0, i32 0
  %162 = load i32, ptr %161, align 4, !tbaa !20
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %161, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %164 = load i32, ptr %23, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [4 x [4 x float]], ptr %19, i64 0, i64 %165
  %167 = load i32, ptr %24, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [4 x float], ptr %166, i64 0, i64 %168
  %170 = load float, ptr %169, align 4, !tbaa !11
  store float %170, ptr %25, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %171 = load float, ptr %25, align 4, !tbaa !18
  %172 = load float, ptr %22, align 4, !tbaa !18
  %173 = fsub float %171, %172
  store float %173, ptr %26, align 4, !tbaa !18
  %174 = load float, ptr %26, align 4, !tbaa !18
  %175 = fcmp olt float %174, 0xBE80000000000000
  br i1 %175, label %179, label %176

176:                                              ; preds = %159
  %177 = load float, ptr %26, align 4, !tbaa !18
  %178 = fcmp olt float 0x3E80000000000000, %177
  br i1 %178, label %179, label %192

179:                                              ; preds = %176, %159
  %180 = load ptr, ptr %2, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %180, i32 0, i32 1
  %182 = load i32, ptr %181, align 4, !tbaa !22
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %181, align 4, !tbaa !22
  %184 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 278)
  %185 = load float, ptr %22, align 4, !tbaa !18
  %186 = fpext float %185 to double
  %187 = load float, ptr %25, align 4, !tbaa !18
  %188 = fpext float %187 to double
  %189 = load float, ptr %26, align 4, !tbaa !18
  %190 = fpext float %189 to double
  %191 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef %186, double noundef %188, double noundef %190)
  br label %192

192:                                              ; preds = %179, %176
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  %193 = load float, ptr %22, align 4, !tbaa !18
  %194 = fadd float %193, 2.000000e+00
  store float %194, ptr %22, align 4, !tbaa !18
  br label %195

195:                                              ; preds = %192
  %196 = load i32, ptr %24, align 4, !tbaa !9
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %24, align 4, !tbaa !9
  br label %155, !llvm.loop !25

198:                                              ; preds = %158
  br label %199

199:                                              ; preds = %198
  %200 = load i32, ptr %23, align 4, !tbaa !9
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %23, align 4, !tbaa !9
  br label %150, !llvm.loop !26

202:                                              ; preds = %153
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %3, i64 64, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %4, i64 64, i1 false), !tbaa.struct !17
  call void @_Zpl8HMM_Mat4S_(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %27, ptr noundef byval(%union.HMM_Mat4) align 16 %28, ptr noundef byval(%union.HMM_Mat4) align 16 %29)
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  store float 1.800000e+01, ptr %30, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !9
  br label %203

203:                                              ; preds = %252, %202
  %204 = load i32, ptr %31, align 4, !tbaa !9
  %205 = icmp slt i32 %204, 4
  br i1 %205, label %207, label %206

206:                                              ; preds = %203
  store i32 26, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %255

207:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 0, ptr %32, align 4, !tbaa !9
  br label %208

208:                                              ; preds = %248, %207
  %209 = load i32, ptr %32, align 4, !tbaa !9
  %210 = icmp slt i32 %209, 4
  br i1 %210, label %212, label %211

211:                                              ; preds = %208
  store i32 29, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br label %251

212:                                              ; preds = %208
  %213 = load ptr, ptr %2, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %213, i32 0, i32 0
  %215 = load i32, ptr %214, align 4, !tbaa !20
  %216 = add nsw i32 %215, 1
  store i32 %216, ptr %214, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  %217 = load i32, ptr %31, align 4, !tbaa !9
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds [4 x [4 x float]], ptr %27, i64 0, i64 %218
  %220 = load i32, ptr %32, align 4, !tbaa !9
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds [4 x float], ptr %219, i64 0, i64 %221
  %223 = load float, ptr %222, align 4, !tbaa !11
  store float %223, ptr %33, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  %224 = load float, ptr %33, align 4, !tbaa !18
  %225 = load float, ptr %30, align 4, !tbaa !18
  %226 = fsub float %224, %225
  store float %226, ptr %34, align 4, !tbaa !18
  %227 = load float, ptr %34, align 4, !tbaa !18
  %228 = fcmp olt float %227, 0xBE80000000000000
  br i1 %228, label %232, label %229

229:                                              ; preds = %212
  %230 = load float, ptr %34, align 4, !tbaa !18
  %231 = fcmp olt float 0x3E80000000000000, %230
  br i1 %231, label %232, label %245

232:                                              ; preds = %229, %212
  %233 = load ptr, ptr %2, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %233, i32 0, i32 1
  %235 = load i32, ptr %234, align 4, !tbaa !22
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %234, align 4, !tbaa !22
  %237 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 292)
  %238 = load float, ptr %30, align 4, !tbaa !18
  %239 = fpext float %238 to double
  %240 = load float, ptr %33, align 4, !tbaa !18
  %241 = fpext float %240 to double
  %242 = load float, ptr %34, align 4, !tbaa !18
  %243 = fpext float %242 to double
  %244 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef %239, double noundef %241, double noundef %243)
  br label %245

245:                                              ; preds = %232, %229
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  %246 = load float, ptr %30, align 4, !tbaa !18
  %247 = fadd float %246, 2.000000e+00
  store float %247, ptr %30, align 4, !tbaa !18
  br label %248

248:                                              ; preds = %245
  %249 = load i32, ptr %32, align 4, !tbaa !9
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %32, align 4, !tbaa !9
  br label %208, !llvm.loop !27

251:                                              ; preds = %211
  br label %252

252:                                              ; preds = %251
  %253 = load i32, ptr %31, align 4, !tbaa !9
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %31, align 4, !tbaa !9
  br label %203, !llvm.loop !28

255:                                              ; preds = %206
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %35, ptr align 16 %4, i64 64, i1 false), !tbaa.struct !17
  %256 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZpLR8HMM_Mat4S_(ptr noundef nonnull align 16 dereferenceable(64) %3, ptr noundef byval(%union.HMM_Mat4) align 16 %35)
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  store float 1.800000e+01, ptr %36, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  store i32 0, ptr %37, align 4, !tbaa !9
  br label %257

257:                                              ; preds = %306, %255
  %258 = load i32, ptr %37, align 4, !tbaa !9
  %259 = icmp slt i32 %258, 4
  br i1 %259, label %261, label %260

260:                                              ; preds = %257
  store i32 32, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  br label %309

261:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  store i32 0, ptr %38, align 4, !tbaa !9
  br label %262

262:                                              ; preds = %302, %261
  %263 = load i32, ptr %38, align 4, !tbaa !9
  %264 = icmp slt i32 %263, 4
  br i1 %264, label %266, label %265

265:                                              ; preds = %262
  store i32 35, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  br label %305

266:                                              ; preds = %262
  %267 = load ptr, ptr %2, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %267, i32 0, i32 0
  %269 = load i32, ptr %268, align 4, !tbaa !20
  %270 = add nsw i32 %269, 1
  store i32 %270, ptr %268, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  %271 = load i32, ptr %37, align 4, !tbaa !9
  %272 = sext i32 %271 to i64
  %273 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %272
  %274 = load i32, ptr %38, align 4, !tbaa !9
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds [4 x float], ptr %273, i64 0, i64 %275
  %277 = load float, ptr %276, align 4, !tbaa !11
  store float %277, ptr %39, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  %278 = load float, ptr %39, align 4, !tbaa !18
  %279 = load float, ptr %36, align 4, !tbaa !18
  %280 = fsub float %278, %279
  store float %280, ptr %40, align 4, !tbaa !18
  %281 = load float, ptr %40, align 4, !tbaa !18
  %282 = fcmp olt float %281, 0xBE80000000000000
  br i1 %282, label %286, label %283

283:                                              ; preds = %266
  %284 = load float, ptr %40, align 4, !tbaa !18
  %285 = fcmp olt float 0x3E80000000000000, %284
  br i1 %285, label %286, label %299

286:                                              ; preds = %283, %266
  %287 = load ptr, ptr %2, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %287, i32 0, i32 1
  %289 = load i32, ptr %288, align 4, !tbaa !22
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %288, align 4, !tbaa !22
  %291 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 304)
  %292 = load float, ptr %36, align 4, !tbaa !18
  %293 = fpext float %292 to double
  %294 = load float, ptr %39, align 4, !tbaa !18
  %295 = fpext float %294 to double
  %296 = load float, ptr %40, align 4, !tbaa !18
  %297 = fpext float %296 to double
  %298 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef %293, double noundef %295, double noundef %297)
  br label %299

299:                                              ; preds = %286, %283
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  %300 = load float, ptr %36, align 4, !tbaa !18
  %301 = fadd float %300, 2.000000e+00
  store float %301, ptr %36, align 4, !tbaa !18
  br label %302

302:                                              ; preds = %299
  %303 = load i32, ptr %38, align 4, !tbaa !9
  %304 = add nsw i32 %303, 1
  store i32 %304, ptr %38, align 4, !tbaa !9
  br label %262, !llvm.loop !29

305:                                              ; preds = %265
  br label %306

306:                                              ; preds = %305
  %307 = load i32, ptr %37, align 4, !tbaa !9
  %308 = add nsw i32 %307, 1
  store i32 %308, ptr %37, align 4, !tbaa !9
  br label %257, !llvm.loop !30

309:                                              ; preds = %260
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #5
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL9HMM_AddM48HMM_Mat4S_(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL7HMM_Add8HMM_Mat4S_(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_Zpl8HMM_Mat4S_(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 16 dereferenceable(64) ptr @_ZpLR8HMM_Mat4S_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef byval(%union.HMM_Mat4) align 16) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = !{i64 0, i64 64, !11}
!18 = !{!19, !19, i64 0}
!19 = !{!"float", !7, i64 0}
!20 = !{!21, !10, i64 0}
!21 = !{!"_ZTS21hmt_testresult_struct", !10, i64 0, !10, i64 4}
!22 = !{!21, !10, i64 4}
!23 = distinct !{!23, !13}
!24 = distinct !{!24, !13}
!25 = distinct !{!25, !13}
!26 = distinct !{!26, !13}
!27 = distinct !{!27, !13}
!28 = distinct !{!28, !13}
!29 = distinct !{!29, !13}
!30 = distinct !{!30, !13}


; 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_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 uwtable
declare hidden void @_ZL6HMM_M4v(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z23_hmt_test_Addition_Mat4P21hmt_testresult_struct(ptr nocapture noundef %0) local_unnamed_addr #3 {
.preheader111:
  %1 = alloca %union.HMM_Mat4, align 16
  %2 = alloca %union.HMM_Mat4, align 16
  %3 = alloca %union.HMM_Mat4, align 16
  %4 = alloca %union.HMM_Mat4, align 16
  %5 = alloca %union.HMM_Mat4, align 16
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #5
  call void @_ZL6HMM_M4v(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %1)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #5
  call void @_ZL6HMM_M4v(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %2)
  store <4 x float> <float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00>, ptr %1, align 16, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 16
  store <4 x float> <float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00>, ptr %6, align 16, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %1, i64 32
  store <4 x float> <float 9.000000e+00, float 1.000000e+01, float 1.100000e+01, float 1.200000e+01>, ptr %7, align 16, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %1, i64 48
  store <4 x float> <float 1.300000e+01, float 1.400000e+01, float 1.500000e+01, float 1.600000e+01>, ptr %8, align 16, !tbaa !5
  store <4 x float> <float 1.700000e+01, float 1.800000e+01, float 1.900000e+01, float 2.000000e+01>, ptr %2, align 16, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %2, i64 16
  store <4 x float> <float 2.100000e+01, float 2.200000e+01, float 2.300000e+01, float 2.400000e+01>, ptr %9, align 16, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %2, i64 32
  store <4 x float> <float 2.500000e+01, float 2.600000e+01, float 2.700000e+01, float 2.800000e+01>, ptr %10, align 16, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %2, i64 48
  store <4 x float> <float 2.900000e+01, float 3.000000e+01, float 3.100000e+01, float 3.200000e+01>, ptr %11, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #5
  call void @_ZL9HMM_AddM48HMM_Mat4S_(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %3, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %1, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %2)
  %12 = getelementptr inbounds i8, ptr %0, i64 4
  br label %.preheader108

.preheader108:                                    ; preds = %.preheader111, %76
  %indvars.iv = phi i64 [ 0, %.preheader111 ], [ %indvars.iv.next, %76 ]
  %.0102123 = phi float [ 1.800000e+01, %.preheader111 ], [ %77, %76 ]
  %13 = load i32, ptr %0, align 4, !tbaa !8
  %14 = add nsw i32 %13, 1
  store i32 %14, ptr %0, align 4, !tbaa !8
  %15 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %indvars.iv, i64 0
  %16 = load float, ptr %15, align 16, !tbaa !5
  %17 = fsub float %16, %.0102123
  %18 = call float @llvm.fabs.f32(float %17)
  %or.cond = fcmp ogt float %18, 0x3E80000000000000
  br i1 %or.cond, label %20, label %28

19:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #5
  call void @_ZL7HMM_Add8HMM_Mat4S_(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %4, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %1, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %2)
  br label %.preheader107

20:                                               ; preds = %.preheader108
  %21 = load i32, ptr %12, align 4, !tbaa !11
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr %12, align 4, !tbaa !11
  %23 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 265)
  %24 = fpext float %.0102123 to double
  %25 = fpext float %16 to double
  %26 = fpext float %17 to double
  %27 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %24, double noundef %25, double noundef %26)
  %.pre = load i32, ptr %0, align 4, !tbaa !8
  br label %28

28:                                               ; preds = %.preheader108, %20
  %29 = phi i32 [ %14, %.preheader108 ], [ %.pre, %20 ]
  %30 = fadd float %.0102123, 2.000000e+00
  %31 = add nsw i32 %29, 1
  store i32 %31, ptr %0, align 4, !tbaa !8
  %32 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %indvars.iv, i64 1
  %33 = load float, ptr %32, align 4, !tbaa !5
  %34 = fsub float %33, %30
  %35 = call float @llvm.fabs.f32(float %34)
  %or.cond.1 = fcmp ogt float %35, 0x3E80000000000000
  br i1 %or.cond.1, label %36, label %44

36:                                               ; preds = %28
  %37 = load i32, ptr %12, align 4, !tbaa !11
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %12, align 4, !tbaa !11
  %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 265)
  %40 = fpext float %30 to double
  %41 = fpext float %33 to double
  %42 = fpext float %34 to double
  %43 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %40, double noundef %41, double noundef %42)
  %.pre171 = load i32, ptr %0, align 4, !tbaa !8
  br label %44

44:                                               ; preds = %36, %28
  %45 = phi i32 [ %.pre171, %36 ], [ %31, %28 ]
  %46 = fadd float %30, 2.000000e+00
  %47 = add nsw i32 %45, 1
  store i32 %47, ptr %0, align 4, !tbaa !8
  %48 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %indvars.iv, i64 2
  %49 = load float, ptr %48, align 8, !tbaa !5
  %50 = fsub float %49, %46
  %51 = call float @llvm.fabs.f32(float %50)
  %or.cond.2 = fcmp ogt float %51, 0x3E80000000000000
  br i1 %or.cond.2, label %52, label %60

52:                                               ; preds = %44
  %53 = load i32, ptr %12, align 4, !tbaa !11
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %12, align 4, !tbaa !11
  %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 265)
  %56 = fpext float %46 to double
  %57 = fpext float %49 to double
  %58 = fpext float %50 to double
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %56, double noundef %57, double noundef %58)
  %.pre172 = load i32, ptr %0, align 4, !tbaa !8
  br label %60

60:                                               ; preds = %52, %44
  %61 = phi i32 [ %.pre172, %52 ], [ %47, %44 ]
  %62 = fadd float %46, 2.000000e+00
  %63 = add nsw i32 %61, 1
  store i32 %63, ptr %0, align 4, !tbaa !8
  %64 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %indvars.iv, i64 3
  %65 = load float, ptr %64, align 4, !tbaa !5
  %66 = fsub float %65, %62
  %67 = call float @llvm.fabs.f32(float %66)
  %or.cond.3 = fcmp ogt float %67, 0x3E80000000000000
  br i1 %or.cond.3, label %68, label %76

68:                                               ; preds = %60
  %69 = load i32, ptr %12, align 4, !tbaa !11
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %12, align 4, !tbaa !11
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 265)
  %72 = fpext float %62 to double
  %73 = fpext float %65 to double
  %74 = fpext float %66 to double
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %72, double noundef %73, double noundef %74)
  br label %76

76:                                               ; preds = %68, %60
  %77 = fadd float %62, 2.000000e+00
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 4
  br i1 %exitcond.not, label %19, label %.preheader108, !llvm.loop !12

.preheader107:                                    ; preds = %19, %141
  %indvars.iv151 = phi i64 [ 0, %19 ], [ %indvars.iv.next152, %141 ]
  %.0100126 = phi float [ 1.800000e+01, %19 ], [ %142, %141 ]
  %78 = load i32, ptr %0, align 4, !tbaa !8
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %0, align 4, !tbaa !8
  %80 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 %indvars.iv151, i64 0
  %81 = load float, ptr %80, align 16, !tbaa !5
  %82 = fsub float %81, %.0100126
  %83 = call float @llvm.fabs.f32(float %82)
  %or.cond3 = fcmp ogt float %83, 0x3E80000000000000
  br i1 %or.cond3, label %85, label %93

84:                                               ; preds = %141
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #5
  call void @_Zpl8HMM_Mat4S_(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %5, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %1, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %2)
  br label %.preheader106

85:                                               ; preds = %.preheader107
  %86 = load i32, ptr %12, align 4, !tbaa !11
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %12, align 4, !tbaa !11
  %88 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 278)
  %89 = fpext float %.0100126 to double
  %90 = fpext float %81 to double
  %91 = fpext float %82 to double
  %92 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %89, double noundef %90, double noundef %91)
  %.pre173 = load i32, ptr %0, align 4, !tbaa !8
  br label %93

93:                                               ; preds = %.preheader107, %85
  %94 = phi i32 [ %79, %.preheader107 ], [ %.pre173, %85 ]
  %95 = fadd float %.0100126, 2.000000e+00
  %96 = add nsw i32 %94, 1
  store i32 %96, ptr %0, align 4, !tbaa !8
  %97 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 %indvars.iv151, i64 1
  %98 = load float, ptr %97, align 4, !tbaa !5
  %99 = fsub float %98, %95
  %100 = call float @llvm.fabs.f32(float %99)
  %or.cond3.1 = fcmp ogt float %100, 0x3E80000000000000
  br i1 %or.cond3.1, label %101, label %109

101:                                              ; preds = %93
  %102 = load i32, ptr %12, align 4, !tbaa !11
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %12, align 4, !tbaa !11
  %104 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 278)
  %105 = fpext float %95 to double
  %106 = fpext float %98 to double
  %107 = fpext float %99 to double
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %105, double noundef %106, double noundef %107)
  %.pre174 = load i32, ptr %0, align 4, !tbaa !8
  br label %109

109:                                              ; preds = %101, %93
  %110 = phi i32 [ %.pre174, %101 ], [ %96, %93 ]
  %111 = fadd float %95, 2.000000e+00
  %112 = add nsw i32 %110, 1
  store i32 %112, ptr %0, align 4, !tbaa !8
  %113 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 %indvars.iv151, i64 2
  %114 = load float, ptr %113, align 8, !tbaa !5
  %115 = fsub float %114, %111
  %116 = call float @llvm.fabs.f32(float %115)
  %or.cond3.2 = fcmp ogt float %116, 0x3E80000000000000
  br i1 %or.cond3.2, label %117, label %125

117:                                              ; preds = %109
  %118 = load i32, ptr %12, align 4, !tbaa !11
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %12, align 4, !tbaa !11
  %120 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 278)
  %121 = fpext float %111 to double
  %122 = fpext float %114 to double
  %123 = fpext float %115 to double
  %124 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %121, double noundef %122, double noundef %123)
  %.pre175 = load i32, ptr %0, align 4, !tbaa !8
  br label %125

125:                                              ; preds = %117, %109
  %126 = phi i32 [ %.pre175, %117 ], [ %112, %109 ]
  %127 = fadd float %111, 2.000000e+00
  %128 = add nsw i32 %126, 1
  store i32 %128, ptr %0, align 4, !tbaa !8
  %129 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 %indvars.iv151, i64 3
  %130 = load float, ptr %129, align 4, !tbaa !5
  %131 = fsub float %130, %127
  %132 = call float @llvm.fabs.f32(float %131)
  %or.cond3.3 = fcmp ogt float %132, 0x3E80000000000000
  br i1 %or.cond3.3, label %133, label %141

133:                                              ; preds = %125
  %134 = load i32, ptr %12, align 4, !tbaa !11
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %12, align 4, !tbaa !11
  %136 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 278)
  %137 = fpext float %127 to double
  %138 = fpext float %130 to double
  %139 = fpext float %131 to double
  %140 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %137, double noundef %138, double noundef %139)
  br label %141

141:                                              ; preds = %133, %125
  %142 = fadd float %127, 2.000000e+00
  %indvars.iv.next152 = add nuw nsw i64 %indvars.iv151, 1
  %exitcond154.not = icmp eq i64 %indvars.iv.next152, 4
  br i1 %exitcond154.not, label %84, label %.preheader107, !llvm.loop !14

.preheader106:                                    ; preds = %84, %207
  %indvars.iv159 = phi i64 [ 0, %84 ], [ %indvars.iv.next160, %207 ]
  %.094130 = phi float [ 1.800000e+01, %84 ], [ %208, %207 ]
  %143 = load i32, ptr %0, align 4, !tbaa !8
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %0, align 4, !tbaa !8
  %145 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 %indvars.iv159, i64 0
  %146 = load float, ptr %145, align 16, !tbaa !5
  %147 = fsub float %146, %.094130
  %148 = call float @llvm.fabs.f32(float %147)
  %or.cond5 = fcmp ogt float %148, 0x3E80000000000000
  br i1 %or.cond5, label %151, label %159

149:                                              ; preds = %207
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #5
  %150 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZpLR8HMM_Mat4S_(ptr noundef nonnull align 16 dereferenceable(64) %1, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %2)
  br label %.preheader

151:                                              ; preds = %.preheader106
  %152 = load i32, ptr %12, align 4, !tbaa !11
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %12, align 4, !tbaa !11
  %154 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 292)
  %155 = fpext float %.094130 to double
  %156 = fpext float %146 to double
  %157 = fpext float %147 to double
  %158 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %155, double noundef %156, double noundef %157)
  %.pre176 = load i32, ptr %0, align 4, !tbaa !8
  br label %159

159:                                              ; preds = %.preheader106, %151
  %160 = phi i32 [ %144, %.preheader106 ], [ %.pre176, %151 ]
  %161 = fadd float %.094130, 2.000000e+00
  %162 = add nsw i32 %160, 1
  store i32 %162, ptr %0, align 4, !tbaa !8
  %163 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 %indvars.iv159, i64 1
  %164 = load float, ptr %163, align 4, !tbaa !5
  %165 = fsub float %164, %161
  %166 = call float @llvm.fabs.f32(float %165)
  %or.cond5.1 = fcmp ogt float %166, 0x3E80000000000000
  br i1 %or.cond5.1, label %167, label %175

167:                                              ; preds = %159
  %168 = load i32, ptr %12, align 4, !tbaa !11
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %12, align 4, !tbaa !11
  %170 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 292)
  %171 = fpext float %161 to double
  %172 = fpext float %164 to double
  %173 = fpext float %165 to double
  %174 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %171, double noundef %172, double noundef %173)
  %.pre177 = load i32, ptr %0, align 4, !tbaa !8
  br label %175

175:                                              ; preds = %167, %159
  %176 = phi i32 [ %.pre177, %167 ], [ %162, %159 ]
  %177 = fadd float %161, 2.000000e+00
  %178 = add nsw i32 %176, 1
  store i32 %178, ptr %0, align 4, !tbaa !8
  %179 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 %indvars.iv159, i64 2
  %180 = load float, ptr %179, align 8, !tbaa !5
  %181 = fsub float %180, %177
  %182 = call float @llvm.fabs.f32(float %181)
  %or.cond5.2 = fcmp ogt float %182, 0x3E80000000000000
  br i1 %or.cond5.2, label %183, label %191

183:                                              ; preds = %175
  %184 = load i32, ptr %12, align 4, !tbaa !11
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %12, align 4, !tbaa !11
  %186 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 292)
  %187 = fpext float %177 to double
  %188 = fpext float %180 to double
  %189 = fpext float %181 to double
  %190 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %187, double noundef %188, double noundef %189)
  %.pre178 = load i32, ptr %0, align 4, !tbaa !8
  br label %191

191:                                              ; preds = %183, %175
  %192 = phi i32 [ %.pre178, %183 ], [ %178, %175 ]
  %193 = fadd float %177, 2.000000e+00
  %194 = add nsw i32 %192, 1
  store i32 %194, ptr %0, align 4, !tbaa !8
  %195 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 %indvars.iv159, i64 3
  %196 = load float, ptr %195, align 4, !tbaa !5
  %197 = fsub float %196, %193
  %198 = call float @llvm.fabs.f32(float %197)
  %or.cond5.3 = fcmp ogt float %198, 0x3E80000000000000
  br i1 %or.cond5.3, label %199, label %207

199:                                              ; preds = %191
  %200 = load i32, ptr %12, align 4, !tbaa !11
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %12, align 4, !tbaa !11
  %202 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 292)
  %203 = fpext float %193 to double
  %204 = fpext float %196 to double
  %205 = fpext float %197 to double
  %206 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %203, double noundef %204, double noundef %205)
  br label %207

207:                                              ; preds = %199, %191
  %208 = fadd float %193, 2.000000e+00
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %exitcond162.not = icmp eq i64 %indvars.iv.next160, 4
  br i1 %exitcond162.not, label %149, label %.preheader106, !llvm.loop !15

.preheader:                                       ; preds = %149, %272
  %indvars.iv167 = phi i64 [ 0, %149 ], [ %indvars.iv.next168, %272 ]
  %.089134 = phi float [ 1.800000e+01, %149 ], [ %273, %272 ]
  %209 = load i32, ptr %0, align 4, !tbaa !8
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %0, align 4, !tbaa !8
  %211 = getelementptr inbounds [4 x [4 x float]], ptr %1, i64 0, i64 %indvars.iv167, i64 0
  %212 = load float, ptr %211, align 16, !tbaa !5
  %213 = fsub float %212, %.089134
  %214 = call float @llvm.fabs.f32(float %213)
  %or.cond7 = fcmp ogt float %214, 0x3E80000000000000
  br i1 %or.cond7, label %216, label %224

215:                                              ; preds = %272
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #5
  ret void

216:                                              ; preds = %.preheader
  %217 = load i32, ptr %12, align 4, !tbaa !11
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %12, align 4, !tbaa !11
  %219 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 304)
  %220 = fpext float %.089134 to double
  %221 = fpext float %212 to double
  %222 = fpext float %213 to double
  %223 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %220, double noundef %221, double noundef %222)
  %.pre179 = load i32, ptr %0, align 4, !tbaa !8
  br label %224

224:                                              ; preds = %.preheader, %216
  %225 = phi i32 [ %210, %.preheader ], [ %.pre179, %216 ]
  %226 = fadd float %.089134, 2.000000e+00
  %227 = add nsw i32 %225, 1
  store i32 %227, ptr %0, align 4, !tbaa !8
  %228 = getelementptr inbounds [4 x [4 x float]], ptr %1, i64 0, i64 %indvars.iv167, i64 1
  %229 = load float, ptr %228, align 4, !tbaa !5
  %230 = fsub float %229, %226
  %231 = call float @llvm.fabs.f32(float %230)
  %or.cond7.1 = fcmp ogt float %231, 0x3E80000000000000
  br i1 %or.cond7.1, label %232, label %240

232:                                              ; preds = %224
  %233 = load i32, ptr %12, align 4, !tbaa !11
  %234 = add nsw i32 %233, 1
  store i32 %234, ptr %12, align 4, !tbaa !11
  %235 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 304)
  %236 = fpext float %226 to double
  %237 = fpext float %229 to double
  %238 = fpext float %230 to double
  %239 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %236, double noundef %237, double noundef %238)
  %.pre180 = load i32, ptr %0, align 4, !tbaa !8
  br label %240

240:                                              ; preds = %232, %224
  %241 = phi i32 [ %.pre180, %232 ], [ %227, %224 ]
  %242 = fadd float %226, 2.000000e+00
  %243 = add nsw i32 %241, 1
  store i32 %243, ptr %0, align 4, !tbaa !8
  %244 = getelementptr inbounds [4 x [4 x float]], ptr %1, i64 0, i64 %indvars.iv167, i64 2
  %245 = load float, ptr %244, align 8, !tbaa !5
  %246 = fsub float %245, %242
  %247 = call float @llvm.fabs.f32(float %246)
  %or.cond7.2 = fcmp ogt float %247, 0x3E80000000000000
  br i1 %or.cond7.2, label %248, label %256

248:                                              ; preds = %240
  %249 = load i32, ptr %12, align 4, !tbaa !11
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %12, align 4, !tbaa !11
  %251 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 304)
  %252 = fpext float %242 to double
  %253 = fpext float %245 to double
  %254 = fpext float %246 to double
  %255 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %252, double noundef %253, double noundef %254)
  %.pre181 = load i32, ptr %0, align 4, !tbaa !8
  br label %256

256:                                              ; preds = %248, %240
  %257 = phi i32 [ %.pre181, %248 ], [ %243, %240 ]
  %258 = fadd float %242, 2.000000e+00
  %259 = add nsw i32 %257, 1
  store i32 %259, ptr %0, align 4, !tbaa !8
  %260 = getelementptr inbounds [4 x [4 x float]], ptr %1, i64 0, i64 %indvars.iv167, i64 3
  %261 = load float, ptr %260, align 4, !tbaa !5
  %262 = fsub float %261, %258
  %263 = call float @llvm.fabs.f32(float %262)
  %or.cond7.3 = fcmp ogt float %263, 0x3E80000000000000
  br i1 %or.cond7.3, label %264, label %272

264:                                              ; preds = %256
  %265 = load i32, ptr %12, align 4, !tbaa !11
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %12, align 4, !tbaa !11
  %267 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 304)
  %268 = fpext float %258 to double
  %269 = fpext float %261 to double
  %270 = fpext float %262 to double
  %271 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %268, double noundef %269, double noundef %270)
  br label %272

272:                                              ; preds = %264, %256
  %273 = fadd float %258, 2.000000e+00
  %indvars.iv.next168 = add nuw nsw i64 %indvars.iv167, 1
  %exitcond170.not = icmp eq i64 %indvars.iv.next168, 4
  br i1 %exitcond170.not, label %215, label %.preheader, !llvm.loop !16
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL9HMM_AddM48HMM_Mat4S_(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL7HMM_Add8HMM_Mat4S_(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_Zpl8HMM_Mat4S_(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 16 dereferenceable(64) ptr @_ZpLR8HMM_Mat4S_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef byval(%union.HMM_Mat4) align 16) local_unnamed_addr #2

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

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


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass