; LLVM IR from taichi-dev/taichi :: taichi/common/json.ll (ZN5liong4json5parseEPKcS2_)

; 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.liong::json::JsonValue" = type { i32, i8, i64, double, %"class.std::__cxx11::basic_string", %"struct.liong::json::JsonObject", %"struct.liong::json::JsonArray" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.liong::json::JsonObject" = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, liong::json::JsonValue>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, liong::json::JsonValue>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, liong::json::JsonValue>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, liong::json::JsonValue>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.liong::json::JsonArray" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<liong::json::JsonValue, std::allocator<liong::json::JsonValue>>::_Vector_impl" }
%"struct.std::_Vector_base<liong::json::JsonValue, std::allocator<liong::json::JsonValue>>::_Vector_impl" = type { %"struct.std::_Vector_base<liong::json::JsonValue, std::allocator<liong::json::JsonValue>>::_Vector_impl_data" }
%"struct.std::_Vector_base<liong::json::JsonValue, std::allocator<liong::json::JsonValue>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"struct.liong::json::Tokenizer" = type { ptr, ptr }

@_ZTIN5liong4json13JsonExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5liong4json14try_parse_implERNS0_9TokenizerERNS0_9JsonValueE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(128)) #0

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5liong4json9JsonValueC2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

declare ptr @__cxa_allocate_exception(i64)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5liong4json13JsonExceptionC2ESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(40), i64, ptr) unnamed_addr #0 align 2

declare void @__cxa_free_exception(ptr)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5liong4json13JsonExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

declare void @__cxa_throw(ptr, ptr, ptr)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5liong4json9JsonValueD2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5liong4json5parseEPKcS2_(ptr dead_on_unwind noalias writable sret(%"struct.liong::json::JsonValue") align 8 %0, ptr noundef %1, ptr noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::basic_string_view", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i1, align 1
  %11 = alloca %"struct.liong::json::Tokenizer", align 8
  %12 = alloca %"class.std::basic_string_view", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = icmp eq ptr %13, null
  br i1 %14, label %22, label %15

15:                                               ; preds = %3
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = icmp eq ptr %16, null
  br i1 %17, label %22, label %18

18:                                               ; preds = %15
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = icmp uge ptr %19, %20
  br i1 %21, label %22, label %33

22:                                               ; preds = %18, %15, %3
  %23 = call ptr @__cxa_allocate_exception(i64 40) #4
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef @.str.7) #4
  %24 = getelementptr inbounds { i64, ptr }, ptr %7, i32 0, i32 0
  %25 = load i64, ptr %24, align 8
  %26 = getelementptr inbounds { i64, ptr }, ptr %7, i32 0, i32 1
  %27 = load ptr, ptr %26, align 8
  invoke void @_ZN5liong4json13JsonExceptionC2ESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(40) %23, i64 %25, ptr %27)
          to label %28 unwind label %29

28:                                               ; preds = %22
  call void @__cxa_throw(ptr %23, ptr @_ZTIN5liong4json13JsonExceptionE, ptr @_ZN5liong4json13JsonExceptionD2Ev) #5
  unreachable

29:                                               ; preds = %22
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %8, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %9, align 4
  call void @__cxa_free_exception(ptr %23) #4
  br label %59

33:                                               ; preds = %18
  store i1 false, ptr %10, align 1
  call void @_ZN5liong4json9JsonValueC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %0)
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5liong4json9TokenizerC2EPKcS3_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef %34, ptr noundef %35)
          to label %36 unwind label %46

36:                                               ; preds = %33
  %37 = invoke noundef zeroext i1 @_ZN5liong4json14try_parse_implERNS0_9TokenizerERNS0_9JsonValueE(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(128) %0)
          to label %38 unwind label %46

38:                                               ; preds = %36
  br i1 %37, label %54, label %39

39:                                               ; preds = %38
  %40 = call ptr @__cxa_allocate_exception(i64 40) #4
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef @.str.8) #4
  %41 = getelementptr inbounds { i64, ptr }, ptr %12, i32 0, i32 0
  %42 = load i64, ptr %41, align 8
  %43 = getelementptr inbounds { i64, ptr }, ptr %12, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8
  invoke void @_ZN5liong4json13JsonExceptionC2ESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(40) %40, i64 %42, ptr %44)
          to label %45 unwind label %50

45:                                               ; preds = %39
  invoke void @__cxa_throw(ptr %40, ptr @_ZTIN5liong4json13JsonExceptionE, ptr @_ZN5liong4json13JsonExceptionD2Ev) #5
          to label %64 unwind label %46

46:                                               ; preds = %45, %36, %33
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %8, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %9, align 4
  br label %56

50:                                               ; preds = %39
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %8, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %9, align 4
  call void @__cxa_free_exception(ptr %40) #4
  br label %56

54:                                               ; preds = %38
  store i1 true, ptr %10, align 1
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  %55 = load i1, ptr %10, align 1
  br i1 %55, label %58, label %57

56:                                               ; preds = %50, %46
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  call void @_ZN5liong4json9JsonValueD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %0) #4
  br label %59

57:                                               ; preds = %54
  call void @_ZN5liong4json9JsonValueD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %0) #4
  br label %58

58:                                               ; preds = %57, %54
  ret void

59:                                               ; preds = %56, %29
  %60 = load ptr, ptr %8, align 8
  %61 = load i32, ptr %9, align 4
  %62 = insertvalue { ptr, i32 } poison, ptr %60, 0
  %63 = insertvalue { ptr, i32 } %62, i32 %61, 1
  resume { ptr, i32 } %63

64:                                               ; preds = %45
  unreachable
}

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { noreturn }

!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++ TBAA"}


; 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.liong::json::JsonValue" = type { i32, i8, i64, double, %"class.std::__cxx11::basic_string", %"struct.liong::json::JsonObject", %"struct.liong::json::JsonArray" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.liong::json::JsonObject" = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, liong::json::JsonValue>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, liong::json::JsonValue>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, liong::json::JsonValue>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, liong::json::JsonValue>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.liong::json::JsonArray" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<liong::json::JsonValue, std::allocator<liong::json::JsonValue>>::_Vector_impl" }
%"struct.std::_Vector_base<liong::json::JsonValue, std::allocator<liong::json::JsonValue>>::_Vector_impl" = type { %"struct.std::_Vector_base<liong::json::JsonValue, std::allocator<liong::json::JsonValue>>::_Vector_impl_data" }
%"struct.std::_Vector_base<liong::json::JsonValue, std::allocator<liong::json::JsonValue>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"struct.liong::json::Tokenizer" = type { ptr, ptr }

@_ZTIN5liong4json13JsonExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5liong4json14try_parse_implERNS0_9TokenizerERNS0_9JsonValueE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(128)) 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 i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5liong4json9JsonValueC2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5liong4json13JsonExceptionC2ESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(40), i64, ptr) unnamed_addr #0 align 2

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5liong4json13JsonExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5liong4json9JsonValueD2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5liong4json5parseEPKcS2_(ptr dead_on_unwind noalias writable sret(%"struct.liong::json::JsonValue") align 8 %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::basic_string_view", align 8
  %5 = alloca %"struct.liong::json::Tokenizer", align 8
  %6 = alloca %"class.std::basic_string_view", align 8
  %7 = icmp ne ptr %1, null
  %.not = icmp ult ptr %1, %2
  %or.cond16 = and i1 %7, %.not
  br i1 %or.cond16, label %16, label %8

8:                                                ; preds = %3
  %9 = tail call ptr @__cxa_allocate_exception(i64 40) #4
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef @.str.7) #4
  %10 = load i64, ptr %4, align 8
  %11 = getelementptr inbounds i8, ptr %4, i64 8
  %12 = load ptr, ptr %11, align 8
  invoke void @_ZN5liong4json13JsonExceptionC2ESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(40) %9, i64 %10, ptr %12)
          to label %13 unwind label %14

13:                                               ; preds = %8
  call void @__cxa_throw(ptr nonnull %9, ptr nonnull @_ZTIN5liong4json13JsonExceptionE, ptr nonnull @_ZN5liong4json13JsonExceptionD2Ev) #5
  unreachable

14:                                               ; preds = %8
  %15 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %9) #4
  br label %31

16:                                               ; preds = %3
  tail call void @_ZN5liong4json9JsonValueC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  call void @_ZN5liong4json9TokenizerC2EPKcS3_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %17 = invoke noundef zeroext i1 @_ZN5liong4json14try_parse_implERNS0_9TokenizerERNS0_9JsonValueE(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(128) %0)
          to label %18 unwind label %25

18:                                               ; preds = %16
  br i1 %17, label %29, label %19

19:                                               ; preds = %18
  %20 = call ptr @__cxa_allocate_exception(i64 40) #4
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef @.str.8) #4
  %21 = load i64, ptr %6, align 8
  %22 = getelementptr inbounds i8, ptr %6, i64 8
  %23 = load ptr, ptr %22, align 8
  invoke void @_ZN5liong4json13JsonExceptionC2ESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(40) %20, i64 %21, ptr %23)
          to label %24 unwind label %27

24:                                               ; preds = %19
  invoke void @__cxa_throw(ptr nonnull %20, ptr nonnull @_ZTIN5liong4json13JsonExceptionE, ptr nonnull @_ZN5liong4json13JsonExceptionD2Ev) #5
          to label %32 unwind label %25

25:                                               ; preds = %24, %16
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %30

27:                                               ; preds = %19
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %20) #4
  br label %30

29:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  ret void

30:                                               ; preds = %27, %25
  %.pn = phi { ptr, i32 } [ %26, %25 ], [ %28, %27 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  call void @_ZN5liong4json9JsonValueD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %0) #4
  br label %31

31:                                               ; preds = %30, %14
  %.pn14 = phi { ptr, i32 } [ %15, %14 ], [ %.pn, %30 ]
  resume { ptr, i32 } %.pn14

32:                                               ; preds = %24
  unreachable
}

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { noreturn }

!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)"}


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