; LLVM IR from VastoLorde95/Competitive-Programming :: SPOJ/DP Level 5/Subsequence Probelm/sub.ll (Z5recurci)

; 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.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<char, int>, std::pair<const std::pair<char, int>, long long>, std::_Select1st<std::pair<const std::pair<char, int>, long long>>, std::less<std::pair<char, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<char, int>, std::pair<const std::pair<char, int>, long long>, std::_Select1st<std::pair<const std::pair<char, int>, long long>>, std::less<std::pair<char, int>>>::_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 }
%"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.std::pair" = type { i8, i32 }
%"struct.std::_Rb_tree_iterator" = type { ptr }

@l = external dso_local global i32, align 4
@x = external dso_local global %"class.std::map", align 8
@_Z3inpB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_Z5recurci(i8 noundef signext %0, i32 noundef %1) #0 {
  %3 = alloca i64, align 8
  %4 = alloca i8, align 1
  %5 = alloca i32, align 4
  %6 = alloca %"struct.std::pair", align 4
  %7 = alloca i32, align 4
  %8 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %9 = alloca %"struct.std::_Rb_tree_iterator", align 8
  store i8 %0, ptr %4, align 1, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @_ZNSt4pairIciEC2IRcRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %10 = load i32, ptr %5, align 4, !tbaa !8
  %11 = load i32, ptr @l, align 4, !tbaa !8
  %12 = icmp sge i32 %10, %11
  br i1 %12, label %13, label %18

13:                                               ; preds = %2
  %14 = load i8, ptr %4, align 1, !tbaa !5
  %15 = sext i8 %14 to i32
  %16 = icmp eq i32 %15, 32
  br i1 %16, label %17, label %18

17:                                               ; preds = %13
  store i64 0, ptr %3, align 8
  store i32 1, ptr %7, align 4
  br label %90

18:                                               ; preds = %13, %2
  %19 = load i32, ptr %5, align 4, !tbaa !8
  %20 = load i32, ptr @l, align 4, !tbaa !8
  %21 = icmp sge i32 %19, %20
  br i1 %21, label %22, label %23

22:                                               ; preds = %18
  store i64 1, ptr %3, align 8
  store i32 1, ptr %7, align 4
  br label %90

23:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %24 = call ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) @x, ptr noundef nonnull align 4 dereferenceable(8) %6)
  %25 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %8, i32 0, i32 0
  store ptr %24, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %26 = call ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) @x) #3
  %27 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %9, i32 0, i32 0
  store ptr %26, ptr %27, align 8
  %28 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKS0_IciExEES6_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br i1 %28, label %29, label %32

29:                                               ; preds = %23
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) @x, ptr noundef nonnull align 4 dereferenceable(8) %6)
  %31 = load i64, ptr %30, align 8, !tbaa !10
  store i64 %31, ptr %3, align 8
  store i32 1, ptr %7, align 4
  br label %90

32:                                               ; preds = %23
  %33 = load i8, ptr %4, align 1, !tbaa !5
  %34 = sext i8 %33 to i32
  %35 = icmp ne i32 %34, 32
  br i1 %35, label %36, label %68

36:                                               ; preds = %32
  %37 = load i32, ptr %5, align 4, !tbaa !8
  %38 = sext i32 %37 to i64
  %39 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3inpB5cxx11, i64 noundef %38)
  %40 = load i8, ptr %39, align 1, !tbaa !5
  %41 = sext i8 %40 to i32
  %42 = load i8, ptr %4, align 1, !tbaa !5
  %43 = sext i8 %42 to i32
  %44 = icmp sgt i32 %41, %43
  br i1 %44, label %45, label %60

45:                                               ; preds = %36
  %46 = load i32, ptr %5, align 4, !tbaa !8
  %47 = sext i32 %46 to i64
  %48 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3inpB5cxx11, i64 noundef %47)
  %49 = load i8, ptr %48, align 1, !tbaa !5
  %50 = load i32, ptr %5, align 4, !tbaa !8
  %51 = add nsw i32 %50, 1
  %52 = call noundef i64 @_Z5recurci(i8 noundef signext %49, i32 noundef %51)
  %53 = load i8, ptr %4, align 1, !tbaa !5
  %54 = load i32, ptr %5, align 4, !tbaa !8
  %55 = add nsw i32 %54, 1
  %56 = call noundef i64 @_Z5recurci(i8 noundef signext %53, i32 noundef %55)
  %57 = add nsw i64 %52, %56
  %58 = srem i64 %57, 1000000007
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) @x, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store i64 %58, ptr %59, align 8, !tbaa !10
  br label %67

60:                                               ; preds = %36
  %61 = load i8, ptr %4, align 1, !tbaa !5
  %62 = load i32, ptr %5, align 4, !tbaa !8
  %63 = add nsw i32 %62, 1
  %64 = call noundef i64 @_Z5recurci(i8 noundef signext %61, i32 noundef %63)
  %65 = srem i64 %64, 1000000007
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) @x, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store i64 %65, ptr %66, align 8, !tbaa !10
  br label %67

67:                                               ; preds = %60, %45
  br label %83

68:                                               ; preds = %32
  %69 = load i32, ptr %5, align 4, !tbaa !8
  %70 = sext i32 %69 to i64
  %71 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3inpB5cxx11, i64 noundef %70)
  %72 = load i8, ptr %71, align 1, !tbaa !5
  %73 = load i32, ptr %5, align 4, !tbaa !8
  %74 = add nsw i32 %73, 1
  %75 = call noundef i64 @_Z5recurci(i8 noundef signext %72, i32 noundef %74)
  %76 = load i8, ptr %4, align 1, !tbaa !5
  %77 = load i32, ptr %5, align 4, !tbaa !8
  %78 = add nsw i32 %77, 1
  %79 = call noundef i64 @_Z5recurci(i8 noundef signext %76, i32 noundef %78)
  %80 = add nsw i64 %75, %79
  %81 = srem i64 %80, 1000000007
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) @x, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store i64 %81, ptr %82, align 8, !tbaa !10
  br label %83

83:                                               ; preds = %68, %67
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) @x, ptr noundef nonnull align 4 dereferenceable(8) %6)
  %88 = load i64, ptr %87, align 8, !tbaa !10
  %89 = srem i64 %88, 1000000007
  store i64 %89, ptr %3, align 8
  store i32 1, ptr %7, align 4
  br label %90

90:                                               ; preds = %86, %29, %22, %17
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  %91 = load i64, ptr %3, align 8
  ret i64 %91
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #2 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 = { 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 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long long", !6, i64 0}


; 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.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<char, int>, std::pair<const std::pair<char, int>, long long>, std::_Select1st<std::pair<const std::pair<char, int>, long long>>, std::less<std::pair<char, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<char, int>, std::pair<const std::pair<char, int>, long long>, std::_Select1st<std::pair<const std::pair<char, int>, long long>>, std::less<std::pair<char, int>>>::_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 }
%"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.std::pair" = type { i8, i32 }
%"struct.std::_Rb_tree_iterator" = type { ptr }

@l = external dso_local local_unnamed_addr global i32, align 4
@x = external dso_local global %"class.std::map", align 8
@_Z3inpB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_Z5recurci(i8 noundef signext %0, i32 noundef %1) local_unnamed_addr #0 {
  %3 = alloca i8, align 1
  %4 = alloca i32, align 4
  %5 = alloca %"struct.std::pair", align 4
  %6 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %7 = alloca %"struct.std::_Rb_tree_iterator", align 8
  store i8 %0, ptr %3, align 1, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @_ZNSt4pairIciEC2IRcRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %8 = load i32, ptr %4, align 4, !tbaa !8
  %9 = load i32, ptr @l, align 4, !tbaa !8
  %10 = icmp slt i32 %8, %9
  %11 = load i8, ptr %3, align 1
  %12 = icmp ne i8 %11, 32
  %or.cond.not = select i1 %10, i1 true, i1 %12
  %.mux = zext i1 %or.cond.not to i64
  br i1 %10, label %13, label %60

13:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %14 = call ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) @x, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store ptr %14, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %15 = call ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) @x) #3
  store ptr %15, ptr %7, align 8
  %16 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKS0_IciExEES6_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #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
  br i1 %16, label %17, label %20

17:                                               ; preds = %13
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) @x, ptr noundef nonnull align 4 dereferenceable(8) %5)
  %19 = load i64, ptr %18, align 8, !tbaa !10
  br label %60

20:                                               ; preds = %13
  %21 = load i8, ptr %3, align 1, !tbaa !5
  %.not = icmp eq i8 %21, 32
  %22 = load i32, ptr %4, align 4, !tbaa !8
  %23 = sext i32 %22 to i64
  %24 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3inpB5cxx11, i64 noundef %23)
  %25 = load i8, ptr %24, align 1, !tbaa !5
  br i1 %.not, label %45, label %26

26:                                               ; preds = %20
  %27 = load i8, ptr %3, align 1, !tbaa !5
  %28 = icmp sgt i8 %25, %27
  %29 = load i32, ptr %4, align 4, !tbaa !8
  br i1 %28, label %30, label %42

30:                                               ; preds = %26
  %31 = sext i32 %29 to i64
  %32 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3inpB5cxx11, i64 noundef %31)
  %33 = load i8, ptr %32, align 1, !tbaa !5
  %34 = load i32, ptr %4, align 4, !tbaa !8
  %35 = add nsw i32 %34, 1
  %36 = call noundef i64 @_Z5recurci(i8 noundef signext %33, i32 noundef %35)
  %37 = load i8, ptr %3, align 1, !tbaa !5
  %38 = load i32, ptr %4, align 4, !tbaa !8
  %39 = add nsw i32 %38, 1
  %40 = call noundef i64 @_Z5recurci(i8 noundef signext %37, i32 noundef %39)
  %41 = add nsw i64 %40, %36
  br label %54

42:                                               ; preds = %26
  %43 = add nsw i32 %29, 1
  %44 = call noundef i64 @_Z5recurci(i8 noundef signext %27, i32 noundef %43)
  br label %54

45:                                               ; preds = %20
  %46 = load i32, ptr %4, align 4, !tbaa !8
  %47 = add nsw i32 %46, 1
  %48 = call noundef i64 @_Z5recurci(i8 noundef signext %25, i32 noundef %47)
  %49 = load i8, ptr %3, align 1, !tbaa !5
  %50 = load i32, ptr %4, align 4, !tbaa !8
  %51 = add nsw i32 %50, 1
  %52 = call noundef i64 @_Z5recurci(i8 noundef signext %49, i32 noundef %51)
  %53 = add nsw i64 %52, %48
  br label %54

54:                                               ; preds = %45, %42, %30
  %.sink6 = phi i64 [ %53, %45 ], [ %44, %42 ], [ %41, %30 ]
  %55 = srem i64 %.sink6, 1000000007
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) @x, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store i64 %55, ptr %56, align 8, !tbaa !10
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) @x, ptr noundef nonnull align 4 dereferenceable(8) %5)
  %58 = load i64, ptr %57, align 8, !tbaa !10
  %59 = srem i64 %58, 1000000007
  br label %60

60:                                               ; preds = %2, %54, %17
  %.0 = phi i64 [ %19, %17 ], [ %59, %54 ], [ %.mux, %2 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  ret i64 %.0
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapISt4pairIciExSt4lessIS1_ESaIS0_IKS1_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #2 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 = { 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 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long long", !6, i64 0}


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