; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/test/gtc/gtc_color_space.ll (ZN9srgb_lowp4testEv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.glm::vec" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::vec.17" = type { %union.anon.18 }
%union.anon.18 = type { %struct.anon.19 }
%struct.anon.19 = type { float, float, float }
%"struct.glm::vec.2" = type { %union.anon.3 }
%union.anon.3 = type { %struct.anon.4 }
%struct.anon.4 = type { i8, i8, i8 }

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12)) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN9srgb_lowp4testEv() #4 {
  %1 = alloca i32, align 4
  %2 = alloca float, align 4
  %3 = alloca %"struct.glm::vec", align 4
  %4 = alloca %"struct.glm::vec", align 4
  %5 = alloca { <2 x float>, float }, align 8
  %6 = alloca %"struct.glm::vec.17", align 4
  %7 = alloca %"struct.glm::vec.17", align 4
  %8 = alloca { <2 x float>, float }, align 8
  %9 = alloca %"struct.glm::vec.2", align 1
  %10 = alloca %"struct.glm::vec", align 4
  %11 = alloca %"struct.glm::vec", align 4
  %12 = alloca %"struct.glm::vec", align 4
  %13 = alloca { <2 x float>, float }, align 8
  %14 = alloca { <2 x float>, float }, align 8
  %15 = alloca %"struct.glm::vec", align 4
  %16 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store float 0.000000e+00, ptr %2, align 4, !tbaa !9
  br label %17

17:                                               ; preds = %44, %0
  %18 = load float, ptr %2, align 4, !tbaa !9
  %19 = fcmp olt float %18, 1.000000e+00
  br i1 %19, label %21, label %20

20:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %47

21:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 12, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %4) #6
  %22 = load float, ptr %2, align 4, !tbaa !9
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %4, float noundef %22)
  %23 = call { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %4)
  %24 = getelementptr inbounds %"struct.glm::vec", ptr %3, i32 0, i32 0
  %25 = getelementptr inbounds %union.anon, ptr %24, i32 0, i32 0
  store { <2 x float>, float } %23, ptr %5, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 8 %5, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #6
  %26 = load float, ptr %2, align 4, !tbaa !9
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE2EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %7, float noundef %26)
  %27 = call { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE2EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %7)
  %28 = getelementptr inbounds %"struct.glm::vec.17", ptr %6, i32 0, i32 0
  %29 = getelementptr inbounds %union.anon.18, ptr %28, i32 0, i32 0
  store { <2 x float>, float } %27, ptr %8, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 8 %8, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2ILS1_2EEERKNS0_ILi3EfXT_EEE(ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %6)
  %30 = call { <2 x float>, float } @_ZN3glmmiIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %12)
  %31 = getelementptr inbounds %"struct.glm::vec", ptr %11, i32 0, i32 0
  %32 = getelementptr inbounds %union.anon, ptr %31, i32 0, i32 0
  store { <2 x float>, float } %30, ptr %13, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 8 %13, i64 12, i1 false)
  %33 = call { <2 x float>, float } @_ZN3glm3absILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %11)
  %34 = getelementptr inbounds %"struct.glm::vec", ptr %10, i32 0, i32 0
  %35 = getelementptr inbounds %union.anon, ptr %34, i32 0, i32 0
  store { <2 x float>, float } %33, ptr %14, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 8 %14, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %15, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store float 0x3FB99999A0000000, ptr %16, align 4, !tbaa !9
  %36 = call i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %37 = getelementptr inbounds %"struct.glm::vec.2", ptr %9, i32 0, i32 0
  %38 = getelementptr inbounds %union.anon.3, ptr %37, i32 0, i32 0
  store i24 %36, ptr %38, align 1
  %39 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %9)
  %40 = zext i1 %39 to i64
  %41 = select i1 %39, i32 0, i32 1
  %42 = load i32, ptr %1, align 4, !tbaa !5
  %43 = add nsw i32 %42, %41
  store i32 %43, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %3) #6
  br label %44

44:                                               ; preds = %21
  %45 = load float, ptr %2, align 4, !tbaa !9
  %46 = fadd float %45, 0x3F847AE140000000
  store float %46, ptr %2, align 4, !tbaa !9
  br label %17, !llvm.loop !11

47:                                               ; preds = %20
  %48 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %48
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12), float noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE2EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi3EfLNS_9qualifierE2EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12), float noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glm3absILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12)) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmmiIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2ILS1_2EEERKNS0_ILi3EfXT_EEE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #5 align 2

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.glm::vec" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::vec.17" = type { %union.anon.18 }
%union.anon.18 = type { %struct.anon.19 }
%struct.anon.19 = type { float, float, float }
%"struct.glm::vec.2" = type { %union.anon.3 }
%union.anon.3 = type { %struct.anon.4 }
%struct.anon.4 = type { i8, i8, i8 }

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN9srgb_lowp4testEv() local_unnamed_addr #3 {
  %1 = alloca %"struct.glm::vec", align 8
  %2 = alloca %"struct.glm::vec", align 4
  %3 = alloca %"struct.glm::vec.17", align 8
  %4 = alloca %"struct.glm::vec.17", align 4
  %5 = alloca %"struct.glm::vec.2", align 4
  %6 = alloca %"struct.glm::vec", align 8
  %7 = alloca %"struct.glm::vec", align 8
  %8 = alloca %"struct.glm::vec", align 4
  %9 = alloca %"struct.glm::vec", align 4
  %10 = alloca float, align 4
  %.sroa.212.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 8
  %.sroa.28.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 8
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  br label %12

11:                                               ; preds = %12
  ret i32 %20

12:                                               ; preds = %0, %12
  %.019 = phi i32 [ 0, %0 ], [ %20, %12 ]
  %.01718 = phi float [ 0.000000e+00, %0 ], [ %21, %12 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %2, float noundef %.01718)
  %13 = call { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %2)
  %.fca.0.extract9 = extractvalue { <2 x float>, float } %13, 0
  %.fca.1.extract10 = extractvalue { <2 x float>, float } %13, 1
  store <2 x float> %.fca.0.extract9, ptr %1, align 8
  store float %.fca.1.extract10, ptr %.sroa.212.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE2EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %4, float noundef %.01718)
  %14 = call { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE2EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %4)
  %.fca.0.extract5 = extractvalue { <2 x float>, float } %14, 0
  %.fca.1.extract6 = extractvalue { <2 x float>, float } %14, 1
  store <2 x float> %.fca.0.extract5, ptr %3, align 8
  store float %.fca.1.extract6, ptr %.sroa.28.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2ILS1_2EEERKNS0_ILi3EfXT_EEE(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %3)
  %15 = call { <2 x float>, float } @_ZN3glmmiIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %8)
  %.fca.0.extract1 = extractvalue { <2 x float>, float } %15, 0
  %.fca.1.extract2 = extractvalue { <2 x float>, float } %15, 1
  store <2 x float> %.fca.0.extract1, ptr %7, align 8
  store float %.fca.1.extract2, ptr %.sroa.24.0..sroa_idx, align 8
  %16 = call { <2 x float>, float } @_ZN3glm3absILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %7)
  %.fca.0.extract = extractvalue { <2 x float>, float } %16, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %16, 1
  store <2 x float> %.fca.0.extract, ptr %6, align 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %9, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store float 0x3FB99999A0000000, ptr %10, align 4, !tbaa !5
  %17 = call i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
  store i24 %17, ptr %5, align 4
  %18 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %5)
  %not. = xor i1 %18, true
  %19 = zext i1 %not. to i32
  %20 = add nuw nsw i32 %.019, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #5
  %21 = fadd float %.01718, 0x3F847AE140000000
  %22 = fcmp olt float %21, 1.000000e+00
  br i1 %22, label %12, label %11, !llvm.loop !9
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12), float noundef) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE2EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi3EfLNS_9qualifierE2EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12), float noundef) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glm3absILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmmiIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass