; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/gtc/gtc_color_space.ll (ZN4srgb4testEv)

; 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.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%"struct.glm::vec.6" = type { %union.anon.7, %union.anon.8, %union.anon.9, %union.anon.10 }
%union.anon.7 = type { float }
%union.anon.8 = type { float }
%union.anon.9 = type { float }
%union.anon.10 = type { float }
%"struct.glm::vec.2" = type { %union.anon.3, %union.anon.4, %union.anon.5 }
%union.anon.3 = type { i8 }
%union.anon.4 = type { i8 }
%union.anon.5 = type { i8 }
%"struct.glm::vec.11" = type { %union.anon.12, %union.anon.13, %union.anon.14, %union.anon.15 }
%union.anon.12 = type { i8 }
%union.anon.13 = type { i8 }
%union.anon.14 = type { i8 }
%union.anon.15 = type { i8 }

@__const._ZN4srgb4testEv.ColorSourceRGB = external hidden unnamed_addr constant %"struct.glm::vec", align 4
@__const._ZN4srgb4testEv.ColorSourceRGBA = external hidden unnamed_addr constant %"struct.glm::vec.6", align 4
@__const._ZN4srgb4testEv.ColorSourceGNI = external hidden unnamed_addr constant %"struct.glm::vec.6", align 4

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4srgb4testEv() #0 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::vec", align 4
  %3 = alloca %"struct.glm::vec", align 4
  %4 = alloca { <2 x float>, float }, align 8
  %5 = alloca %"struct.glm::vec", align 4
  %6 = alloca { <2 x float>, float }, align 8
  %7 = alloca %"struct.glm::vec.2", align 1
  %8 = alloca float, align 4
  %9 = alloca %"struct.glm::vec", align 4
  %10 = alloca { <2 x float>, float }, align 8
  %11 = alloca %"struct.glm::vec", align 4
  %12 = alloca { <2 x float>, float }, align 8
  %13 = alloca %"struct.glm::vec.2", align 1
  %14 = alloca float, align 4
  %15 = alloca %"struct.glm::vec.6", align 4
  %16 = alloca %"struct.glm::vec.6", align 4
  %17 = alloca %"struct.glm::vec.6", align 4
  %18 = alloca %"struct.glm::vec.11", align 1
  %19 = alloca float, align 4
  %20 = alloca %"struct.glm::vec.6", align 4
  %21 = alloca %"struct.glm::vec.6", align 4
  %22 = alloca %"struct.glm::vec.11", align 1
  %23 = alloca float, align 4
  %24 = alloca %"struct.glm::vec.6", align 4
  %25 = alloca %"struct.glm::vec.6", align 4
  %26 = alloca %"struct.glm::vec.6", align 4
  %27 = alloca %"struct.glm::vec.6", align 4
  %28 = alloca %"struct.glm::vec.6", align 4
  %29 = alloca %"struct.glm::vec.6", align 4
  %30 = alloca %"struct.glm::vec.6", align 4
  %31 = alloca %"struct.glm::vec.6", align 4
  %32 = alloca %"struct.glm::vec.6", align 4
  %33 = alloca %"struct.glm::vec.11", align 1
  %34 = 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 12, ptr %2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const._ZN4srgb4testEv.ColorSourceRGB, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %3) #6
  %35 = call { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %2)
  store { <2 x float>, float } %35, ptr %4, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 8 %4, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %5) #6
  %36 = call { <2 x float>, float } @_ZN3glm19convertSRGBToLinearILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %3)
  store { <2 x float>, float } %36, ptr %6, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 8 %6, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 3, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store float 0x3EE4F8B580000000, ptr %8, align 4, !tbaa !9
  %37 = call i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(4) %8)
  store i24 %37, ptr %7, align 1
  %38 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %7)
  %39 = zext i1 %38 to i64
  %40 = select i1 %38, i32 0, i32 1
  %41 = load i32, ptr %1, align 4, !tbaa !5
  %42 = add nsw i32 %41, %40
  store i32 %42, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #6
  %43 = call { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_S3_(ptr noundef nonnull align 4 dereferenceable(12) %2, float noundef 0x4006666660000000)
  store { <2 x float>, float } %43, ptr %10, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 8 %10, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #6
  %44 = call { <2 x float>, float } @_ZN3glm19convertSRGBToLinearILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_S3_(ptr noundef nonnull align 4 dereferenceable(12) %9, float noundef 0x4006666660000000)
  store { <2 x float>, float } %44, ptr %12, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 8 %12, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 3, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store float 0x3EE4F8B580000000, ptr %14, align 4, !tbaa !9
  %45 = call i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(4) %14)
  store i24 %45, ptr %13, align 1
  %46 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %13)
  %47 = zext i1 %46 to i64
  %48 = select i1 %46, i32 0, i32 1
  %49 = load i32, ptr %1, align 4, !tbaa !5
  %50 = add nsw i32 %49, %48
  store i32 %50, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 @__const._ZN4srgb4testEv.ColorSourceRGBA, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  %51 = call { <2 x float>, <2 x float> } @_ZN3glm19convertLinearToSRGBILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %15)
  %52 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 0
  %53 = extractvalue { <2 x float>, <2 x float> } %51, 0
  store <2 x float> %53, ptr %52, align 4
  %54 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 1
  %55 = extractvalue { <2 x float>, <2 x float> } %51, 1
  store <2 x float> %55, ptr %54, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %56 = call { <2 x float>, <2 x float> } @_ZN3glm19convertSRGBToLinearILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %16)
  %57 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %17, i32 0, i32 0
  %58 = extractvalue { <2 x float>, <2 x float> } %56, 0
  store <2 x float> %58, ptr %57, align 4
  %59 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %17, i32 0, i32 1
  %60 = extractvalue { <2 x float>, <2 x float> } %56, 1
  store <2 x float> %60, ptr %59, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store float 0x3EE4F8B580000000, ptr %19, align 4, !tbaa !9
  %61 = call i32 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(4) %19)
  store i32 %61, ptr %18, align 1
  %62 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %18)
  %63 = zext i1 %62 to i64
  %64 = select i1 %62, i32 0, i32 1
  %65 = load i32, ptr %1, align 4, !tbaa !5
  %66 = add nsw i32 %65, %64
  store i32 %66, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  %67 = call { <2 x float>, <2 x float> } @_ZN3glm19convertLinearToSRGBILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_S3_(ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef 0x4006666660000000)
  %68 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %20, i32 0, i32 0
  %69 = extractvalue { <2 x float>, <2 x float> } %67, 0
  store <2 x float> %69, ptr %68, align 4
  %70 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %20, i32 0, i32 1
  %71 = extractvalue { <2 x float>, <2 x float> } %67, 1
  store <2 x float> %71, ptr %70, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %72 = call { <2 x float>, <2 x float> } @_ZN3glm19convertSRGBToLinearILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_S3_(ptr noundef nonnull align 4 dereferenceable(16) %20, float noundef 0x4006666660000000)
  %73 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 0
  %74 = extractvalue { <2 x float>, <2 x float> } %72, 0
  store <2 x float> %74, ptr %73, align 4
  %75 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 1
  %76 = extractvalue { <2 x float>, <2 x float> } %72, 1
  store <2 x float> %76, ptr %75, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store float 0x3EE4F8B580000000, ptr %23, align 4, !tbaa !9
  %77 = call i32 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) %23)
  store i32 %77, ptr %22, align 1
  %78 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %22)
  %79 = zext i1 %78 to i64
  %80 = select i1 %78, i32 0, i32 1
  %81 = load i32, ptr %1, align 4, !tbaa !5
  %82 = add nsw i32 %81, %80
  store i32 %82, ptr %1, align 4, !tbaa !5
  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 16, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 @__const._ZN4srgb4testEv.ColorSourceGNI, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %83 = call { <2 x float>, <2 x float> } @_ZN3glm19convertSRGBToLinearILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %24)
  %84 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %26, i32 0, i32 0
  %85 = extractvalue { <2 x float>, <2 x float> } %83, 0
  store <2 x float> %85, ptr %84, align 4
  %86 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %26, i32 0, i32 1
  %87 = extractvalue { <2 x float>, <2 x float> } %83, 1
  store <2 x float> %87, ptr %86, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #6
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %27, float noundef 2.550000e+02)
  %88 = call { <2 x float>, <2 x float> } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) %26, ptr noundef nonnull align 4 dereferenceable(16) %27)
  %89 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %25, i32 0, i32 0
  %90 = extractvalue { <2 x float>, <2 x float> } %88, 0
  store <2 x float> %90, ptr %89, align 4
  %91 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %25, i32 0, i32 1
  %92 = extractvalue { <2 x float>, <2 x float> } %88, 1
  store <2 x float> %92, ptr %91, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #6
  %93 = call { <2 x float>, <2 x float> } @_ZN3glm19convertLinearToSRGBILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %24)
  %94 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %29, i32 0, i32 0
  %95 = extractvalue { <2 x float>, <2 x float> } %93, 0
  store <2 x float> %95, ptr %94, align 4
  %96 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %29, i32 0, i32 1
  %97 = extractvalue { <2 x float>, <2 x float> } %93, 1
  store <2 x float> %97, ptr %96, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #6
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %30, float noundef 2.550000e+02)
  %98 = call { <2 x float>, <2 x float> } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(16) %30)
  %99 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 0
  %100 = extractvalue { <2 x float>, <2 x float> } %98, 0
  store <2 x float> %100, ptr %99, align 4
  %101 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 1
  %102 = extractvalue { <2 x float>, <2 x float> } %98, 1
  store <2 x float> %102, ptr %101, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #6
  %103 = call { <2 x float>, <2 x float> } @_ZN3glm19convertLinearToSRGBILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %24)
  %104 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 0
  %105 = extractvalue { <2 x float>, <2 x float> } %103, 0
  store <2 x float> %105, ptr %104, align 4
  %106 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 1
  %107 = extractvalue { <2 x float>, <2 x float> } %103, 1
  store <2 x float> %107, ptr %106, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #6
  %108 = call { <2 x float>, <2 x float> } @_ZN3glm19convertSRGBToLinearILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %31)
  %109 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %32, i32 0, i32 0
  %110 = extractvalue { <2 x float>, <2 x float> } %108, 0
  store <2 x float> %110, ptr %109, align 4
  %111 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %32, i32 0, i32 1
  %112 = extractvalue { <2 x float>, <2 x float> } %108, 1
  store <2 x float> %112, ptr %111, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  store float 0x3EE4F8B580000000, ptr %34, align 4, !tbaa !9
  %113 = call i32 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(16) %32, ptr noundef nonnull align 4 dereferenceable(4) %34)
  store i32 %113, ptr %33, align 1
  %114 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %33)
  %115 = zext i1 %114 to i64
  %116 = select i1 %114, i32 0, i32 1
  %117 = load i32, ptr %1, align 4, !tbaa !5
  %118 = add nsw i32 %117, %116
  store i32 %118, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  %119 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %119
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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 { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12)) #3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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}


; 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.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%"struct.glm::vec.6" = type { %union.anon.7, %union.anon.8, %union.anon.9, %union.anon.10 }
%union.anon.7 = type { float }
%union.anon.8 = type { float }
%union.anon.9 = type { float }
%union.anon.10 = type { float }
%"struct.glm::vec.2" = type { %union.anon.3, %union.anon.4, %union.anon.5 }
%union.anon.3 = type { i8 }
%union.anon.4 = type { i8 }
%union.anon.5 = type { i8 }
%"struct.glm::vec.11" = type { %union.anon.12, %union.anon.13, %union.anon.14, %union.anon.15 }
%union.anon.12 = type { i8 }
%union.anon.13 = type { i8 }
%union.anon.14 = type { i8 }
%union.anon.15 = type { i8 }

@__const._ZN4srgb4testEv.ColorSourceRGB = external hidden unnamed_addr constant %"struct.glm::vec", align 4
@__const._ZN4srgb4testEv.ColorSourceRGBA = external hidden unnamed_addr constant %"struct.glm::vec.6", align 4
@__const._ZN4srgb4testEv.ColorSourceGNI = external hidden unnamed_addr constant %"struct.glm::vec.6", align 4

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 6) i32 @_ZN4srgb4testEv() local_unnamed_addr #0 {
  %1 = alloca %"struct.glm::vec", align 4
  %2 = alloca %"struct.glm::vec", align 8
  %3 = alloca %"struct.glm::vec", align 8
  %4 = alloca %"struct.glm::vec.2", align 4
  %5 = alloca float, align 4
  %6 = alloca %"struct.glm::vec", align 8
  %7 = alloca %"struct.glm::vec", align 8
  %8 = alloca %"struct.glm::vec.2", align 4
  %9 = alloca float, align 4
  %10 = alloca %"struct.glm::vec.6", align 4
  %11 = alloca %"struct.glm::vec.6", align 8
  %12 = alloca %"struct.glm::vec.6", align 8
  %13 = alloca %"struct.glm::vec.11", align 4
  %14 = alloca float, align 4
  %15 = alloca %"struct.glm::vec.6", align 8
  %16 = alloca %"struct.glm::vec.6", align 8
  %17 = alloca %"struct.glm::vec.11", align 4
  %18 = alloca float, align 4
  %19 = alloca %"struct.glm::vec.6", align 4
  %20 = alloca %"struct.glm::vec.6", align 8
  %21 = alloca %"struct.glm::vec.6", align 4
  %22 = alloca %"struct.glm::vec.6", align 8
  %23 = alloca %"struct.glm::vec.6", align 4
  %24 = alloca %"struct.glm::vec.6", align 8
  %25 = alloca %"struct.glm::vec.6", align 8
  %26 = alloca %"struct.glm::vec.11", align 4
  %27 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) @__const._ZN4srgb4testEv.ColorSourceRGB, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #6
  %28 = call { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %1)
  %.fca.0.extract12 = extractvalue { <2 x float>, float } %28, 0
  %.fca.1.extract13 = extractvalue { <2 x float>, float } %28, 1
  store <2 x float> %.fca.0.extract12, ptr %2, align 8
  %.sroa.215.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 8
  store float %.fca.1.extract13, ptr %.sroa.215.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #6
  %29 = call { <2 x float>, float } @_ZN3glm19convertSRGBToLinearILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %2)
  %.fca.0.extract8 = extractvalue { <2 x float>, float } %29, 0
  %.fca.1.extract9 = extractvalue { <2 x float>, float } %29, 1
  store <2 x float> %.fca.0.extract8, ptr %3, align 8
  %.sroa.211.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 8
  store float %.fca.1.extract9, ptr %.sroa.211.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  store float 0x3EE4F8B580000000, ptr %5, align 4, !tbaa !5
  %30 = call i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(4) %5)
  store i24 %30, ptr %4, align 4
  %31 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %4)
  %not. = xor i1 %31, true
  %32 = zext i1 %not. to i32
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #6
  %33 = call { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_S3_(ptr noundef nonnull align 4 dereferenceable(12) %1, float noundef 0x4006666660000000)
  %.fca.0.extract4 = extractvalue { <2 x float>, float } %33, 0
  %.fca.1.extract5 = extractvalue { <2 x float>, float } %33, 1
  store <2 x float> %.fca.0.extract4, ptr %6, align 8
  %.sroa.27.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  store float %.fca.1.extract5, ptr %.sroa.27.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #6
  %34 = call { <2 x float>, float } @_ZN3glm19convertSRGBToLinearILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_S3_(ptr noundef nonnull align 4 dereferenceable(12) %6, float noundef 0x4006666660000000)
  %.fca.0.extract = extractvalue { <2 x float>, float } %34, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %34, 1
  store <2 x float> %.fca.0.extract, ptr %7, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  store float 0x3EE4F8B580000000, ptr %9, align 4, !tbaa !5
  %35 = call i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(4) %9)
  store i24 %35, ptr %8, align 4
  %36 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %8)
  %not.21 = xor i1 %36, true
  %37 = zext i1 %not.21 to i32
  %38 = add nuw nsw i32 %37, %32
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) @__const._ZN4srgb4testEv.ColorSourceRGBA, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  %39 = call { <2 x float>, <2 x float> } @_ZN3glm19convertLinearToSRGBILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %10)
  %40 = extractvalue { <2 x float>, <2 x float> } %39, 0
  store <2 x float> %40, ptr %11, align 8
  %41 = getelementptr inbounds i8, ptr %11, i64 8
  %42 = extractvalue { <2 x float>, <2 x float> } %39, 1
  store <2 x float> %42, ptr %41, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  %43 = call { <2 x float>, <2 x float> } @_ZN3glm19convertSRGBToLinearILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %11)
  %44 = extractvalue { <2 x float>, <2 x float> } %43, 0
  store <2 x float> %44, ptr %12, align 8
  %45 = getelementptr inbounds i8, ptr %12, i64 8
  %46 = extractvalue { <2 x float>, <2 x float> } %43, 1
  store <2 x float> %46, ptr %45, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  store float 0x3EE4F8B580000000, ptr %14, align 4, !tbaa !5
  %47 = call i32 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(4) %14)
  store i32 %47, ptr %13, align 4
  %48 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %13)
  %not.22 = xor i1 %48, true
  %49 = zext i1 %not.22 to i32
  %50 = add nuw nsw i32 %38, %49
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  %51 = call { <2 x float>, <2 x float> } @_ZN3glm19convertLinearToSRGBILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_S3_(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef 0x4006666660000000)
  %52 = extractvalue { <2 x float>, <2 x float> } %51, 0
  store <2 x float> %52, ptr %15, align 8
  %53 = getelementptr inbounds i8, ptr %15, i64 8
  %54 = extractvalue { <2 x float>, <2 x float> } %51, 1
  store <2 x float> %54, ptr %53, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  %55 = call { <2 x float>, <2 x float> } @_ZN3glm19convertSRGBToLinearILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_S3_(ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef 0x4006666660000000)
  %56 = extractvalue { <2 x float>, <2 x float> } %55, 0
  store <2 x float> %56, ptr %16, align 8
  %57 = getelementptr inbounds i8, ptr %16, i64 8
  %58 = extractvalue { <2 x float>, <2 x float> } %55, 1
  store <2 x float> %58, ptr %57, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  store float 0x3EE4F8B580000000, ptr %18, align 4, !tbaa !5
  %59 = call i32 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(4) %18)
  store i32 %59, ptr %17, align 4
  %60 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %17)
  %not.23 = xor i1 %60, true
  %61 = zext i1 %not.23 to i32
  %62 = add nuw nsw i32 %50, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(16) @__const._ZN4srgb4testEv.ColorSourceGNI, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #6
  %63 = call { <2 x float>, <2 x float> } @_ZN3glm19convertSRGBToLinearILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %19)
  %64 = extractvalue { <2 x float>, <2 x float> } %63, 0
  store <2 x float> %64, ptr %20, align 8
  %65 = getelementptr inbounds i8, ptr %20, i64 8
  %66 = extractvalue { <2 x float>, <2 x float> } %63, 1
  store <2 x float> %66, ptr %65, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #6
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef 2.550000e+02)
  %67 = call { <2 x float>, <2 x float> } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(16) %21)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #6
  %68 = call { <2 x float>, <2 x float> } @_ZN3glm19convertLinearToSRGBILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %19)
  %69 = extractvalue { <2 x float>, <2 x float> } %68, 0
  store <2 x float> %69, ptr %22, align 8
  %70 = getelementptr inbounds i8, ptr %22, i64 8
  %71 = extractvalue { <2 x float>, <2 x float> } %68, 1
  store <2 x float> %71, ptr %70, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #6
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %23, float noundef 2.550000e+02)
  %72 = call { <2 x float>, <2 x float> } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(16) %23)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #6
  %73 = call { <2 x float>, <2 x float> } @_ZN3glm19convertLinearToSRGBILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %19)
  %74 = extractvalue { <2 x float>, <2 x float> } %73, 0
  store <2 x float> %74, ptr %24, align 8
  %75 = getelementptr inbounds i8, ptr %24, i64 8
  %76 = extractvalue { <2 x float>, <2 x float> } %73, 1
  store <2 x float> %76, ptr %75, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #6
  %77 = call { <2 x float>, <2 x float> } @_ZN3glm19convertSRGBToLinearILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %24)
  %78 = extractvalue { <2 x float>, <2 x float> } %77, 0
  store <2 x float> %78, ptr %25, align 8
  %79 = getelementptr inbounds i8, ptr %25, i64 8
  %80 = extractvalue { <2 x float>, <2 x float> } %77, 1
  store <2 x float> %80, ptr %79, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #6
  store float 0x3EE4F8B580000000, ptr %27, align 4, !tbaa !5
  %81 = call i32 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(16) %25, ptr noundef nonnull align 4 dereferenceable(4) %27)
  store i32 %81, ptr %26, align 4
  %82 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %26)
  %not.24 = xor i1 %82, true
  %83 = zext i1 %not.24 to i32
  %84 = add nuw nsw i32 %62, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #6
  ret i32 %84
}

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

; Function Attrs: mustprogress 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 { <2 x float>, float } @_ZN3glm19convertLinearToSRGBILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

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

; 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 #4

; 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 #3

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass