; LLVM IR from ermig1979/Simd :: src/Simd/SimdBaseResizerBicubic.ll (ZN4Simd4Base18ResizerByteBicubic4InitEb)

; 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::Base::ResizerByteBicubic" = type { %"class.Simd::Resizer", %"struct.Simd::Array", %"struct.Simd::Array", %"struct.Simd::Array", %"struct.Simd::Array", [4 x %"struct.Simd::Array"], i64, i64, i64 }
%"class.Simd::Resizer" = type { %"struct.Simd::Deletable", %"struct.Simd::ResParam" }
%"struct.Simd::Deletable" = type { ptr }
%"struct.Simd::ResParam" = type { i32, i32, i64, i64, i64, i64, i64, i64 }
%"struct.Simd::Array" = type { ptr, i64 }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd4Base18ResizerByteBicubic18EstimateIndexAlphaEmmmRNS_5ArrayIiEES4_(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef, i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5ArrayIiE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i1 noundef zeroext, i64 noundef) #1 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd5ArrayIiEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base18ResizerByteBicubic4InitEb(ptr noundef nonnull align 8 dereferenceable(216) %0, i1 noundef zeroext %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %6 = zext i1 %1 to i8
  store i8 %6, ptr %4, align 1, !tbaa !9
  %7 = load ptr, ptr %3, align 8
  %8 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 2
  %9 = getelementptr inbounds %"struct.Simd::Array", ptr %8, i32 0, i32 0
  %10 = load ptr, ptr %9, align 8, !tbaa !11
  %11 = icmp ne ptr %10, null
  br i1 %11, label %12, label %13

12:                                               ; preds = %2
  br label %100

13:                                               ; preds = %2
  %14 = getelementptr inbounds %"class.Simd::Resizer", ptr %7, i32 0, i32 1
  %15 = getelementptr inbounds %"struct.Simd::ResParam", ptr %14, i32 0, i32 3
  %16 = load i64, ptr %15, align 8, !tbaa !20
  %17 = getelementptr inbounds %"class.Simd::Resizer", ptr %7, i32 0, i32 1
  %18 = getelementptr inbounds %"struct.Simd::ResParam", ptr %17, i32 0, i32 5
  %19 = load i64, ptr %18, align 8, !tbaa !21
  %20 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 2
  %21 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 4
  call void @_ZN4Simd4Base18ResizerByteBicubic18EstimateIndexAlphaEmmmRNS_5ArrayIiEES4_(ptr noundef nonnull align 8 dereferenceable(216) %7, i64 noundef %16, i64 noundef %19, i64 noundef 1, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %21)
  %22 = getelementptr inbounds %"class.Simd::Resizer", ptr %7, i32 0, i32 1
  %23 = getelementptr inbounds %"struct.Simd::ResParam", ptr %22, i32 0, i32 2
  %24 = load i64, ptr %23, align 8, !tbaa !22
  %25 = getelementptr inbounds %"class.Simd::Resizer", ptr %7, i32 0, i32 1
  %26 = getelementptr inbounds %"struct.Simd::ResParam", ptr %25, i32 0, i32 4
  %27 = load i64, ptr %26, align 8, !tbaa !23
  %28 = getelementptr inbounds %"class.Simd::Resizer", ptr %7, i32 0, i32 1
  %29 = getelementptr inbounds %"struct.Simd::ResParam", ptr %28, i32 0, i32 6
  %30 = load i64, ptr %29, align 8, !tbaa !24
  %31 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 1
  %32 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 3
  call void @_ZN4Simd4Base18ResizerByteBicubic18EstimateIndexAlphaEmmmRNS_5ArrayIiEES4_(ptr noundef nonnull align 8 dereferenceable(216) %7, i64 noundef %24, i64 noundef %27, i64 noundef %30, ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(16) %32)
  %33 = load i8, ptr %4, align 1, !tbaa !9, !range !25, !noundef !26
  %34 = trunc i8 %33 to i1
  br i1 %34, label %56, label %35

35:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !27
  br label %36

36:                                               ; preds = %52, %35
  %37 = load i32, ptr %5, align 4, !tbaa !27
  %38 = icmp slt i32 %37, 4
  br i1 %38, label %40, label %39

39:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %55

40:                                               ; preds = %36
  %41 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 5
  %42 = load i32, ptr %5, align 4, !tbaa !27
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [4 x %"struct.Simd::Array"], ptr %41, i64 0, i64 %43
  %45 = getelementptr inbounds %"class.Simd::Resizer", ptr %7, i32 0, i32 1
  %46 = getelementptr inbounds %"struct.Simd::ResParam", ptr %45, i32 0, i32 4
  %47 = load i64, ptr %46, align 8, !tbaa !23
  %48 = getelementptr inbounds %"class.Simd::Resizer", ptr %7, i32 0, i32 1
  %49 = getelementptr inbounds %"struct.Simd::ResParam", ptr %48, i32 0, i32 6
  %50 = load i64, ptr %49, align 8, !tbaa !24
  %51 = mul i64 %47, %50
  call void @_ZN4Simd5ArrayIiE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %44, i64 noundef %51, i1 noundef zeroext false, i64 noundef 8)
  br label %52

52:                                               ; preds = %40
  %53 = load i32, ptr %5, align 4, !tbaa !27
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %5, align 4, !tbaa !27
  br label %36, !llvm.loop !29

55:                                               ; preds = %39
  br label %56

56:                                               ; preds = %55, %13
  %57 = getelementptr inbounds %"class.Simd::Resizer", ptr %7, i32 0, i32 1
  %58 = getelementptr inbounds %"struct.Simd::ResParam", ptr %57, i32 0, i32 2
  %59 = load i64, ptr %58, align 8, !tbaa !22
  %60 = sub i64 %59, 2
  %61 = getelementptr inbounds %"class.Simd::Resizer", ptr %7, i32 0, i32 1
  %62 = getelementptr inbounds %"struct.Simd::ResParam", ptr %61, i32 0, i32 6
  %63 = load i64, ptr %62, align 8, !tbaa !24
  %64 = mul i64 %60, %63
  %65 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 8
  store i64 %64, ptr %65, align 8, !tbaa !31
  %66 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 6
  store i64 0, ptr %66, align 8, !tbaa !32
  br label %67

67:                                               ; preds = %75, %56
  %68 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 1
  %69 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 6
  %70 = load i64, ptr %69, align 8, !tbaa !32
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd5ArrayIiEixEm(ptr noundef nonnull align 8 dereferenceable(16) %68, i64 noundef %70)
  %72 = load i32, ptr %71, align 4, !tbaa !27
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %79

74:                                               ; preds = %67
  br label %75

75:                                               ; preds = %74
  %76 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 6
  %77 = load i64, ptr %76, align 8, !tbaa !32
  %78 = add i64 %77, 1
  store i64 %78, ptr %76, align 8, !tbaa !32
  br label %67, !llvm.loop !33

79:                                               ; preds = %67
  %80 = getelementptr inbounds %"class.Simd::Resizer", ptr %7, i32 0, i32 1
  %81 = getelementptr inbounds %"struct.Simd::ResParam", ptr %80, i32 0, i32 4
  %82 = load i64, ptr %81, align 8, !tbaa !23
  %83 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 7
  store i64 %82, ptr %83, align 8, !tbaa !34
  br label %84

84:                                               ; preds = %96, %79
  %85 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 1
  %86 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 7
  %87 = load i64, ptr %86, align 8, !tbaa !34
  %88 = sub i64 %87, 1
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd5ArrayIiEixEm(ptr noundef nonnull align 8 dereferenceable(16) %85, i64 noundef %88)
  %90 = load i32, ptr %89, align 4, !tbaa !27
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 8
  %93 = load i64, ptr %92, align 8, !tbaa !31
  %94 = icmp eq i64 %91, %93
  br i1 %94, label %95, label %100

95:                                               ; preds = %84
  br label %96

96:                                               ; preds = %95
  %97 = getelementptr inbounds %"class.Simd::Base::ResizerByteBicubic", ptr %7, i32 0, i32 7
  %98 = load i64, ptr %97, align 8, !tbaa !34
  %99 = add i64 %98, -1
  store i64 %99, ptr %97, align 8, !tbaa !34
  br label %84, !llvm.loop !35

100:                                              ; preds = %84, %12
  ret void
}

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !6, i64 80}
!12 = !{!"_ZTSN4Simd4Base18ResizerByteBicubicE", !13, i64 0, !19, i64 64, !19, i64 80, !19, i64 96, !19, i64 112, !7, i64 128, !18, i64 192, !18, i64 200, !18, i64 208}
!13 = !{!"_ZTSN4Simd7ResizerE", !14, i64 0, !15, i64 8}
!14 = !{!"_ZTSN4Simd9DeletableE"}
!15 = !{!"_ZTSN4Simd8ResParamE", !16, i64 0, !17, i64 4, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48}
!16 = !{!"_ZTS21SimdResizeChannelType", !7, i64 0}
!17 = !{!"_ZTS20SimdResizeMethodType", !7, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSN4Simd5ArrayIiEE", !6, i64 0, !18, i64 8}
!20 = !{!13, !18, i64 24}
!21 = !{!13, !18, i64 40}
!22 = !{!13, !18, i64 16}
!23 = !{!13, !18, i64 32}
!24 = !{!13, !18, i64 48}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!28, !28, i64 0}
!28 = !{!"int", !7, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!12, !18, i64 208}
!32 = !{!12, !18, i64 192}
!33 = distinct !{!33, !30}
!34 = !{!12, !18, i64 200}
!35 = distinct !{!35, !30}


; 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
declare dso_local void @_ZN4Simd4Base18ResizerByteBicubic18EstimateIndexAlphaEmmmRNS_5ArrayIiEES4_(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef, i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5ArrayIiE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i1 noundef zeroext, i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd5ArrayIiEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base18ResizerByteBicubic4InitEb(ptr noundef nonnull align 8 dereferenceable(216) %0, i1 noundef zeroext %1) local_unnamed_addr #0 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 80
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %5, label %.loopexit

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i64, ptr %6, align 8, !tbaa !17
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = load i64, ptr %8, align 8, !tbaa !18
  %10 = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @_ZN4Simd4Base18ResizerByteBicubic18EstimateIndexAlphaEmmmRNS_5ArrayIiEES4_(ptr noundef nonnull align 8 dereferenceable(216) %0, i64 noundef %7, i64 noundef %9, i64 noundef 1, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %10)
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = load i64, ptr %11, align 8, !tbaa !19
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  %14 = load i64, ptr %13, align 8, !tbaa !20
  %15 = getelementptr inbounds i8, ptr %0, i64 48
  %16 = load i64, ptr %15, align 8, !tbaa !21
  %17 = getelementptr inbounds i8, ptr %0, i64 64
  %18 = getelementptr inbounds i8, ptr %0, i64 96
  tail call void @_ZN4Simd4Base18ResizerByteBicubic18EstimateIndexAlphaEmmmRNS_5ArrayIiEES4_(ptr noundef nonnull align 8 dereferenceable(216) %0, i64 noundef %12, i64 noundef %14, i64 noundef %16, ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %18)
  br i1 %1, label %.loopexit5, label %.preheader

.preheader:                                       ; preds = %5
  %19 = getelementptr inbounds i8, ptr %0, i64 128
  %20 = load i64, ptr %13, align 8, !tbaa !20
  %21 = load i64, ptr %15, align 8, !tbaa !21
  %22 = mul i64 %21, %20
  tail call void @_ZN4Simd5ArrayIiE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %19, i64 noundef %22, i1 noundef zeroext false, i64 noundef 8)
  %23 = getelementptr inbounds i8, ptr %0, i64 144
  %24 = load i64, ptr %13, align 8, !tbaa !20
  %25 = load i64, ptr %15, align 8, !tbaa !21
  %26 = mul i64 %25, %24
  tail call void @_ZN4Simd5ArrayIiE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %23, i64 noundef %26, i1 noundef zeroext false, i64 noundef 8)
  %27 = getelementptr inbounds i8, ptr %0, i64 160
  %28 = load i64, ptr %13, align 8, !tbaa !20
  %29 = load i64, ptr %15, align 8, !tbaa !21
  %30 = mul i64 %29, %28
  tail call void @_ZN4Simd5ArrayIiE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %27, i64 noundef %30, i1 noundef zeroext false, i64 noundef 8)
  %31 = getelementptr inbounds i8, ptr %0, i64 176
  %32 = load i64, ptr %13, align 8, !tbaa !20
  %33 = load i64, ptr %15, align 8, !tbaa !21
  %34 = mul i64 %33, %32
  tail call void @_ZN4Simd5ArrayIiE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %31, i64 noundef %34, i1 noundef zeroext false, i64 noundef 8)
  br label %.loopexit5

.loopexit5:                                       ; preds = %.preheader, %5
  %35 = load i64, ptr %11, align 8, !tbaa !19
  %36 = add i64 %35, -2
  %37 = load i64, ptr %15, align 8, !tbaa !21
  %38 = mul i64 %36, %37
  %39 = getelementptr inbounds i8, ptr %0, i64 208
  store i64 %38, ptr %39, align 8, !tbaa !22
  %40 = getelementptr inbounds i8, ptr %0, i64 192
  store i64 0, ptr %40, align 8, !tbaa !23
  %41 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd5ArrayIiEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef 0)
  %42 = load i32, ptr %41, align 4, !tbaa !24
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.loopexit5, %.lr.ph
  %44 = load i64, ptr %40, align 8, !tbaa !23
  %45 = add i64 %44, 1
  store i64 %45, ptr %40, align 8, !tbaa !23
  %46 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd5ArrayIiEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %45)
  %47 = load i32, ptr %46, align 4, !tbaa !24
  %48 = icmp eq i32 %47, 0
  br i1 %48, label %.lr.ph, label %._crit_edge, !llvm.loop !26

._crit_edge:                                      ; preds = %.lr.ph, %.loopexit5
  %49 = load i64, ptr %13, align 8, !tbaa !20
  %50 = getelementptr inbounds i8, ptr %0, i64 200
  store i64 %49, ptr %50, align 8, !tbaa !28
  %51 = add i64 %49, -1
  %52 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd5ArrayIiEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %51)
  %53 = load i32, ptr %52, align 4, !tbaa !24
  %54 = sext i32 %53 to i64
  %55 = load i64, ptr %39, align 8, !tbaa !22
  %56 = icmp eq i64 %55, %54
  br i1 %56, label %.lr.ph8, label %.loopexit

.lr.ph8:                                          ; preds = %._crit_edge, %.lr.ph8
  %57 = load i64, ptr %50, align 8, !tbaa !28
  %58 = add i64 %57, -1
  store i64 %58, ptr %50, align 8, !tbaa !28
  %59 = add i64 %57, -2
  %60 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd5ArrayIiEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %59)
  %61 = load i32, ptr %60, align 4, !tbaa !24
  %62 = sext i32 %61 to i64
  %63 = load i64, ptr %39, align 8, !tbaa !22
  %64 = icmp eq i64 %63, %62
  br i1 %64, label %.lr.ph8, label %.loopexit, !llvm.loop !29

.loopexit:                                        ; preds = %.lr.ph8, %._crit_edge, %2
  ret void
}

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"="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 #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" }

!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, !16, i64 80}
!6 = !{!"_ZTSN4Simd4Base18ResizerByteBicubicE", !7, i64 0, !15, i64 64, !15, i64 80, !15, i64 96, !15, i64 112, !11, i64 128, !14, i64 192, !14, i64 200, !14, i64 208}
!7 = !{!"_ZTSN4Simd7ResizerE", !8, i64 0, !9, i64 8}
!8 = !{!"_ZTSN4Simd9DeletableE"}
!9 = !{!"_ZTSN4Simd8ResParamE", !10, i64 0, !13, i64 4, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48}
!10 = !{!"_ZTS21SimdResizeChannelType", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTS20SimdResizeMethodType", !11, i64 0}
!14 = !{!"long", !11, i64 0}
!15 = !{!"_ZTSN4Simd5ArrayIiEE", !16, i64 0, !14, i64 8}
!16 = !{!"any pointer", !11, i64 0}
!17 = !{!7, !14, i64 24}
!18 = !{!7, !14, i64 40}
!19 = !{!7, !14, i64 16}
!20 = !{!7, !14, i64 32}
!21 = !{!7, !14, i64 48}
!22 = !{!6, !14, i64 208}
!23 = !{!6, !14, i64 192}
!24 = !{!25, !25, i64 0}
!25 = !{!"int", !11, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!6, !14, i64 200}
!29 = distinct !{!29, !27}


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