; LLVM IR from LeoVen/C-Macro-Collections :: tests (types)

; 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.struct_s = type { i32, i32, ptr, ptr, [10 x double] }
%struct.hashbidimap1 = type { ptr, i64, i64, double, i32, ptr, ptr, ptr, ptr, ptr }
%struct.hashbidimap1_fkey = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.hashbidimap1_entry = type { %struct.struct_s, %struct.struct_s, [2 x i64], [2 x ptr] }
%struct.hashbidimap1_fval = type { ptr, ptr, ptr, ptr, ptr, ptr }

; 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @hbm1_new_custom(i64 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden ptr @hbm1_impl_new_entry(ptr noundef, ptr noundef byval(%struct.struct_s) align 8, ptr noundef byval(%struct.struct_s) align 8) #2

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @hbm1_copy_of(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %struct.struct_s, align 8
  %9 = alloca %struct.struct_s, align 8
  %10 = alloca %struct.struct_s, align 8
  %11 = alloca %struct.struct_s, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.hashbidimap1, ptr %13, i32 0, i32 1
  %15 = load i64, ptr %14, align 8, !tbaa !9
  %16 = uitofp i64 %15 to double
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.hashbidimap1, ptr %17, i32 0, i32 3
  %19 = load double, ptr %18, align 8, !tbaa !14
  %20 = fmul double %16, %19
  %21 = fptoui double %20 to i64
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.hashbidimap1, ptr %22, i32 0, i32 3
  %24 = load double, ptr %23, align 8, !tbaa !14
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.hashbidimap1, ptr %25, i32 0, i32 5
  %27 = load ptr, ptr %26, align 8, !tbaa !15
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.hashbidimap1, ptr %28, i32 0, i32 6
  %30 = load ptr, ptr %29, align 8, !tbaa !16
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.hashbidimap1, ptr %31, i32 0, i32 7
  %33 = load ptr, ptr %32, align 8, !tbaa !17
  %34 = call ptr @hbm1_new_custom(i64 noundef %21, double noundef %24, ptr noundef %27, ptr noundef %30, ptr noundef %33, ptr noundef null)
  store ptr %34, ptr %4, align 8, !tbaa !5
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = icmp ne ptr %35, null
  br i1 %36, label %40, label %37

37:                                               ; preds = %1
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.hashbidimap1, ptr %38, i32 0, i32 4
  store i32 7, ptr %39, align 8, !tbaa !18
  store ptr null, ptr %2, align 8
  store i32 1, ptr %5, align 4
  br label %118

40:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  store i64 0, ptr %6, align 8, !tbaa !19
  br label %41

41:                                               ; preds = %111, %40
  %42 = load i64, ptr %6, align 8, !tbaa !19
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.hashbidimap1, ptr %43, i32 0, i32 1
  %45 = load i64, ptr %44, align 8, !tbaa !9
  %46 = icmp ult i64 %42, %45
  br i1 %46, label %48, label %47

47:                                               ; preds = %41
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %114

48:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.hashbidimap1, ptr %49, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !20
  %52 = load i64, ptr %6, align 8, !tbaa !19
  %53 = getelementptr inbounds [2 x ptr], ptr %51, i64 %52
  %54 = getelementptr inbounds [2 x ptr], ptr %53, i64 0, i64 0
  %55 = load ptr, ptr %54, align 8, !tbaa !5
  store ptr %55, ptr %7, align 8, !tbaa !5
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = icmp ne ptr %56, null
  br i1 %57, label %58, label %110

58:                                               ; preds = %48
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = icmp ne ptr %59, inttoptr (i64 1 to ptr)
  br i1 %60, label %61, label %110

61:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 104, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 104, ptr %9) #3
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.hashbidimap1, ptr %62, i32 0, i32 5
  %64 = load ptr, ptr %63, align 8, !tbaa !15
  %65 = getelementptr inbounds %struct.hashbidimap1_fkey, ptr %64, i32 0, i32 1
  %66 = load ptr, ptr %65, align 8, !tbaa !21
  %67 = icmp ne ptr %66, null
  br i1 %67, label %68, label %76

68:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 104, ptr %10) #3
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.hashbidimap1, ptr %69, i32 0, i32 5
  %71 = load ptr, ptr %70, align 8, !tbaa !15
  %72 = getelementptr inbounds %struct.hashbidimap1_fkey, ptr %71, i32 0, i32 1
  %73 = load ptr, ptr %72, align 8, !tbaa !21
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.hashbidimap1_entry, ptr %74, i32 0, i32 0
  call void %73(ptr dead_on_unwind writable sret(%struct.struct_s) align 8 %10, ptr noundef byval(%struct.struct_s) align 8 %75)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %10, i64 104, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 104, ptr %10) #3
  br label %79

76:                                               ; preds = %61
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.hashbidimap1_entry, ptr %77, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %78, i64 104, i1 false), !tbaa.struct !23
  br label %79

79:                                               ; preds = %76, %68
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.hashbidimap1, ptr %80, i32 0, i32 6
  %82 = load ptr, ptr %81, align 8, !tbaa !16
  %83 = getelementptr inbounds %struct.hashbidimap1_fval, ptr %82, i32 0, i32 1
  %84 = load ptr, ptr %83, align 8, !tbaa !26
  %85 = icmp ne ptr %84, null
  br i1 %85, label %86, label %94

86:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 104, ptr %11) #3
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.hashbidimap1, ptr %87, i32 0, i32 6
  %89 = load ptr, ptr %88, align 8, !tbaa !16
  %90 = getelementptr inbounds %struct.hashbidimap1_fval, ptr %89, i32 0, i32 1
  %91 = load ptr, ptr %90, align 8, !tbaa !26
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.hashbidimap1_entry, ptr %92, i32 0, i32 1
  call void %91(ptr dead_on_unwind writable sret(%struct.struct_s) align 8 %11, ptr noundef byval(%struct.struct_s) align 8 %93)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %11, i64 104, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 104, ptr %11) #3
  br label %97

94:                                               ; preds = %79
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.hashbidimap1_entry, ptr %95, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %96, i64 104, i1 false), !tbaa.struct !23
  br label %97

97:                                               ; preds = %94, %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = call ptr @hbm1_impl_new_entry(ptr noundef %98, ptr noundef byval(%struct.struct_s) align 8 %8, ptr noundef byval(%struct.struct_s) align 8 %9)
  store ptr %99, ptr %12, align 8, !tbaa !5
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = load ptr, ptr %12, align 8, !tbaa !5
  %102 = call ptr @hbm1_impl_add_entry_to_key(ptr noundef %100, ptr noundef %101)
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = load ptr, ptr %12, align 8, !tbaa !5
  %105 = call ptr @hbm1_impl_add_entry_to_val(ptr noundef %103, ptr noundef %104)
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.hashbidimap1, ptr %106, i32 0, i32 2
  %108 = load i64, ptr %107, align 8, !tbaa !28
  %109 = add i64 %108, 1
  store i64 %109, ptr %107, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 104, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 104, ptr %8) #3
  br label %110

110:                                              ; preds = %97, %58, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  br label %111

111:                                              ; preds = %110
  %112 = load i64, ptr %6, align 8, !tbaa !19
  %113 = add i64 %112, 1
  store i64 %113, ptr %6, align 8, !tbaa !19
  br label %41, !llvm.loop !29

114:                                              ; preds = %47
  %115 = load ptr, ptr %3, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.hashbidimap1, ptr %115, i32 0, i32 4
  store i32 0, ptr %116, align 8, !tbaa !18
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %117, ptr %2, align 8
  store i32 1, ptr %5, align 4
  br label %118

118:                                              ; preds = %114, %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %119 = load ptr, ptr %2, align 8
  ret ptr %119
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"hashbidimap1", !6, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !13, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72}
!11 = !{!"long", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !12, i64 24}
!15 = !{!10, !6, i64 40}
!16 = !{!10, !6, i64 48}
!17 = !{!10, !6, i64 56}
!18 = !{!10, !13, i64 32}
!19 = !{!11, !11, i64 0}
!20 = !{!10, !6, i64 0}
!21 = !{!22, !6, i64 8}
!22 = !{!"hashbidimap1_fkey", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!23 = !{i64 0, i64 4, !24, i64 4, i64 4, !24, i64 8, i64 8, !5, i64 16, i64 8, !5, i64 24, i64 80, !25}
!24 = !{!13, !13, i64 0}
!25 = !{!7, !7, i64 0}
!26 = !{!27, !6, i64 8}
!27 = !{!"hashbidimap1_fval", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!28 = !{!10, !11, i64 16}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


; 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.struct_s = type { i32, i32, ptr, ptr, [10 x double] }

; 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 nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @hbm1_new_custom(i64 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden ptr @hbm1_impl_new_entry(ptr noundef, ptr noundef byval(%struct.struct_s) align 8, ptr noundef byval(%struct.struct_s) align 8) local_unnamed_addr #2

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @hbm1_copy_of(ptr nocapture noundef %0) local_unnamed_addr #2 {
  %2 = alloca %struct.struct_s, align 8
  %3 = alloca %struct.struct_s, align 8
  %4 = alloca %struct.struct_s, align 8
  %5 = alloca %struct.struct_s, align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load i64, ptr %6, align 8, !tbaa !5
  %8 = uitofp i64 %7 to double
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load double, ptr %9, align 8, !tbaa !13
  %11 = fmul double %10, %8
  %12 = fptoui double %11 to i64
  %13 = getelementptr inbounds i8, ptr %0, i64 40
  %14 = load ptr, ptr %13, align 8, !tbaa !14
  %15 = getelementptr inbounds i8, ptr %0, i64 48
  %16 = load ptr, ptr %15, align 8, !tbaa !15
  %17 = getelementptr inbounds i8, ptr %0, i64 56
  %18 = load ptr, ptr %17, align 8, !tbaa !16
  %19 = tail call ptr @hbm1_new_custom(i64 noundef %12, double noundef %10, ptr noundef %14, ptr noundef %16, ptr noundef %18, ptr noundef null)
  %.not = icmp eq ptr %19, null
  br i1 %.not, label %._crit_edge, label %.preheader

.preheader:                                       ; preds = %1
  %20 = load i64, ptr %6, align 8, !tbaa !5
  %.not38 = icmp eq i64 %20, 0
  br i1 %.not38, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %21 = getelementptr inbounds i8, ptr %19, i64 16
  br label %22

22:                                               ; preds = %.lr.ph, %47
  %23 = phi i64 [ %20, %.lr.ph ], [ %48, %47 ]
  %.03237 = phi i64 [ 0, %.lr.ph ], [ %49, %47 ]
  %24 = load ptr, ptr %0, align 8, !tbaa !17
  %25 = getelementptr inbounds [2 x ptr], ptr %24, i64 %.03237
  %26 = load ptr, ptr %25, align 8, !tbaa !18
  %switch = icmp ult ptr %26, inttoptr (i64 2 to ptr)
  br i1 %switch, label %47, label %27

27:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %2) #3
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %3) #3
  %28 = load ptr, ptr %13, align 8, !tbaa !14
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !19
  %.not35 = icmp eq ptr %30, null
  br i1 %.not35, label %32, label %31

31:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %4) #3
  call void %30(ptr dead_on_unwind nonnull writable sret(%struct.struct_s) align 8 %4, ptr noundef nonnull byval(%struct.struct_s) align 8 %26) #3
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(104) %2, ptr noundef nonnull align 8 dereferenceable(104) %4, i64 104, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %4) #3
  br label %33

32:                                               ; preds = %27
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(104) %2, ptr noundef nonnull align 8 dereferenceable(104) %26, i64 104, i1 false), !tbaa.struct !21
  br label %33

33:                                               ; preds = %32, %31
  %34 = load ptr, ptr %15, align 8, !tbaa !15
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  %36 = load ptr, ptr %35, align 8, !tbaa !24
  %.not36 = icmp eq ptr %36, null
  br i1 %.not36, label %39, label %37

37:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %5) #3
  %38 = getelementptr inbounds i8, ptr %26, i64 104
  call void %36(ptr dead_on_unwind nonnull writable sret(%struct.struct_s) align 8 %5, ptr noundef nonnull byval(%struct.struct_s) align 8 %38) #3
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(104) %3, ptr noundef nonnull align 8 dereferenceable(104) %5, i64 104, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %5) #3
  br label %41

39:                                               ; preds = %33
  %40 = getelementptr inbounds i8, ptr %26, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(104) %3, ptr noundef nonnull align 8 dereferenceable(104) %40, i64 104, i1 false), !tbaa.struct !21
  br label %41

41:                                               ; preds = %39, %37
  %42 = call ptr @hbm1_impl_new_entry(ptr noundef nonnull %19, ptr noundef nonnull byval(%struct.struct_s) align 8 %2, ptr noundef nonnull byval(%struct.struct_s) align 8 %3)
  %43 = call ptr @hbm1_impl_add_entry_to_key(ptr noundef nonnull %19, ptr noundef %42)
  %44 = call ptr @hbm1_impl_add_entry_to_val(ptr noundef nonnull %19, ptr noundef %42)
  %45 = load i64, ptr %21, align 8, !tbaa !26
  %46 = add i64 %45, 1
  store i64 %46, ptr %21, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %2) #3
  %.pre = load i64, ptr %6, align 8, !tbaa !5
  br label %47

47:                                               ; preds = %22, %41
  %48 = phi i64 [ %23, %22 ], [ %.pre, %41 ]
  %49 = add nuw i64 %.03237, 1
  %50 = icmp ult i64 %49, %48
  br i1 %50, label %22, label %._crit_edge, !llvm.loop !27

._crit_edge:                                      ; preds = %47, %.preheader, %1
  %.sink = phi i32 [ 7, %1 ], [ 0, %.preheader ], [ 0, %47 ]
  %51 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %.sink, ptr %51, align 8, !tbaa !29
  ret ptr %19
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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 = !{!"hashbidimap1", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !12, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !11, i64 24}
!14 = !{!6, !7, i64 40}
!15 = !{!6, !7, i64 48}
!16 = !{!6, !7, i64 56}
!17 = !{!6, !7, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !7, i64 8}
!20 = !{!"hashbidimap1_fkey", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!21 = !{i64 0, i64 4, !22, i64 4, i64 4, !22, i64 8, i64 8, !18, i64 16, i64 8, !18, i64 24, i64 80, !23}
!22 = !{!12, !12, i64 0}
!23 = !{!8, !8, i64 0}
!24 = !{!25, !7, i64 8}
!25 = !{!"hashbidimap1_fval", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!26 = !{!6, !10, i64 16}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!6, !12, i64 32}


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