; LLVM IR from buresjan/optim_lbm :: nomad/src/Util/StopReason.ll (ZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11Ev)

; 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<NOMAD_4_3::BaseStopType, std::pair<const NOMAD_4_3::BaseStopType, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const NOMAD_4_3::BaseStopType, std::__cxx11::basic_string<char>>>, std::less<NOMAD_4_3::BaseStopType>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<NOMAD_4_3::BaseStopType, std::pair<const NOMAD_4_3::BaseStopType, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const NOMAD_4_3::BaseStopType, std::__cxx11::basic_string<char>>>, std::less<NOMAD_4_3::BaseStopType>>::_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::initializer_list" = type { ptr, i64 }
%"struct.std::pair" = type { i32, %"class.std::__cxx11::basic_string" }
%"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::less" = type { i8 }
%"class.std::allocator.3" = type { i8 }

@_ZZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11 = external hidden global %"class.std::map", align 8
@_ZGVZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11 = external hidden global i64, align 8
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [36 x i8], align 1
@__dso_handle = external hidden global i8

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(12) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::initializer_list", align 8
  %4 = alloca [8 x %"struct.std::pair"], align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i1, align 1
  %17 = alloca %"struct.std::less", align 1
  %18 = alloca %"class.std::allocator.3", align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %19 = load ptr, ptr %2, align 8
  %20 = load atomic i8, ptr @_ZGVZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11 acquire, align 8
  %21 = icmp eq i8 %20, 0
  br i1 %21, label %22, label %56, !prof !9

22:                                               ; preds = %1
  %23 = call i32 @__cxa_guard_acquire(ptr @_ZGVZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11) #1
  %24 = icmp ne i32 %23, 0
  br i1 %24, label %25, label %56

25:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 320, ptr %4) #1
  store i1 true, ptr %16, align 1
  store ptr %4, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #1
  store i32 0, ptr %6, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA8_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 1 dereferenceable(8) @.str)
          to label %26 unwind label %57

26:                                               ; preds = %25
  %27 = getelementptr inbounds %"struct.std::pair", ptr %4, i64 1
  store ptr %27, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #1
  store i32 1, ptr %9, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA29_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(29) @.str.1)
          to label %28 unwind label %61

28:                                               ; preds = %26
  %29 = getelementptr inbounds %"struct.std::pair", ptr %4, i64 2
  store ptr %29, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #1
  store i32 2, ptr %10, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA23_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %29, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(23) @.str.2)
          to label %30 unwind label %65

30:                                               ; preds = %28
  %31 = getelementptr inbounds %"struct.std::pair", ptr %4, i64 3
  store ptr %31, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #1
  store i32 3, ptr %11, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA6_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %31, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(6) @.str.3)
          to label %32 unwind label %69

32:                                               ; preds = %30
  %33 = getelementptr inbounds %"struct.std::pair", ptr %4, i64 4
  store ptr %33, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #1
  store i32 4, ptr %12, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA8_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 1 dereferenceable(8) @.str.4)
          to label %34 unwind label %73

34:                                               ; preds = %32
  %35 = getelementptr inbounds %"struct.std::pair", ptr %4, i64 5
  store ptr %35, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #1
  store i32 5, ptr %13, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA7_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %35, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 1 dereferenceable(7) @.str.5)
          to label %36 unwind label %77

36:                                               ; preds = %34
  %37 = getelementptr inbounds %"struct.std::pair", ptr %4, i64 6
  store ptr %37, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #1
  store i32 6, ptr %14, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA25_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %37, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 1 dereferenceable(25) @.str.6)
          to label %38 unwind label %81

38:                                               ; preds = %36
  %39 = getelementptr inbounds %"struct.std::pair", ptr %4, i64 7
  store ptr %39, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #1
  store i32 7, ptr %15, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA36_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %39, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 1 dereferenceable(36) @.str.7)
          to label %40 unwind label %85

40:                                               ; preds = %38
  store i1 false, ptr %16, align 1
  %41 = getelementptr inbounds %"class.std::initializer_list", ptr %3, i32 0, i32 0
  store ptr %4, ptr %41, align 8, !tbaa !12
  %42 = getelementptr inbounds %"class.std::initializer_list", ptr %3, i32 0, i32 1
  store i64 8, ptr %42, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #1
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #1
  call void @_ZNSaISt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #1
  %43 = getelementptr inbounds { ptr, i64 }, ptr %3, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8
  %45 = getelementptr inbounds { ptr, i64 }, ptr %3, i32 0, i32 1
  %46 = load i64, ptr %45, align 8
  invoke void @_ZNSt3mapIN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEEC2ESt16initializer_listISC_ERKS9_RKSD_(ptr noundef nonnull align 8 dereferenceable(48) @_ZZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11, ptr %44, i64 %46, ptr noundef nonnull align 1 dereferenceable(1) %17, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %47 unwind label %89

47:                                               ; preds = %40
  call void @_ZNSt15__new_allocatorISt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #1
  %48 = getelementptr inbounds [8 x %"struct.std::pair"], ptr %4, i32 0, i32 0
  %49 = getelementptr inbounds %"struct.std::pair", ptr %48, i64 8
  br label %50

50:                                               ; preds = %50, %47
  %51 = phi ptr [ %49, %47 ], [ %52, %50 ]
  %52 = getelementptr inbounds %"struct.std::pair", ptr %51, i64 -1
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %52) #1
  %53 = icmp eq ptr %52, %48
  br i1 %53, label %54, label %50

54:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #1
  call void @llvm.lifetime.end.p0(i64 320, ptr %4) #1
  %55 = call i32 @__cxa_atexit(ptr @_ZNSt3mapIN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEED2Ev, ptr @_ZZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11, ptr @__dso_handle) #1
  call void @__cxa_guard_release(ptr @_ZGVZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11) #1
  br label %56

56:                                               ; preds = %54, %22, %1
  ret ptr @_ZZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11

57:                                               ; preds = %25
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %7, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %8, align 4
  br label %107

61:                                               ; preds = %26
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %7, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %8, align 4
  br label %106

65:                                               ; preds = %28
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %7, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %8, align 4
  br label %105

69:                                               ; preds = %30
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %7, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %8, align 4
  br label %104

73:                                               ; preds = %32
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %7, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %8, align 4
  br label %103

77:                                               ; preds = %34
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %7, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %8, align 4
  br label %102

81:                                               ; preds = %36
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %7, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %8, align 4
  br label %101

85:                                               ; preds = %38
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %7, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %8, align 4
  br label %100

89:                                               ; preds = %40
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %7, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #1
  %93 = getelementptr inbounds [8 x %"struct.std::pair"], ptr %4, i32 0, i32 0
  %94 = getelementptr inbounds %"struct.std::pair", ptr %93, i64 8
  br label %95

95:                                               ; preds = %95, %89
  %96 = phi ptr [ %94, %89 ], [ %97, %95 ]
  %97 = getelementptr inbounds %"struct.std::pair", ptr %96, i64 -1
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %97) #1
  %98 = icmp eq ptr %97, %93
  br i1 %98, label %99, label %95

99:                                               ; preds = %95
  br label %100

100:                                              ; preds = %99, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #1
  br label %101

101:                                              ; preds = %100, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #1
  br label %102

102:                                              ; preds = %101, %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #1
  br label %103

103:                                              ; preds = %102, %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #1
  br label %104

104:                                              ; preds = %103, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #1
  br label %105

105:                                              ; preds = %104, %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #1
  br label %106

106:                                              ; preds = %105, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #1
  br label %107

107:                                              ; preds = %106, %57
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #1
  %108 = load i1, ptr %16, align 1
  br i1 %108, label %109, label %117

109:                                              ; preds = %107
  %110 = load ptr, ptr %5, align 8
  %111 = icmp eq ptr %4, %110
  br i1 %111, label %116, label %112

112:                                              ; preds = %112, %109
  %113 = phi ptr [ %110, %109 ], [ %114, %112 ]
  %114 = getelementptr inbounds %"struct.std::pair", ptr %113, i64 -1
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %114) #1
  %115 = icmp eq ptr %114, %4
  br i1 %115, label %116, label %112

116:                                              ; preds = %112, %109
  br label %117

117:                                              ; preds = %116, %107
  call void @llvm.lifetime.end.p0(i64 320, ptr %4) #1
  call void @__cxa_guard_abort(ptr @_ZGVZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11) #1
  br label %118

118:                                              ; preds = %117
  %119 = load ptr, ptr %7, align 8
  %120 = load i32, ptr %8, align 4
  %121 = insertvalue { ptr, i32 } poison, ptr %119, 0
  %122 = insertvalue { ptr, i32 } %121, i32 %120, 1
  resume { ptr, i32 } %122
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!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}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTSN9NOMAD_4_312BaseStopTypeE", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"_ZTSSt16initializer_listISt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !6, i64 0, !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !14, i64 8}


; 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<NOMAD_4_3::BaseStopType, std::pair<const NOMAD_4_3::BaseStopType, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const NOMAD_4_3::BaseStopType, std::__cxx11::basic_string<char>>>, std::less<NOMAD_4_3::BaseStopType>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<NOMAD_4_3::BaseStopType, std::pair<const NOMAD_4_3::BaseStopType, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const NOMAD_4_3::BaseStopType, std::__cxx11::basic_string<char>>>, std::less<NOMAD_4_3::BaseStopType>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair" = type { i32, %"class.std::__cxx11::basic_string" }
%"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::less" = type { i8 }
%"class.std::allocator.3" = type { i8 }

@_ZZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11 = external hidden global %"class.std::map", align 8
@_ZGVZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11 = external hidden global i64, align 8
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [36 x i8], align 1
@__dso_handle = external hidden global i8

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11Ev(ptr nocapture noundef nonnull readnone align 8 dereferenceable(12) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca [8 x %"struct.std::pair"], align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.std::less", align 1
  %12 = alloca %"class.std::allocator.3", align 1
  %13 = load atomic i8, ptr @_ZGVZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11 acquire, align 8
  %14 = icmp eq i8 %13, 0
  br i1 %14, label %15, label %42, !prof !5

15:                                               ; preds = %1
  %16 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11) #5
  %.not29 = icmp eq i32 %16, 0
  br i1 %.not29, label %42, label %17

17:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 320, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store i32 0, ptr %3, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA8_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(8) @.str)
          to label %18 unwind label %.thread

18:                                               ; preds = %17
  %19 = getelementptr inbounds i8, ptr %2, i64 40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  store i32 1, ptr %4, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA29_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 1 dereferenceable(29) @.str.1)
          to label %20 unwind label %44

20:                                               ; preds = %18
  %21 = getelementptr inbounds i8, ptr %2, i64 80
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 2, ptr %5, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA23_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %21, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 1 dereferenceable(23) @.str.2)
          to label %22 unwind label %46

22:                                               ; preds = %20
  %23 = getelementptr inbounds i8, ptr %2, i64 120
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  store i32 3, ptr %6, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA6_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %23, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 1 dereferenceable(6) @.str.3)
          to label %24 unwind label %48

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %2, i64 160
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store i32 4, ptr %7, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA8_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 1 dereferenceable(8) @.str.4)
          to label %26 unwind label %50

26:                                               ; preds = %24
  %27 = getelementptr inbounds i8, ptr %2, i64 200
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  store i32 5, ptr %8, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA7_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(7) @.str.5)
          to label %28 unwind label %52

28:                                               ; preds = %26
  %29 = getelementptr inbounds i8, ptr %2, i64 240
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  store i32 6, ptr %9, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA25_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %29, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(25) @.str.6)
          to label %30 unwind label %54

30:                                               ; preds = %28
  %31 = getelementptr inbounds i8, ptr %2, i64 280
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store i32 7, ptr %10, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA36_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %31, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(36) @.str.7)
          to label %32 unwind label %56

32:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #5
  call void @_ZNSaISt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  invoke void @_ZNSt3mapIN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEEC2ESt16initializer_listISC_ERKS9_RKSD_(ptr noundef nonnull align 8 dereferenceable(48) @_ZZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11, ptr nonnull %2, i64 8, ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %33 unwind label %.loopexit43.loopexit

33:                                               ; preds = %32
  call void @_ZNSt15__new_allocatorISt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  %34 = getelementptr inbounds i8, ptr %2, i64 280
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %34) #5
  %35 = getelementptr inbounds i8, ptr %2, i64 240
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #5
  %36 = getelementptr inbounds i8, ptr %2, i64 200
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %36) #5
  %37 = getelementptr inbounds i8, ptr %2, i64 160
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %37) #5
  %38 = getelementptr inbounds i8, ptr %2, i64 120
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %38) #5
  %39 = getelementptr inbounds i8, ptr %2, i64 80
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %39) #5
  %40 = getelementptr inbounds i8, ptr %2, i64 40
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %40) #5
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 320, ptr nonnull %2) #5
  %41 = call i32 @__cxa_atexit(ptr nonnull @_ZNSt3mapIN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEED2Ev, ptr nonnull @_ZZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11, ptr nonnull @__dso_handle) #5
  call void @__cxa_guard_release(ptr nonnull @_ZGVZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11) #5
  br label %42

42:                                               ; preds = %33, %15, %1
  ret ptr @_ZZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11

.thread:                                          ; preds = %17
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  br label %.loopexit

44:                                               ; preds = %18
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %72

46:                                               ; preds = %20
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %71

48:                                               ; preds = %22
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %70

50:                                               ; preds = %24
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %69

52:                                               ; preds = %26
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %68

54:                                               ; preds = %28
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %67

56:                                               ; preds = %30
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit43

.loopexit43.loopexit:                             ; preds = %32
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  %59 = getelementptr inbounds i8, ptr %2, i64 280
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %59) #5
  %60 = getelementptr inbounds i8, ptr %2, i64 240
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %60) #5
  %61 = getelementptr inbounds i8, ptr %2, i64 200
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %61) #5
  %62 = getelementptr inbounds i8, ptr %2, i64 160
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %62) #5
  %63 = getelementptr inbounds i8, ptr %2, i64 120
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %63) #5
  %64 = getelementptr inbounds i8, ptr %2, i64 80
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %64) #5
  %65 = getelementptr inbounds i8, ptr %2, i64 40
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %65) #5
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #5
  br label %.loopexit43

.loopexit43:                                      ; preds = %.loopexit43.loopexit, %56
  %.pn = phi { ptr, i32 } [ %57, %56 ], [ %58, %.loopexit43.loopexit ]
  %66 = phi i1 [ false, %56 ], [ true, %.loopexit43.loopexit ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %67

67:                                               ; preds = %.loopexit43, %54
  %.021 = phi ptr [ %31, %.loopexit43 ], [ %29, %54 ]
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit43 ], [ %55, %54 ]
  %.1 = phi i1 [ %66, %.loopexit43 ], [ false, %54 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  br label %68

68:                                               ; preds = %67, %52
  %.122 = phi ptr [ %.021, %67 ], [ %27, %52 ]
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %67 ], [ %53, %52 ]
  %.2 = phi i1 [ %.1, %67 ], [ false, %52 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  br label %69

69:                                               ; preds = %68, %50
  %.223 = phi ptr [ %.122, %68 ], [ %25, %50 ]
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %68 ], [ %51, %50 ]
  %.3 = phi i1 [ %.2, %68 ], [ false, %50 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  br label %70

70:                                               ; preds = %69, %48
  %.324 = phi ptr [ %.223, %69 ], [ %23, %48 ]
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %69 ], [ %49, %48 ]
  %.4 = phi i1 [ %.3, %69 ], [ false, %48 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br label %71

71:                                               ; preds = %70, %46
  %.425 = phi ptr [ %.324, %70 ], [ %21, %46 ]
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %70 ], [ %47, %46 ]
  %.5 = phi i1 [ %.4, %70 ], [ false, %46 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %72

72:                                               ; preds = %44, %71
  %.526 = phi ptr [ %.425, %71 ], [ %19, %44 ]
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %71 ], [ %45, %44 ]
  %.6 = phi i1 [ %.5, %71 ], [ false, %44 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  %73 = icmp eq ptr %2, %.526
  %or.cond = or i1 %73, %.6
  br i1 %or.cond, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %72, %.preheader
  %74 = phi ptr [ %75, %.preheader ], [ %.526, %72 ]
  %75 = getelementptr inbounds i8, ptr %74, i64 -40
  call void @_ZNSt4pairIKN9NOMAD_4_312BaseStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %75) #5
  %76 = icmp eq ptr %75, %2
  br i1 %76, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread, %72
  %.pn.pn.pn.pn.pn.pn.pn.pn42 = phi { ptr, i32 } [ %43, %.thread ], [ %.pn.pn.pn.pn.pn.pn.pn, %72 ], [ %.pn.pn.pn.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 320, ptr nonnull %2) #5
  call void @__cxa_guard_abort(ptr nonnull @_ZGVZNK9NOMAD_4_310StopReasonINS_12BaseStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11) #5
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn42
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nofree nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #1

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

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

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


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