; LLVM IR from ermig1979/Simd :: src/Simd/SimdBaseImageSaveBmp.ll (ZN4Simd4Base13ImageBmpSaver11WriteHeaderEv)

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

%"class.Simd::ImageSaver" = type { ptr, %"struct.Simd::ImageSaverParam", %"class.Simd::OutputMemoryStream" }
%"struct.Simd::ImageSaverParam" = type { i64, i64, i32, i32, i32, i32 }
%"class.Simd::OutputMemoryStream" = type { i64, ptr, i64, i64, i64, i64, i64 }
%"class.Simd::Base::ImageBmpSaver" = type { %"class.Simd::ImageSaver", ptr, i64, i64, i64 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base13ImageBmpSaver11WriteHeaderEv(ptr noundef nonnull align 8 dereferenceable(128) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca [30 x i32], align 16
  %4 = alloca [13 x i32], align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8
  %6 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %5, i32 0, i32 2
  call void @_ZN4Simd18OutputMemoryStream7Write8uEh(ptr noundef nonnull align 8 dereferenceable(56) %6, i8 noundef zeroext 66)
  %7 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %5, i32 0, i32 2
  call void @_ZN4Simd18OutputMemoryStream7Write8uEh(ptr noundef nonnull align 8 dereferenceable(56) %7, i8 noundef zeroext 77)
  %8 = getelementptr inbounds %"class.Simd::Base::ImageBmpSaver", ptr %5, i32 0, i32 2
  %9 = load i64, ptr %8, align 8, !tbaa !9
  %10 = icmp eq i64 %9, 4
  br i1 %10, label %11, label %62

11:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 120, ptr %3) #3
  %12 = getelementptr inbounds %"class.Simd::Base::ImageBmpSaver", ptr %5, i32 0, i32 3
  %13 = load i64, ptr %12, align 8, !tbaa !19
  %14 = getelementptr inbounds %"class.Simd::Base::ImageBmpSaver", ptr %5, i32 0, i32 4
  %15 = load i64, ptr %14, align 8, !tbaa !20
  %16 = add i64 %13, %15
  %17 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %5, i32 0, i32 1
  %18 = getelementptr inbounds %"struct.Simd::ImageSaverParam", ptr %17, i32 0, i32 1
  %19 = load i64, ptr %18, align 8, !tbaa !21
  %20 = mul i64 %16, %19
  %21 = add i64 122, %20
  %22 = trunc i64 %21 to i32
  store i32 %22, ptr %3, align 4, !tbaa !22
  %23 = getelementptr inbounds i32, ptr %3, i64 1
  store i32 0, ptr %23, align 4, !tbaa !22
  %24 = getelementptr inbounds i32, ptr %3, i64 2
  store i32 122, ptr %24, align 4, !tbaa !22
  %25 = getelementptr inbounds i32, ptr %3, i64 3
  store i32 108, ptr %25, align 4, !tbaa !22
  %26 = getelementptr inbounds i32, ptr %3, i64 4
  %27 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %5, i32 0, i32 1
  %28 = getelementptr inbounds %"struct.Simd::ImageSaverParam", ptr %27, i32 0, i32 0
  %29 = load i64, ptr %28, align 8, !tbaa !23
  %30 = trunc i64 %29 to i32
  store i32 %30, ptr %26, align 4, !tbaa !22
  %31 = getelementptr inbounds i32, ptr %3, i64 5
  %32 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %5, i32 0, i32 1
  %33 = getelementptr inbounds %"struct.Simd::ImageSaverParam", ptr %32, i32 0, i32 1
  %34 = load i64, ptr %33, align 8, !tbaa !21
  %35 = trunc i64 %34 to i32
  store i32 %35, ptr %31, align 4, !tbaa !22
  %36 = getelementptr inbounds i32, ptr %3, i64 6
  store i32 2097153, ptr %36, align 4, !tbaa !22
  %37 = getelementptr inbounds i32, ptr %3, i64 7
  store i32 3, ptr %37, align 4, !tbaa !22
  %38 = getelementptr inbounds i32, ptr %3, i64 8
  store i32 0, ptr %38, align 4, !tbaa !22
  %39 = getelementptr inbounds i32, ptr %3, i64 9
  store i32 0, ptr %39, align 4, !tbaa !22
  %40 = getelementptr inbounds i32, ptr %3, i64 10
  store i32 0, ptr %40, align 4, !tbaa !22
  %41 = getelementptr inbounds i32, ptr %3, i64 11
  store i32 0, ptr %41, align 4, !tbaa !22
  %42 = getelementptr inbounds i32, ptr %3, i64 12
  store i32 0, ptr %42, align 4, !tbaa !22
  %43 = getelementptr inbounds i32, ptr %3, i64 13
  store i32 16711680, ptr %43, align 4, !tbaa !22
  %44 = getelementptr inbounds i32, ptr %3, i64 14
  store i32 65280, ptr %44, align 4, !tbaa !22
  %45 = getelementptr inbounds i32, ptr %3, i64 15
  store i32 255, ptr %45, align 4, !tbaa !22
  %46 = getelementptr inbounds i32, ptr %3, i64 16
  store i32 -16777216, ptr %46, align 4, !tbaa !22
  %47 = getelementptr inbounds i32, ptr %3, i64 17
  store i32 0, ptr %47, align 4, !tbaa !22
  %48 = getelementptr inbounds i32, ptr %3, i64 18
  store i32 0, ptr %48, align 4, !tbaa !22
  %49 = getelementptr inbounds i32, ptr %3, i64 19
  store i32 0, ptr %49, align 4, !tbaa !22
  %50 = getelementptr inbounds i32, ptr %3, i64 20
  store i32 0, ptr %50, align 4, !tbaa !22
  %51 = getelementptr inbounds i32, ptr %3, i64 21
  store i32 0, ptr %51, align 4, !tbaa !22
  %52 = getelementptr inbounds i32, ptr %3, i64 22
  store i32 0, ptr %52, align 4, !tbaa !22
  %53 = getelementptr inbounds i32, ptr %3, i64 23
  store i32 0, ptr %53, align 4, !tbaa !22
  %54 = getelementptr inbounds i32, ptr %3, i64 24
  store i32 0, ptr %54, align 4, !tbaa !22
  %55 = getelementptr inbounds i32, ptr %3, i64 25
  store i32 0, ptr %55, align 4, !tbaa !22
  %56 = getelementptr inbounds i32, ptr %3, i64 26
  store i32 0, ptr %56, align 4, !tbaa !22
  %57 = getelementptr inbounds i32, ptr %3, i64 27
  store i32 0, ptr %57, align 4, !tbaa !22
  %58 = getelementptr inbounds i32, ptr %3, i64 28
  store i32 0, ptr %58, align 4, !tbaa !22
  %59 = getelementptr inbounds i32, ptr %3, i64 29
  store i32 0, ptr %59, align 4, !tbaa !22
  %60 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %5, i32 0, i32 2
  %61 = getelementptr inbounds [30 x i32], ptr %3, i64 0, i64 0
  call void @_ZN4Simd18OutputMemoryStream5WriteEPKvm(ptr noundef nonnull align 8 dereferenceable(56) %60, ptr noundef %61, i64 noundef 120)
  call void @llvm.lifetime.end.p0(i64 120, ptr %3) #3
  br label %96

62:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 52, ptr %4) #3
  %63 = getelementptr inbounds %"class.Simd::Base::ImageBmpSaver", ptr %5, i32 0, i32 3
  %64 = load i64, ptr %63, align 8, !tbaa !19
  %65 = getelementptr inbounds %"class.Simd::Base::ImageBmpSaver", ptr %5, i32 0, i32 4
  %66 = load i64, ptr %65, align 8, !tbaa !20
  %67 = add i64 %64, %66
  %68 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %5, i32 0, i32 1
  %69 = getelementptr inbounds %"struct.Simd::ImageSaverParam", ptr %68, i32 0, i32 1
  %70 = load i64, ptr %69, align 8, !tbaa !21
  %71 = mul i64 %67, %70
  %72 = add i64 54, %71
  %73 = trunc i64 %72 to i32
  store i32 %73, ptr %4, align 4, !tbaa !22
  %74 = getelementptr inbounds i32, ptr %4, i64 1
  store i32 0, ptr %74, align 4, !tbaa !22
  %75 = getelementptr inbounds i32, ptr %4, i64 2
  store i32 54, ptr %75, align 4, !tbaa !22
  %76 = getelementptr inbounds i32, ptr %4, i64 3
  store i32 40, ptr %76, align 4, !tbaa !22
  %77 = getelementptr inbounds i32, ptr %4, i64 4
  %78 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %5, i32 0, i32 1
  %79 = getelementptr inbounds %"struct.Simd::ImageSaverParam", ptr %78, i32 0, i32 0
  %80 = load i64, ptr %79, align 8, !tbaa !23
  %81 = trunc i64 %80 to i32
  store i32 %81, ptr %77, align 4, !tbaa !22
  %82 = getelementptr inbounds i32, ptr %4, i64 5
  %83 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %5, i32 0, i32 1
  %84 = getelementptr inbounds %"struct.Simd::ImageSaverParam", ptr %83, i32 0, i32 1
  %85 = load i64, ptr %84, align 8, !tbaa !21
  %86 = trunc i64 %85 to i32
  store i32 %86, ptr %82, align 4, !tbaa !22
  %87 = getelementptr inbounds i32, ptr %4, i64 6
  store i32 1572865, ptr %87, align 4, !tbaa !22
  %88 = getelementptr inbounds i32, ptr %4, i64 7
  store i32 0, ptr %88, align 4, !tbaa !22
  %89 = getelementptr inbounds i32, ptr %4, i64 8
  store i32 0, ptr %89, align 4, !tbaa !22
  %90 = getelementptr inbounds i32, ptr %4, i64 9
  store i32 0, ptr %90, align 4, !tbaa !22
  %91 = getelementptr inbounds i32, ptr %4, i64 10
  store i32 0, ptr %91, align 4, !tbaa !22
  %92 = getelementptr inbounds i32, ptr %4, i64 11
  store i32 0, ptr %92, align 4, !tbaa !22
  %93 = getelementptr inbounds i32, ptr %4, i64 12
  store i32 0, ptr %93, align 4, !tbaa !22
  %94 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %5, i32 0, i32 2
  %95 = getelementptr inbounds [13 x i32], ptr %4, i64 0, i64 0
  call void @_ZN4Simd18OutputMemoryStream5WriteEPKvm(ptr noundef nonnull align 8 dereferenceable(56) %94, ptr noundef %95, i64 noundef 52)
  call void @llvm.lifetime.end.p0(i64 52, ptr %4) #3
  br label %96

96:                                               ; preds = %62, %11
  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 void @_ZN4Simd18OutputMemoryStream5WriteEPKvm(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, i64 noundef) #2 align 2

; 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 void @_ZN4Simd18OutputMemoryStream7Write8uEh(ptr noundef nonnull align 8 dereferenceable(56), i8 noundef zeroext) #2 align 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"="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 = { 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, !13, i64 104}
!10 = !{!"_ZTSN4Simd4Base13ImageBmpSaverE", !11, i64 0, !6, i64 96, !13, i64 104, !13, i64 112, !13, i64 120}
!11 = !{!"_ZTSN4Simd10ImageSaverE", !12, i64 8, !18, i64 40}
!12 = !{!"_ZTSN4Simd15ImageSaverParamE", !13, i64 0, !13, i64 8, !14, i64 16, !15, i64 20, !16, i64 24, !17, i64 28}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTS19SimdPixelFormatType", !7, i64 0}
!15 = !{!"_ZTS17SimdImageFileType", !7, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTS11SimdYuvType", !7, i64 0}
!18 = !{!"_ZTSN4Simd18OutputMemoryStreamE", !13, i64 0, !6, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48}
!19 = !{!10, !13, i64 112}
!20 = !{!10, !13, i64 120}
!21 = !{!11, !13, i64 16}
!22 = !{!16, !16, i64 0}
!23 = !{!11, !13, i64 8}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base13ImageBmpSaver11WriteHeaderEv(ptr noundef nonnull align 8 dereferenceable(128) %0) local_unnamed_addr #0 align 2 {
  %2 = alloca [30 x i32], align 16
  %3 = alloca [13 x i32], align 16
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZN4Simd18OutputMemoryStream7Write8uEh(ptr noundef nonnull align 8 dereferenceable(56) %4, i8 noundef zeroext 66)
  tail call void @_ZN4Simd18OutputMemoryStream7Write8uEh(ptr noundef nonnull align 8 dereferenceable(56) %4, i8 noundef zeroext 77)
  %5 = getelementptr inbounds i8, ptr %0, i64 104
  %6 = load i64, ptr %5, align 8, !tbaa !5
  %7 = icmp eq i64 %6, 4
  %8 = getelementptr inbounds i8, ptr %0, i64 112
  %9 = getelementptr inbounds i8, ptr %0, i64 120
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %7, label %12, label %33

12:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %2) #4
  %13 = load i64, ptr %8, align 8, !tbaa !18
  %14 = load i64, ptr %9, align 8, !tbaa !19
  %15 = add i64 %14, %13
  %16 = load i64, ptr %11, align 8, !tbaa !20
  %17 = mul i64 %15, %16
  %18 = trunc i64 %17 to i32
  %19 = add i32 %18, 122
  store i32 %19, ptr %2, align 16, !tbaa !21
  %20 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 0, ptr %20, align 4, !tbaa !21
  %21 = getelementptr inbounds i8, ptr %2, i64 8
  store i32 122, ptr %21, align 8, !tbaa !21
  %22 = getelementptr inbounds i8, ptr %2, i64 12
  store i32 108, ptr %22, align 4, !tbaa !21
  %23 = getelementptr inbounds i8, ptr %2, i64 16
  %24 = load i64, ptr %10, align 8, !tbaa !22
  %25 = trunc i64 %24 to i32
  store i32 %25, ptr %23, align 16, !tbaa !21
  %26 = getelementptr inbounds i8, ptr %2, i64 20
  %27 = trunc i64 %16 to i32
  store i32 %27, ptr %26, align 4, !tbaa !21
  %28 = getelementptr inbounds i8, ptr %2, i64 24
  store i32 2097153, ptr %28, align 8, !tbaa !21
  %29 = getelementptr inbounds i8, ptr %2, i64 28
  store i32 3, ptr %29, align 4, !tbaa !21
  %30 = getelementptr inbounds i8, ptr %2, i64 32
  %31 = getelementptr inbounds i8, ptr %2, i64 52
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(20) %30, i8 0, i64 20, i1 false)
  store <4 x i32> <i32 16711680, i32 65280, i32 255, i32 -16777216>, ptr %31, align 4, !tbaa !21
  %32 = getelementptr inbounds i8, ptr %2, i64 68
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(52) %32, i8 0, i64 52, i1 false)
  call void @_ZN4Simd18OutputMemoryStream5WriteEPKvm(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull %2, i64 noundef 120)
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %2) #4
  br label %51

33:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 52, ptr nonnull %3) #4
  %34 = load i64, ptr %8, align 8, !tbaa !18
  %35 = load i64, ptr %9, align 8, !tbaa !19
  %36 = add i64 %35, %34
  %37 = load i64, ptr %11, align 8, !tbaa !20
  %38 = mul i64 %36, %37
  %39 = trunc i64 %38 to i32
  %40 = add i32 %39, 54
  store i32 %40, ptr %3, align 16, !tbaa !21
  %41 = getelementptr inbounds i8, ptr %3, i64 4
  store i32 0, ptr %41, align 4, !tbaa !21
  %42 = getelementptr inbounds i8, ptr %3, i64 8
  store i32 54, ptr %42, align 8, !tbaa !21
  %43 = getelementptr inbounds i8, ptr %3, i64 12
  store i32 40, ptr %43, align 4, !tbaa !21
  %44 = getelementptr inbounds i8, ptr %3, i64 16
  %45 = load i64, ptr %10, align 8, !tbaa !22
  %46 = trunc i64 %45 to i32
  store i32 %46, ptr %44, align 16, !tbaa !21
  %47 = getelementptr inbounds i8, ptr %3, i64 20
  %48 = trunc i64 %37 to i32
  store i32 %48, ptr %47, align 4, !tbaa !21
  %49 = getelementptr inbounds i8, ptr %3, i64 24
  store i32 1572865, ptr %49, align 8, !tbaa !21
  %50 = getelementptr inbounds i8, ptr %3, i64 28
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %50, i8 0, i64 24, i1 false)
  call void @_ZN4Simd18OutputMemoryStream5WriteEPKvm(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull %3, i64 noundef 52)
  call void @llvm.lifetime.end.p0(i64 52, ptr nonnull %3) #4
  br label %51

51:                                               ; preds = %33, %12
  ret void
}

; Function Attrs: mustprogress 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 void @_ZN4Simd18OutputMemoryStream5WriteEPKvm(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress 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 void @_ZN4Simd18OutputMemoryStream7Write8uEh(ptr noundef nonnull align 8 dereferenceable(56), i8 noundef zeroext) local_unnamed_addr #2 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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, !9, i64 104}
!6 = !{!"_ZTSN4Simd4Base13ImageBmpSaverE", !7, i64 0, !17, i64 96, !9, i64 104, !9, i64 112, !9, i64 120}
!7 = !{!"_ZTSN4Simd10ImageSaverE", !8, i64 8, !16, i64 40}
!8 = !{!"_ZTSN4Simd15ImageSaverParamE", !9, i64 0, !9, i64 8, !12, i64 16, !13, i64 20, !14, i64 24, !15, i64 28}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTS19SimdPixelFormatType", !10, i64 0}
!13 = !{!"_ZTS17SimdImageFileType", !10, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!"_ZTS11SimdYuvType", !10, i64 0}
!16 = !{!"_ZTSN4Simd18OutputMemoryStreamE", !9, i64 0, !17, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48}
!17 = !{!"any pointer", !10, i64 0}
!18 = !{!6, !9, i64 112}
!19 = !{!6, !9, i64 120}
!20 = !{!7, !9, i64 16}
!21 = !{!14, !14, i64 0}
!22 = !{!7, !9, i64 8}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass