; LLVM IR from hutusi/rethink-c :: test (test_bitmap)

; 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._BitMap = type { ptr, i32, i32 }

@.str.1 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__.test_bitmap_from_word = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [33 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

declare void @bitmap_free(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @test_bitmap_from_word() #3 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  %3 = call ptr @bitmap_from_word(i32 noundef 1)
  store ptr %3, ptr %1, align 8, !tbaa !5
  %4 = load ptr, ptr %1, align 8, !tbaa !5
  %5 = getelementptr inbounds %struct._BitMap, ptr %4, i32 0, i32 1
  %6 = load i32, ptr %5, align 8, !tbaa !9
  %7 = icmp ne i32 %6, 32
  br i1 %7, label %8, label %20

8:                                                ; preds = %0
  %9 = load ptr, ptr %1, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct._BitMap, ptr %9, i32 0, i32 1
  %11 = load i32, ptr %10, align 8, !tbaa !9
  %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %11, i32 noundef 32)
  %13 = load ptr, ptr %1, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct._BitMap, ptr %13, i32 0, i32 1
  %15 = load i32, ptr %14, align 8, !tbaa !9
  %16 = icmp eq i32 %15, 32
  br i1 %16, label %17, label %18

17:                                               ; preds = %8
  br label %19

18:                                               ; preds = %8
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 59, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

19:                                               ; preds = %17
  br label %20

20:                                               ; preds = %19, %0
  %21 = load ptr, ptr %1, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct._BitMap, ptr %21, i32 0, i32 2
  %23 = load i32, ptr %22, align 4, !tbaa !12
  %24 = icmp ne i32 %23, 1
  br i1 %24, label %25, label %37

25:                                               ; preds = %20
  %26 = load ptr, ptr %1, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct._BitMap, ptr %26, i32 0, i32 2
  %28 = load i32, ptr %27, align 4, !tbaa !12
  %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %28, i32 noundef 1)
  %30 = load ptr, ptr %1, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct._BitMap, ptr %30, i32 0, i32 2
  %32 = load i32, ptr %31, align 4, !tbaa !12
  %33 = icmp eq i32 %32, 1
  br i1 %33, label %34, label %35

34:                                               ; preds = %25
  br label %36

35:                                               ; preds = %25
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 60, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

36:                                               ; preds = %34
  br label %37

37:                                               ; preds = %36, %20
  %38 = load ptr, ptr %1, align 8, !tbaa !5
  %39 = call ptr @bitmap_to_string(ptr noundef %38)
  store ptr %39, ptr %2, align 8, !tbaa !5
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = call i32 @strcmp(ptr noundef %40, ptr noundef @.str.10) #7
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %46

43:                                               ; preds = %37
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %44, ptr noundef @.str.10)
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 62, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

46:                                               ; preds = %37
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  call void @alloc_test_free(ptr noundef %47)
  %48 = load ptr, ptr %1, align 8, !tbaa !5
  call void @bitmap_free(ptr noundef %48)
  %49 = call ptr @bitmap_from_word(i32 noundef 4)
  store ptr %49, ptr %1, align 8, !tbaa !5
  %50 = load ptr, ptr %1, align 8, !tbaa !5
  %51 = call ptr @bitmap_to_string(ptr noundef %50)
  store ptr %51, ptr %2, align 8, !tbaa !5
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = call i32 @strcmp(ptr noundef %52, ptr noundef @.str.13) #7
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %58

55:                                               ; preds = %46
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %56, ptr noundef @.str.13)
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 68, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

58:                                               ; preds = %46
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  call void @alloc_test_free(ptr noundef %59)
  %60 = load ptr, ptr %1, align 8, !tbaa !5
  call void @bitmap_free(ptr noundef %60)
  %61 = call ptr @bitmap_from_word(i32 noundef 536870911)
  store ptr %61, ptr %1, align 8, !tbaa !5
  %62 = load ptr, ptr %1, align 8, !tbaa !5
  %63 = call ptr @bitmap_to_string(ptr noundef %62)
  store ptr %63, ptr %2, align 8, !tbaa !5
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = call i32 @strcmp(ptr noundef %64, ptr noundef @.str.14) #7
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %70

67:                                               ; preds = %58
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %68, ptr noundef @.str.14)
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 74, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

70:                                               ; preds = %58
  %71 = load ptr, ptr %2, align 8, !tbaa !5
  call void @alloc_test_free(ptr noundef %71)
  %72 = load ptr, ptr %1, align 8, !tbaa !5
  call void @bitmap_free(ptr noundef %72)
  %73 = call ptr @bitmap_from_word(i32 noundef -1)
  store ptr %73, ptr %1, align 8, !tbaa !5
  %74 = load ptr, ptr %1, align 8, !tbaa !5
  %75 = call ptr @bitmap_to_string(ptr noundef %74)
  store ptr %75, ptr %2, align 8, !tbaa !5
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = call i32 @strcmp(ptr noundef %76, ptr noundef @.str.15) #7
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %82

79:                                               ; preds = %70
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %80, ptr noundef @.str.15)
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 80, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

82:                                               ; preds = %70
  %83 = load ptr, ptr %2, align 8, !tbaa !5
  call void @alloc_test_free(ptr noundef %83)
  %84 = load ptr, ptr %1, align 8, !tbaa !5
  call void @bitmap_free(ptr noundef %84)
  %85 = call ptr @bitmap_from_word(i32 noundef 536870911)
  store ptr %85, ptr %1, align 8, !tbaa !5
  %86 = load ptr, ptr %1, align 8, !tbaa !5
  %87 = call ptr @bitmap_to_string(ptr noundef %86)
  store ptr %87, ptr %2, align 8, !tbaa !5
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = call i32 @strcmp(ptr noundef %88, ptr noundef @.str.14) #7
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %94

91:                                               ; preds = %82
  %92 = load ptr, ptr %2, align 8, !tbaa !5
  %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %92, ptr noundef @.str.14)
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 86, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

94:                                               ; preds = %82
  %95 = load ptr, ptr %2, align 8, !tbaa !5
  call void @alloc_test_free(ptr noundef %95)
  %96 = load ptr, ptr %1, align 8, !tbaa !5
  call void @bitmap_free(ptr noundef %96)
  %97 = call ptr @bitmap_from_word(i32 noundef -8)
  store ptr %97, ptr %1, align 8, !tbaa !5
  %98 = load ptr, ptr %1, align 8, !tbaa !5
  %99 = call ptr @bitmap_to_string(ptr noundef %98)
  store ptr %99, ptr %2, align 8, !tbaa !5
  %100 = load ptr, ptr %2, align 8, !tbaa !5
  %101 = call i32 @strcmp(ptr noundef %100, ptr noundef @.str.16) #7
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %106

103:                                              ; preds = %94
  %104 = load ptr, ptr %2, align 8, !tbaa !5
  %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %104, ptr noundef @.str.16)
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 92, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

106:                                              ; preds = %94
  %107 = load ptr, ptr %2, align 8, !tbaa !5
  call void @alloc_test_free(ptr noundef %107)
  %108 = load ptr, ptr %1, align 8, !tbaa !5
  call void @bitmap_free(ptr noundef %108)
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #5
  ret void
}

declare ptr @bitmap_from_word(i32 noundef) #2

declare i32 @printf(ptr noundef, ...) #2

declare ptr @bitmap_to_string(ptr noundef) #2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #4

declare void @alloc_test_free(ptr noundef) #2

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

!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 = !{!"_BitMap", !6, i64 0, !11, i64 8, !11, i64 12}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 12}


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

@.str.1 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__.test_bitmap_from_word = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [33 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare void @bitmap_free(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @test_bitmap_from_word() local_unnamed_addr #2 {
  %1 = tail call ptr @bitmap_from_word(i32 noundef 1) #5
  %2 = getelementptr inbounds i8, ptr %1, i64 8
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %.not = icmp eq i32 %3, 32
  br i1 %.not, label %9, label %4

4:                                                ; preds = %0
  %5 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %3, i32 noundef 32)
  %6 = load i32, ptr %2, align 8, !tbaa !5
  %7 = icmp eq i32 %6, 32
  br i1 %7, label %9, label %8

8:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 59, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

9:                                                ; preds = %4, %0
  %10 = getelementptr inbounds i8, ptr %1, i64 12
  %11 = load i32, ptr %10, align 4, !tbaa !11
  %.not37 = icmp eq i32 %11, 1
  br i1 %.not37, label %17, label %12

12:                                               ; preds = %9
  %13 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %11, i32 noundef 1)
  %14 = load i32, ptr %10, align 4, !tbaa !11
  %15 = icmp eq i32 %14, 1
  br i1 %15, label %17, label %16

16:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 60, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

17:                                               ; preds = %12, %9
  %18 = tail call ptr @bitmap_to_string(ptr noundef nonnull %1) #5
  %19 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %18, ptr noundef nonnull dereferenceable(1) @.str.10) #7
  %.not38 = icmp eq i32 %19, 0
  br i1 %.not38, label %22, label %20

20:                                               ; preds = %17
  %21 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef %18, ptr noundef nonnull @.str.10)
  tail call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 62, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

22:                                               ; preds = %17
  tail call void @alloc_test_free(ptr noundef %18) #5
  tail call void @bitmap_free(ptr noundef nonnull %1) #5
  %23 = tail call ptr @bitmap_from_word(i32 noundef 4) #5
  %24 = tail call ptr @bitmap_to_string(ptr noundef %23) #5
  %25 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %24, ptr noundef nonnull dereferenceable(1) @.str.13) #7
  %.not39 = icmp eq i32 %25, 0
  br i1 %.not39, label %28, label %26

26:                                               ; preds = %22
  %27 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef %24, ptr noundef nonnull @.str.13)
  tail call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 68, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

28:                                               ; preds = %22
  tail call void @alloc_test_free(ptr noundef %24) #5
  tail call void @bitmap_free(ptr noundef %23) #5
  %29 = tail call ptr @bitmap_from_word(i32 noundef 536870911) #5
  %30 = tail call ptr @bitmap_to_string(ptr noundef %29) #5
  %31 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.14) #7
  %.not40 = icmp eq i32 %31, 0
  br i1 %.not40, label %34, label %32

32:                                               ; preds = %28
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef %30, ptr noundef nonnull @.str.14)
  tail call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 74, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

34:                                               ; preds = %28
  tail call void @alloc_test_free(ptr noundef %30) #5
  tail call void @bitmap_free(ptr noundef %29) #5
  %35 = tail call ptr @bitmap_from_word(i32 noundef -1) #5
  %36 = tail call ptr @bitmap_to_string(ptr noundef %35) #5
  %37 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %36, ptr noundef nonnull dereferenceable(1) @.str.15) #7
  %.not41 = icmp eq i32 %37, 0
  br i1 %.not41, label %40, label %38

38:                                               ; preds = %34
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef %36, ptr noundef nonnull @.str.15)
  tail call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 80, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

40:                                               ; preds = %34
  tail call void @alloc_test_free(ptr noundef %36) #5
  tail call void @bitmap_free(ptr noundef %35) #5
  %41 = tail call ptr @bitmap_from_word(i32 noundef 536870911) #5
  %42 = tail call ptr @bitmap_to_string(ptr noundef %41) #5
  %43 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %42, ptr noundef nonnull dereferenceable(1) @.str.14) #7
  %.not42 = icmp eq i32 %43, 0
  br i1 %.not42, label %46, label %44

44:                                               ; preds = %40
  %45 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef %42, ptr noundef nonnull @.str.14)
  tail call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 86, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

46:                                               ; preds = %40
  tail call void @alloc_test_free(ptr noundef %42) #5
  tail call void @bitmap_free(ptr noundef %41) #5
  %47 = tail call ptr @bitmap_from_word(i32 noundef -8) #5
  %48 = tail call ptr @bitmap_to_string(ptr noundef %47) #5
  %49 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %48, ptr noundef nonnull dereferenceable(1) @.str.16) #7
  %.not43 = icmp eq i32 %49, 0
  br i1 %.not43, label %52, label %50

50:                                               ; preds = %46
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef %48, ptr noundef nonnull @.str.16)
  tail call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 92, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_from_word) #6
  unreachable

52:                                               ; preds = %46
  tail call void @alloc_test_free(ptr noundef %48) #5
  tail call void @bitmap_free(ptr noundef %47) #5
  ret void
}

declare ptr @bitmap_from_word(i32 noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare ptr @bitmap_to_string(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #4

declare void @alloc_test_free(ptr noundef) local_unnamed_addr #1

attributes #0 = { noreturn 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 = { "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 = { 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 = { nofree 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 #4 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { noreturn nounwind }
attributes #7 = { nounwind willreturn memory(read) }

!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 = !{!"_BitMap", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 12}


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