; LLVM IR from HandmadeMath/HandmadeMath :: test/hmm_test.ll (Z34_hmt_test_Transformations_RotateV2P21hmt_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_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.16 = external hidden unnamed_addr constant [20 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: mustprogress uwtable
define dso_local void @_Z34_hmt_test_Transformations_RotateV2P21hmt_testresult_struct(ptr noundef %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca %union.HMM_Vec2, align 4
  %4 = alloca float, align 4
  %5 = alloca %union.HMM_Vec2, align 4
  %6 = alloca %union.HMM_Vec2, 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_Vec2, 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_Vec2, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca %union.HMM_Vec2, align 4
  %24 = alloca %union.HMM_Vec2, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %29 = call <2 x float> @_ZL6HMM_V2ff(float noundef 1.000000e+00, float noundef 2.000000e+00)
  %30 = getelementptr inbounds %union.HMM_Vec2, ptr %3, i32 0, i32 0
  store <2 x float> %29, ptr %30, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store float 0x3EB0C6F7A0000000, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 %3, i64 8, i1 false), !tbaa.struct !11
  %31 = getelementptr inbounds %union.HMM_Vec2, ptr %6, i32 0, i32 0
  %32 = load <2 x float>, ptr %31, align 4
  %33 = call <2 x float> @_ZL12HMM_RotateV28HMM_Vec2f(<2 x float> %32, float noundef 0x3FF921FB60000000)
  %34 = getelementptr inbounds %union.HMM_Vec2, ptr %5, i32 0, i32 0
  store <2 x float> %33, ptr %34, align 4
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %35, i32 0, i32 0
  %37 = load i32, ptr %36, align 4, !tbaa !13
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %36, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %39 = getelementptr inbounds %struct.anon, ptr %5, i32 0, i32 0
  %40 = load float, ptr %39, align 4, !tbaa !12
  store float %40, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %41 = load float, ptr %7, align 4, !tbaa !9
  %42 = fsub float %41, -2.000000e+00
  store float %42, ptr %8, align 4, !tbaa !9
  %43 = load float, ptr %8, align 4, !tbaa !9
  %44 = load float, ptr %4, align 4, !tbaa !9
  %45 = fneg float %44
  %46 = fcmp olt float %43, %45
  br i1 %46, label %51, label %47

47:                                               ; preds = %1
  %48 = load float, ptr %4, align 4, !tbaa !9
  %49 = load float, ptr %8, align 4, !tbaa !9
  %50 = fcmp olt float %48, %49
  br i1 %50, label %51, label %60

51:                                               ; preds = %47, %1
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 4, !tbaa !16
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %53, align 4, !tbaa !16
  %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 115)
  %57 = load float, ptr %7, align 4, !tbaa !9
  %58 = fpext float %57 to double
  %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef -2.000000e+00, double noundef %58)
  br label %60

60:                                               ; preds = %51, %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %61, i32 0, i32 0
  %63 = load i32, ptr %62, align 4, !tbaa !13
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %62, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %65 = getelementptr inbounds %struct.anon, ptr %5, i32 0, i32 1
  %66 = load float, ptr %65, align 4, !tbaa !12
  store float %66, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %67 = load float, ptr %9, align 4, !tbaa !9
  %68 = fsub float %67, 1.000000e+00
  store float %68, ptr %10, align 4, !tbaa !9
  %69 = load float, ptr %10, align 4, !tbaa !9
  %70 = load float, ptr %4, align 4, !tbaa !9
  %71 = fneg float %70
  %72 = fcmp olt float %69, %71
  br i1 %72, label %77, label %73

73:                                               ; preds = %60
  %74 = load float, ptr %4, align 4, !tbaa !9
  %75 = load float, ptr %10, align 4, !tbaa !9
  %76 = fcmp olt float %74, %75
  br i1 %76, label %77, label %86

77:                                               ; preds = %73, %60
  %78 = load ptr, ptr %2, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %78, i32 0, i32 1
  %80 = load i32, ptr %79, align 4, !tbaa !16
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %79, align 4, !tbaa !16
  %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 116)
  %83 = load float, ptr %9, align 4, !tbaa !9
  %84 = fpext float %83 to double
  %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %84)
  br label %86

86:                                               ; preds = %77, %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %3, i64 8, i1 false), !tbaa.struct !11
  %87 = getelementptr inbounds %union.HMM_Vec2, ptr %12, i32 0, i32 0
  %88 = load <2 x float>, ptr %87, align 4
  %89 = call <2 x float> @_ZL12HMM_RotateV28HMM_Vec2f(<2 x float> %88, float noundef 0x400921FB60000000)
  %90 = getelementptr inbounds %union.HMM_Vec2, ptr %11, i32 0, i32 0
  store <2 x float> %89, ptr %90, align 4
  %91 = load ptr, ptr %2, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %91, i32 0, i32 0
  %93 = load i32, ptr %92, align 4, !tbaa !13
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %92, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %95 = getelementptr inbounds %struct.anon, ptr %11, i32 0, i32 0
  %96 = load float, ptr %95, align 4, !tbaa !12
  store float %96, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %97 = load float, ptr %13, align 4, !tbaa !9
  %98 = fsub float %97, -1.000000e+00
  store float %98, ptr %14, align 4, !tbaa !9
  %99 = load float, ptr %14, align 4, !tbaa !9
  %100 = load float, ptr %4, align 4, !tbaa !9
  %101 = fneg float %100
  %102 = fcmp olt float %99, %101
  br i1 %102, label %107, label %103

103:                                              ; preds = %86
  %104 = load float, ptr %4, align 4, !tbaa !9
  %105 = load float, ptr %14, align 4, !tbaa !9
  %106 = fcmp olt float %104, %105
  br i1 %106, label %107, label %116

107:                                              ; preds = %103, %86
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %108, i32 0, i32 1
  %110 = load i32, ptr %109, align 4, !tbaa !16
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %109, align 4, !tbaa !16
  %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 120)
  %113 = load float, ptr %13, align 4, !tbaa !9
  %114 = fpext float %113 to double
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef -1.000000e+00, double noundef %114)
  br label %116

116:                                              ; preds = %107, %103
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  %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 !13
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %118, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %121 = getelementptr inbounds %struct.anon, ptr %11, i32 0, i32 1
  %122 = load float, ptr %121, align 4, !tbaa !12
  store float %122, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %123 = load float, ptr %15, align 4, !tbaa !9
  %124 = fsub float %123, -2.000000e+00
  store float %124, ptr %16, align 4, !tbaa !9
  %125 = load float, ptr %16, align 4, !tbaa !9
  %126 = load float, ptr %4, align 4, !tbaa !9
  %127 = fneg float %126
  %128 = fcmp olt float %125, %127
  br i1 %128, label %133, label %129

129:                                              ; preds = %116
  %130 = load float, ptr %4, align 4, !tbaa !9
  %131 = load float, ptr %16, align 4, !tbaa !9
  %132 = fcmp olt float %130, %131
  br i1 %132, label %133, label %142

133:                                              ; preds = %129, %116
  %134 = load ptr, ptr %2, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %134, i32 0, i32 1
  %136 = load i32, ptr %135, align 4, !tbaa !16
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %135, align 4, !tbaa !16
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 121)
  %139 = load float, ptr %15, align 4, !tbaa !9
  %140 = fpext float %139 to double
  %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef -2.000000e+00, double noundef %140)
  br label %142

142:                                              ; preds = %133, %129
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %3, i64 8, i1 false), !tbaa.struct !11
  %143 = getelementptr inbounds %union.HMM_Vec2, ptr %18, i32 0, i32 0
  %144 = load <2 x float>, ptr %143, align 4
  %145 = call <2 x float> @_ZL12HMM_RotateV28HMM_Vec2f(<2 x float> %144, float noundef 0x4012D97C80000000)
  %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 !13
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %148, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %151 = getelementptr inbounds %struct.anon, ptr %17, i32 0, i32 0
  %152 = load float, ptr %151, align 4, !tbaa !12
  store float %152, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %153 = load float, ptr %19, align 4, !tbaa !9
  %154 = fsub float %153, 2.000000e+00
  store float %154, ptr %20, align 4, !tbaa !9
  %155 = load float, ptr %20, align 4, !tbaa !9
  %156 = load float, ptr %4, align 4, !tbaa !9
  %157 = fneg float %156
  %158 = fcmp olt float %155, %157
  br i1 %158, label %163, label %159

159:                                              ; preds = %142
  %160 = load float, ptr %4, align 4, !tbaa !9
  %161 = load float, ptr %20, align 4, !tbaa !9
  %162 = fcmp olt float %160, %161
  br i1 %162, label %163, label %172

163:                                              ; preds = %159, %142
  %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 125)
  %169 = load float, ptr %19, align 4, !tbaa !9
  %170 = fpext float %169 to double
  %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 2.000000e+00, double noundef %170)
  br label %172

172:                                              ; preds = %163, %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  %173 = load ptr, ptr %2, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %173, i32 0, i32 0
  %175 = load i32, ptr %174, align 4, !tbaa !13
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %174, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %177 = getelementptr inbounds %struct.anon, ptr %17, i32 0, i32 1
  %178 = load float, ptr %177, align 4, !tbaa !12
  store float %178, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %179 = load float, ptr %21, align 4, !tbaa !9
  %180 = fsub float %179, -1.000000e+00
  store float %180, ptr %22, align 4, !tbaa !9
  %181 = load float, ptr %22, align 4, !tbaa !9
  %182 = load float, ptr %4, align 4, !tbaa !9
  %183 = fneg float %182
  %184 = fcmp olt float %181, %183
  br i1 %184, label %189, label %185

185:                                              ; preds = %172
  %186 = load float, ptr %4, align 4, !tbaa !9
  %187 = load float, ptr %22, align 4, !tbaa !9
  %188 = fcmp olt float %186, %187
  br i1 %188, label %189, label %198

189:                                              ; preds = %185, %172
  %190 = load ptr, ptr %2, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %190, i32 0, i32 1
  %192 = load i32, ptr %191, align 4, !tbaa !16
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %191, align 4, !tbaa !16
  %194 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 126)
  %195 = load float, ptr %21, align 4, !tbaa !9
  %196 = fpext float %195 to double
  %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef -1.000000e+00, double noundef %196)
  br label %198

198:                                              ; preds = %189, %185
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %3, i64 8, i1 false), !tbaa.struct !11
  %199 = getelementptr inbounds %union.HMM_Vec2, ptr %24, i32 0, i32 0
  %200 = load <2 x float>, ptr %199, align 4
  %201 = call <2 x float> @_ZL12HMM_RotateV28HMM_Vec2f(<2 x float> %200, float noundef 0x401921FB60000000)
  %202 = getelementptr inbounds %union.HMM_Vec2, ptr %23, i32 0, i32 0
  store <2 x float> %201, ptr %202, align 4
  %203 = load ptr, ptr %2, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %203, i32 0, i32 0
  %205 = load i32, ptr %204, align 4, !tbaa !13
  %206 = add nsw i32 %205, 1
  store i32 %206, ptr %204, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %207 = getelementptr inbounds %struct.anon, ptr %23, i32 0, i32 0
  %208 = load float, ptr %207, align 4, !tbaa !12
  store float %208, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %209 = load float, ptr %25, align 4, !tbaa !9
  %210 = fsub float %209, 1.000000e+00
  store float %210, ptr %26, align 4, !tbaa !9
  %211 = load float, ptr %26, align 4, !tbaa !9
  %212 = load float, ptr %4, align 4, !tbaa !9
  %213 = fneg float %212
  %214 = fcmp olt float %211, %213
  br i1 %214, label %219, label %215

215:                                              ; preds = %198
  %216 = load float, ptr %4, align 4, !tbaa !9
  %217 = load float, ptr %26, align 4, !tbaa !9
  %218 = fcmp olt float %216, %217
  br i1 %218, label %219, label %228

219:                                              ; preds = %215, %198
  %220 = load ptr, ptr %2, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %220, i32 0, i32 1
  %222 = load i32, ptr %221, align 4, !tbaa !16
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr %221, align 4, !tbaa !16
  %224 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 130)
  %225 = load float, ptr %25, align 4, !tbaa !9
  %226 = fpext float %225 to double
  %227 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %226)
  br label %228

228:                                              ; preds = %219, %215
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  %229 = load ptr, ptr %2, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %229, i32 0, i32 0
  %231 = load i32, ptr %230, align 4, !tbaa !13
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr %230, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %233 = getelementptr inbounds %struct.anon, ptr %23, i32 0, i32 1
  %234 = load float, ptr %233, align 4, !tbaa !12
  store float %234, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %235 = load float, ptr %27, align 4, !tbaa !9
  %236 = fsub float %235, 2.000000e+00
  store float %236, ptr %28, align 4, !tbaa !9
  %237 = load float, ptr %28, align 4, !tbaa !9
  %238 = load float, ptr %4, align 4, !tbaa !9
  %239 = fneg float %238
  %240 = fcmp olt float %237, %239
  br i1 %240, label %245, label %241

241:                                              ; preds = %228
  %242 = load float, ptr %4, align 4, !tbaa !9
  %243 = load float, ptr %28, align 4, !tbaa !9
  %244 = fcmp olt float %242, %243
  br i1 %244, label %245, label %254

245:                                              ; preds = %241, %228
  %246 = load ptr, ptr %2, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %246, i32 0, i32 1
  %248 = load i32, ptr %247, align 4, !tbaa !16
  %249 = add nsw i32 %248, 1
  store i32 %249, ptr %247, align 4, !tbaa !16
  %250 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 131)
  %251 = load float, ptr %27, align 4, !tbaa !9
  %252 = fpext float %251 to double
  %253 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 2.000000e+00, double noundef %252)
  br label %254

254:                                              ; preds = %245, %241
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL12HMM_RotateV28HMM_Vec2f(<2 x float>, float noundef) #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 = { 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 #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 = !{!"float", !7, i64 0}
!11 = !{i64 0, i64 8, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS21hmt_testresult_struct", !15, i64 0, !15, i64 4}
!15 = !{!"int", !7, i64 0}
!16 = !{!14, !15, 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.16 = external hidden unnamed_addr constant [20 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: mustprogress uwtable
define dso_local void @_Z34_hmt_test_Transformations_RotateV2P21hmt_testresult_struct(ptr nocapture noundef %0) local_unnamed_addr #2 {
  %2 = tail call <2 x float> @_ZL6HMM_V2ff(float noundef 1.000000e+00, float noundef 2.000000e+00)
  %3 = tail call <2 x float> @_ZL12HMM_RotateV28HMM_Vec2f(<2 x float> %2, float noundef 0x3FF921FB60000000)
  %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.038.0.vec.extract = extractelement <2 x float> %3, i64 0
  %6 = fadd float %.sroa.038.0.vec.extract, 2.000000e+00
  %7 = tail call float @llvm.fabs.f32(float %6)
  %or.cond = fcmp ogt float %7, 0x3EB0C6F7A0000000
  br i1 %or.cond, label %8, label %15

8:                                                ; preds = %1
  %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 115)
  %13 = fpext float %.sroa.038.0.vec.extract to double
  %14 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef -2.000000e+00, double noundef %13)
  %.pre = load i32, ptr %0, align 4, !tbaa !5
  br label %15

15:                                               ; preds = %1, %8
  %16 = phi i32 [ %5, %1 ], [ %.pre, %8 ]
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr %0, align 4, !tbaa !5
  %.sroa.038.4.vec.extract = extractelement <2 x float> %3, i64 1
  %18 = fadd float %.sroa.038.4.vec.extract, -1.000000e+00
  %19 = tail call float @llvm.fabs.f32(float %18)
  %or.cond82 = fcmp ogt float %19, 0x3EB0C6F7A0000000
  br i1 %or.cond82, label %20, label %27

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

27:                                               ; preds = %15, %20
  %28 = tail call <2 x float> @_ZL12HMM_RotateV28HMM_Vec2f(<2 x float> %2, float noundef 0x400921FB60000000)
  %29 = load i32, ptr %0, align 4, !tbaa !5
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr %0, align 4, !tbaa !5
  %.sroa.028.0.vec.extract = extractelement <2 x float> %28, i64 0
  %31 = fadd float %.sroa.028.0.vec.extract, 1.000000e+00
  %32 = tail call float @llvm.fabs.f32(float %31)
  %or.cond83 = fcmp ogt float %32, 0x3EB0C6F7A0000000
  br i1 %or.cond83, label %33, label %40

33:                                               ; preds = %27
  %34 = getelementptr inbounds i8, ptr %0, i64 4
  %35 = load i32, ptr %34, align 4, !tbaa !10
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %34, align 4, !tbaa !10
  %37 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 120)
  %38 = fpext float %.sroa.028.0.vec.extract to double
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef -1.000000e+00, double noundef %38)
  %.pre89 = load i32, ptr %0, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %27, %33
  %41 = phi i32 [ %30, %27 ], [ %.pre89, %33 ]
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %0, align 4, !tbaa !5
  %.sroa.028.4.vec.extract = extractelement <2 x float> %28, i64 1
  %43 = fadd float %.sroa.028.4.vec.extract, 2.000000e+00
  %44 = tail call float @llvm.fabs.f32(float %43)
  %or.cond84 = fcmp ogt float %44, 0x3EB0C6F7A0000000
  br i1 %or.cond84, label %45, label %52

45:                                               ; preds = %40
  %46 = getelementptr inbounds i8, ptr %0, i64 4
  %47 = load i32, ptr %46, align 4, !tbaa !10
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr %46, align 4, !tbaa !10
  %49 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 121)
  %50 = fpext float %.sroa.028.4.vec.extract to double
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef -2.000000e+00, double noundef %50)
  br label %52

52:                                               ; preds = %40, %45
  %53 = tail call <2 x float> @_ZL12HMM_RotateV28HMM_Vec2f(<2 x float> %2, float noundef 0x4012D97C80000000)
  %54 = load i32, ptr %0, align 4, !tbaa !5
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %0, align 4, !tbaa !5
  %.sroa.018.0.vec.extract = extractelement <2 x float> %53, i64 0
  %56 = fadd float %.sroa.018.0.vec.extract, -2.000000e+00
  %57 = tail call float @llvm.fabs.f32(float %56)
  %or.cond85 = fcmp ogt float %57, 0x3EB0C6F7A0000000
  br i1 %or.cond85, label %58, label %65

58:                                               ; preds = %52
  %59 = getelementptr inbounds i8, ptr %0, i64 4
  %60 = load i32, ptr %59, align 4, !tbaa !10
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %59, align 4, !tbaa !10
  %62 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 125)
  %63 = fpext float %.sroa.018.0.vec.extract to double
  %64 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 2.000000e+00, double noundef %63)
  %.pre90 = load i32, ptr %0, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %52, %58
  %66 = phi i32 [ %55, %52 ], [ %.pre90, %58 ]
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %0, align 4, !tbaa !5
  %.sroa.018.4.vec.extract = extractelement <2 x float> %53, i64 1
  %68 = fadd float %.sroa.018.4.vec.extract, 1.000000e+00
  %69 = tail call float @llvm.fabs.f32(float %68)
  %or.cond86 = fcmp ogt float %69, 0x3EB0C6F7A0000000
  br i1 %or.cond86, label %70, label %77

70:                                               ; preds = %65
  %71 = getelementptr inbounds i8, ptr %0, i64 4
  %72 = load i32, ptr %71, align 4, !tbaa !10
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %71, align 4, !tbaa !10
  %74 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 126)
  %75 = fpext float %.sroa.018.4.vec.extract to double
  %76 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef -1.000000e+00, double noundef %75)
  br label %77

77:                                               ; preds = %65, %70
  %78 = tail call <2 x float> @_ZL12HMM_RotateV28HMM_Vec2f(<2 x float> %2, float noundef 0x401921FB60000000)
  %79 = load i32, ptr %0, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %0, align 4, !tbaa !5
  %.sroa.08.0.vec.extract = extractelement <2 x float> %78, i64 0
  %81 = fadd float %.sroa.08.0.vec.extract, -1.000000e+00
  %82 = tail call float @llvm.fabs.f32(float %81)
  %or.cond87 = fcmp ogt float %82, 0x3EB0C6F7A0000000
  br i1 %or.cond87, label %83, label %90

83:                                               ; preds = %77
  %84 = getelementptr inbounds i8, ptr %0, i64 4
  %85 = load i32, ptr %84, align 4, !tbaa !10
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %84, align 4, !tbaa !10
  %87 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 130)
  %88 = fpext float %.sroa.08.0.vec.extract to double
  %89 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %88)
  %.pre91 = load i32, ptr %0, align 4, !tbaa !5
  br label %90

90:                                               ; preds = %77, %83
  %91 = phi i32 [ %80, %77 ], [ %.pre91, %83 ]
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %0, align 4, !tbaa !5
  %.sroa.08.4.vec.extract = extractelement <2 x float> %78, i64 1
  %93 = fadd float %.sroa.08.4.vec.extract, -2.000000e+00
  %94 = tail call float @llvm.fabs.f32(float %93)
  %or.cond88 = fcmp ogt float %94, 0x3EB0C6F7A0000000
  br i1 %or.cond88, label %95, label %102

95:                                               ; preds = %90
  %96 = getelementptr inbounds i8, ptr %0, i64 4
  %97 = load i32, ptr %96, align 4, !tbaa !10
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %96, align 4, !tbaa !10
  %99 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 131)
  %100 = fpext float %.sroa.08.4.vec.extract to double
  %101 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 2.000000e+00, double noundef %100)
  br label %102

102:                                              ; preds = %90, %95
  ret void
}

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

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

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 = { 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 #3 = { 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,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass