; LLVM IR from wmcnamara/crynn :: lib/thirdparty/assimp/contrib/Open3DGC (o3dgcDynamicVectorDecoder)

; 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.o3dgc::DynamicVectorDecoder" = type <{ i64, i64, i64, i64, i64, ptr, %"class.o3dgc::DVEncodeParams", i32, [4 x i8] }>
%"class.o3dgc::DVEncodeParams" = type { i64, i32, i32 }

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5o3dgc20DynamicVectorDecoder9IQuantizeEPfmmmPKfS3_m(ptr noundef nonnull align 8 dereferenceable(68) %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6, i64 noundef %7) #4 align 2 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca i64, align 8
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store i64 %2, ptr %11, align 8, !tbaa !9
  store i64 %3, ptr %12, align 8, !tbaa !9
  store i64 %4, ptr %13, align 8, !tbaa !9
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store i64 %7, ptr %16, align 8, !tbaa !9
  %23 = load ptr, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %24 = load i64, ptr %11, align 8, !tbaa !9
  %25 = load i64, ptr %12, align 8, !tbaa !9
  %26 = mul i64 %24, %25
  store i64 %26, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %27 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %23, i32 0, i32 1
  %28 = load i64, ptr %27, align 8, !tbaa !11
  %29 = load i64, ptr %17, align 8, !tbaa !9
  %30 = icmp ult i64 %28, %29
  br i1 %30, label %31, label %47

31:                                               ; preds = %8
  %32 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %23, i32 0, i32 5
  %33 = load ptr, ptr %32, align 8, !tbaa !16
  %34 = icmp eq ptr %33, null
  br i1 %34, label %36, label %35

35:                                               ; preds = %31
  call void @_ZdaPv(ptr noundef %33) #6
  br label %36

36:                                               ; preds = %35, %31
  %37 = load i64, ptr %17, align 8, !tbaa !9
  %38 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %23, i32 0, i32 1
  store i64 %37, ptr %38, align 8, !tbaa !11
  %39 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %23, i32 0, i32 1
  %40 = load i64, ptr %39, align 8, !tbaa !11
  %41 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %40, i64 8)
  %42 = extractvalue { i64, i1 } %41, 1
  %43 = extractvalue { i64, i1 } %41, 0
  %44 = select i1 %42, i64 -1, i64 %43
  %45 = call noalias noundef nonnull ptr @_Znam(i64 noundef %44) #7
  %46 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %23, i32 0, i32 5
  store ptr %45, ptr %46, align 8, !tbaa !16
  br label %47

47:                                               ; preds = %36, %8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %48

48:                                               ; preds = %108, %47
  %49 = load i64, ptr %20, align 8, !tbaa !9
  %50 = load i64, ptr %12, align 8, !tbaa !9
  %51 = icmp ult i64 %49, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  store i32 2, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %111

53:                                               ; preds = %48
  %54 = load ptr, ptr %15, align 8, !tbaa !5
  %55 = load i64, ptr %20, align 8, !tbaa !9
  %56 = getelementptr inbounds float, ptr %54, i64 %55
  %57 = load float, ptr %56, align 4, !tbaa !17
  %58 = load ptr, ptr %14, align 8, !tbaa !5
  %59 = load i64, ptr %20, align 8, !tbaa !9
  %60 = getelementptr inbounds float, ptr %58, i64 %59
  %61 = load float, ptr %60, align 4, !tbaa !17
  %62 = fsub float %57, %61
  store float %62, ptr %18, align 4, !tbaa !17
  %63 = load float, ptr %18, align 4, !tbaa !17
  %64 = fcmp ogt float %63, 0.000000e+00
  br i1 %64, label %65, label %73

65:                                               ; preds = %53
  %66 = load float, ptr %18, align 4, !tbaa !17
  %67 = load i64, ptr %16, align 8, !tbaa !9
  %68 = trunc i64 %67 to i32
  %69 = shl i32 1, %68
  %70 = sub nsw i32 %69, 1
  %71 = sitofp i32 %70 to float
  %72 = fdiv float %66, %71
  store float %72, ptr %19, align 4, !tbaa !17
  br label %74

73:                                               ; preds = %53
  store float 1.000000e+00, ptr %19, align 4, !tbaa !17
  br label %74

74:                                               ; preds = %73, %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  store i64 0, ptr %22, align 8, !tbaa !9
  br label %75

75:                                               ; preds = %104, %74
  %76 = load i64, ptr %22, align 8, !tbaa !9
  %77 = load i64, ptr %11, align 8, !tbaa !9
  %78 = icmp ult i64 %76, %77
  br i1 %78, label %80, label %79

79:                                               ; preds = %75
  store i32 5, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %107

80:                                               ; preds = %75
  %81 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %23, i32 0, i32 5
  %82 = load ptr, ptr %81, align 8, !tbaa !16
  %83 = load i64, ptr %22, align 8, !tbaa !9
  %84 = load i64, ptr %20, align 8, !tbaa !9
  %85 = load i64, ptr %11, align 8, !tbaa !9
  %86 = mul i64 %84, %85
  %87 = add i64 %83, %86
  %88 = getelementptr inbounds i64, ptr %82, i64 %87
  %89 = load i64, ptr %88, align 8, !tbaa !9
  %90 = sitofp i64 %89 to float
  %91 = load float, ptr %19, align 4, !tbaa !17
  %92 = load ptr, ptr %14, align 8, !tbaa !5
  %93 = load i64, ptr %20, align 8, !tbaa !9
  %94 = getelementptr inbounds float, ptr %92, i64 %93
  %95 = load float, ptr %94, align 4, !tbaa !17
  %96 = call float @llvm.fmuladd.f32(float %90, float %91, float %95)
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = load i64, ptr %22, align 8, !tbaa !9
  %99 = load i64, ptr %13, align 8, !tbaa !9
  %100 = mul i64 %98, %99
  %101 = load i64, ptr %20, align 8, !tbaa !9
  %102 = add i64 %100, %101
  %103 = getelementptr inbounds float, ptr %97, i64 %102
  store float %96, ptr %103, align 4, !tbaa !17
  br label %104

104:                                              ; preds = %80
  %105 = load i64, ptr %22, align 8, !tbaa !9
  %106 = add i64 %105, 1
  store i64 %106, ptr %22, align 8, !tbaa !9
  br label %75, !llvm.loop !19

107:                                              ; preds = %79
  br label %108

108:                                              ; preds = %107
  %109 = load i64, ptr %20, align 8, !tbaa !9
  %110 = add i64 %109, 1
  store i64 %110, ptr %20, align 8, !tbaa !9
  br label %48, !llvm.loop !21

111:                                              ; preds = %52
  store i32 1, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  ret i32 0
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin nounwind "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 speculatable willreturn memory(none) }
attributes #3 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { builtin nounwind }
attributes #7 = { builtin allocsize(0) }

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"_ZTSN5o3dgc20DynamicVectorDecoderE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !6, i64 40, !13, i64 48, !14, i64 64}
!13 = !{!"_ZTSN5o3dgc14DVEncodeParamsE", !10, i64 0, !14, i64 8, !15, i64 12}
!14 = !{!"_ZTSN5o3dgc15O3DGCStreamTypeE", !7, i64 0}
!15 = !{!"_ZTSN5o3dgc19O3DGCDVEncodingModeE", !7, i64 0}
!16 = !{!12, !6, i64 40}
!17 = !{!18, !18, i64 0}
!18 = !{!"float", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


; 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: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #0

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5o3dgc20DynamicVectorDecoder9IQuantizeEPfmmmPKfS3_m(ptr nocapture noundef nonnull align 8 dereferenceable(68) %0, ptr nocapture noundef writeonly %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6, i64 noundef %7) local_unnamed_addr #2 align 2 {
  %9 = mul i64 %3, %2
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = load i64, ptr %10, align 8, !tbaa !5
  %12 = icmp ult i64 %11, %9
  br i1 %12, label %13, label %23

13:                                               ; preds = %8
  %14 = getelementptr inbounds i8, ptr %0, i64 40
  %15 = load ptr, ptr %14, align 8, !tbaa !14
  %16 = icmp eq ptr %15, null
  br i1 %16, label %18, label %17

17:                                               ; preds = %13
  tail call void @_ZdaPv(ptr noundef nonnull %15) #5
  br label %18

18:                                               ; preds = %17, %13
  store i64 %9, ptr %10, align 8, !tbaa !5
  %19 = icmp ugt i64 %9, 2305843009213693951
  %20 = shl nuw i64 %9, 3
  %21 = select i1 %19, i64 -1, i64 %20
  %22 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %21) #6
  store ptr %22, ptr %14, align 8, !tbaa !14
  br label %23

23:                                               ; preds = %18, %8
  %.not = icmp eq i64 %3, 0
  br i1 %.not, label %._crit_edge39, label %.lr.ph38

.lr.ph38:                                         ; preds = %23
  %24 = trunc i64 %7 to i32
  %notmask = shl nsw i32 -1, %24
  %25 = xor i32 %notmask, -1
  %26 = uitofp nneg i32 %25 to float
  %.not40 = icmp eq i64 %2, 0
  %27 = getelementptr inbounds i8, ptr %0, i64 40
  %28 = load ptr, ptr %27, align 8
  br i1 %.not40, label %._crit_edge39, label %.lr.ph.us.preheader

.lr.ph.us.preheader:                              ; preds = %.lr.ph38
  %29 = shl i64 %3, 2
  %30 = add i64 %3, %2
  %31 = shl i64 %30, 2
  %32 = getelementptr i8, ptr %1, i64 %31
  %scevgep = getelementptr i8, ptr %32, i64 -4
  %scevgep43 = getelementptr i8, ptr %5, i64 %29
  %min.iters.check = icmp ugt i64 %2, 3
  %ident.check.not = icmp eq i64 %4, 1
  %or.cond = and i1 %min.iters.check, %ident.check.not
  %bound0 = icmp ugt ptr %scevgep43, %1
  %bound1 = icmp ugt ptr %scevgep, %5
  %found.conflict = and i1 %bound0, %bound1
  %n.vec = and i64 %2, -4
  %cmp.n = icmp eq i64 %n.vec, %2
  %xtraiter = and i64 %2, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %33 = add i64 %2, -1
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %._crit_edge.us
  %.02736.us = phi i64 [ %71, %._crit_edge.us ], [ 0, %.lr.ph.us.preheader ]
  %34 = getelementptr inbounds float, ptr %6, i64 %.02736.us
  %35 = load float, ptr %34, align 4, !tbaa !15
  %36 = getelementptr inbounds float, ptr %5, i64 %.02736.us
  %37 = load float, ptr %36, align 4, !tbaa !15
  %38 = fsub float %35, %37
  %39 = fcmp ogt float %38, 0.000000e+00
  %40 = fdiv float %38, %26
  %.028.us = select i1 %39, float %40, float 1.000000e+00
  %invariant.gep.us = getelementptr float, ptr %1, i64 %.02736.us
  %41 = mul i64 %.02736.us, %2
  %invariant.gep34.us = getelementptr i64, ptr %28, i64 %41
  %or.cond.not = xor i1 %or.cond, true
  %brmerge = or i1 %or.cond.not, %found.conflict
  br i1 %brmerge, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.us
  %broadcast.splatinsert = insertelement <2 x float> poison, float %.028.us, i64 0
  %broadcast.splat = shufflevector <2 x float> %broadcast.splatinsert, <2 x float> poison, <2 x i32> zeroinitializer
  %42 = load float, ptr %36, align 4, !tbaa !15, !alias.scope !17
  %broadcast.splatinsert47 = insertelement <2 x float> poison, float %42, i64 0
  %broadcast.splat48 = shufflevector <2 x float> %broadcast.splatinsert47, <2 x float> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %43 = getelementptr i64, ptr %invariant.gep34.us, i64 %index
  %44 = getelementptr i8, ptr %43, i64 16
  %wide.load = load <2 x i64>, ptr %43, align 8, !tbaa !20
  %wide.load44 = load <2 x i64>, ptr %44, align 8, !tbaa !20
  %45 = sitofp <2 x i64> %wide.load to <2 x float>
  %46 = sitofp <2 x i64> %wide.load44 to <2 x float>
  %47 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %45, <2 x float> %broadcast.splat, <2 x float> %broadcast.splat48)
  %48 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %46, <2 x float> %broadcast.splat, <2 x float> %broadcast.splat48)
  %49 = getelementptr float, ptr %invariant.gep.us, i64 %index
  %50 = getelementptr i8, ptr %49, i64 8
  store <2 x float> %47, ptr %49, align 4, !tbaa !15, !alias.scope !21, !noalias !17
  store <2 x float> %48, ptr %50, align 4, !tbaa !15, !alias.scope !21, !noalias !17
  %index.next = add nuw i64 %index, 4
  %51 = icmp eq i64 %index.next, %n.vec
  br i1 %51, label %middle.block, label %vector.body, !llvm.loop !23

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %.lr.ph.us, %middle.block
  %.033.us.ph = phi i64 [ 0, %.lr.ph.us ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %gep35.us.prol = getelementptr i64, ptr %invariant.gep34.us, i64 %.033.us.ph
  %52 = load i64, ptr %gep35.us.prol, align 8, !tbaa !20
  %53 = sitofp i64 %52 to float
  %54 = load float, ptr %36, align 4, !tbaa !15
  %55 = tail call float @llvm.fmuladd.f32(float %53, float %.028.us, float %54)
  %56 = mul i64 %.033.us.ph, %4
  %gep.us.prol = getelementptr float, ptr %invariant.gep.us, i64 %56
  store float %55, ptr %gep.us.prol, align 4, !tbaa !15
  %57 = or disjoint i64 %.033.us.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %.033.us.unr = phi i64 [ %.033.us.ph, %scalar.ph.preheader ], [ %57, %scalar.ph.prol ]
  %58 = icmp eq i64 %.033.us.ph, %33
  br i1 %58, label %._crit_edge.us, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %.033.us = phi i64 [ %70, %scalar.ph ], [ %.033.us.unr, %scalar.ph.prol.loopexit ]
  %gep35.us = getelementptr i64, ptr %invariant.gep34.us, i64 %.033.us
  %59 = load i64, ptr %gep35.us, align 8, !tbaa !20
  %60 = sitofp i64 %59 to float
  %61 = load float, ptr %36, align 4, !tbaa !15
  %62 = tail call float @llvm.fmuladd.f32(float %60, float %.028.us, float %61)
  %63 = mul i64 %.033.us, %4
  %gep.us = getelementptr float, ptr %invariant.gep.us, i64 %63
  store float %62, ptr %gep.us, align 4, !tbaa !15
  %64 = add nuw i64 %.033.us, 1
  %gep35.us.1 = getelementptr i64, ptr %invariant.gep34.us, i64 %64
  %65 = load i64, ptr %gep35.us.1, align 8, !tbaa !20
  %66 = sitofp i64 %65 to float
  %67 = load float, ptr %36, align 4, !tbaa !15
  %68 = tail call float @llvm.fmuladd.f32(float %66, float %.028.us, float %67)
  %69 = mul i64 %64, %4
  %gep.us.1 = getelementptr float, ptr %invariant.gep.us, i64 %69
  store float %68, ptr %gep.us.1, align 4, !tbaa !15
  %70 = add nuw i64 %.033.us, 2
  %exitcond.not.1 = icmp eq i64 %70, %2
  br i1 %exitcond.not.1, label %._crit_edge.us, label %scalar.ph, !llvm.loop !27

._crit_edge.us:                                   ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %71 = add nuw i64 %.02736.us, 1
  %exitcond42.not = icmp eq i64 %71, %3
  br i1 %exitcond42.not, label %._crit_edge39, label %.lr.ph.us, !llvm.loop !28

._crit_edge39:                                    ; preds = %._crit_edge.us, %.lr.ph38, %23
  ret i32 0
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #4

attributes #0 = { nobuiltin nounwind "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 = { nobuiltin allocsize(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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { builtin nounwind }
attributes #6 = { builtin allocsize(0) }

!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, !7, i64 8}
!6 = !{!"_ZTSN5o3dgc20DynamicVectorDecoderE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !11, i64 48, !12, i64 64}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTSN5o3dgc14DVEncodeParamsE", !7, i64 0, !12, i64 8, !13, i64 12}
!12 = !{!"_ZTSN5o3dgc15O3DGCStreamTypeE", !8, i64 0}
!13 = !{!"_ZTSN5o3dgc19O3DGCDVEncodingModeE", !8, i64 0}
!14 = !{!6, !10, i64 40}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !8, i64 0}
!17 = !{!18}
!18 = distinct !{!18, !19}
!19 = distinct !{!19, !"LVerDomain"}
!20 = !{!7, !7, i64 0}
!21 = !{!22}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !24, !25, !26}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!"llvm.loop.isvectorized", i32 1}
!26 = !{!"llvm.loop.unroll.runtime.disable"}
!27 = distinct !{!27, !24, !25}
!28 = distinct !{!28, !24}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass