; LLVM IR from alibaba/BladeDISC :: tao_compiler/mlir/ral (ral_logging)

; 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.tao::ral::internal::StringData" = type { ptr, i64 }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::pair" = type <{ %"struct.tao::ral::internal::StringData", i32, [4 x i8] }>

@_ZZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules = external hidden global ptr, align 8
@_ZGVZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules = external hidden global i64, align 8

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN3tao3ral8internal18VmodulesMapFromEnvEv() #1

; Function Attrs: nounwind willreturn memory(read)
declare noundef ptr @strchr(ptr noundef, i32 noundef) #2

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

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #4

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #4

; Function Attrs: nounwind willreturn memory(read)
declare noundef ptr @strrchr(ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3tao3ral8internal10LogMessage12MinVLogLevelEv() #1 align 2

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKci(ptr noundef %0, i32 noundef %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.tao::ral::internal::StringData", align 8
  %13 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %14 = alloca %"struct.std::__detail::_Node_iterator", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  %15 = load i32, ptr %5, align 4, !tbaa !9
  %16 = call noundef i32 @_ZN3tao3ral8internal10LogMessage12MinVLogLevelEv()
  %17 = icmp sle i32 %15, %16
  br i1 %17, label %18, label %19

18:                                               ; preds = %2
  store i1 true, ptr %3, align 1
  br label %87

19:                                               ; preds = %2
  %20 = load atomic i8, ptr @_ZGVZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules acquire, align 8
  %21 = icmp eq i8 %20, 0
  br i1 %21, label %22, label %28, !prof !11

22:                                               ; preds = %19
  %23 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules) #4
  %24 = icmp ne i32 %23, 0
  br i1 %24, label %25, label %28

25:                                               ; preds = %22
  %26 = invoke noundef ptr @_ZN3tao3ral8internal18VmodulesMapFromEnvEv()
          to label %27 unwind label %37

27:                                               ; preds = %25
  store ptr %26, ptr @_ZZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules, align 8, !tbaa !5
  call void @__cxa_guard_release(ptr @_ZGVZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules) #4
  br label %28

28:                                               ; preds = %27, %22, %19
  %29 = load ptr, ptr @_ZZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules, align 8, !tbaa !5
  %30 = icmp eq ptr %29, null
  %31 = xor i1 %30, true
  %32 = xor i1 %31, true
  %33 = zext i1 %32 to i64
  %34 = call i64 @llvm.expect.i64(i64 %33, i64 1)
  %35 = icmp ne i64 %34, 0
  br i1 %35, label %36, label %41

36:                                               ; preds = %28
  store i1 false, ptr %3, align 1
  br label %87

37:                                               ; preds = %25
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %6, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %7, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules) #4
  br label %89

41:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = call noundef ptr @strrchr(ptr noundef %42, i32 noundef 47) #6
  store ptr %43, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = icmp eq ptr %44, null
  br i1 %45, label %46, label %48

46:                                               ; preds = %41
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  br label %51

48:                                               ; preds = %41
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %49, i64 1
  br label %51

51:                                               ; preds = %48, %46
  %52 = phi ptr [ %47, %46 ], [ %50, %48 ]
  store ptr %52, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = call noundef ptr @strchr(ptr noundef %53, i32 noundef 46) #6
  store ptr %54, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = icmp eq ptr %55, null
  br i1 %56, label %57, label %60

57:                                               ; preds = %51
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = call noundef ptr @strchr(ptr noundef %58, i32 noundef 0) #6
  br label %62

60:                                               ; preds = %51
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  br label %62

62:                                               ; preds = %60, %57
  %63 = phi ptr [ %59, %57 ], [ %61, %60 ]
  store ptr %63, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = ptrtoint ptr %65 to i64
  %68 = ptrtoint ptr %66 to i64
  %69 = sub i64 %67, %68
  call void @_ZN3tao3ral8internal10StringDataC2EPKcm(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef %64, i64 noundef %69)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %70 = load ptr, ptr @_ZZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules, align 8, !tbaa !5
  %71 = call ptr @_ZNSt13unordered_mapIN3tao3ral8internal10StringDataEiNS3_6HasherESt8equal_toIS3_ESaISt4pairIKS3_iEEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(56) %70, ptr noundef nonnull align 8 dereferenceable(16) %12)
  %72 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %13, i32 0, i32 0
  %73 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %72, i32 0, i32 0
  store ptr %71, ptr %73, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %74 = load ptr, ptr @_ZZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules, align 8, !tbaa !5
  %75 = call ptr @_ZNSt13unordered_mapIN3tao3ral8internal10StringDataEiNS3_6HasherESt8equal_toIS3_ESaISt4pairIKS3_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %74) #4
  %76 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %14, i32 0, i32 0
  %77 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %76, i32 0, i32 0
  store ptr %75, ptr %77, align 8
  %78 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN3tao3ral8internal10StringDataEiELb1EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #4
  br i1 %78, label %79, label %85

79:                                               ; preds = %62
  %80 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN3tao3ral8internal10StringDataEiELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #4
  %81 = getelementptr inbounds %"struct.std::pair", ptr %80, i32 0, i32 1
  %82 = load i32, ptr %81, align 8, !tbaa !12
  %83 = load i32, ptr %5, align 4, !tbaa !9
  %84 = icmp sge i32 %82, %83
  br label %85

85:                                               ; preds = %79, %62
  %86 = phi i1 [ false, %62 ], [ %84, %79 ]
  store i1 %86, ptr %3, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %87

87:                                               ; preds = %85, %36, %18
  %88 = load i1, ptr %3, align 1
  ret i1 %88

89:                                               ; preds = %37
  %90 = load ptr, ptr %6, align 8
  %91 = load i32, ptr %7, align 4
  %92 = insertvalue { ptr, i32 } poison, ptr %90, 0
  %93 = insertvalue { ptr, i32 } %92, i32 %91, 1
  resume { ptr, i32 } %93
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #5

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { nounwind willreturn memory(read) "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 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #6 = { nounwind willreturn memory(read) }

!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 = !{!"int", !7, i64 0}
!11 = !{!"branch_weights", i32 1, i32 1048575}
!12 = !{!13, !10, i64 16}
!13 = !{!"_ZTSSt4pairIKN3tao3ral8internal10StringDataEiE", !14, i64 0, !10, i64 16}
!14 = !{!"_ZTSN3tao3ral8internal10StringDataE", !6, i64 0, !15, i64 8}
!15 = !{!"long", !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"

%"struct.tao::ral::internal::StringData" = type { ptr, i64 }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }

@_ZZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules = external hidden local_unnamed_addr global ptr, align 8
@_ZGVZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules = external hidden global i64, align 8

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN3tao3ral8internal18VmodulesMapFromEnvEv() local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare noundef ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare noundef ptr @strrchr(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3tao3ral8internal10LogMessage12MinVLogLevelEv() local_unnamed_addr #1 align 2

; Function Attrs: nofree nounwind
declare void @__cxa_guard_abort(ptr) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKci(ptr noundef %0, i32 noundef %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.tao::ral::internal::StringData", align 8
  %4 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %5 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %6 = tail call noundef i32 @_ZN3tao3ral8internal10LogMessage12MinVLogLevelEv()
  %.not = icmp slt i32 %6, %1
  br i1 %.not, label %7, label %45

7:                                                ; preds = %2
  %8 = load atomic i8, ptr @_ZGVZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules acquire, align 8
  %9 = icmp eq i8 %8, 0
  br i1 %9, label %10, label %15, !prof !5

10:                                               ; preds = %7
  %11 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules) #6
  %.not17 = icmp eq i32 %11, 0
  br i1 %.not17, label %15, label %12

12:                                               ; preds = %10
  %13 = invoke noundef ptr @_ZN3tao3ral8internal18VmodulesMapFromEnvEv()
          to label %14 unwind label %18

14:                                               ; preds = %12
  store ptr %13, ptr @_ZZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules, align 8, !tbaa !6
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules) #6
  br label %15

15:                                               ; preds = %14, %10, %7
  %16 = load ptr, ptr @_ZZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules, align 8, !tbaa !6
  %17 = icmp eq ptr %16, null
  br i1 %17, label %45, label %20, !prof !10

18:                                               ; preds = %12
  %19 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_guard_abort(ptr nonnull @_ZGVZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules) #6
  resume { ptr, i32 } %19

20:                                               ; preds = %15
  %21 = tail call noundef ptr @strrchr(ptr noundef nonnull dereferenceable(1) %0, i32 noundef 47) #7
  %22 = icmp eq ptr %21, null
  %23 = getelementptr inbounds i8, ptr %21, i64 1
  %24 = select i1 %22, ptr %0, ptr %23
  %25 = tail call noundef ptr @strchr(ptr noundef nonnull dereferenceable(1) %24, i32 noundef 46) #7
  %26 = icmp eq ptr %25, null
  br i1 %26, label %27, label %28

27:                                               ; preds = %20
  %strlen = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0)
  %strchr = getelementptr inbounds i8, ptr %0, i64 %strlen
  br label %28

28:                                               ; preds = %20, %27
  %29 = phi ptr [ %strchr, %27 ], [ %25, %20 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  %30 = ptrtoint ptr %29 to i64
  %31 = ptrtoint ptr %24 to i64
  %32 = sub i64 %30, %31
  call void @_ZN3tao3ral8internal10StringDataC2EPKcm(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef %24, i64 noundef %32)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %33 = load ptr, ptr @_ZZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules, align 8, !tbaa !6
  %34 = call ptr @_ZNSt13unordered_mapIN3tao3ral8internal10StringDataEiNS3_6HasherESt8equal_toIS3_ESaISt4pairIKS3_iEEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 8 dereferenceable(16) %3)
  store ptr %34, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %35 = load ptr, ptr @_ZZN3tao3ral8internal10LogMessage16VmoduleActivatedEPKciE8vmodules, align 8, !tbaa !6
  %36 = call ptr @_ZNSt13unordered_mapIN3tao3ral8internal10StringDataEiNS3_6HasherESt8equal_toIS3_ESaISt4pairIKS3_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %35) #6
  store ptr %36, ptr %5, align 8
  %37 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN3tao3ral8internal10StringDataEiELb1EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %37, label %38, label %43

38:                                               ; preds = %28
  %39 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN3tao3ral8internal10StringDataEiELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %40 = getelementptr inbounds i8, ptr %39, i64 16
  %41 = load i32, ptr %40, align 8, !tbaa !11
  %42 = icmp sge i32 %41, %1
  br label %43

43:                                               ; preds = %38, %28
  %44 = phi i1 [ false, %28 ], [ %42, %38 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %45

45:                                               ; preds = %15, %2, %43
  %.0 = phi i1 [ %44, %43 ], [ true, %2 ], [ false, %15 ]
  ret i1 %.0
}

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

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

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

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

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { nofree nounwind }
attributes #5 = { nofree nounwind willreturn memory(argmem: read) }
attributes #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }

!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 = !{!"branch_weights", i32 1, i32 1048575}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!11 = !{!12, !15, i64 16}
!12 = !{!"_ZTSSt4pairIKN3tao3ral8internal10StringDataEiE", !13, i64 0, !15, i64 16}
!13 = !{!"_ZTSN3tao3ral8internal10StringDataE", !7, i64 0, !14, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!"int", !8, i64 0}


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