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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%struct.bfn_hash_algorithm_ = type { i32, i8, i8, i32, i32, i8, i64, i64, i64, ptr }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z22determine_identity_gfmjj(i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z20determine_random_gfmv() #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z17compute_bitvec_szPK19bfn_hash_algorithm_j(ptr noundef, i32 noundef) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z17determine_crc_gfmPK19bfn_hash_algorithm_Pmjjbjj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z21initialize_matrix_bitPA52_12hash_column_jjb(ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z20determine_matrix_bitPA52_12hash_column_PK19bfn_hash_algorithm_PK12ixbar_input_jjjjjj(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2 personality ptr @__gxx_personality_v0 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i8, align 1
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca i64, align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store i32 %3, ptr %13, align 4, !tbaa !9
  store i32 %4, ptr %14, align 4, !tbaa !9
  store i32 %5, ptr %15, align 4, !tbaa !9
  store i32 %6, ptr %16, align 4, !tbaa !9
  store i32 %7, ptr %17, align 4, !tbaa !9
  store i32 %8, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #3
  store i8 0, ptr %19, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  %27 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %27, ptr %20, align 4, !tbaa !9
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.bfn_hash_algorithm_, ptr %28, i32 0, i32 2
  %30 = load i8, ptr %29, align 1, !tbaa !13, !range !18, !noundef !19
  %31 = trunc i8 %30 to i1
  br i1 %31, label %32, label %38

32:                                               ; preds = %9
  %33 = load i32, ptr %20, align 4, !tbaa !9
  %34 = load ptr, ptr %11, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.bfn_hash_algorithm_, ptr %34, i32 0, i32 4
  %36 = load i32, ptr %35, align 4, !tbaa !20
  %37 = urem i32 %33, %36
  store i32 %37, ptr %20, align 4, !tbaa !9
  br label %38

38:                                               ; preds = %32, %9
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.bfn_hash_algorithm_, ptr %39, i32 0, i32 0
  %41 = load i32, ptr %40, align 8, !tbaa !21
  %42 = icmp eq i32 %41, 0
  br i1 %42, label %43, label %48

43:                                               ; preds = %38
  %44 = load i32, ptr %15, align 4, !tbaa !9
  %45 = load i32, ptr %20, align 4, !tbaa !9
  %46 = call noundef zeroext i1 @_Z22determine_identity_gfmjj(i32 noundef %44, i32 noundef %45)
  %47 = zext i1 %46 to i8
  store i8 %47, ptr %19, align 1, !tbaa !11
  br label %119

48:                                               ; preds = %38
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.bfn_hash_algorithm_, ptr %49, i32 0, i32 0
  %51 = load i32, ptr %50, align 8, !tbaa !21
  %52 = icmp eq i32 %51, 2
  br i1 %52, label %53, label %56

53:                                               ; preds = %48
  %54 = call noundef zeroext i1 @_Z20determine_random_gfmv()
  %55 = zext i1 %54 to i8
  store i8 %55, ptr %19, align 1, !tbaa !11
  br label %118

56:                                               ; preds = %48
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.bfn_hash_algorithm_, ptr %57, i32 0, i32 0
  %59 = load i32, ptr %58, align 8, !tbaa !21
  %60 = icmp eq i32 %59, 3
  br i1 %60, label %61, label %70

61:                                               ; preds = %56
  %62 = load i32, ptr %15, align 4, !tbaa !9
  %63 = load i32, ptr %20, align 4, !tbaa !9
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.bfn_hash_algorithm_, ptr %64, i32 0, i32 4
  %66 = load i32, ptr %65, align 4, !tbaa !20
  %67 = load i32, ptr %16, align 4, !tbaa !9
  %68 = call noundef zeroext i1 @_ZL17determine_xor_gfmjjjj(i32 noundef %62, i32 noundef %63, i32 noundef %66, i32 noundef %67)
  %69 = zext i1 %68 to i8
  store i8 %69, ptr %19, align 1, !tbaa !11
  br label %117

70:                                               ; preds = %56
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.bfn_hash_algorithm_, ptr %71, i32 0, i32 0
  %73 = load i32, ptr %72, align 8, !tbaa !21
  %74 = icmp eq i32 %73, 1
  br i1 %74, label %75, label %116

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  %76 = load ptr, ptr %11, align 8, !tbaa !5
  %77 = load i32, ptr %16, align 4, !tbaa !9
  %78 = call noundef i32 @_Z17compute_bitvec_szPK19bfn_hash_algorithm_j(ptr noundef %76, i32 noundef %77)
  store i32 %78, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #3
  %79 = load i32, ptr %21, align 4, !tbaa !9
  %80 = zext i32 %79 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  store i64 0, ptr %23, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #3
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #3
  invoke void @_ZNSt6vectorImSaImEEC2EmRKmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %80, ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %81 unwind label %107

81:                                               ; preds = %75
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #3
  %84 = load i32, ptr %21, align 4, !tbaa !9
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = load i32, ptr %13, align 4, !tbaa !9
  call void @_Z28initialize_input_data_streamPK19bfn_hash_algorithm_PmjPK12ixbar_input_j(ptr noundef %82, ptr noundef %83, i32 noundef %84, ptr noundef %85, i32 noundef %86)
  %87 = load ptr, ptr %11, align 8, !tbaa !5
  %88 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #3
  %89 = load i32, ptr %21, align 4, !tbaa !9
  %90 = load i32, ptr %15, align 4, !tbaa !9
  %91 = load i32, ptr %20, align 4, !tbaa !9
  %92 = load i32, ptr %16, align 4, !tbaa !9
  %93 = invoke noundef zeroext i1 @_Z17determine_crc_gfmPK19bfn_hash_algorithm_Pmjjbjj(ptr noundef %87, ptr noundef %88, i32 noundef %89, i32 noundef %90, i1 noundef zeroext true, i32 noundef %91, i32 noundef %92)
          to label %94 unwind label %111

94:                                               ; preds = %81
  %95 = zext i1 %93 to i32
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #3
  %98 = load i32, ptr %21, align 4, !tbaa !9
  %99 = load i32, ptr %20, align 4, !tbaa !9
  %100 = load i32, ptr %16, align 4, !tbaa !9
  %101 = invoke noundef zeroext i1 @_Z17determine_crc_gfmPK19bfn_hash_algorithm_Pmjjbjj(ptr noundef %96, ptr noundef %97, i32 noundef %98, i32 noundef 0, i1 noundef zeroext false, i32 noundef %99, i32 noundef %100)
          to label %102 unwind label %111

102:                                              ; preds = %94
  %103 = zext i1 %101 to i32
  %104 = xor i32 %95, %103
  %105 = icmp ne i32 %104, 0
  %106 = zext i1 %105 to i8
  store i8 %106, ptr %19, align 1, !tbaa !11
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  br label %116

107:                                              ; preds = %75
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %25, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %26, align 4
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  br label %115

111:                                              ; preds = %94, %81
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %25, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %26, align 4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #3
  br label %115

115:                                              ; preds = %111, %107
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #3
  br label %125

116:                                              ; preds = %102, %70
  br label %117

117:                                              ; preds = %116, %61
  br label %118

118:                                              ; preds = %117, %53
  br label %119

119:                                              ; preds = %118, %43
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = load i32, ptr %18, align 4, !tbaa !9
  %123 = load i8, ptr %19, align 1, !tbaa !11, !range !18, !noundef !19
  %124 = trunc i8 %123 to i1
  call void @_Z21initialize_matrix_bitPA52_12hash_column_jjb(ptr noundef %120, i32 noundef %121, i32 noundef %122, i1 noundef zeroext %124)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #3
  ret void

125:                                              ; preds = %115
  %126 = load ptr, ptr %25, align 8
  %127 = load i32, ptr %26, align 4
  %128 = insertvalue { ptr, i32 } poison, ptr %126, 0
  %129 = insertvalue { ptr, i32 } %128, i32 %127, 1
  resume { ptr, i32 } %129
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL17determine_xor_gfmjjjj(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorImSaImEEC2EmRKmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !12, i64 5}
!14 = !{!"_ZTS19bfn_hash_algorithm_", !15, i64 0, !12, i64 4, !12, i64 5, !16, i64 8, !10, i64 12, !12, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !6, i64 48}
!15 = !{!"_ZTS19bfn_hash_alg_type_t", !7, i64 0}
!16 = !{!"_ZTS13bfn_crc_alg_t", !7, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!14, !10, i64 12}
!21 = !{!14, !15, i64 0}
!22 = !{!17, !17, i64 0}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z22determine_identity_gfmjj(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z20determine_random_gfmv() local_unnamed_addr #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z17compute_bitvec_szPK19bfn_hash_algorithm_j(ptr noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z17determine_crc_gfmPK19bfn_hash_algorithm_Pmjjbjj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z21initialize_matrix_bitPA52_12hash_column_jjb(ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z20determine_matrix_bitPA52_12hash_column_PK19bfn_hash_algorithm_PK12ixbar_input_jjjjjj(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca i64, align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = getelementptr inbounds i8, ptr %1, i64 5
  %14 = load i8, ptr %13, align 1, !tbaa !5, !range !15, !noundef !16
  %15 = trunc nuw i8 %14 to i1
  br i1 %15, label %16, label %20

16:                                               ; preds = %9
  %17 = getelementptr inbounds i8, ptr %1, i64 12
  %18 = load i32, ptr %17, align 4, !tbaa !17
  %19 = urem i32 %7, %18
  br label %20

20:                                               ; preds = %16, %9
  %.037 = phi i32 [ %19, %16 ], [ %7, %9 ]
  %21 = load i32, ptr %1, align 8, !tbaa !18
  switch i32 %21, label %47 [
    i32 0, label %22
    i32 2, label %24
    i32 3, label %26
    i32 1, label %30
  ]

22:                                               ; preds = %20
  %23 = tail call noundef zeroext i1 @_Z22determine_identity_gfmjj(i32 noundef %5, i32 noundef %.037)
  br label %47

24:                                               ; preds = %20
  %25 = tail call noundef zeroext i1 @_Z20determine_random_gfmv()
  br label %47

26:                                               ; preds = %20
  %27 = getelementptr inbounds i8, ptr %1, i64 12
  %28 = load i32, ptr %27, align 4, !tbaa !17
  %29 = tail call noundef zeroext i1 @_ZL17determine_xor_gfmjjjj(i32 noundef %5, i32 noundef %.037, i32 noundef %28, i32 noundef %6)
  br label %47

30:                                               ; preds = %20
  %31 = tail call noundef i32 @_Z17compute_bitvec_szPK19bfn_hash_algorithm_j(ptr noundef nonnull %1, i32 noundef %6)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #3
  %32 = zext i32 %31 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  store i64 0, ptr %11, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #3
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #3
  invoke void @_ZNSt6vectorImSaImEEC2EmRKmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %32, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %33 unwind label %42

33:                                               ; preds = %30
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  %34 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  call void @_Z28initialize_input_data_streamPK19bfn_hash_algorithm_PmjPK12ixbar_input_j(ptr noundef nonnull %1, ptr noundef %34, i32 noundef %31, ptr noundef %2, i32 noundef %3)
  %35 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  %36 = invoke noundef zeroext i1 @_Z17determine_crc_gfmPK19bfn_hash_algorithm_Pmjjbjj(ptr noundef nonnull %1, ptr noundef %35, i32 noundef %31, i32 noundef %5, i1 noundef zeroext true, i32 noundef %.037, i32 noundef %6)
          to label %37 unwind label %44

37:                                               ; preds = %33
  %38 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  %39 = invoke noundef zeroext i1 @_Z17determine_crc_gfmPK19bfn_hash_algorithm_Pmjjbjj(ptr noundef nonnull %1, ptr noundef %38, i32 noundef %31, i32 noundef 0, i1 noundef zeroext false, i32 noundef %.037, i32 noundef %6)
          to label %40 unwind label %44

40:                                               ; preds = %37
  %41 = xor i1 %36, %39
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #3
  br label %47

42:                                               ; preds = %30
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  br label %46

44:                                               ; preds = %37, %33
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  br label %46

46:                                               ; preds = %44, %42
  %.pn = phi { ptr, i32 } [ %45, %44 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #3
  resume { ptr, i32 } %.pn

47:                                               ; preds = %20, %24, %40, %26, %22
  %.036.shrunk = phi i1 [ %23, %22 ], [ %25, %24 ], [ %29, %26 ], [ %41, %40 ], [ false, %20 ]
  call void @_Z21initialize_matrix_bitPA52_12hash_column_jjb(ptr noundef %0, i32 noundef %4, i32 noundef %8, i1 noundef zeroext %.036.shrunk)
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL17determine_xor_gfmjjjj(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorImSaImEEC2EmRKmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 5}
!6 = !{!"_ZTS19bfn_hash_algorithm_", !7, i64 0, !10, i64 4, !10, i64 5, !11, i64 8, !12, i64 12, !10, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !14, i64 48}
!7 = !{!"_ZTS19bfn_hash_alg_type_t", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTS13bfn_crc_alg_t", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!6, !12, i64 12}
!18 = !{!6, !7, i64 0}
!19 = !{!13, !13, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass