; LLVM IR from NervanaSystems/ngraph :: src/ngraph/pass (graph_rewrite)

; 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::vector.94" = type { %"struct.std::_Vector_base.95" }
%"struct.std::_Vector_base.95" = type { %"struct.std::_Vector_base<std::__cxx11::basic_regex<char>, std::allocator<std::__cxx11::basic_regex<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_regex<char>, std::allocator<std::__cxx11::basic_regex<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_regex<char>, std::allocator<std::__cxx11::basic_regex<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_regex<char>, std::allocator<std::__cxx11::basic_regex<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.99" = type { ptr }
%"struct.ngraph::NullLogger" = type { i8 }

@__dso_handle = external hidden global i8
@_ZZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11 = external hidden global %"class.std::vector.94", align 8
@_ZGVZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11 = external hidden global i64, align 8
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) #0

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.99", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.99", align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.ngraph::NullLogger", align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8
  %15 = load atomic i8, ptr @_ZGVZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11 acquire, align 8
  %16 = icmp eq i8 %15, 0
  br i1 %16, label %17, label %23, !prof !9

17:                                               ; preds = %2
  %18 = call i32 @__cxa_guard_acquire(ptr @_ZGVZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11) #0
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %20, label %23

20:                                               ; preds = %17
  invoke void @_ZL25initialize_fusion_regexesB5cxx11v(ptr dead_on_unwind writable sret(%"class.std::vector.94") align 8 @_ZZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11)
          to label %21 unwind label %31

21:                                               ; preds = %20
  %22 = call i32 @__cxa_atexit(ptr @_ZNSt6vectorINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EED2Ev, ptr @_ZZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11, ptr @__dso_handle) #0
  call void @__cxa_guard_release(ptr @_ZGVZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11) #0
  br label %23

23:                                               ; preds = %21, %17, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #0
  store ptr @_ZZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #0
  %24 = call ptr @_ZNKSt6vectorINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11) #0
  %25 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.99", ptr %9, i32 0, i32 0
  store ptr %24, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #0
  %26 = call ptr @_ZNKSt6vectorINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11) #0
  %27 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.99", ptr %10, i32 0, i32 0
  store ptr %26, ptr %27, align 8
  br label %28

28:                                               ; preds = %48, %23
  %29 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKNSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #0
  br i1 %29, label %35, label %30

30:                                               ; preds = %28
  store i32 2, ptr %11, align 4
  br label %50

31:                                               ; preds = %20
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %6, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %7, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11) #0
  br label %55

35:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #0
  %36 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #0
  store ptr %36, ptr %12, align 8, !tbaa !5
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = load ptr, ptr %12, align 8, !tbaa !5
  %39 = call noundef zeroext i1 @_ZSt11regex_matchISt11char_traitsIcESaIcEcNSt7__cxx1112regex_traitsIcEEEbRKNS3_12basic_stringIT1_T_T0_EERKNS3_11basic_regexIS7_T2_EENSt15regex_constants15match_flag_typeE(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %38, i32 noundef 0)
  br i1 %39, label %40, label %44

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #0
  %41 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6ngraphlsIA19_cEEONS_10NullLoggerES3_RKT_(ptr noundef nonnull align 1 dereferenceable(1) %13, ptr noundef nonnull align 1 dereferenceable(19) @.str.2)
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEONS_10NullLoggerES8_RKT_(ptr noundef nonnull align 1 dereferenceable(1) %41, ptr noundef nonnull align 8 dereferenceable(32) %42)
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #0
  store i1 false, ptr %3, align 1
  store i32 1, ptr %11, align 4
  br label %45

44:                                               ; preds = %35
  store i32 0, ptr %11, align 4
  br label %45

45:                                               ; preds = %44, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #0
  %46 = load i32, ptr %11, align 4
  switch i32 %46, label %50 [
    i32 0, label %47
  ]

47:                                               ; preds = %45
  br label %48

48:                                               ; preds = %47
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #0
  br label %28

50:                                               ; preds = %45, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #0
  %51 = load i32, ptr %11, align 4
  switch i32 %51, label %60 [
    i32 2, label %52
    i32 1, label %53
  ]

52:                                               ; preds = %50
  store i1 true, ptr %3, align 1
  br label %53

53:                                               ; preds = %52, %50
  %54 = load i1, ptr %3, align 1
  ret i1 %54

55:                                               ; preds = %31
  %56 = load ptr, ptr %6, align 8
  %57 = load i32, ptr %7, align 4
  %58 = insertvalue { ptr, i32 } poison, ptr %56, 0
  %59 = insertvalue { ptr, i32 } %58, i32 %57, 1
  resume { ptr, i32 } %59

60:                                               ; preds = %50
  unreachable
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL25initialize_fusion_regexesB5cxx11v(ptr dead_on_unwind noalias writable sret(%"class.std::vector.94") align 8) #2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZSt11regex_matchISt11char_traitsIcESaIcEcNSt7__cxx1112regex_traitsIcEEEbRKNS3_12basic_stringIT1_T_T0_EERKNS3_11basic_regexIS7_T2_EENSt15regex_constants15match_flag_typeE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEONS_10NullLoggerES8_RKT_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(32)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN6ngraphlsIA19_cEEONS_10NullLoggerES3_RKT_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(19)) #3

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

attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!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 = !{!"branch_weights", i32 1, i32 1048575}


; 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::vector.94" = type { %"struct.std::_Vector_base.95" }
%"struct.std::_Vector_base.95" = type { %"struct.std::_Vector_base<std::__cxx11::basic_regex<char>, std::allocator<std::__cxx11::basic_regex<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_regex<char>, std::allocator<std::__cxx11::basic_regex<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_regex<char>, std::allocator<std::__cxx11::basic_regex<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_regex<char>, std::allocator<std::__cxx11::basic_regex<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.99" = type { ptr }
%"struct.ngraph::NullLogger" = type { i8 }

@__dso_handle = external hidden global i8
@_ZZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11 = external hidden global %"class.std::vector.94", align 8
@_ZGVZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11 = external hidden global i64, align 8
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nofree nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) 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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.99", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.99", align 8
  %5 = alloca %"struct.ngraph::NullLogger", align 1
  %6 = load atomic i8, ptr @_ZGVZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11 acquire, align 8
  %7 = icmp eq i8 %6, 0
  br i1 %7, label %8, label %13, !prof !5

8:                                                ; preds = %2
  %9 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11) #6
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %13, label %10

10:                                               ; preds = %8
  invoke void @_ZL25initialize_fusion_regexesB5cxx11v(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.94") align 8 @_ZZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11)
          to label %11 unwind label %17

11:                                               ; preds = %10
  %12 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt6vectorINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EED2Ev, ptr nonnull @_ZZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11, ptr nonnull @__dso_handle) #6
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11) #6
  br label %13

13:                                               ; preds = %11, %8, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %14 = tail call ptr @_ZNKSt6vectorINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11) #6
  store ptr %14, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %15 = tail call ptr @_ZNKSt6vectorINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZZNK6ngraph4pass16GraphRewriteBase10is_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7regexesB5cxx11) #6
  store ptr %15, ptr %4, align 8
  %16 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKNSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br i1 %16, label %.lr.ph, label %.loopexit

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

.lr.ph:                                           ; preds = %13, %.critedge
  %19 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %20 = call noundef zeroext i1 @_ZSt11regex_matchISt11char_traitsIcESaIcEcNSt7__cxx1112regex_traitsIcEEEbRKNS3_12basic_stringIT1_T_T0_EERKNS3_11basic_regexIS7_T2_EENSt15regex_constants15match_flag_typeE(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %19, i32 noundef 0)
  br i1 %20, label %21, label %.critedge

21:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  %22 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6ngraphlsIA19_cEEONS_10NullLoggerES3_RKT_(ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 1 dereferenceable(19) @.str.2)
  %23 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEONS_10NullLoggerES8_RKT_(ptr noundef nonnull align 1 dereferenceable(1) %22, ptr noundef nonnull align 8 dereferenceable(32) %1)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  br label %.loopexit

.critedge:                                        ; preds = %.lr.ph
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %25 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKNSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br i1 %25, label %.lr.ph, label %.loopexit

.loopexit:                                        ; preds = %.critedge, %13, %21
  %switch = phi i1 [ false, %21 ], [ true, %13 ], [ true, %.critedge ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  ret i1 %switch
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL25initialize_fusion_regexesB5cxx11v(ptr dead_on_unwind noalias writable sret(%"class.std::vector.94") align 8) local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZSt11regex_matchISt11char_traitsIcESaIcEcNSt7__cxx1112regex_traitsIcEEEbRKNS3_12basic_stringIT1_T_T0_EERKNS3_11basic_regexIS7_T2_EENSt15regex_constants15match_flag_typeE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEONS_10NullLoggerES8_RKT_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN6ngraphlsIA19_cEEONS_10NullLoggerES3_RKT_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(19)) local_unnamed_addr #3

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

attributes #0 = { nofree nounwind }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!"branch_weights", i32 1, i32 1048575}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass