; LLVM IR from facebook/redex :: opt/optimize_enums/EnumConfig.ll (ZNK14optimize_enums12ParamSummary5printEPK12DexMethodRef)

; 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::__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] }
%"class.UnorderedSet<unsigned short>::ConstUnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.optimize_enums::ParamSummary" = type <{ %class.UnorderedSet, %"class.boost::optional", [4 x i8] }>
%class.UnorderedSet = type { %"class.std::unordered_set" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.boost::optional" = type { %"class.boost::optional_detail::tc_optional_base" }
%"class.boost::optional_detail::tc_optional_base" = type { i8, i16 }

@.str.9 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [15 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK14optimize_enums12ParamSummary5printEPK12DexMethodRef(ptr noundef nonnull align 8 dereferenceable(60) %0, ptr noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %"class.UnorderedSet<unsigned short>::ConstUnorderedIterable", align 8
  %10 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %11 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %12 = alloca i16, align 2
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %13 = load ptr, ptr %3, align 8
  %14 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 9)
  br i1 %14, label %16, label %15

15:                                               ; preds = %2
  br label %80

16:                                               ; preds = %2
  br label %17

17:                                               ; preds = %16
  %18 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 9)
  br i1 %18, label %19, label %27

19:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #5
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef %20)
  %21 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 40, i32 noundef 9, i1 noundef zeroext false, ptr noundef @.str.9, ptr noundef %21)
          to label %22 unwind label %23

22:                                               ; preds = %19
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  br label %27

23:                                               ; preds = %19
  %24 = landingpad { ptr, i32 }
          cleanup
  %25 = extractvalue { ptr, i32 } %24, 0
  store ptr %25, ptr %6, align 8
  %26 = extractvalue { ptr, i32 } %24, 1
  store i32 %26, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  br label %81

27:                                               ; preds = %22, %17
  br label %28

28:                                               ; preds = %27
  br label %29

29:                                               ; preds = %28
  %30 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 9)
  br i1 %30, label %31, label %32

31:                                               ; preds = %29
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 40, i32 noundef 9, i1 noundef zeroext true, ptr noundef @.str.10)
  br label %32

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

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %34 = getelementptr inbounds %"struct.optimize_enums::ParamSummary", ptr %13, i32 0, i32 0
  %35 = call ptr @_Z17UnorderedIterableI12UnorderedSetItSt4hashItESt8equal_toItEETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES8_EEbE4typeELb1EEDaRKS8_(ptr noundef nonnull align 8 dereferenceable(56) %34)
  %36 = getelementptr inbounds %"class.UnorderedSet<unsigned short>::ConstUnorderedIterable", ptr %9, i32 0, i32 0
  store ptr %35, ptr %36, align 8
  store ptr %9, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = call ptr @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE22ConstUnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %37)
  %39 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %10, i32 0, i32 0
  %40 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %39, i32 0, i32 0
  store ptr %38, ptr %40, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = call ptr @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE22ConstUnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %41)
  %43 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %11, i32 0, i32 0
  %44 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %43, i32 0, i32 0
  store ptr %42, ptr %44, align 8
  br label %45

45:                                               ; preds = %59, %33
  %46 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseItLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br i1 %46, label %48, label %47

47:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %61

48:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #5
  %49 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNKSt8__detail20_Node_const_iteratorItLb1ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %50 = load i16, ptr %49, align 2, !tbaa !9
  store i16 %50, ptr %12, align 2, !tbaa !9
  br label %51

51:                                               ; preds = %48
  %52 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 9)
  br i1 %52, label %53, label %56

53:                                               ; preds = %51
  %54 = load i16, ptr %12, align 2, !tbaa !9
  %55 = zext i16 %54 to i32
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 40, i32 noundef 9, i1 noundef zeroext true, ptr noundef @.str.11, i32 noundef %55)
  br label %56

56:                                               ; preds = %53, %51
  br label %57

57:                                               ; preds = %56
  br label %58

58:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #5
  br label %59

59:                                               ; preds = %58
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorItLb1ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  br label %45

61:                                               ; preds = %47
  %62 = getelementptr inbounds %"struct.optimize_enums::ParamSummary", ptr %13, i32 0, i32 1
  %63 = call noundef zeroext i1 @_ZNK5boost8optionalItEcvbEv(ptr noundef nonnull align 2 dereferenceable(4) %62) #5
  br i1 %63, label %64, label %74

64:                                               ; preds = %61
  br label %65

65:                                               ; preds = %64
  %66 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 9)
  br i1 %66, label %67, label %72

67:                                               ; preds = %65
  %68 = getelementptr inbounds %"struct.optimize_enums::ParamSummary", ptr %13, i32 0, i32 1
  %69 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNK5boost8optionalItE3getEv(ptr noundef nonnull align 2 dereferenceable(4) %68)
  %70 = load i16, ptr %69, align 2, !tbaa !9
  %71 = zext i16 %70 to i32
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 40, i32 noundef 9, i1 noundef zeroext false, ptr noundef @.str.12, i32 noundef %71)
  br label %72

72:                                               ; preds = %67, %65
  br label %73

73:                                               ; preds = %72
  br label %80

74:                                               ; preds = %61
  br label %75

75:                                               ; preds = %74
  %76 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 9)
  br i1 %76, label %77, label %78

77:                                               ; preds = %75
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 40, i32 noundef 9, i1 noundef zeroext false, ptr noundef @.str.13)
  br label %78

78:                                               ; preds = %77, %75
  br label %79

79:                                               ; preds = %78
  br label %80

80:                                               ; preds = %79, %73, %15
  ret void

81:                                               ; preds = %23
  %82 = load ptr, ptr %6, align 8
  %83 = load i32, ptr %7, align 4
  %84 = insertvalue { ptr, i32 } poison, ptr %82, 0
  %85 = insertvalue { ptr, i32 } %84, i32 %83, 1
  resume { ptr, i32 } %85
}

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) #3

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) #3

declare void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_Z17UnorderedIterableI12UnorderedSetItSt4hashItESt8equal_toItEETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES8_EEbE4typeELb1EEDaRKS8_(ptr noundef nonnull align 8 dereferenceable(56)) #2

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5boost8optionalItEcvbEv(ptr noundef nonnull align 2 dereferenceable(4)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 2 dereferenceable(2) ptr @_ZNK5boost8optionalItE3getEv(ptr noundef nonnull align 2 dereferenceable(4)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "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 = { alwaysinline 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"short", !7, 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::__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] }
%"class.UnorderedSet<unsigned short>::ConstUnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }

@.str.9 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [15 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK14optimize_enums12ParamSummary5printEPK12DexMethodRef(ptr noundef nonnull align 8 dereferenceable(60) %0, ptr noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.UnorderedSet<unsigned short>::ConstUnorderedIterable", align 8
  %5 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %6 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %7 = tail call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 9)
  br i1 %7, label %8, label %41

8:                                                ; preds = %2
  %9 = tail call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 9)
  br i1 %9, label %10, label %15

10:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %3, ptr noundef %1)
  %11 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 40, i32 noundef 9, i1 noundef zeroext false, ptr noundef nonnull @.str.9, ptr noundef %11)
          to label %12 unwind label %13

12:                                               ; preds = %10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  br label %15

13:                                               ; preds = %10
  %14 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  resume { ptr, i32 } %14

15:                                               ; preds = %12, %8
  %16 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 9)
  br i1 %16, label %17, label %18

17:                                               ; preds = %15
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 40, i32 noundef 9, i1 noundef zeroext true, ptr noundef nonnull @.str.10)
  br label %18

18:                                               ; preds = %15, %17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %19 = call ptr @_Z17UnorderedIterableI12UnorderedSetItSt4hashItESt8equal_toItEETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES8_EEbE4typeELb1EEDaRKS8_(ptr noundef nonnull align 8 dereferenceable(56) %0)
  store ptr %19, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %20 = call ptr @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE22ConstUnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  store ptr %20, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %21 = call ptr @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE22ConstUnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  store ptr %21, ptr %6, align 8
  %22 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseItLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %22, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %31, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  %23 = getelementptr inbounds i8, ptr %0, i64 56
  %24 = call noundef zeroext i1 @_ZNK5boost8optionalItEcvbEv(ptr noundef nonnull align 2 dereferenceable(4) %23) #5
  %25 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 9)
  br i1 %24, label %34, label %39

.lr.ph:                                           ; preds = %18, %31
  %26 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNKSt8__detail20_Node_const_iteratorItLb1ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %27 = load i16, ptr %26, align 2, !tbaa !5
  %28 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 9)
  br i1 %28, label %29, label %31

29:                                               ; preds = %.lr.ph
  %30 = zext i16 %27 to i32
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 40, i32 noundef 9, i1 noundef zeroext true, ptr noundef nonnull @.str.11, i32 noundef %30)
  br label %31

31:                                               ; preds = %29, %.lr.ph
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorItLb1ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %33 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseItLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %33, label %.lr.ph, label %._crit_edge

34:                                               ; preds = %._crit_edge
  br i1 %25, label %35, label %41

35:                                               ; preds = %34
  %36 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNK5boost8optionalItE3getEv(ptr noundef nonnull align 2 dereferenceable(4) %23)
  %37 = load i16, ptr %36, align 2, !tbaa !5
  %38 = zext i16 %37 to i32
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 40, i32 noundef 9, i1 noundef zeroext false, ptr noundef nonnull @.str.12, i32 noundef %38)
  br label %41

39:                                               ; preds = %._crit_edge
  br i1 %25, label %40, label %41

40:                                               ; preds = %39
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 40, i32 noundef 9, i1 noundef zeroext false, ptr noundef nonnull @.str.13)
  br label %41

41:                                               ; preds = %40, %39, %35, %34, %2
  ret void
}

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) local_unnamed_addr #3

declare void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #3

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5boost8optionalItEcvbEv(ptr noundef nonnull align 2 dereferenceable(4)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 2 dereferenceable(2) ptr @_ZNK5boost8optionalItE3getEv(ptr noundef nonnull align 2 dereferenceable(4)) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "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 = { alwaysinline 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 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass