; LLVM IR from HandmadeMath/HandmadeMath :: test/hmm_test.ll (Z33_hmt_test_Multiplication_Mat2Vec2P21hmt_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_Vec2 = type { %struct.anon }
%struct.anon = type { float, 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 <2 x float> @_ZL6HMM_V2ff(float noundef, float noundef) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z33_hmt_test_Multiplication_Mat2Vec2P21hmt_testresult_struct(ptr noundef %0) #5 {
  %2 = alloca ptr, align 8
  %3 = alloca %union.HMM_Mat2, align 4
  %4 = alloca %union.HMM_Vec2, align 4
  %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 %union.HMM_Vec2, align 4
  %11 = alloca %union.HMM_Mat2, align 4
  %12 = alloca %union.HMM_Vec2, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca %union.HMM_Vec2, align 4
  %18 = alloca %union.HMM_Mat2, align 4
  %19 = alloca %union.HMM_Vec2, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca %union.HMM_Vec2, align 4
  %25 = alloca %union.HMM_Mat2, align 4
  %26 = alloca %union.HMM_Vec2, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  %31 = call { <2 x float>, <2 x float> } @_ZL6HMM_M2v()
  %32 = getelementptr inbounds %union.HMM_Mat2, ptr %3, i32 0, i32 0
  %33 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %32, i32 0, i32 0
  %34 = extractvalue { <2 x float>, <2 x float> } %31, 0
  store <2 x float> %34, ptr %33, align 4
  %35 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %32, i32 0, i32 1
  %36 = extractvalue { <2 x float>, <2 x float> } %31, 1
  store <2 x float> %36, ptr %35, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %37 = call <2 x float> @_ZL6HMM_V2ff(float noundef 0.000000e+00, float noundef 0.000000e+00)
  %38 = getelementptr inbounds %union.HMM_Vec2, ptr %4, i32 0, i32 0
  store <2 x float> %37, ptr %38, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %62, %1
  %40 = load i32, ptr %6, align 4, !tbaa !9
  %41 = icmp slt i32 %40, 2
  br i1 %41, label %43, label %42

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

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

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

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

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

58:                                               ; preds = %48
  %59 = load i32, ptr %8, align 4, !tbaa !9
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %8, align 4, !tbaa !9
  br label %44, !llvm.loop !12

61:                                               ; preds = %47
  br label %62

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

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

66:                                               ; preds = %77, %65
  %67 = load i32, ptr %9, align 4, !tbaa !9
  %68 = icmp slt i32 %67, 2
  br i1 %68, label %70, label %69

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

70:                                               ; preds = %66
  %71 = load i32, ptr %5, align 4, !tbaa !9
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %5, align 4, !tbaa !9
  %73 = sitofp i32 %71 to float
  %74 = load i32, ptr %9, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [2 x float], ptr %4, i64 0, i64 %75
  store float %73, ptr %76, align 4, !tbaa !11
  br label %77

77:                                               ; preds = %70
  %78 = load i32, ptr %9, align 4, !tbaa !9
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %9, align 4, !tbaa !9
  br label %66, !llvm.loop !15

80:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %3, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !17
  %81 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 0
  %82 = load <2 x float>, ptr %81, align 4
  %83 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 1
  %84 = load <2 x float>, ptr %83, align 4
  %85 = getelementptr inbounds %union.HMM_Vec2, ptr %12, i32 0, i32 0
  %86 = load <2 x float>, ptr %85, align 4
  %87 = call <2 x float> @_ZL11HMM_MulM2V28HMM_Mat28HMM_Vec2(<2 x float> %82, <2 x float> %84, <2 x float> %86)
  %88 = getelementptr inbounds %union.HMM_Vec2, ptr %10, i32 0, i32 0
  store <2 x float> %87, ptr %88, align 4
  %89 = load ptr, ptr %2, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %89, i32 0, i32 0
  %91 = load i32, ptr %90, align 4, !tbaa !18
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %90, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %93 = getelementptr inbounds [2 x float], ptr %10, i64 0, i64 0
  %94 = load float, ptr %93, align 4, !tbaa !11
  store float %94, ptr %13, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %95 = load float, ptr %13, align 4, !tbaa !20
  %96 = fsub float %95, 2.300000e+01
  store float %96, ptr %14, align 4, !tbaa !20
  %97 = load float, ptr %14, align 4, !tbaa !20
  %98 = fcmp olt float %97, 0xBE80000000000000
  br i1 %98, label %102, label %99

99:                                               ; preds = %80
  %100 = load float, ptr %14, align 4, !tbaa !20
  %101 = fcmp olt float 0x3E80000000000000, %100
  br i1 %101, label %102, label %113

102:                                              ; preds = %99, %80
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %103, i32 0, i32 1
  %105 = load i32, ptr %104, align 4, !tbaa !22
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %104, align 4, !tbaa !22
  %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 337)
  %108 = load float, ptr %13, align 4, !tbaa !20
  %109 = fpext float %108 to double
  %110 = load float, ptr %14, align 4, !tbaa !20
  %111 = fpext float %110 to double
  %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 2.300000e+01, double noundef %109, double noundef %111)
  br label %113

113:                                              ; preds = %102, %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %114, i32 0, i32 0
  %116 = load i32, ptr %115, align 4, !tbaa !18
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %115, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %118 = getelementptr inbounds [2 x float], ptr %10, i64 0, i64 1
  %119 = load float, ptr %118, align 4, !tbaa !11
  store float %119, ptr %15, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %120 = load float, ptr %15, align 4, !tbaa !20
  %121 = fsub float %120, 3.400000e+01
  store float %121, ptr %16, align 4, !tbaa !20
  %122 = load float, ptr %16, align 4, !tbaa !20
  %123 = fcmp olt float %122, 0xBE80000000000000
  br i1 %123, label %127, label %124

124:                                              ; preds = %113
  %125 = load float, ptr %16, align 4, !tbaa !20
  %126 = fcmp olt float 0x3E80000000000000, %125
  br i1 %126, label %127, label %138

127:                                              ; preds = %124, %113
  %128 = load ptr, ptr %2, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %128, i32 0, i32 1
  %130 = load i32, ptr %129, align 4, !tbaa !22
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %129, align 4, !tbaa !22
  %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 338)
  %133 = load float, ptr %15, align 4, !tbaa !20
  %134 = fpext float %133 to double
  %135 = load float, ptr %16, align 4, !tbaa !20
  %136 = fpext float %135 to double
  %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 3.400000e+01, double noundef %134, double noundef %136)
  br label %138

138:                                              ; preds = %127, %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %3, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !17
  %139 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 0
  %140 = load <2 x float>, ptr %139, align 4
  %141 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 1
  %142 = load <2 x float>, ptr %141, align 4
  %143 = getelementptr inbounds %union.HMM_Vec2, ptr %19, i32 0, i32 0
  %144 = load <2 x float>, ptr %143, align 4
  %145 = call <2 x float> @_ZL7HMM_Mul8HMM_Mat28HMM_Vec2(<2 x float> %140, <2 x float> %142, <2 x float> %144)
  %146 = getelementptr inbounds %union.HMM_Vec2, ptr %17, i32 0, i32 0
  store <2 x float> %145, ptr %146, align 4
  %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 !18
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %148, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %151 = getelementptr inbounds [2 x float], ptr %17, i64 0, i64 0
  %152 = load float, ptr %151, align 4, !tbaa !11
  store float %152, ptr %20, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %153 = load float, ptr %20, align 4, !tbaa !20
  %154 = fsub float %153, 2.300000e+01
  store float %154, ptr %21, align 4, !tbaa !20
  %155 = load float, ptr %21, align 4, !tbaa !20
  %156 = fcmp olt float %155, 0xBE80000000000000
  br i1 %156, label %160, label %157

157:                                              ; preds = %138
  %158 = load float, ptr %21, align 4, !tbaa !20
  %159 = fcmp olt float 0x3E80000000000000, %158
  br i1 %159, label %160, label %171

160:                                              ; preds = %157, %138
  %161 = load ptr, ptr %2, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %161, i32 0, i32 1
  %163 = load i32, ptr %162, align 4, !tbaa !22
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %162, align 4, !tbaa !22
  %165 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 344)
  %166 = load float, ptr %20, align 4, !tbaa !20
  %167 = fpext float %166 to double
  %168 = load float, ptr %21, align 4, !tbaa !20
  %169 = fpext float %168 to double
  %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 2.300000e+01, double noundef %167, double noundef %169)
  br label %171

171:                                              ; preds = %160, %157
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  %172 = load ptr, ptr %2, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %172, i32 0, i32 0
  %174 = load i32, ptr %173, align 4, !tbaa !18
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %173, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %176 = getelementptr inbounds [2 x float], ptr %17, i64 0, i64 1
  %177 = load float, ptr %176, align 4, !tbaa !11
  store float %177, ptr %22, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %178 = load float, ptr %22, align 4, !tbaa !20
  %179 = fsub float %178, 3.400000e+01
  store float %179, ptr %23, align 4, !tbaa !20
  %180 = load float, ptr %23, align 4, !tbaa !20
  %181 = fcmp olt float %180, 0xBE80000000000000
  br i1 %181, label %185, label %182

182:                                              ; preds = %171
  %183 = load float, ptr %23, align 4, !tbaa !20
  %184 = fcmp olt float 0x3E80000000000000, %183
  br i1 %184, label %185, label %196

185:                                              ; preds = %182, %171
  %186 = load ptr, ptr %2, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %186, i32 0, i32 1
  %188 = load i32, ptr %187, align 4, !tbaa !22
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %187, align 4, !tbaa !22
  %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 345)
  %191 = load float, ptr %22, align 4, !tbaa !20
  %192 = fpext float %191 to double
  %193 = load float, ptr %23, align 4, !tbaa !20
  %194 = fpext float %193 to double
  %195 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 3.400000e+01, double noundef %192, double noundef %194)
  br label %196

196:                                              ; preds = %185, %182
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %3, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !17
  %197 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %25, i32 0, i32 0
  %198 = load <2 x float>, ptr %197, align 4
  %199 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %25, i32 0, i32 1
  %200 = load <2 x float>, ptr %199, align 4
  %201 = getelementptr inbounds %union.HMM_Vec2, ptr %26, i32 0, i32 0
  %202 = load <2 x float>, ptr %201, align 4
  %203 = call <2 x float> @_Zml8HMM_Mat28HMM_Vec2(<2 x float> %198, <2 x float> %200, <2 x float> %202)
  %204 = getelementptr inbounds %union.HMM_Vec2, ptr %24, i32 0, i32 0
  store <2 x float> %203, ptr %204, align 4
  %205 = load ptr, ptr %2, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %205, i32 0, i32 0
  %207 = load i32, ptr %206, align 4, !tbaa !18
  %208 = add nsw i32 %207, 1
  store i32 %208, ptr %206, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %209 = getelementptr inbounds [2 x float], ptr %24, i64 0, i64 0
  %210 = load float, ptr %209, align 4, !tbaa !11
  store float %210, ptr %27, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %211 = load float, ptr %27, align 4, !tbaa !20
  %212 = fsub float %211, 2.300000e+01
  store float %212, ptr %28, align 4, !tbaa !20
  %213 = load float, ptr %28, align 4, !tbaa !20
  %214 = fcmp olt float %213, 0xBE80000000000000
  br i1 %214, label %218, label %215

215:                                              ; preds = %196
  %216 = load float, ptr %28, align 4, !tbaa !20
  %217 = fcmp olt float 0x3E80000000000000, %216
  br i1 %217, label %218, label %229

218:                                              ; preds = %215, %196
  %219 = load ptr, ptr %2, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %219, i32 0, i32 1
  %221 = load i32, ptr %220, align 4, !tbaa !22
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %220, align 4, !tbaa !22
  %223 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 352)
  %224 = load float, ptr %27, align 4, !tbaa !20
  %225 = fpext float %224 to double
  %226 = load float, ptr %28, align 4, !tbaa !20
  %227 = fpext float %226 to double
  %228 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 2.300000e+01, double noundef %225, double noundef %227)
  br label %229

229:                                              ; preds = %218, %215
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  %230 = load ptr, ptr %2, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %230, i32 0, i32 0
  %232 = load i32, ptr %231, align 4, !tbaa !18
  %233 = add nsw i32 %232, 1
  store i32 %233, ptr %231, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %234 = getelementptr inbounds [2 x float], ptr %24, i64 0, i64 1
  %235 = load float, ptr %234, align 4, !tbaa !11
  store float %235, ptr %29, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %236 = load float, ptr %29, align 4, !tbaa !20
  %237 = fsub float %236, 3.400000e+01
  store float %237, ptr %30, align 4, !tbaa !20
  %238 = load float, ptr %30, align 4, !tbaa !20
  %239 = fcmp olt float %238, 0xBE80000000000000
  br i1 %239, label %243, label %240

240:                                              ; preds = %229
  %241 = load float, ptr %30, align 4, !tbaa !20
  %242 = fcmp olt float 0x3E80000000000000, %241
  br i1 %242, label %243, label %254

243:                                              ; preds = %240, %229
  %244 = load ptr, ptr %2, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %244, i32 0, i32 1
  %246 = load i32, ptr %245, align 4, !tbaa !22
  %247 = add nsw i32 %246, 1
  store i32 %247, ptr %245, align 4, !tbaa !22
  %248 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 353)
  %249 = load float, ptr %29, align 4, !tbaa !20
  %250 = fpext float %249 to double
  %251 = load float, ptr %30, align 4, !tbaa !20
  %252 = fpext float %251 to double
  %253 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 3.400000e+01, double noundef %250, double noundef %252)
  br label %254

254:                                              ; preds = %243, %240
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL11HMM_MulM2V28HMM_Mat28HMM_Vec2(<2 x float>, <2 x float>, <2 x float>) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL7HMM_Mul8HMM_Mat28HMM_Vec2(<2 x float>, <2 x float>, <2 x float>) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_Zml8HMM_Mat28HMM_Vec2(<2 x float>, <2 x float>, <2 x float>) #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"="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 = { 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 #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = !{i64 0, i64 16, !11}
!17 = !{i64 0, i64 8, !11}
!18 = !{!19, !10, i64 0}
!19 = !{!"_ZTS21hmt_testresult_struct", !10, i64 0, !10, i64 4}
!20 = !{!21, !21, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = !{!19, !10, i64 4}


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

@.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: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL6HMM_V2ff(float noundef, float noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z33_hmt_test_Multiplication_Mat2Vec2P21hmt_testresult_struct(ptr nocapture noundef %0) local_unnamed_addr #3 {
.preheader76:
  %1 = tail call { <2 x float>, <2 x float> } @_ZL6HMM_M2v()
  %2 = tail call <2 x float> @_ZL6HMM_V2ff(float noundef 0.000000e+00, float noundef 0.000000e+00)
  %3 = tail call <2 x float> @_ZL11HMM_MulM2V28HMM_Mat28HMM_Vec2(<2 x float> <float 1.000000e+00, float 2.000000e+00>, <2 x float> <float 3.000000e+00, float 4.000000e+00>, <2 x float> <float 5.000000e+00, float 6.000000e+00>)
  %4 = load i32, ptr %0, align 4, !tbaa !5
  %5 = add nsw i32 %4, 1
  store i32 %5, ptr %0, align 4, !tbaa !5
  %.sroa.050.0.vec.extract = extractelement <2 x float> %3, i64 0
  %6 = fadd float %.sroa.050.0.vec.extract, -2.300000e+01
  %7 = tail call float @llvm.fabs.f32(float %6)
  %or.cond = fcmp ogt float %7, 0x3E80000000000000
  br i1 %or.cond, label %8, label %16

8:                                                ; preds = %.preheader76
  %9 = getelementptr inbounds i8, ptr %0, i64 4
  %10 = load i32, ptr %9, align 4, !tbaa !10
  %11 = add nsw i32 %10, 1
  store i32 %11, ptr %9, align 4, !tbaa !10
  %12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 337)
  %13 = fpext float %.sroa.050.0.vec.extract to double
  %14 = fpext float %6 to double
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 2.300000e+01, double noundef %13, double noundef %14)
  %.pre = load i32, ptr %0, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %.preheader76, %8
  %17 = phi i32 [ %5, %.preheader76 ], [ %.pre, %8 ]
  %18 = add nsw i32 %17, 1
  store i32 %18, ptr %0, align 4, !tbaa !5
  %.sroa.050.4.vec.extract = extractelement <2 x float> %3, i64 1
  %19 = fadd float %.sroa.050.4.vec.extract, -3.400000e+01
  %20 = tail call float @llvm.fabs.f32(float %19)
  %or.cond3 = fcmp ogt float %20, 0x3E80000000000000
  br i1 %or.cond3, label %21, label %29

21:                                               ; preds = %16
  %22 = getelementptr inbounds i8, ptr %0, i64 4
  %23 = load i32, ptr %22, align 4, !tbaa !10
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr %22, align 4, !tbaa !10
  %25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 338)
  %26 = fpext float %.sroa.050.4.vec.extract to double
  %27 = fpext float %19 to double
  %28 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 3.400000e+01, double noundef %26, double noundef %27)
  br label %29

29:                                               ; preds = %16, %21
  %30 = tail call <2 x float> @_ZL7HMM_Mul8HMM_Mat28HMM_Vec2(<2 x float> <float 1.000000e+00, float 2.000000e+00>, <2 x float> <float 3.000000e+00, float 4.000000e+00>, <2 x float> <float 5.000000e+00, float 6.000000e+00>)
  %31 = load i32, ptr %0, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %0, align 4, !tbaa !5
  %.sroa.036.0.vec.extract = extractelement <2 x float> %30, i64 0
  %33 = fadd float %.sroa.036.0.vec.extract, -2.300000e+01
  %34 = tail call float @llvm.fabs.f32(float %33)
  %or.cond5 = fcmp ogt float %34, 0x3E80000000000000
  br i1 %or.cond5, label %35, label %43

35:                                               ; preds = %29
  %36 = getelementptr inbounds i8, ptr %0, i64 4
  %37 = load i32, ptr %36, align 4, !tbaa !10
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %36, align 4, !tbaa !10
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 344)
  %40 = fpext float %.sroa.036.0.vec.extract to double
  %41 = fpext float %33 to double
  %42 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 2.300000e+01, double noundef %40, double noundef %41)
  %.pre90 = load i32, ptr %0, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %29, %35
  %44 = phi i32 [ %32, %29 ], [ %.pre90, %35 ]
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %0, align 4, !tbaa !5
  %.sroa.036.4.vec.extract = extractelement <2 x float> %30, i64 1
  %46 = fadd float %.sroa.036.4.vec.extract, -3.400000e+01
  %47 = tail call float @llvm.fabs.f32(float %46)
  %or.cond7 = fcmp ogt float %47, 0x3E80000000000000
  br i1 %or.cond7, label %48, label %56

48:                                               ; preds = %43
  %49 = getelementptr inbounds i8, ptr %0, i64 4
  %50 = load i32, ptr %49, align 4, !tbaa !10
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %49, align 4, !tbaa !10
  %52 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 345)
  %53 = fpext float %.sroa.036.4.vec.extract to double
  %54 = fpext float %46 to double
  %55 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 3.400000e+01, double noundef %53, double noundef %54)
  br label %56

56:                                               ; preds = %43, %48
  %57 = tail call <2 x float> @_Zml8HMM_Mat28HMM_Vec2(<2 x float> <float 1.000000e+00, float 2.000000e+00>, <2 x float> <float 3.000000e+00, float 4.000000e+00>, <2 x float> <float 5.000000e+00, float 6.000000e+00>)
  %58 = load i32, ptr %0, align 4, !tbaa !5
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %0, align 4, !tbaa !5
  %.sroa.022.0.vec.extract = extractelement <2 x float> %57, i64 0
  %60 = fadd float %.sroa.022.0.vec.extract, -2.300000e+01
  %61 = tail call float @llvm.fabs.f32(float %60)
  %or.cond9 = fcmp ogt float %61, 0x3E80000000000000
  br i1 %or.cond9, label %62, label %70

62:                                               ; preds = %56
  %63 = getelementptr inbounds i8, ptr %0, i64 4
  %64 = load i32, ptr %63, align 4, !tbaa !10
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %63, align 4, !tbaa !10
  %66 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 352)
  %67 = fpext float %.sroa.022.0.vec.extract to double
  %68 = fpext float %60 to double
  %69 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 2.300000e+01, double noundef %67, double noundef %68)
  %.pre91 = load i32, ptr %0, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %56, %62
  %71 = phi i32 [ %59, %56 ], [ %.pre91, %62 ]
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %0, align 4, !tbaa !5
  %.sroa.022.4.vec.extract = extractelement <2 x float> %57, i64 1
  %73 = fadd float %.sroa.022.4.vec.extract, -3.400000e+01
  %74 = tail call float @llvm.fabs.f32(float %73)
  %or.cond11 = fcmp ogt float %74, 0x3E80000000000000
  br i1 %or.cond11, label %75, label %83

75:                                               ; preds = %70
  %76 = getelementptr inbounds i8, ptr %0, i64 4
  %77 = load i32, ptr %76, align 4, !tbaa !10
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %76, align 4, !tbaa !10
  %79 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 353)
  %80 = fpext float %.sroa.022.4.vec.extract to double
  %81 = fpext float %73 to double
  %82 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 3.400000e+01, double noundef %80, double noundef %81)
  br label %83

83:                                               ; preds = %70, %75
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL11HMM_MulM2V28HMM_Mat28HMM_Vec2(<2 x float>, <2 x float>, <2 x float>) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL7HMM_Mul8HMM_Mat28HMM_Vec2(<2 x float>, <2 x float>, <2 x float>) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_Zml8HMM_Mat28HMM_Vec2(<2 x float>, <2 x float>, <2 x float>) local_unnamed_addr #1

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

attributes #0 = { 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 #1 = { inlinehint 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 #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"="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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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}


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