; LLVM IR from ermig1979/Simd :: src/Simd/SimdBaseBgrToLab.ll (ZN4Simd4Base11LabInitTabsEv)

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

@_ZN4Simd4Base11LabGammaTabE = external dso_local global [256 x i32], align 16
@_ZN4Simd4Base10LabCbrtTabE = external dso_local global [3072 x i32], align 16
@_ZN4Simd4Base12LabCoeffsTabE = external dso_local global [9 x i32], align 16
@_ZN4Simd4BaseL13LabTabsInitedE = external hidden global i8, align 1
@__const._ZN4Simd4Base11LabInitTabsEv.D65 = external hidden unnamed_addr constant [3 x double], align 16
@__const._ZN4Simd4Base11LabInitTabsEv.sRGB2XYZ_D65 = external hidden unnamed_addr constant [9 x double], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base11LabInitTabsEv() #0 {
  %1 = alloca float, align 4
  %2 = alloca i32, align 4
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca i32, align 4
  %7 = alloca float, align 4
  %8 = alloca [3 x double], align 16
  %9 = alloca [9 x double], align 16
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = load i8, ptr @_ZN4Simd4BaseL13LabTabsInitedE, align 1, !tbaa !5, !range !9, !noundef !10
  %15 = trunc i8 %14 to i1
  br i1 %15, label %16, label %17

16:                                               ; preds = %0
  br label %102

17:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  store float 2.040000e+03, ptr %1, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !13
  br label %18

18:                                               ; preds = %33, %17
  %19 = load i32, ptr %2, align 4, !tbaa !13
  %20 = icmp slt i32 %19, 256
  br i1 %20, label %22, label %21

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

22:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %23 = load i32, ptr %2, align 4, !tbaa !13
  %24 = sitofp i32 %23 to float
  %25 = fdiv float %24, 2.550000e+02
  store float %25, ptr %3, align 4, !tbaa !11
  %26 = load float, ptr %3, align 4, !tbaa !11
  %27 = call noundef float @_ZN4Simd4Base10ApplyGammaEf(float noundef %26)
  %28 = fmul float 2.040000e+03, %27
  %29 = call noundef i32 @_ZN4Simd5RoundEf(float noundef %28)
  %30 = load i32, ptr %2, align 4, !tbaa !13
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [256 x i32], ptr @_ZN4Simd4Base11LabGammaTabE, i64 0, i64 %31
  store i32 %29, ptr %32, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %33

33:                                               ; preds = %22
  %34 = load i32, ptr %2, align 4, !tbaa !13
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %2, align 4, !tbaa !13
  br label %18, !llvm.loop !15

36:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store float 0x3F40101020000000, ptr %4, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store float 3.276800e+04, ptr %5, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !13
  br label %37

37:                                               ; preds = %52, %36
  %38 = load i32, ptr %6, align 4, !tbaa !13
  %39 = icmp slt i32 %38, 3072
  br i1 %39, label %41, label %40

40:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %55

41:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %42 = load i32, ptr %6, align 4, !tbaa !13
  %43 = sitofp i32 %42 to float
  %44 = fmul float 0x3F40101020000000, %43
  store float %44, ptr %7, align 4, !tbaa !11
  %45 = load float, ptr %7, align 4, !tbaa !11
  %46 = call noundef float @_ZN4Simd4Base9ApplyCbrtEf(float noundef %45)
  %47 = fmul float 3.276800e+04, %46
  %48 = call noundef i32 @_ZN4Simd5RoundEf(float noundef %47)
  %49 = load i32, ptr %6, align 4, !tbaa !13
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [3072 x i32], ptr @_ZN4Simd4Base10LabCbrtTabE, i64 0, i64 %50
  store i32 %48, ptr %51, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %52

52:                                               ; preds = %41
  %53 = load i32, ptr %6, align 4, !tbaa !13
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %6, align 4, !tbaa !13
  br label %37, !llvm.loop !17

55:                                               ; preds = %40
  %56 = load i32, ptr getelementptr inbounds ([3072 x i32], ptr @_ZN4Simd4Base10LabCbrtTabE, i64 0, i64 324), align 16, !tbaa !13
  %57 = icmp eq i32 %56, 17746
  br i1 %57, label %58, label %59

58:                                               ; preds = %55
  store i32 17745, ptr getelementptr inbounds ([3072 x i32], ptr @_ZN4Simd4Base10LabCbrtTabE, i64 0, i64 324), align 16, !tbaa !13
  br label %59

59:                                               ; preds = %58, %55
  %60 = load i32, ptr getelementptr inbounds ([3072 x i32], ptr @_ZN4Simd4Base10LabCbrtTabE, i64 0, i64 49), align 4, !tbaa !13
  %61 = icmp eq i32 %60, 9455
  br i1 %61, label %62, label %63

62:                                               ; preds = %59
  store i32 9454, ptr getelementptr inbounds ([3072 x i32], ptr @_ZN4Simd4Base10LabCbrtTabE, i64 0, i64 49), align 4, !tbaa !13
  br label %63

63:                                               ; preds = %62, %59
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const._ZN4Simd4Base11LabInitTabsEv.D65, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 72, ptr %9) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const._ZN4Simd4Base11LabInitTabsEv.sRGB2XYZ_D65, i64 72, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store double 4.096000e+03, ptr %10, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !13
  br label %64

64:                                               ; preds = %98, %63
  %65 = load i32, ptr %11, align 4, !tbaa !13
  %66 = icmp slt i32 %65, 3
  br i1 %66, label %68, label %67

67:                                               ; preds = %64
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %101

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

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

72:                                               ; preds = %69
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %97

73:                                               ; preds = %69
  %74 = load i32, ptr %11, align 4, !tbaa !13
  %75 = mul nsw i32 %74, 3
  %76 = load i32, ptr %13, align 4, !tbaa !13
  %77 = add nsw i32 %75, %76
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [9 x double], ptr %9, i64 0, i64 %78
  %80 = load double, ptr %79, align 8, !tbaa !18
  %81 = fmul double 4.096000e+03, %80
  %82 = load i32, ptr %11, align 4, !tbaa !13
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %83
  %85 = load double, ptr %84, align 8, !tbaa !18
  %86 = fdiv double %81, %85
  %87 = call noundef i32 @_ZN4Simd5RoundEd(double noundef %86)
  %88 = load i32, ptr %11, align 4, !tbaa !13
  %89 = mul nsw i32 %88, 3
  %90 = load i32, ptr %13, align 4, !tbaa !13
  %91 = add nsw i32 %89, %90
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [9 x i32], ptr @_ZN4Simd4Base12LabCoeffsTabE, i64 0, i64 %92
  store i32 %87, ptr %93, align 4, !tbaa !13
  br label %94

94:                                               ; preds = %73
  %95 = load i32, ptr %13, align 4, !tbaa !13
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %13, align 4, !tbaa !13
  br label %69, !llvm.loop !20

97:                                               ; preds = %72
  br label %98

98:                                               ; preds = %97
  %99 = load i32, ptr %11, align 4, !tbaa !13
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %11, align 4, !tbaa !13
  br label %64, !llvm.loop !21

101:                                              ; preds = %67
  store i8 1, ptr @_ZN4Simd4BaseL13LabTabsInitedE, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  br label %102

102:                                              ; preds = %101, %16
  ret void
}

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef i32 @_ZN4Simd5RoundEf(float noundef) #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4Simd4Base10ApplyGammaEf(float noundef) #3

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZN4Simd4Base9ApplyCbrtEf(float noundef) #4

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef i32 @_ZN4Simd5RoundEd(double noundef) #2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 = { alwaysinline 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 #4 = { alwaysinline 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !7, i64 0}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}


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

@_ZN4Simd4Base11LabGammaTabE = external dso_local local_unnamed_addr global [256 x i32], align 16
@_ZN4Simd4Base10LabCbrtTabE = external dso_local local_unnamed_addr global [3072 x i32], align 16
@_ZN4Simd4Base12LabCoeffsTabE = external dso_local local_unnamed_addr global [9 x i32], align 16
@_ZN4Simd4BaseL13LabTabsInitedE = external hidden local_unnamed_addr global i8, align 1
@__const._ZN4Simd4Base11LabInitTabsEv.D65 = external hidden unnamed_addr constant [3 x double], align 16
@__const._ZN4Simd4Base11LabInitTabsEv.sRGB2XYZ_D65 = external hidden unnamed_addr constant [9 x double], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base11LabInitTabsEv() local_unnamed_addr #0 {
  %1 = load i8, ptr @_ZN4Simd4BaseL13LabTabsInitedE, align 1, !tbaa !5, !range !9, !noundef !10
  %2 = trunc nuw i8 %1 to i1
  br i1 %2, label %64, label %.preheader22

.preheader22:                                     ; preds = %0, %.preheader22
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader22 ], [ 0, %0 ]
  %3 = trunc nuw nsw i64 %indvars.iv to i32
  %4 = uitofp nneg i32 %3 to float
  %5 = fdiv float %4, 2.550000e+02
  %6 = tail call noundef float @_ZN4Simd4Base10ApplyGammaEf(float noundef %5)
  %7 = fmul float %6, 2.040000e+03
  %8 = tail call noundef i32 @_ZN4Simd5RoundEf(float noundef %7)
  %9 = getelementptr inbounds [256 x i32], ptr @_ZN4Simd4Base11LabGammaTabE, i64 0, i64 %indvars.iv
  store i32 %8, ptr %9, align 4, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 256
  br i1 %exitcond.not, label %.preheader21, label %.preheader22, !llvm.loop !13

10:                                               ; preds = %.preheader21
  %11 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN4Simd4Base10LabCbrtTabE, i64 1296), align 16, !tbaa !11
  %12 = icmp eq i32 %11, 17746
  br i1 %12, label %20, label %21

.preheader21:                                     ; preds = %.preheader22, %.preheader21
  %indvars.iv28 = phi i64 [ %indvars.iv.next29, %.preheader21 ], [ 0, %.preheader22 ]
  %13 = trunc nuw nsw i64 %indvars.iv28 to i32
  %14 = uitofp nneg i32 %13 to float
  %15 = fmul float %14, 0x3F40101020000000
  %16 = tail call noundef float @_ZN4Simd4Base9ApplyCbrtEf(float noundef %15)
  %17 = fmul float %16, 3.276800e+04
  %18 = tail call noundef i32 @_ZN4Simd5RoundEf(float noundef %17)
  %19 = getelementptr inbounds [3072 x i32], ptr @_ZN4Simd4Base10LabCbrtTabE, i64 0, i64 %indvars.iv28
  store i32 %18, ptr %19, align 4, !tbaa !11
  %indvars.iv.next29 = add nuw nsw i64 %indvars.iv28, 1
  %exitcond31.not = icmp eq i64 %indvars.iv.next29, 3072
  br i1 %exitcond31.not, label %10, label %.preheader21, !llvm.loop !15

20:                                               ; preds = %10
  store i32 17745, ptr getelementptr inbounds (i8, ptr @_ZN4Simd4Base10LabCbrtTabE, i64 1296), align 16, !tbaa !11
  br label %21

21:                                               ; preds = %20, %10
  %22 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN4Simd4Base10LabCbrtTabE, i64 196), align 4, !tbaa !11
  %23 = icmp eq i32 %22, 9455
  br i1 %23, label %24, label %.preheader

24:                                               ; preds = %21
  store i32 9454, ptr getelementptr inbounds (i8, ptr @_ZN4Simd4Base10LabCbrtTabE, i64 196), align 4, !tbaa !11
  br label %.preheader

.preheader:                                       ; preds = %24, %21
  %25 = load double, ptr @__const._ZN4Simd4Base11LabInitTabsEv.D65, align 16, !tbaa !16
  %26 = load double, ptr @__const._ZN4Simd4Base11LabInitTabsEv.sRGB2XYZ_D65, align 16, !tbaa !16
  %27 = fmul double %26, 4.096000e+03
  %28 = fdiv double %27, %25
  %29 = tail call noundef i32 @_ZN4Simd5RoundEd(double noundef %28)
  store i32 %29, ptr @_ZN4Simd4Base12LabCoeffsTabE, align 16, !tbaa !11
  %30 = load double, ptr getelementptr inbounds (i8, ptr @__const._ZN4Simd4Base11LabInitTabsEv.sRGB2XYZ_D65, i64 8), align 8, !tbaa !16
  %31 = fmul double %30, 4.096000e+03
  %32 = fdiv double %31, %25
  %33 = tail call noundef i32 @_ZN4Simd5RoundEd(double noundef %32)
  store i32 %33, ptr getelementptr inbounds (i8, ptr @_ZN4Simd4Base12LabCoeffsTabE, i64 4), align 4, !tbaa !11
  %34 = load double, ptr getelementptr inbounds (i8, ptr @__const._ZN4Simd4Base11LabInitTabsEv.sRGB2XYZ_D65, i64 16), align 16, !tbaa !16
  %35 = fmul double %34, 4.096000e+03
  %36 = fdiv double %35, %25
  %37 = tail call noundef i32 @_ZN4Simd5RoundEd(double noundef %36)
  store i32 %37, ptr getelementptr inbounds (i8, ptr @_ZN4Simd4Base12LabCoeffsTabE, i64 8), align 8, !tbaa !11
  %38 = load double, ptr getelementptr inbounds (i8, ptr @__const._ZN4Simd4Base11LabInitTabsEv.D65, i64 8), align 8, !tbaa !16
  %39 = load double, ptr getelementptr inbounds (i8, ptr @__const._ZN4Simd4Base11LabInitTabsEv.sRGB2XYZ_D65, i64 24), align 8, !tbaa !16
  %40 = fmul double %39, 4.096000e+03
  %41 = fdiv double %40, %38
  %42 = tail call noundef i32 @_ZN4Simd5RoundEd(double noundef %41)
  store i32 %42, ptr getelementptr inbounds (i8, ptr @_ZN4Simd4Base12LabCoeffsTabE, i64 12), align 4, !tbaa !11
  %43 = load double, ptr getelementptr inbounds (i8, ptr @__const._ZN4Simd4Base11LabInitTabsEv.sRGB2XYZ_D65, i64 32), align 16, !tbaa !16
  %44 = fmul double %43, 4.096000e+03
  %45 = fdiv double %44, %38
  %46 = tail call noundef i32 @_ZN4Simd5RoundEd(double noundef %45)
  store i32 %46, ptr getelementptr inbounds (i8, ptr @_ZN4Simd4Base12LabCoeffsTabE, i64 16), align 16, !tbaa !11
  %47 = load double, ptr getelementptr inbounds (i8, ptr @__const._ZN4Simd4Base11LabInitTabsEv.sRGB2XYZ_D65, i64 40), align 8, !tbaa !16
  %48 = fmul double %47, 4.096000e+03
  %49 = fdiv double %48, %38
  %50 = tail call noundef i32 @_ZN4Simd5RoundEd(double noundef %49)
  store i32 %50, ptr getelementptr inbounds (i8, ptr @_ZN4Simd4Base12LabCoeffsTabE, i64 20), align 4, !tbaa !11
  %51 = load double, ptr getelementptr inbounds (i8, ptr @__const._ZN4Simd4Base11LabInitTabsEv.D65, i64 16), align 16, !tbaa !16
  %52 = load double, ptr getelementptr inbounds (i8, ptr @__const._ZN4Simd4Base11LabInitTabsEv.sRGB2XYZ_D65, i64 48), align 16, !tbaa !16
  %53 = fmul double %52, 4.096000e+03
  %54 = fdiv double %53, %51
  %55 = tail call noundef i32 @_ZN4Simd5RoundEd(double noundef %54)
  store i32 %55, ptr getelementptr inbounds (i8, ptr @_ZN4Simd4Base12LabCoeffsTabE, i64 24), align 8, !tbaa !11
  %56 = load double, ptr getelementptr inbounds (i8, ptr @__const._ZN4Simd4Base11LabInitTabsEv.sRGB2XYZ_D65, i64 56), align 8, !tbaa !16
  %57 = fmul double %56, 4.096000e+03
  %58 = fdiv double %57, %51
  %59 = tail call noundef i32 @_ZN4Simd5RoundEd(double noundef %58)
  store i32 %59, ptr getelementptr inbounds (i8, ptr @_ZN4Simd4Base12LabCoeffsTabE, i64 28), align 4, !tbaa !11
  %60 = load double, ptr getelementptr inbounds (i8, ptr @__const._ZN4Simd4Base11LabInitTabsEv.sRGB2XYZ_D65, i64 64), align 16, !tbaa !16
  %61 = fmul double %60, 4.096000e+03
  %62 = fdiv double %61, %51
  %63 = tail call noundef i32 @_ZN4Simd5RoundEd(double noundef %62)
  store i32 %63, ptr getelementptr inbounds (i8, ptr @_ZN4Simd4Base12LabCoeffsTabE, i64 32), align 16, !tbaa !11
  store i8 1, ptr @_ZN4Simd4BaseL13LabTabsInitedE, align 1, !tbaa !5
  br label %64

64:                                               ; preds = %0, %.preheader
  ret void
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef i32 @_ZN4Simd5RoundEf(float noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4Simd4Base10ApplyGammaEf(float noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZN4Simd4Base9ApplyCbrtEf(float noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef i32 @_ZN4Simd5RoundEd(double noundef) local_unnamed_addr #1

attributes #0 = { 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 #1 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 = { alwaysinline 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 #3 = { alwaysinline 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" }

!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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass