; 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 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [69 x i8], align 1
@__PRETTY_FUNCTION__.test_bitmap_basic = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [28 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @test_bitmap_basic() #0 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  store i32 100, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  %6 = load i32, ptr %1, align 4, !tbaa !5
  %7 = call ptr @bitmap_new(i32 noundef %6)
  store ptr %7, ptr %2, align 8, !tbaa !9
  %8 = load ptr, ptr %2, align 8, !tbaa !9
  %9 = getelementptr inbounds %struct._BitMap, ptr %8, i32 0, i32 1
  %10 = load i32, ptr %9, align 8, !tbaa !11
  %11 = load i32, ptr %1, align 4, !tbaa !5
  %12 = icmp eq i32 %10, %11
  br i1 %12, label %13, label %14

13:                                               ; preds = %0
  br label %15

14:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 14, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_basic) #5
  unreachable

15:                                               ; preds = %13
  %16 = load ptr, ptr %2, align 8, !tbaa !9
  %17 = getelementptr inbounds %struct._BitMap, ptr %16, i32 0, i32 2
  %18 = load i32, ptr %17, align 4, !tbaa !13
  %19 = load i32, ptr %1, align 4, !tbaa !5
  %20 = udiv i32 %19, 32
  %21 = add i32 %20, 1
  %22 = icmp eq i32 %18, %21
  br i1 %22, label %23, label %24

23:                                               ; preds = %15
  br label %25

24:                                               ; preds = %15
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 15, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_basic) #5
  unreachable

25:                                               ; preds = %23
  %26 = load ptr, ptr %2, align 8, !tbaa !9
  call void @bitmap_set_all(ptr noundef %26)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %40, %25
  %28 = load i32, ptr %3, align 4, !tbaa !5
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = icmp ult i32 %28, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %43

32:                                               ; preds = %27
  %33 = load ptr, ptr %2, align 8, !tbaa !9
  %34 = load i32, ptr %3, align 4, !tbaa !5
  %35 = call i32 @bitmap_get(ptr noundef %33, i32 noundef %34)
  %36 = icmp eq i32 %35, 1
  br i1 %36, label %37, label %38

37:                                               ; preds = %32
  br label %39

38:                                               ; preds = %32
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 20, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_basic) #5
  unreachable

39:                                               ; preds = %37
  br label %40

40:                                               ; preds = %39
  %41 = load i32, ptr %3, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %3, align 4, !tbaa !5
  br label %27, !llvm.loop !14

43:                                               ; preds = %31
  %44 = load ptr, ptr %2, align 8, !tbaa !9
  call void @bitmap_clear_all(ptr noundef %44)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %58, %43
  %46 = load i32, ptr %4, align 4, !tbaa !5
  %47 = load i32, ptr %1, align 4, !tbaa !5
  %48 = icmp ult i32 %46, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %61

50:                                               ; preds = %45
  %51 = load ptr, ptr %2, align 8, !tbaa !9
  %52 = load i32, ptr %4, align 4, !tbaa !5
  %53 = call i32 @bitmap_get(ptr noundef %51, i32 noundef %52)
  %54 = icmp eq i32 %53, 0
  br i1 %54, label %55, label %56

55:                                               ; preds = %50
  br label %57

56:                                               ; preds = %50
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 26, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_basic) #5
  unreachable

57:                                               ; preds = %55
  br label %58

58:                                               ; preds = %57
  %59 = load i32, ptr %4, align 4, !tbaa !5
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %4, align 4, !tbaa !5
  br label %45, !llvm.loop !16

61:                                               ; preds = %49
  %62 = load ptr, ptr %2, align 8, !tbaa !9
  call void @bitmap_set(ptr noundef %62, i32 noundef 12)
  %63 = load ptr, ptr %2, align 8, !tbaa !9
  %64 = call i32 @bitmap_get(ptr noundef %63, i32 noundef 12)
  %65 = icmp eq i32 %64, 1
  br i1 %65, label %66, label %67

66:                                               ; preds = %61
  br label %68

67:                                               ; preds = %61
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 30, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_basic) #5
  unreachable

68:                                               ; preds = %66
  %69 = load ptr, ptr %2, align 8, !tbaa !9
  call void @bitmap_clear(ptr noundef %69, i32 noundef 12)
  %70 = load ptr, ptr %2, align 8, !tbaa !9
  %71 = call i32 @bitmap_get(ptr noundef %70, i32 noundef 12)
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %73, label %74

73:                                               ; preds = %68
  br label %75

74:                                               ; preds = %68
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 32, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_basic) #5
  unreachable

75:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %76 = load i32, ptr %1, align 4, !tbaa !5
  %77 = call ptr @bitmap_new(i32 noundef %76)
  store ptr %77, ptr %5, align 8, !tbaa !9
  %78 = load ptr, ptr %5, align 8, !tbaa !9
  call void @bitmap_clear_all(ptr noundef %78)
  %79 = load ptr, ptr %2, align 8, !tbaa !9
  call void @bitmap_clear_all(ptr noundef %79)
  %80 = load ptr, ptr %2, align 8, !tbaa !9
  call void @bitmap_set(ptr noundef %80, i32 noundef 12)
  %81 = load ptr, ptr %5, align 8, !tbaa !9
  call void @bitmap_set(ptr noundef %81, i32 noundef 12)
  %82 = load ptr, ptr %2, align 8, !tbaa !9
  %83 = load ptr, ptr %5, align 8, !tbaa !9
  call void @bitmap_and(ptr noundef %82, ptr noundef %83)
  %84 = load ptr, ptr %2, align 8, !tbaa !9
  %85 = call i32 @bitmap_get(ptr noundef %84, i32 noundef 12)
  %86 = icmp eq i32 %85, 1
  br i1 %86, label %87, label %88

87:                                               ; preds = %75
  br label %89

88:                                               ; preds = %75
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 41, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_basic) #5
  unreachable

89:                                               ; preds = %87
  %90 = load ptr, ptr %2, align 8, !tbaa !9
  %91 = load ptr, ptr %5, align 8, !tbaa !9
  call void @bitmap_xor(ptr noundef %90, ptr noundef %91)
  %92 = load ptr, ptr %2, align 8, !tbaa !9
  %93 = call i32 @bitmap_get(ptr noundef %92, i32 noundef 12)
  %94 = icmp eq i32 %93, 0
  br i1 %94, label %95, label %96

95:                                               ; preds = %89
  br label %97

96:                                               ; preds = %89
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 43, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_basic) #5
  unreachable

97:                                               ; preds = %95
  %98 = load ptr, ptr %2, align 8, !tbaa !9
  %99 = load ptr, ptr %5, align 8, !tbaa !9
  call void @bitmap_and(ptr noundef %98, ptr noundef %99)
  %100 = load ptr, ptr %2, align 8, !tbaa !9
  %101 = call i32 @bitmap_get(ptr noundef %100, i32 noundef 12)
  %102 = icmp eq i32 %101, 0
  br i1 %102, label %103, label %104

103:                                              ; preds = %97
  br label %105

104:                                              ; preds = %97
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 45, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_basic) #5
  unreachable

105:                                              ; preds = %103
  %106 = load ptr, ptr %2, align 8, !tbaa !9
  %107 = load ptr, ptr %5, align 8, !tbaa !9
  call void @bitmap_or(ptr noundef %106, ptr noundef %107)
  %108 = load ptr, ptr %2, align 8, !tbaa !9
  %109 = call i32 @bitmap_get(ptr noundef %108, i32 noundef 12)
  %110 = icmp eq i32 %109, 1
  br i1 %110, label %111, label %112

111:                                              ; preds = %105
  br label %113

112:                                              ; preds = %105
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 47, ptr noundef @__PRETTY_FUNCTION__.test_bitmap_basic) #5
  unreachable

113:                                              ; preds = %111
  %114 = load ptr, ptr %2, align 8, !tbaa !9
  call void @bitmap_free(ptr noundef %114)
  %115 = load ptr, ptr %5, align 8, !tbaa !9
  call void @bitmap_free(ptr noundef %115)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret void
}

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

declare ptr @bitmap_new(i32 noundef) #2

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

declare void @bitmap_set_all(ptr noundef) #2

declare i32 @bitmap_get(ptr noundef, i32 noundef) #2

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

declare void @bitmap_clear_all(ptr noundef) #2

declare void @bitmap_set(ptr noundef, i32 noundef) #2

declare void @bitmap_clear(ptr noundef, i32 noundef) #2

declare void @bitmap_and(ptr noundef, ptr noundef) #2

declare void @bitmap_xor(ptr noundef, ptr noundef) #2

declare void @bitmap_or(ptr noundef, ptr noundef) #2

declare void @bitmap_free(ptr noundef) #2

attributes #0 = { 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 = { "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 = { 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 #4 = { nounwind }
attributes #5 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"_BitMap", !10, i64 0, !6, i64 8, !6, i64 12}
!13 = !{!12, !6, i64 12}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


; 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 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [69 x i8], align 1
@__PRETTY_FUNCTION__.test_bitmap_basic = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [28 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @test_bitmap_basic() local_unnamed_addr #0 {
  %1 = tail call ptr @bitmap_new(i32 noundef 100) #3
  %2 = getelementptr inbounds i8, ptr %1, i64 8
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %4 = icmp eq i32 %3, 100
  br i1 %4, label %6, label %5

5:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 14, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_basic) #4
  unreachable

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

10:                                               ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 15, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_basic) #4
  unreachable

11:                                               ; preds = %6
  tail call void @bitmap_set_all(ptr noundef nonnull %1) #3
  br label %15

12:                                               ; preds = %15
  %13 = add nuw nsw i32 %.040, 1
  %exitcond.not = icmp eq i32 %13, 100
  br i1 %exitcond.not, label %14, label %15, !llvm.loop !12

14:                                               ; preds = %12
  tail call void @bitmap_clear_all(ptr noundef %1) #3
  br label %24

15:                                               ; preds = %11, %12
  %.040 = phi i32 [ 0, %11 ], [ %13, %12 ]
  %16 = tail call i32 @bitmap_get(ptr noundef %1, i32 noundef %.040) #3
  %17 = icmp eq i32 %16, 1
  br i1 %17, label %12, label %18

18:                                               ; preds = %15
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 20, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_basic) #4
  unreachable

19:                                               ; preds = %24
  %20 = add nuw nsw i32 %.03941, 1
  %exitcond42.not = icmp eq i32 %20, 100
  br i1 %exitcond42.not, label %21, label %24, !llvm.loop !14

21:                                               ; preds = %19
  tail call void @bitmap_set(ptr noundef %1, i32 noundef 12) #3
  %22 = tail call i32 @bitmap_get(ptr noundef %1, i32 noundef 12) #3
  %23 = icmp eq i32 %22, 1
  br i1 %23, label %29, label %28

24:                                               ; preds = %14, %19
  %.03941 = phi i32 [ 0, %14 ], [ %20, %19 ]
  %25 = tail call i32 @bitmap_get(ptr noundef %1, i32 noundef %.03941) #3
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %19, label %27

27:                                               ; preds = %24
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 26, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_basic) #4
  unreachable

28:                                               ; preds = %21
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 30, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_basic) #4
  unreachable

29:                                               ; preds = %21
  tail call void @bitmap_clear(ptr noundef %1, i32 noundef 12) #3
  %30 = tail call i32 @bitmap_get(ptr noundef %1, i32 noundef 12) #3
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %33, label %32

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

33:                                               ; preds = %29
  %34 = tail call ptr @bitmap_new(i32 noundef 100) #3
  tail call void @bitmap_clear_all(ptr noundef %34) #3
  tail call void @bitmap_clear_all(ptr noundef %1) #3
  tail call void @bitmap_set(ptr noundef %1, i32 noundef 12) #3
  tail call void @bitmap_set(ptr noundef %34, i32 noundef 12) #3
  tail call void @bitmap_and(ptr noundef %1, ptr noundef %34) #3
  %35 = tail call i32 @bitmap_get(ptr noundef %1, i32 noundef 12) #3
  %36 = icmp eq i32 %35, 1
  br i1 %36, label %38, label %37

37:                                               ; preds = %33
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 41, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_basic) #4
  unreachable

38:                                               ; preds = %33
  tail call void @bitmap_xor(ptr noundef %1, ptr noundef %34) #3
  %39 = tail call i32 @bitmap_get(ptr noundef %1, i32 noundef 12) #3
  %40 = icmp eq i32 %39, 0
  br i1 %40, label %42, label %41

41:                                               ; preds = %38
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 43, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_basic) #4
  unreachable

42:                                               ; preds = %38
  tail call void @bitmap_and(ptr noundef %1, ptr noundef %34) #3
  %43 = tail call i32 @bitmap_get(ptr noundef %1, i32 noundef 12) #3
  %44 = icmp eq i32 %43, 0
  br i1 %44, label %46, label %45

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

46:                                               ; preds = %42
  tail call void @bitmap_or(ptr noundef %1, ptr noundef %34) #3
  %47 = tail call i32 @bitmap_get(ptr noundef %1, i32 noundef 12) #3
  %48 = icmp eq i32 %47, 1
  br i1 %48, label %50, label %49

49:                                               ; preds = %46
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 47, ptr noundef nonnull @__PRETTY_FUNCTION__.test_bitmap_basic) #4
  unreachable

50:                                               ; preds = %46
  tail call void @bitmap_free(ptr noundef %1) #3
  tail call void @bitmap_free(ptr noundef %34) #3
  ret void
}

declare ptr @bitmap_new(i32 noundef) local_unnamed_addr #1

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

declare void @bitmap_set_all(ptr noundef) local_unnamed_addr #1

declare i32 @bitmap_get(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @bitmap_clear_all(ptr noundef) local_unnamed_addr #1

declare void @bitmap_set(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @bitmap_clear(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @bitmap_and(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @bitmap_xor(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @bitmap_or(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @bitmap_free(ptr noundef) local_unnamed_addr #1

attributes #0 = { 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 = { "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 = { 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 #3 = { nounwind }
attributes #4 = { noreturn 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 = !{!"_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}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


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