; LLVM IR from ponylang/ponyc :: src/libponyc/verify (type)

; 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.pass_opt_t = type { i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i64, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.typecheck_t, ptr, ptr }
%struct.typecheck_t = type { ptr, %struct.typecheck_stats_t, ptr }
%struct.typecheck_stats_t = type { i64, i64, i64, i64 }

@.str.1 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [28 x i8], align 1
@__func__.verify_interface = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [55 x i8], align 1

declare i32 @ast_id(ptr noundef) #0

declare void @ponyint_assert_fail(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #0

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

declare ptr @ast_child(ptr noundef) #0

declare ptr @ast_sibling(ptr noundef) #0

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

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @verify_interface(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca [7 x ptr], align 16
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca [9 x ptr], align 16
  %23 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = call i32 @ast_id(ptr noundef %24)
  %26 = icmp eq i32 %25, 72
  br i1 %26, label %27, label %28

27:                                               ; preds = %2
  br label %29

28:                                               ; preds = %2
  call void @ponyint_assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i64 noundef 72, ptr noundef @__func__.verify_interface)
  br label %29

29:                                               ; preds = %28, %27
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #3
  store i8 1, ptr %5, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 56, ptr %12) #3
  store ptr %6, ptr %12, align 8, !tbaa !5
  %30 = getelementptr inbounds ptr, ptr %12, i64 1
  store ptr %7, ptr %30, align 8, !tbaa !5
  %31 = getelementptr inbounds ptr, ptr %12, i64 2
  store ptr %8, ptr %31, align 8, !tbaa !5
  %32 = getelementptr inbounds ptr, ptr %12, i64 3
  store ptr %9, ptr %32, align 8, !tbaa !5
  %33 = getelementptr inbounds ptr, ptr %12, i64 4
  store ptr %10, ptr %33, align 8, !tbaa !5
  %34 = getelementptr inbounds ptr, ptr %12, i64 5
  store ptr %11, ptr %34, align 8, !tbaa !5
  %35 = getelementptr inbounds ptr, ptr %12, i64 6
  store ptr null, ptr %35, align 8, !tbaa !5
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds [7 x ptr], ptr %12, i64 0, i64 0
  call void @ast_get_children(ptr noundef %36, i64 noundef 6, ptr noundef %37)
  call void @llvm.lifetime.end.p0(i64 56, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = call ptr @ast_child(ptr noundef %38)
  store ptr %39, ptr %13, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %69, %29
  %41 = load ptr, ptr %13, align 8, !tbaa !5
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %72

43:                                               ; preds = %40
  %44 = load ptr, ptr %13, align 8, !tbaa !5
  %45 = call i32 @ast_id(ptr noundef %44)
  switch i32 %45, label %68 [
    i32 89, label %46
    i32 90, label %46
  ]

46:                                               ; preds = %43, %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 72, ptr %22) #3
  store ptr %14, ptr %22, align 8, !tbaa !5
  %47 = getelementptr inbounds ptr, ptr %22, i64 1
  store ptr %15, ptr %47, align 8, !tbaa !5
  %48 = getelementptr inbounds ptr, ptr %22, i64 2
  store ptr %16, ptr %48, align 8, !tbaa !5
  %49 = getelementptr inbounds ptr, ptr %22, i64 3
  store ptr %17, ptr %49, align 8, !tbaa !5
  %50 = getelementptr inbounds ptr, ptr %22, i64 4
  store ptr %18, ptr %50, align 8, !tbaa !5
  %51 = getelementptr inbounds ptr, ptr %22, i64 5
  store ptr %19, ptr %51, align 8, !tbaa !5
  %52 = getelementptr inbounds ptr, ptr %22, i64 6
  store ptr %20, ptr %52, align 8, !tbaa !5
  %53 = getelementptr inbounds ptr, ptr %22, i64 7
  store ptr %21, ptr %53, align 8, !tbaa !5
  %54 = getelementptr inbounds ptr, ptr %22, i64 8
  store ptr null, ptr %54, align 8, !tbaa !5
  %55 = load ptr, ptr %13, align 8, !tbaa !5
  %56 = getelementptr inbounds [9 x ptr], ptr %22, i64 0, i64 0
  call void @ast_get_children(ptr noundef %55, i64 noundef 8, ptr noundef %56)
  call void @llvm.lifetime.end.p0(i64 72, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %57 = load ptr, ptr %15, align 8, !tbaa !5
  %58 = call ptr @ast_name(ptr noundef %57)
  store ptr %58, ptr %23, align 8, !tbaa !5
  %59 = load ptr, ptr %23, align 8, !tbaa !5
  %60 = call zeroext i1 @is_name_private(ptr noundef %59)
  br i1 %60, label %61, label %67

61:                                               ; preds = %46
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.pass_opt_t, ptr %62, i32 0, i32 36
  %64 = getelementptr inbounds %struct.typecheck_t, ptr %63, i32 0, i32 2
  %65 = load ptr, ptr %64, align 8, !tbaa !11
  %66 = load ptr, ptr %15, align 8, !tbaa !5
  call void (ptr, ptr, ptr, ...) @ast_error(ptr noundef %65, ptr noundef %66, ptr noundef @.str.3)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %67

67:                                               ; preds = %61, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  br label %68

68:                                               ; preds = %67, %43
  br label %69

69:                                               ; preds = %68
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = call ptr @ast_sibling(ptr noundef %70)
  store ptr %71, ptr %13, align 8, !tbaa !5
  br label %40, !llvm.loop !17

72:                                               ; preds = %40
  %73 = load i8, ptr %5, align 1, !tbaa !9, !range !19, !noundef !20
  %74 = trunc i8 %73 to i1
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #3
  ret i1 %74
}

declare void @ast_get_children(ptr noundef, i64 noundef, ptr noundef) #0

declare ptr @ast_name(ptr noundef) #0

declare zeroext i1 @is_name_private(ptr noundef) #0

declare void @ast_error(ptr noundef, ptr noundef, ptr noundef, ...) #0

attributes #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 = { 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, !10, i64 0}
!10 = !{!"_Bool", !7, i64 0}
!11 = !{!12, !6, i64 216}
!12 = !{!"pass_opt_t", !13, i64 0, !13, i64 4, !10, i64 8, !10, i64 9, !10, i64 10, !10, i64 11, !10, i64 12, !10, i64 13, !10, i64 14, !10, i64 15, !10, i64 16, !10, i64 17, !10, i64 18, !10, i64 19, !10, i64 20, !10, i64 21, !13, i64 24, !14, i64 32, !10, i64 40, !10, i64 41, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !15, i64 176, !6, i64 224, !6, i64 232}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"typecheck_t", !6, i64 0, !16, i64 8, !6, i64 40}
!16 = !{!"typecheck_stats_t", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{i8 0, i8 2}
!20 = !{}


; 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 [75 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [28 x i8], align 1
@__func__.verify_interface = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [55 x i8], align 1

declare i32 @ast_id(ptr noundef) local_unnamed_addr #0

declare void @ponyint_assert_fail(ptr noundef, ptr noundef, i64 noundef, ptr noundef) 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

declare ptr @ast_child(ptr noundef) local_unnamed_addr #0

declare ptr @ast_sibling(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @verify_interface(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca [7 x ptr], align 16
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca [9 x ptr], align 16
  %19 = tail call i32 @ast_id(ptr noundef %1) #3
  %20 = icmp eq i32 %19, 72
  br i1 %20, label %22, label %21

21:                                               ; preds = %2
  tail call void @ponyint_assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i64 noundef 72, ptr noundef nonnull @__func__.verify_interface) #3
  br label %22

22:                                               ; preds = %2, %21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %9) #3
  store ptr %3, ptr %9, align 16, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %4, ptr %23, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %9, i64 16
  store ptr %5, ptr %24, align 16, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %9, i64 24
  store ptr %6, ptr %25, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %9, i64 32
  store ptr %7, ptr %26, align 16, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %9, i64 40
  store ptr %8, ptr %27, align 8, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %9, i64 48
  store ptr null, ptr %28, align 16, !tbaa !5
  call void @ast_get_children(ptr noundef %1, i64 noundef 6, ptr noundef nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #3
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = call ptr @ast_child(ptr noundef %29) #3
  %.not9 = icmp eq ptr %30, null
  br i1 %.not9, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %22
  %31 = getelementptr inbounds i8, ptr %18, i64 8
  %32 = getelementptr inbounds i8, ptr %18, i64 16
  %33 = getelementptr inbounds i8, ptr %18, i64 24
  %34 = getelementptr inbounds i8, ptr %18, i64 32
  %35 = getelementptr inbounds i8, ptr %18, i64 40
  %36 = getelementptr inbounds i8, ptr %18, i64 48
  %37 = getelementptr inbounds i8, ptr %18, i64 56
  %38 = getelementptr inbounds i8, ptr %18, i64 64
  %39 = getelementptr inbounds i8, ptr %0, i64 216
  br label %40

40:                                               ; preds = %.lr.ph, %50
  %.011 = phi i1 [ true, %.lr.ph ], [ %.2, %50 ]
  %.0810 = phi ptr [ %30, %.lr.ph ], [ %51, %50 ]
  %41 = call i32 @ast_id(ptr noundef nonnull %.0810) #3
  %.off = add i32 %41, -89
  %switch = icmp ult i32 %.off, 2
  br i1 %switch, label %42, label %50

42:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #3
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %18) #3
  store ptr %10, ptr %18, align 16, !tbaa !5
  store ptr %11, ptr %31, align 8, !tbaa !5
  store ptr %12, ptr %32, align 16, !tbaa !5
  store ptr %13, ptr %33, align 8, !tbaa !5
  store ptr %14, ptr %34, align 16, !tbaa !5
  store ptr %15, ptr %35, align 8, !tbaa !5
  store ptr %16, ptr %36, align 16, !tbaa !5
  store ptr %17, ptr %37, align 8, !tbaa !5
  store ptr null, ptr %38, align 16, !tbaa !5
  call void @ast_get_children(ptr noundef nonnull %.0810, i64 noundef 8, ptr noundef nonnull %18) #3
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %18) #3
  %43 = load ptr, ptr %11, align 8, !tbaa !5
  %44 = call ptr @ast_name(ptr noundef %43) #3
  %45 = call zeroext i1 @is_name_private(ptr noundef %44) #3
  br i1 %45, label %46, label %49

46:                                               ; preds = %42
  %47 = load ptr, ptr %39, align 8, !tbaa !9
  %48 = load ptr, ptr %11, align 8, !tbaa !5
  call void (ptr, ptr, ptr, ...) @ast_error(ptr noundef %47, ptr noundef %48, ptr noundef nonnull @.str.3) #3
  br label %49

49:                                               ; preds = %46, %42
  %.1 = phi i1 [ false, %46 ], [ %.011, %42 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
  br label %50

50:                                               ; preds = %40, %49
  %.2 = phi i1 [ %.011, %40 ], [ %.1, %49 ]
  %51 = call ptr @ast_sibling(ptr noundef nonnull %.0810) #3
  %.not = icmp eq ptr %51, null
  br i1 %.not, label %._crit_edge, label %40, !llvm.loop !16

._crit_edge:                                      ; preds = %50, %22
  %.0.lcssa = phi i1 [ true, %22 ], [ %.2, %50 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  ret i1 %.0.lcssa
}

declare void @ast_get_children(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare ptr @ast_name(ptr noundef) local_unnamed_addr #0

declare zeroext i1 @is_name_private(ptr noundef) local_unnamed_addr #0

declare void @ast_error(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #0

attributes #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 = { 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, !6, i64 216}
!10 = !{!"pass_opt_t", !11, i64 0, !11, i64 4, !12, i64 8, !12, i64 9, !12, i64 10, !12, i64 11, !12, i64 12, !12, i64 13, !12, i64 14, !12, i64 15, !12, i64 16, !12, i64 17, !12, i64 18, !12, i64 19, !12, i64 20, !12, i64 21, !11, i64 24, !13, i64 32, !12, i64 40, !12, i64 41, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !14, i64 176, !6, i64 224, !6, i64 232}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"typecheck_t", !6, i64 0, !15, i64 8, !6, i64 40}
!15 = !{!"typecheck_stats_t", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass