; LLVM IR from p4lang/p4c :: backends/tofino/bf-utils/dynamic_hash (dynamic_hash)

; 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.hash_column_ = type { i64, i8 }
%struct.hash_seed_ = type { i64, i64 }
%struct.ixbar_input_ = type { i32, i32, i32, %struct.hash_symmetric_info_, %union.anon }
%struct.hash_symmetric_info_ = type { i8, i32, i32 }
%union.anon = type { i64 }
%struct.hash_calc_rotate_info = type { i64, i32, ptr, ptr }
%struct.ixbar_init_ = type { ptr, i32, ptr, 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: mustprogress uwtable
declare dso_local void @_Z21update_symmetric_bitsPK11ixbar_init_PK12ixbar_input_jPA52_12hash_column_(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @determine_hash_matrix(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @determine_seed(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z26determine_tofino_gfm_deltaPA52_12hash_column_P10hash_regs_(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z20determine_seed_deltaPK10hash_seed_P10hash_regs_j(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @determine_tofino_regs(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #1 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca [16 x [52 x %struct.hash_column_]], align 16
  %14 = alloca %struct.hash_seed_, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 13312, ptr %13) #4
  %18 = getelementptr inbounds [16 x [52 x %struct.hash_column_]], ptr %13, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %18, i8 0, i64 13312, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #4
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %19

19:                                               ; preds = %34, %6
  %20 = load i32, ptr %16, align 4, !tbaa !9
  %21 = load i32, ptr %9, align 4, !tbaa !9
  %22 = icmp ult i32 %20, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %37

24:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = load i32, ptr %16, align 4, !tbaa !9
  %27 = zext i32 %26 to i64
  %28 = getelementptr inbounds %struct.ixbar_input_, ptr %25, i64 %27
  store ptr %28, ptr %17, align 8, !tbaa !5
  %29 = load ptr, ptr %17, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ixbar_input_, ptr %29, i32 0, i32 2
  %31 = load i32, ptr %30, align 8, !tbaa !11
  %32 = load i32, ptr %15, align 4, !tbaa !9
  %33 = add i32 %32, %31
  store i32 %33, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %34

34:                                               ; preds = %24
  %35 = load i32, ptr %16, align 4, !tbaa !9
  %36 = add i32 %35, 1
  store i32 %36, ptr %16, align 4, !tbaa !9
  br label %19, !llvm.loop !16

37:                                               ; preds = %23
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = load i32, ptr %9, align 4, !tbaa !9
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = getelementptr inbounds [16 x [52 x %struct.hash_column_]], ptr %13, i64 0, i64 0
  call void @determine_hash_matrix(ptr noundef %38, ptr noundef %39, i32 noundef %40, ptr noundef %41, ptr noundef %42)
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = load i32, ptr %9, align 4, !tbaa !9
  %46 = getelementptr inbounds [16 x [52 x %struct.hash_column_]], ptr %13, i64 0, i64 0
  call void @_Z21update_symmetric_bitsPK11ixbar_init_PK12ixbar_input_jPA52_12hash_column_(ptr noundef %43, ptr noundef %44, i32 noundef %45, ptr noundef %46)
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.hash_calc_rotate_info, ptr %47, i32 0, i32 0
  %49 = load i64, ptr %48, align 8, !tbaa !18
  %50 = icmp ne i64 %49, 0
  br i1 %50, label %51, label %54

51:                                               ; preds = %37
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  %53 = getelementptr inbounds [16 x [52 x %struct.hash_column_]], ptr %13, i64 0, i64 0
  call void @_ZL13rotate_matrixP21hash_calc_rotate_infoPA52_12hash_column_(ptr noundef %52, ptr noundef %53)
  br label %54

54:                                               ; preds = %51, %37
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ixbar_init_, ptr %55, i32 0, i32 2
  %57 = load ptr, ptr %56, align 8, !tbaa !21
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ixbar_init_, ptr %58, i32 0, i32 3
  %60 = load i32, ptr %59, align 8, !tbaa !23
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = load i32, ptr %9, align 4, !tbaa !9
  %63 = load i32, ptr %15, align 4, !tbaa !9
  %64 = load ptr, ptr %10, align 8, !tbaa !5
  call void @determine_seed(ptr noundef %57, i32 noundef %60, ptr noundef %61, i32 noundef %62, i32 noundef %63, ptr noundef %64, ptr noundef %14)
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.hash_calc_rotate_info, ptr %65, i32 0, i32 0
  %67 = load i64, ptr %66, align 8, !tbaa !18
  %68 = icmp ne i64 %67, 0
  br i1 %68, label %69, label %71

69:                                               ; preds = %54
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZL11rotate_seedP21hash_calc_rotate_infoP10hash_seed_(ptr noundef %70, ptr noundef %14)
  br label %71

71:                                               ; preds = %69, %54
  %72 = getelementptr inbounds [16 x [52 x %struct.hash_column_]], ptr %13, i64 0, i64 0
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_Z26determine_tofino_gfm_deltaPA52_12hash_column_P10hash_regs_(ptr noundef %72, ptr noundef %73)
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ixbar_init_, ptr %75, i32 0, i32 4
  %77 = load i32, ptr %76, align 4, !tbaa !24
  call void @_Z20determine_seed_deltaPK10hash_seed_P10hash_regs_j(ptr noundef %14, ptr noundef %74, i32 noundef %77)
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 13312, ptr %13) #4
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL13rotate_matrixP21hash_calc_rotate_infoPA52_12hash_column_(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL11rotate_seedP21hash_calc_rotate_infoP10hash_seed_(ptr noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 = { 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, !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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"_ZTS12ixbar_input_", !13, i64 0, !10, i64 4, !10, i64 8, !14, i64 12, !7, i64 24}
!13 = !{!"_ZTS16ixbar_input_type", !7, i64 0}
!14 = !{!"_ZTS20hash_symmetric_info_", !15, i64 0, !10, i64 4, !10, i64 8}
!15 = !{!"bool", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !20, i64 0}
!19 = !{!"_ZTS21hash_calc_rotate_info", !20, i64 0, !10, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"long", !7, i64 0}
!21 = !{!22, !6, i64 16}
!22 = !{!"_ZTS11ixbar_init_", !6, i64 0, !10, i64 8, !6, i64 16, !10, i64 24, !10, i64 28}
!23 = !{!22, !10, i64 24}
!24 = !{!22, !10, i64 28}


; 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.hash_column_ = type { i64, i8 }
%struct.hash_seed_ = type { i64, i64 }
%struct.ixbar_input_ = type { i32, i32, i32, %struct.hash_symmetric_info_, %union.anon }
%struct.hash_symmetric_info_ = type { i8, i32, i32 }
%union.anon = type { i64 }

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21update_symmetric_bitsPK11ixbar_init_PK12ixbar_input_jPA52_12hash_column_(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @determine_hash_matrix(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @determine_seed(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z26determine_tofino_gfm_deltaPA52_12hash_column_P10hash_regs_(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z20determine_seed_deltaPK10hash_seed_P10hash_regs_j(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @determine_tofino_regs(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #1 {
  %7 = alloca [16 x [52 x %struct.hash_column_]], align 16
  %8 = alloca %struct.hash_seed_, align 8
  call void @llvm.lifetime.start.p0(i64 13312, ptr nonnull %7) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(13312) %7, i8 0, i64 13312, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, i8 0, i64 16, i1 false)
  %.not31 = icmp eq i32 %2, 0
  br i1 %.not31, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %6
  %wide.trip.count = zext i32 %2 to i64
  %min.iters.check = icmp ult i32 %2, 9
  br i1 %min.iters.check, label %.lr.ph.preheader34, label %vector.ph

.lr.ph.preheader34:                               ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  %.030.ph = phi i32 [ 0, %.lr.ph.preheader ], [ %45, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.mod.vf = and i64 %wide.trip.count, 7
  %9 = icmp eq i64 %n.mod.vf, 0
  %10 = select i1 %9, i64 8, i64 %n.mod.vf
  %n.vec = sub nsw i64 %wide.trip.count, %10
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %42, %vector.body ]
  %vec.phi33 = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %43, %vector.body ]
  %11 = or disjoint i64 %index, 1
  %12 = or disjoint i64 %index, 2
  %13 = or disjoint i64 %index, 3
  %14 = or disjoint i64 %index, 4
  %15 = or disjoint i64 %index, 5
  %16 = or disjoint i64 %index, 6
  %17 = or disjoint i64 %index, 7
  %18 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %index, i32 2
  %19 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %11, i32 2
  %20 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %12, i32 2
  %21 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %13, i32 2
  %22 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %14, i32 2
  %23 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %15, i32 2
  %24 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %16, i32 2
  %25 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %17, i32 2
  %26 = load i32, ptr %18, align 8, !tbaa !5
  %27 = load i32, ptr %19, align 8, !tbaa !5
  %28 = load i32, ptr %20, align 8, !tbaa !5
  %29 = load i32, ptr %21, align 8, !tbaa !5
  %30 = insertelement <4 x i32> poison, i32 %26, i64 0
  %31 = insertelement <4 x i32> %30, i32 %27, i64 1
  %32 = insertelement <4 x i32> %31, i32 %28, i64 2
  %33 = insertelement <4 x i32> %32, i32 %29, i64 3
  %34 = load i32, ptr %22, align 8, !tbaa !5
  %35 = load i32, ptr %23, align 8, !tbaa !5
  %36 = load i32, ptr %24, align 8, !tbaa !5
  %37 = load i32, ptr %25, align 8, !tbaa !5
  %38 = insertelement <4 x i32> poison, i32 %34, i64 0
  %39 = insertelement <4 x i32> %38, i32 %35, i64 1
  %40 = insertelement <4 x i32> %39, i32 %36, i64 2
  %41 = insertelement <4 x i32> %40, i32 %37, i64 3
  %42 = add <4 x i32> %33, %vec.phi
  %43 = add <4 x i32> %41, %vec.phi33
  %index.next = add nuw i64 %index, 8
  %44 = icmp eq i64 %index.next, %n.vec
  br i1 %44, label %middle.block, label %vector.body, !llvm.loop !13

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <4 x i32> %43, %42
  %45 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  br label %.lr.ph.preheader34

._crit_edge:                                      ; preds = %.lr.ph, %6
  %.0.lcssa = phi i32 [ 0, %6 ], [ %49, %.lr.ph ]
  call void @determine_hash_matrix(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef nonnull %7)
  call void @_Z21update_symmetric_bitsPK11ixbar_init_PK12ixbar_input_jPA52_12hash_column_(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull %7)
  %46 = load i64, ptr %4, align 8, !tbaa !17
  %.not = icmp eq i64 %46, 0
  br i1 %.not, label %51, label %50

.lr.ph:                                           ; preds = %.lr.ph.preheader34, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader34 ]
  %.030 = phi i32 [ %49, %.lr.ph ], [ %.030.ph, %.lr.ph.preheader34 ]
  %47 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %indvars.iv, i32 2
  %48 = load i32, ptr %47, align 8, !tbaa !5
  %49 = add i32 %48, %.030
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !21

50:                                               ; preds = %._crit_edge
  call void @_ZL13rotate_matrixP21hash_calc_rotate_infoPA52_12hash_column_(ptr noundef nonnull %4, ptr noundef nonnull %7)
  br label %51

51:                                               ; preds = %50, %._crit_edge
  %52 = getelementptr inbounds i8, ptr %0, i64 16
  %53 = load ptr, ptr %52, align 8, !tbaa !22
  %54 = getelementptr inbounds i8, ptr %0, i64 24
  %55 = load i32, ptr %54, align 8, !tbaa !24
  call void @determine_seed(ptr noundef %53, i32 noundef %55, ptr noundef %1, i32 noundef %2, i32 noundef %.0.lcssa, ptr noundef %3, ptr noundef nonnull %8)
  %56 = load i64, ptr %4, align 8, !tbaa !17
  %.not28 = icmp eq i64 %56, 0
  br i1 %.not28, label %58, label %57

57:                                               ; preds = %51
  call void @_ZL11rotate_seedP21hash_calc_rotate_infoP10hash_seed_(ptr noundef nonnull %4, ptr noundef nonnull %8)
  br label %58

58:                                               ; preds = %57, %51
  call void @_Z26determine_tofino_gfm_deltaPA52_12hash_column_P10hash_regs_(ptr noundef nonnull %7, ptr noundef %5)
  %59 = getelementptr inbounds i8, ptr %0, i64 28
  %60 = load i32, ptr %59, align 4, !tbaa !25
  call void @_Z20determine_seed_deltaPK10hash_seed_P10hash_regs_j(ptr noundef nonnull %8, ptr noundef %5, i32 noundef %60)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 13312, ptr nonnull %7) #5
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL13rotate_matrixP21hash_calc_rotate_infoPA52_12hash_column_(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL11rotate_seedP21hash_calc_rotate_infoP10hash_seed_(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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, !10, i64 8}
!6 = !{!"_ZTS12ixbar_input_", !7, i64 0, !10, i64 4, !10, i64 8, !11, i64 12, !8, i64 24}
!7 = !{!"_ZTS16ixbar_input_type", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS20hash_symmetric_info_", !12, i64 0, !10, i64 4, !10, i64 8}
!12 = !{!"bool", !8, i64 0}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = !{!18, !19, i64 0}
!18 = !{!"_ZTS21hash_calc_rotate_info", !19, i64 0, !10, i64 8, !20, i64 16, !20, i64 24}
!19 = !{!"long", !8, i64 0}
!20 = !{!"any pointer", !8, i64 0}
!21 = distinct !{!21, !14, !16, !15}
!22 = !{!23, !20, i64 16}
!23 = !{!"_ZTS11ixbar_init_", !20, i64 0, !10, i64 8, !20, i64 16, !10, i64 24, !10, i64 28}
!24 = !{!23, !10, i64 24}
!25 = !{!23, !10, i64 28}


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