; LLVM IR from tensorflow/tflite-micro :: tensorflow/lite/micro (hexdump_test)

; 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.tflite::Span.0" = type { ptr, i64 }
%"class.tflite::Span.1" = type { ptr, i64 }
%"struct.std::array" = type { [231 x i8] }
%"class.tflite::Span" = type { ptr, i64 }

@_ZN10micro_test12tests_passedE = external dso_local global i32, align 4
@_ZN10micro_test12tests_failedE = external dso_local global i32, align 4
@_ZN10micro_test16is_test_completeE = external dso_local global i8, align 1
@_ZN10micro_test13did_test_failE = external dso_local global i8, align 1
@.str = external hidden unnamed_addr constant [27 x i8], align 1
@_ZL6region = external hidden constant %"class.tflite::Span.0", align 8
@_ZL16expected_no_null = external hidden constant %"class.tflite::Span.1", align 8
@.str.1 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.std::array", align 1
  %7 = alloca %"class.tflite::Span", align 8
  %8 = alloca %"class.tflite::Span.0", align 8
  %9 = alloca %"class.tflite::Span", align 8
  %10 = alloca %"class.tflite::Span.0", align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store i32 0, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  store i32 0, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  call void @_ZN6tflite14InitializeTestEv()
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %11

11:                                               ; preds = %35, %2
  %12 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %13 = trunc i8 %12 to i1
  %14 = xor i1 %13, true
  br i1 %14, label %15, label %48

15:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 231, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 @_ZL6region, i64 16, i1 false), !tbaa.struct !15
  call void @_ZN6tflite4SpanIcEC2ILm231EEERSt5arrayIcXT_EE(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 1 dereferenceable(231) %6) #6
  %16 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 0
  %17 = load ptr, ptr %16, align 8
  %18 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 1
  %19 = load i64, ptr %18, align 8
  %20 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 0
  %21 = load ptr, ptr %20, align 8
  %22 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 1
  %23 = load i64, ptr %22, align 8
  %24 = call { ptr, i64 } @_ZN6tflite7hexdumpENS_4SpanIKSt4byteEENS0_IcEE(ptr %17, i64 %19, ptr %21, i64 %23)
  %25 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 0
  %26 = extractvalue { ptr, i64 } %24, 0
  store ptr %26, ptr %25, align 8
  %27 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 1
  %28 = extractvalue { ptr, i64 } %24, 1
  store i64 %28, ptr %27, align 8
  br label %29

29:                                               ; preds = %15
  %30 = call noundef zeroext i1 @_ZN6tfliteeqIcKcEEbRKNS_4SpanIT_EERKNS2_IT0_EE(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) @_ZL16expected_no_null)
  br i1 %30, label %32, label %31

31:                                               ; preds = %29
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 48)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %32

32:                                               ; preds = %31, %29
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 231, ptr %6) #6
  br label %35

35:                                               ; preds = %34
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %36 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %37 = trunc i8 %36 to i1
  %38 = zext i1 %37 to i64
  %39 = select i1 %37, i32 0, i32 1
  %40 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %41 = add nsw i32 %40, %39
  store i32 %41, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %42 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %43 = trunc i8 %42 to i1
  %44 = zext i1 %43 to i64
  %45 = select i1 %43, i32 1, i32 0
  %46 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %47 = add nsw i32 %46, %45
  store i32 %47, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %11, !llvm.loop !18

48:                                               ; preds = %11
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.3)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %49

49:                                               ; preds = %58, %48
  %50 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %51 = trunc i8 %50 to i1
  %52 = xor i1 %51, true
  br i1 %52, label %53, label %71

53:                                               ; preds = %49
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 @_ZL6region, i64 16, i1 false), !tbaa.struct !15
  %54 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8
  %56 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  %57 = load i64, ptr %56, align 8
  call void @_ZN6tflite7hexdumpENS_4SpanIKSt4byteEE(ptr %55, i64 %57)
  br label %58

58:                                               ; preds = %53
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %59 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %60 = trunc i8 %59 to i1
  %61 = zext i1 %60 to i64
  %62 = select i1 %60, i32 0, i32 1
  %63 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %64 = add nsw i32 %63, %62
  store i32 %64, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %65 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %66 = trunc i8 %65 to i1
  %67 = zext i1 %66 to i64
  %68 = select i1 %66, i32 1, i32 0
  %69 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %70 = add nsw i32 %69, %68
  store i32 %70, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %49, !llvm.loop !20

71:                                               ; preds = %49
  %72 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %73 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %74 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %75 = add nsw i32 %73, %74
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.4, i32 noundef %72, i32 noundef %75)
  %76 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %77 = icmp eq i32 %76, 0
  br i1 %77, label %78, label %79

78:                                               ; preds = %71
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
  store i32 0, ptr %3, align 4
  br label %80

79:                                               ; preds = %71
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.6)
  store i32 1, ptr %3, align 4
  br label %80

80:                                               ; preds = %79, %78
  %81 = load i32, ptr %3, align 4
  ret i32 %81
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6tflite14InitializeTestEv() #1

declare void @_Z11MicroPrintfPKcz(ptr noundef, ...) #2

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

declare { ptr, i64 } @_ZN6tflite7hexdumpENS_4SpanIKSt4byteEENS0_IcEE(ptr, i64, ptr, i64) #2

; 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) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6tflite4SpanIcEC2ILm231EEERSt5arrayIcXT_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(231)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6tfliteeqIcKcEEbRKNS_4SpanIT_EERKNS2_IT0_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #5

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

declare void @_ZN6tflite7hexdumpENS_4SpanIKSt4byteEE(ptr, i64) #2

attributes #0 = { mustprogress norecurse 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 = { inlinehint 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{i64 0, i64 8, !9, i64 8, i64 8, !16}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


; 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.tflite::Span.0" = type { ptr, i64 }
%"class.tflite::Span.1" = type { ptr, i64 }
%"struct.std::array" = type { [231 x i8] }
%"class.tflite::Span" = type { ptr, i64 }

@_ZN10micro_test12tests_passedE = external dso_local local_unnamed_addr global i32, align 4
@_ZN10micro_test12tests_failedE = external dso_local local_unnamed_addr global i32, align 4
@_ZN10micro_test16is_test_completeE = external dso_local local_unnamed_addr global i8, align 1
@_ZN10micro_test13did_test_failE = external dso_local local_unnamed_addr global i8, align 1
@.str = external hidden unnamed_addr constant [27 x i8], align 1
@_ZL6region = external hidden local_unnamed_addr constant %"class.tflite::Span.0", align 8
@_ZL16expected_no_null = external hidden constant %"class.tflite::Span.1", align 8
@.str.1 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca %"struct.std::array", align 1
  %4 = alloca %"class.tflite::Span", align 8
  %5 = alloca %"class.tflite::Span", align 8
  store i32 0, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  store i32 0, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  tail call void @_ZN6tflite14InitializeTestEv()
  tail call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  %6 = getelementptr inbounds i8, ptr %4, i64 8
  %7 = getelementptr inbounds i8, ptr %5, i64 8
  %.sroa.22.0.copyload = load i64, ptr getelementptr inbounds (i8, ptr @_ZL6region, i64 8), align 8, !tbaa !11
  %.sroa.01.0.copyload = load ptr, ptr @_ZL6region, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 231, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @_ZN6tflite4SpanIcEC2ILm231EEERSt5arrayIcXT_EE(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 1 dereferenceable(231) %3) #5
  %8 = load ptr, ptr %5, align 8
  %9 = load i64, ptr %7, align 8
  %10 = call { ptr, i64 } @_ZN6tflite7hexdumpENS_4SpanIKSt4byteEENS0_IcEE(ptr %.sroa.01.0.copyload, i64 %.sroa.22.0.copyload, ptr %8, i64 %9)
  %11 = extractvalue { ptr, i64 } %10, 0
  store ptr %11, ptr %4, align 8
  %12 = extractvalue { ptr, i64 } %10, 1
  store i64 %12, ptr %6, align 8
  %13 = call noundef zeroext i1 @_ZN6tfliteeqIcKcEEbRKNS_4SpanIT_EERKNS2_IT0_EE(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) @_ZL16expected_no_null)
  br i1 %13, label %._crit_edge7, label %14

._crit_edge7:                                     ; preds = %2
  %.pre = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9, !range !15
  br label %._crit_edge6

14:                                               ; preds = %2
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 48)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %._crit_edge6

._crit_edge6:                                     ; preds = %._crit_edge7, %14
  %15 = phi i8 [ %.pre, %._crit_edge7 ], [ 1, %14 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 231, ptr nonnull %3) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  %16 = xor i8 %15, 1
  %not.3 = zext nneg i8 %16 to i32
  %17 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %18 = add nsw i32 %17, %not.3
  store i32 %18, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %19 = zext nneg i8 %15 to i32
  %20 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %21 = add nsw i32 %20, %19
  store i32 %21, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.3)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  %.sroa.2.0.copyload = load i64, ptr getelementptr inbounds (i8, ptr @_ZL6region, i64 8), align 8, !tbaa !11
  %.sroa.0.0.copyload = load ptr, ptr @_ZL6region, align 8, !tbaa !13
  call void @_ZN6tflite7hexdumpENS_4SpanIKSt4byteEE(ptr %.sroa.0.0.copyload, i64 %.sroa.2.0.copyload)
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  %22 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9, !range !15, !noundef !16
  %23 = xor i8 %22, 1
  %not. = zext nneg i8 %23 to i32
  %24 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %25 = add nsw i32 %24, %not.
  store i32 %25, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %26 = zext nneg i8 %22 to i32
  %27 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %28 = add nsw i32 %27, %26
  store i32 %28, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %29 = add nsw i32 %28, %25
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.4, i32 noundef %25, i32 noundef %29)
  %30 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %31 = icmp ne i32 %30, 0
  %.str.5..str.6 = select i1 %31, ptr @.str.6, ptr @.str.5
  %. = zext i1 %31 to i32
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull %.str.5..str.6)
  ret i32 %.
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6tflite14InitializeTestEv() local_unnamed_addr #1

declare void @_Z11MicroPrintfPKcz(ptr noundef, ...) local_unnamed_addr #2

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

declare { ptr, i64 } @_ZN6tflite7hexdumpENS_4SpanIKSt4byteEENS0_IcEE(ptr, i64, ptr, i64) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6tflite4SpanIcEC2ILm231EEERSt5arrayIcXT_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(231)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6tfliteeqIcKcEEbRKNS_4SpanIT_EERKNS2_IT0_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

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

declare void @_ZN6tflite7hexdumpENS_4SpanIKSt4byteEE(ptr, i64) local_unnamed_addr #2

attributes #0 = { mustprogress norecurse 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 = { inlinehint 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 #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass