; LLVM IR from facebook/redex :: libredex (ControlFlow)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.boost::intrusive::reverse_iterator" = type { %"class.boost::intrusive::list_iterator" }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.180" = type { ptr }
%"class.boost::optional" = type { %"class.boost::optional_detail::tc_optional_base" }
%"class.boost::optional_detail::tc_optional_base" = type { i8, i32 }
%"class.cfg::ControlFlowGraph" = type { %"class.std::map", %class.UnorderedSet, ptr, ptr, ptr, i32, i8, i8, i8, %"class.std::vector" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, cfg::Block *>, std::_Select1st<std::pair<const unsigned long, cfg::Block *>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, cfg::Block *>, std::_Select1st<std::pair<const unsigned long, cfg::Block *>>, std::less<unsigned long>>::_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.UnorderedSet = type { %"class.std::unordered_set" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl" }
%"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl" = type { %"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.178" = type { i64, ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.16 }
%"class.boost::intrusive::list_member_hook" = type { %"class.boost::intrusive::generic_hook" }
%"class.boost::intrusive::generic_hook" = type { %"struct.boost::intrusive::list_node" }
%"struct.boost::intrusive::list_node" = type { ptr, ptr }
%union.anon.16 = type { ptr }
%"struct.std::pair.176" = type { ptr, ptr }
%struct.BranchTarget = type { ptr, i32, i32 }
%"class.cfg::Block" = type { i64, %class.IRList, %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator", %"class.std::vector.11", %"class.std::vector.11", ptr }
%class.IRList = type { %"class.boost::intrusive::list" }
%"class.boost::intrusive::list" = type { %"class.boost::intrusive::list_impl" }
%"class.boost::intrusive::list_impl" = type { %"struct.boost::intrusive::list_impl<boost::intrusive::mhtraits<MethodItemEntry, boost::intrusive::list_member_hook<>, &MethodItemEntry::list_hook_>, unsigned long, true, void>::data_t" }
%"struct.boost::intrusive::list_impl<boost::intrusive::mhtraits<MethodItemEntry, boost::intrusive::list_member_hook<>, &MethodItemEntry::list_hook_>, unsigned long, true, void>::data_t" = type { %"struct.boost::intrusive::list_impl<boost::intrusive::mhtraits<MethodItemEntry, boost::intrusive::list_member_hook<>, &MethodItemEntry::list_hook_>, unsigned long, true, void>::root_plus_size" }
%"struct.boost::intrusive::list_impl<boost::intrusive::mhtraits<MethodItemEntry, boost::intrusive::list_member_hook<>, &MethodItemEntry::list_hook_>, unsigned long, true, void>::root_plus_size" = type { %"struct.boost::intrusive::detail::size_holder", %"struct.boost::intrusive::detail::default_header_holder" }
%"struct.boost::intrusive::detail::size_holder" = type { i64 }
%"struct.boost::intrusive::detail::default_header_holder" = type { %"struct.boost::intrusive::list_node" }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<cfg::Edge *, std::allocator<cfg::Edge *>>::_Vector_impl" }
%"struct.std::_Vector_base<cfg::Edge *, std::allocator<cfg::Edge *>>::_Vector_impl" = type { %"struct.std::_Vector_base<cfg::Edge *, std::allocator<cfg::Edge *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cfg::Edge *, std::allocator<cfg::Edge *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.8 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [32 x i8], align 1
@__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph14connect_blocksER12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPNS_5BlockES3_ESaIS8_EESt4hashIS3_ESt8equal_toIS3_EE = external hidden unnamed_addr constant [62 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [21 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

declare void @_Z4showB5cxx11RKN3cfg16ControlFlowGraphEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(160), i1 noundef zeroext) #2

; Function Attrs: nounwind
declare void @_ZN13IRInstructionD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #4

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6IRList17erase_and_disposeERKN5boost9intrusive13list_iteratorINS1_8mhtraitsI15MethodItemEntryNS1_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEE(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) #6 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode11is_a_returnE8IROpcode(i16 noundef zeroext) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode9is_switchE8IROpcode(i16 noundef zeroext) #7

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg5Block6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode7is_gotoE8IROpcode(i16 noundef zeroext) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6IRList11iterator_toER15MethodItemEntry(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) #6 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cfg16ControlFlowGraph14connect_blocksER12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPNS_5BlockES3_ESaIS8_EESt4hashIS3_ESt8equal_toIS3_EE(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef nonnull align 8 dereferenceable(56) %1) #6 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %6 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.boost::intrusive::reverse_iterator", align 8
  %11 = alloca i8, align 1
  %12 = alloca i16, align 2
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.180", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.180", align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.boost::optional", align 4
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca i1, align 1
  %24 = alloca i1, align 1
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca %"class.boost::intrusive::list_iterator", align 8
  %28 = alloca %"class.boost::intrusive::list_iterator", align 8
  %29 = alloca i8, align 1
  %30 = alloca %"class.boost::intrusive::list_iterator", align 8
  %31 = alloca %"class.boost::intrusive::list_iterator", align 8
  %32 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %33 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %34 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %35 = alloca ptr, align 8
  %36 = alloca i8, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %37 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #11
  %38 = getelementptr inbounds %"class.cfg::ControlFlowGraph", ptr %37, i32 0, i32 0
  %39 = call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %38) #11
  %40 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %5, i32 0, i32 0
  store ptr %39, ptr %40, align 8
  br label %41

41:                                               ; preds = %247, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #11
  %42 = getelementptr inbounds %"class.cfg::ControlFlowGraph", ptr %37, i32 0, i32 0
  %43 = call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %42) #11
  %44 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %6, i32 0, i32 0
  store ptr %43, ptr %44, align 8
  %45 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #11
  br i1 %45, label %47, label %46

46:                                               ; preds = %41
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #11
  br label %249

47:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #11
  %48 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #11
  %49 = getelementptr inbounds %"struct.std::pair.178", ptr %48, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  store ptr %50, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #11
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN3cfg5Block6rbeginEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::reverse_iterator") align 8 %10, ptr noundef nonnull align 8 dereferenceable(104) %51)
  %52 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK5boost9intrusive16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #11
  store ptr %52, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #11
  store i8 1, ptr %11, align 1, !tbaa !12
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.MethodItemEntry, ptr %53, i32 0, i32 1
  %55 = load i32, ptr %54, align 8, !tbaa !14
  %56 = icmp eq i32 %55, 2
  br i1 %56, label %57, label %218

57:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #11
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.MethodItemEntry, ptr %58, i32 0, i32 2
  %60 = load ptr, ptr %59, align 8, !tbaa !20
  %61 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %60)
  store i16 %61, ptr %12, align 2, !tbaa !21
  %62 = load i16, ptr %12, align 2, !tbaa !21
  %63 = call noundef zeroext i1 @_ZN6opcode9is_branchE8IROpcode(i16 noundef zeroext %62)
  br i1 %63, label %64, label %208

64:                                               ; preds = %57
  %65 = load i16, ptr %12, align 2, !tbaa !21
  %66 = call noundef zeroext i1 @_ZN6opcode7is_gotoE8IROpcode(i16 noundef zeroext %65)
  %67 = xor i1 %66, true
  %68 = zext i1 %67 to i8
  store i8 %68, ptr %11, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #11
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #11
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %70, ptr %14, align 8, !tbaa !5
  %71 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPN3cfg5BlockES1_ESaIS7_EESt4hashIS1_ESt8equal_toIS1_EEixEOS1_(ptr noundef nonnull align 8 dereferenceable(56) %69, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #11
  store ptr %71, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #11
  %72 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %72, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #11
  %73 = load ptr, ptr %15, align 8, !tbaa !5
  %74 = call ptr @_ZNKSt6vectorISt4pairIPN3cfg5BlockEP15MethodItemEntryESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %73) #11
  %75 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.180", ptr %16, i32 0, i32 0
  store ptr %74, ptr %75, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  %76 = load ptr, ptr %15, align 8, !tbaa !5
  %77 = call ptr @_ZNKSt6vectorISt4pairIPN3cfg5BlockEP15MethodItemEntryESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %76) #11
  %78 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.180", ptr %17, i32 0, i32 0
  store ptr %77, ptr %78, align 8
  br label %79

79:                                               ; preds = %186, %64
  %80 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIPN3cfg5BlockEP15MethodItemEntryESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #11
  br i1 %80, label %82, label %81

81:                                               ; preds = %79
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  br label %188

82:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  %83 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIPN3cfg5BlockEP15MethodItemEntryESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #11
  store ptr %83, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  %84 = load ptr, ptr %18, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.std::pair.176", ptr %84, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8, !tbaa !23
  store ptr %86, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #11
  %87 = load ptr, ptr %18, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.std::pair.176", ptr %87, i32 0, i32 1
  %89 = load ptr, ptr %88, align 8, !tbaa !25
  store ptr %89, ptr %20, align 8, !tbaa !5
  %90 = load ptr, ptr %20, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.MethodItemEntry, ptr %90, i32 0, i32 1
  %92 = load i32, ptr %91, align 8, !tbaa !14
  %93 = icmp eq i32 %92, 4
  br i1 %93, label %94, label %95

94:                                               ; preds = %82
  br label %97

95:                                               ; preds = %82
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.30, ptr noundef @.str.8, i32 noundef 927, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph14connect_blocksER12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPNS_5BlockES3_ESaIS8_EESt4hashIS3_ESt8equal_toIS3_EE, i32 noundef 2, ptr noundef @.str.9) #12
  unreachable

96:                                               ; No predecessors!
  br label %97

97:                                               ; preds = %96, %94
  %98 = load ptr, ptr %20, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.MethodItemEntry, ptr %98, i32 0, i32 2
  %100 = load ptr, ptr %99, align 8, !tbaa !20
  %101 = getelementptr inbounds %struct.BranchTarget, ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !26
  %103 = load ptr, ptr %9, align 8, !tbaa !5
  %104 = icmp eq ptr %102, %103
  br i1 %104, label %105, label %106

105:                                              ; preds = %97
  br label %108

106:                                              ; preds = %97
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.31, ptr noundef @.str.8, i32 noundef 928, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph14connect_blocksER12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPNS_5BlockES3_ESaIS8_EESt4hashIS3_ESt8equal_toIS3_EE, i32 noundef 2, ptr noundef @.str.9) #12
  unreachable

107:                                              ; No predecessors!
  br label %108

108:                                              ; preds = %107, %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #11
  call void @_ZN5boost8optionalIiEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %21) #11
  %109 = load ptr, ptr %20, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.MethodItemEntry, ptr %109, i32 0, i32 2
  %111 = load ptr, ptr %110, align 8, !tbaa !20
  %112 = getelementptr inbounds %struct.BranchTarget, ptr %111, i32 0, i32 1
  %113 = load i32, ptr %112, align 8, !tbaa !30
  %114 = icmp eq i32 %113, 1
  br i1 %114, label %115, label %150

115:                                              ; preds = %108
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.MethodItemEntry, ptr %116, i32 0, i32 2
  %118 = load ptr, ptr %117, align 8, !tbaa !20
  %119 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %118)
  %120 = call noundef zeroext i1 @_ZN6opcode9is_switchE8IROpcode(i16 noundef zeroext %119)
  store i1 false, ptr %23, align 1
  store i1 false, ptr %24, align 1
  br i1 %120, label %121, label %122

121:                                              ; preds = %115
  br label %133

122:                                              ; preds = %115
  %123 = load ptr, ptr %19, align 8, !tbaa !5
  %124 = call noundef i64 @_ZNK3cfg5Block2idEv(ptr noundef nonnull align 8 dereferenceable(104) %123)
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #11
  store i1 true, ptr %23, align 1
  call void @_Z4showB5cxx11RKN3cfg16ControlFlowGraphEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %22, ptr noundef nonnull align 8 dereferenceable(160) %37, i1 noundef zeroext false)
  store i1 true, ptr %24, align 1
  %125 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.32, ptr noundef @.str.8, i32 noundef 933, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph14connect_blocksER12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPNS_5BlockES3_ESaIS8_EESt4hashIS3_ESt8equal_toIS3_EE, i32 noundef 2, ptr noundef @.str.33, i64 noundef %124, ptr noundef %125) #12
          to label %126 unwind label %127

126:                                              ; preds = %122
  unreachable

127:                                              ; preds = %122
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %25, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %26, align 4
  %131 = load i1, ptr %24, align 1
  br i1 %131, label %145, label %146

132:                                              ; No predecessors!
  br label %133

133:                                              ; preds = %132, %121
  %134 = load i1, ptr %24, align 1
  br i1 %134, label %135, label %136

135:                                              ; preds = %133
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  br label %136

136:                                              ; preds = %135, %133
  %137 = load i1, ptr %23, align 1
  br i1 %137, label %138, label %139

138:                                              ; preds = %136
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #11
  br label %139

139:                                              ; preds = %138, %136
  %140 = load ptr, ptr %20, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.MethodItemEntry, ptr %140, i32 0, i32 2
  %142 = load ptr, ptr %141, align 8, !tbaa !20
  %143 = getelementptr inbounds %struct.BranchTarget, ptr %142, i32 0, i32 2
  %144 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN5boost8optionalIiEaSIRiEENS_9enable_ifINS_7is_sameIiNS_5decayIT_E4typeEEERS1_E4typeEOS7_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(4) %143)
  br label %161

145:                                              ; preds = %127
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  br label %146

146:                                              ; preds = %145, %127
  %147 = load i1, ptr %23, align 1
  br i1 %147, label %148, label %149

148:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #11
  br label %149

149:                                              ; preds = %148, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #11
  br label %255

150:                                              ; preds = %108
  %151 = load ptr, ptr %20, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.MethodItemEntry, ptr %151, i32 0, i32 2
  %153 = load ptr, ptr %152, align 8, !tbaa !20
  %154 = getelementptr inbounds %struct.BranchTarget, ptr %153, i32 0, i32 1
  %155 = load i32, ptr %154, align 8, !tbaa !30
  %156 = icmp eq i32 %155, 0
  br i1 %156, label %157, label %158

157:                                              ; preds = %150
  br label %160

158:                                              ; preds = %150
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.34, ptr noundef @.str.8, i32 noundef 936, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph14connect_blocksER12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPNS_5BlockES3_ESaIS8_EESt4hashIS3_ESt8equal_toIS3_EE, i32 noundef 2, ptr noundef @.str.9) #12
  unreachable

159:                                              ; No predecessors!
  br label %160

160:                                              ; preds = %159, %157
  br label %161

161:                                              ; preds = %160, %139
  %162 = getelementptr inbounds %"class.cfg::ControlFlowGraph", ptr %37, i32 0, i32 6
  %163 = load i8, ptr %162, align 4, !tbaa !31, !range !51, !noundef !52
  %164 = trunc i8 %163 to i1
  br i1 %164, label %165, label %171

165:                                              ; preds = %161
  %166 = load ptr, ptr %19, align 8, !tbaa !5
  %167 = getelementptr inbounds %"class.cfg::Block", ptr %166, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #11
  %168 = load ptr, ptr %19, align 8, !tbaa !5
  %169 = getelementptr inbounds %"class.cfg::Block", ptr %168, i32 0, i32 1
  %170 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN6IRList11iterator_toER15MethodItemEntry(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %27, ptr noundef nonnull align 8 dereferenceable(24) %169, ptr noundef nonnull align 8 dereferenceable(32) %170)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #11
  call void @_ZN6IRList17erase_and_disposeERKN5boost9intrusive13list_iteratorINS1_8mhtraitsI15MethodItemEntryNS1_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEE(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %28, ptr noundef nonnull align 8 dereferenceable(24) %167, ptr noundef nonnull align 8 dereferenceable(8) %27)
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #11
  br label %171

171:                                              ; preds = %165, %161
  %172 = call noundef zeroext i1 @_ZNK5boost8optionalIiEcvbEv(ptr noundef nonnull align 4 dereferenceable(8) %21) #11
  br i1 %172, label %173, label %175

173:                                              ; preds = %171
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNR5boost8optionalIiEdeEv(ptr noundef nonnull align 4 dereferenceable(8) %21)
  call void @_ZN3cfg16ControlFlowGraph8add_edgeIJRPNS_5BlockES4_RiEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(160) %37, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(4) %174)
  store i32 6, ptr %7, align 4
  br label %180

175:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #11
  %176 = load i16, ptr %12, align 2, !tbaa !21
  %177 = call noundef zeroext i1 @_ZN6opcode7is_gotoE8IROpcode(i16 noundef zeroext %176)
  %178 = zext i1 %177 to i64
  %179 = select i1 %177, i8 0, i8 1
  store i8 %179, ptr %29, align 1, !tbaa !53
  call void @_ZN3cfg16ControlFlowGraph8add_edgeIJRPNS_5BlockES4_RNS_8EdgeTypeEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(160) %37, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 1 dereferenceable(1) %29)
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #11
  store i32 0, ptr %7, align 4
  br label %180

180:                                              ; preds = %175, %173
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  %181 = load i32, ptr %7, align 4
  switch i32 %181, label %183 [
    i32 0, label %182
  ]

182:                                              ; preds = %180
  store i32 0, ptr %7, align 4
  br label %183

183:                                              ; preds = %182, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  %184 = load i32, ptr %7, align 4
  switch i32 %184, label %260 [
    i32 0, label %185
    i32 6, label %186
  ]

185:                                              ; preds = %183
  br label %186

186:                                              ; preds = %185, %183
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIPN3cfg5BlockEP15MethodItemEntryESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #11
  br label %79

188:                                              ; preds = %81
  %189 = getelementptr inbounds %"class.cfg::ControlFlowGraph", ptr %37, i32 0, i32 6
  %190 = load i8, ptr %189, align 4, !tbaa !31, !range !51, !noundef !52
  %191 = trunc i8 %190 to i1
  br i1 %191, label %192, label %207

192:                                              ; preds = %188
  %193 = load i16, ptr %12, align 2, !tbaa !21
  %194 = call noundef zeroext i1 @_ZN6opcode7is_gotoE8IROpcode(i16 noundef zeroext %193)
  br i1 %194, label %195, label %207

195:                                              ; preds = %192
  %196 = load ptr, ptr %9, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.MethodItemEntry, ptr %196, i32 0, i32 2
  %198 = load ptr, ptr %197, align 8, !tbaa !20
  %199 = icmp eq ptr %198, null
  br i1 %199, label %201, label %200

200:                                              ; preds = %195
  call void @_ZN13IRInstructionD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %198) #11
  call void @_ZdlPvm(ptr noundef %198, i64 noundef 32) #13
  br label %201

201:                                              ; preds = %200, %195
  %202 = load ptr, ptr %8, align 8, !tbaa !5
  %203 = getelementptr inbounds %"class.cfg::Block", ptr %202, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #11
  %204 = load ptr, ptr %8, align 8, !tbaa !5
  %205 = getelementptr inbounds %"class.cfg::Block", ptr %204, i32 0, i32 1
  %206 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN6IRList11iterator_toER15MethodItemEntry(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %30, ptr noundef nonnull align 8 dereferenceable(24) %205, ptr noundef nonnull align 8 dereferenceable(32) %206)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #11
  call void @_ZN6IRList17erase_and_disposeERKN5boost9intrusive13list_iteratorINS1_8mhtraitsI15MethodItemEntryNS1_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEE(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %31, ptr noundef nonnull align 8 dereferenceable(24) %203, ptr noundef nonnull align 8 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  br label %207

207:                                              ; preds = %201, %192, %188
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #11
  br label %217

208:                                              ; preds = %57
  %209 = load i16, ptr %12, align 2, !tbaa !21
  %210 = call noundef zeroext i1 @_ZN6opcode11is_a_returnE8IROpcode(i16 noundef zeroext %209)
  br i1 %210, label %215, label %211

211:                                              ; preds = %208
  %212 = load i16, ptr %12, align 2, !tbaa !21
  %213 = zext i16 %212 to i32
  %214 = icmp eq i32 %213, 25
  br i1 %214, label %215, label %216

215:                                              ; preds = %211, %208
  store i8 0, ptr %11, align 1, !tbaa !12
  br label %216

216:                                              ; preds = %215, %211
  br label %217

217:                                              ; preds = %216, %207
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #11
  br label %218

218:                                              ; preds = %217, %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 %5, i64 8, i1 false), !tbaa.struct !55
  %219 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %33, i32 0, i32 0
  %220 = load ptr, ptr %219, align 8
  %221 = call ptr @_ZSt4nextISt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEET_S8_NSt15iterator_traitsIS8_E15difference_typeE(ptr %220, i64 noundef 1)
  %222 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %32, i32 0, i32 0
  store ptr %221, ptr %222, align 8
  %223 = load i8, ptr %11, align 1, !tbaa !12, !range !51, !noundef !52
  %224 = trunc i8 %223 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #11
  br i1 %224, label %225, label %230

225:                                              ; preds = %218
  %226 = getelementptr inbounds %"class.cfg::ControlFlowGraph", ptr %37, i32 0, i32 0
  %227 = call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %226) #11
  %228 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %34, i32 0, i32 0
  store ptr %227, ptr %228, align 8
  %229 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %34) #11
  br label %230

230:                                              ; preds = %225, %218
  %231 = phi i1 [ false, %218 ], [ %229, %225 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #11
  br i1 %231, label %232, label %246

232:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #11
  %233 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #11
  %234 = getelementptr inbounds %"struct.std::pair.178", ptr %233, i32 0, i32 1
  %235 = load ptr, ptr %234, align 8, !tbaa !9
  store ptr %235, ptr %35, align 8, !tbaa !5
  br label %236

236:                                              ; preds = %232
  %237 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 19, i32 noundef 6)
  br i1 %237, label %238, label %243

238:                                              ; preds = %236
  %239 = load ptr, ptr %8, align 8, !tbaa !5
  %240 = call noundef i64 @_ZNK3cfg5Block2idEv(ptr noundef nonnull align 8 dereferenceable(104) %239)
  %241 = load ptr, ptr %35, align 8, !tbaa !5
  %242 = call noundef i64 @_ZNK3cfg5Block2idEv(ptr noundef nonnull align 8 dereferenceable(104) %241)
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 19, i32 noundef 6, i1 noundef zeroext false, ptr noundef @.str.35, i64 noundef %240, i64 noundef %242)
  br label %243

243:                                              ; preds = %238, %236
  br label %244

244:                                              ; preds = %243
  br label %245

245:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #11
  store i8 0, ptr %36, align 1, !tbaa !53
  call void @_ZN3cfg16ControlFlowGraph8add_edgeIJRPNS_5BlockES4_NS_8EdgeTypeEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(160) %37, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 1 dereferenceable(1) %36)
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #11
  br label %246

246:                                              ; preds = %245, %230
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #11
  br label %247

247:                                              ; preds = %246
  %248 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #11
  br label %41, !llvm.loop !56

249:                                              ; preds = %46
  br label %250

250:                                              ; preds = %249
  %251 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 19, i32 noundef 5)
  br i1 %251, label %252, label %253

252:                                              ; preds = %250
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 19, i32 noundef 5, i1 noundef zeroext false, ptr noundef @.str.36)
  br label %253

253:                                              ; preds = %252, %250
  br label %254

254:                                              ; preds = %253
  ret void

255:                                              ; preds = %149
  %256 = load ptr, ptr %25, align 8
  %257 = load i32, ptr %26, align 4
  %258 = insertvalue { ptr, i32 } poison, ptr %256, 0
  %259 = insertvalue { ptr, i32 } %258, i32 %257, 1
  resume { ptr, i32 } %259

260:                                              ; preds = %183
  unreachable
}

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode9is_branchE8IROpcode(i16 noundef zeroext) #7

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg16ControlFlowGraph8add_edgeIJRPNS_5BlockES4_RiEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg16ControlFlowGraph8add_edgeIJRPNS_5BlockES4_RNS_8EdgeTypeEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4nextISt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEET_S8_NSt15iterator_traitsIS8_E15difference_typeE(ptr, i64 noundef) #10

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg16ControlFlowGraph8add_edgeIJRPNS_5BlockES4_NS_8EdgeTypeEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) #6 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSSt4pairIKmPN3cfg5BlockEE", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!15, !19, i64 16}
!15 = !{!"_ZTS15MethodItemEntry", !16, i64 0, !19, i64 16, !7, i64 24}
!16 = !{!"_ZTSN5boost9intrusive16list_member_hookIJEEE", !17, i64 0}
!17 = !{!"_ZTSN5boost9intrusive12generic_hookILNS0_10algo_typesE0ENS0_16list_node_traitsIPvEENS0_10member_tagELNS0_14link_mode_typeE1ELNS0_14base_hook_typeE0EEE", !18, i64 0}
!18 = !{!"_ZTSN5boost9intrusive9list_nodeIPvEE", !6, i64 0, !6, i64 8}
!19 = !{!"_ZTS14MethodItemType", !7, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"_ZTS8IROpcode", !7, i64 0}
!23 = !{!24, !6, i64 0}
!24 = !{!"_ZTSSt4pairIPN3cfg5BlockEP15MethodItemEntryE", !6, i64 0, !6, i64 8}
!25 = !{!24, !6, i64 8}
!26 = !{!27, !6, i64 0}
!27 = !{!"_ZTS12BranchTarget", !6, i64 0, !28, i64 8, !29, i64 12}
!28 = !{!"_ZTS16BranchTargetType", !7, i64 0}
!29 = !{!"int", !7, i64 0}
!30 = !{!27, !28, i64 8}
!31 = !{!32, !13, i64 132}
!32 = !{!"_ZTSN3cfg16ControlFlowGraphE", !33, i64 0, !41, i64 48, !6, i64 104, !6, i64 112, !6, i64 120, !29, i64 128, !13, i64 132, !13, i64 133, !13, i64 134, !47, i64 136}
!33 = !{!"_ZTSSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE", !34, i64 0}
!34 = !{!"_ZTSSt8_Rb_treeImSt4pairIKmPN3cfg5BlockEESt10_Select1stIS5_ESt4lessImESaIS5_EE", !35, i64 0}
!35 = !{!"_ZTSNSt8_Rb_treeImSt4pairIKmPN3cfg5BlockEESt10_Select1stIS5_ESt4lessImESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !36, i64 0, !38, i64 8}
!36 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessImEE", !37, i64 0}
!37 = !{!"_ZTSSt4lessImE"}
!38 = !{!"_ZTSSt15_Rb_tree_header", !39, i64 0, !11, i64 32}
!39 = !{!"_ZTSSt18_Rb_tree_node_base", !40, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!40 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!41 = !{!"_ZTS12UnorderedSetIPN3cfg4EdgeESt4hashIS2_ESt8equal_toIS2_EE", !42, i64 0}
!42 = !{!"_ZTSSt13unordered_setIPN3cfg4EdgeESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE", !43, i64 0}
!43 = !{!"_ZTSSt10_HashtableIPN3cfg4EdgeES2_SaIS2_ENSt8__detail9_IdentityESt8equal_toIS2_ESt4hashIS2_ENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !11, i64 8, !44, i64 16, !11, i64 24, !45, i64 32, !6, i64 48}
!44 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!45 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !46, i64 0, !11, i64 8}
!46 = !{!"float", !7, i64 0}
!47 = !{!"_ZTSSt6vectorIP13IRInstructionSaIS1_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIP13IRInstructionSaIS1_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIP13IRInstructionSaIS1_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIP13IRInstructionSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{i8 0, i8 2}
!52 = !{}
!53 = !{!54, !54, i64 0}
!54 = !{!"_ZTSN3cfg8EdgeTypeE", !7, i64 0}
!55 = !{i64 0, i64 8, !5}
!56 = distinct !{!56, !57}
!57 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.boost::intrusive::reverse_iterator" = type { %"class.boost::intrusive::list_iterator" }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.180" = type { ptr }
%"class.boost::optional" = type { %"class.boost::optional_detail::tc_optional_base" }
%"class.boost::optional_detail::tc_optional_base" = type { i8, i32 }

@.str.8 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [32 x i8], align 1
@__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph14connect_blocksER12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPNS_5BlockES3_ESaIS8_EESt4hashIS3_ESt8equal_toIS3_EE = external hidden unnamed_addr constant [62 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [21 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

declare void @_Z4showB5cxx11RKN3cfg16ControlFlowGraphEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(160), i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN13IRInstructionD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6IRList17erase_and_disposeERKN5boost9intrusive13list_iteratorINS1_8mhtraitsI15MethodItemEntryNS1_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEE(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode11is_a_returnE8IROpcode(i16 noundef zeroext) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode9is_switchE8IROpcode(i16 noundef zeroext) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg5Block6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode7is_gotoE8IROpcode(i16 noundef zeroext) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6IRList11iterator_toER15MethodItemEntry(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cfg16ControlFlowGraph14connect_blocksER12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPNS_5BlockES3_ESaIS8_EESt4hashIS3_ESt8equal_toIS3_EE(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef nonnull align 8 dereferenceable(56) %1) local_unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %4 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.boost::intrusive::reverse_iterator", align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.180", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.180", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.boost::optional", align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.boost::intrusive::list_iterator", align 8
  %14 = alloca %"class.boost::intrusive::list_iterator", align 8
  %15 = alloca i8, align 1
  %16 = alloca %"class.boost::intrusive::list_iterator", align 8
  %17 = alloca %"class.boost::intrusive::list_iterator", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %19 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %20 = alloca ptr, align 8
  %21 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #10
  %22 = tail call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #10
  store ptr %22, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  %23 = tail call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #10
  store ptr %23, ptr %4, align 8
  %24 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  br i1 %24, label %.lr.ph43, label %._crit_edge44

.lr.ph43:                                         ; preds = %2
  %25 = getelementptr inbounds i8, ptr %0, i64 132
  br label %27

._crit_edge44:                                    ; preds = %129, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #10
  %26 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 19, i32 noundef 5)
  br i1 %26, label %133, label %134

27:                                               ; preds = %.lr.ph43, %129
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  %28 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !5
  store ptr %30, ptr %5, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  call void @_ZN3cfg5Block6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::reverse_iterator") align 8 %6, ptr noundef nonnull align 8 dereferenceable(104) %30)
  %31 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK5boost9intrusive16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  %32 = getelementptr inbounds i8, ptr %31, i64 16
  %33 = load i32, ptr %32, align 8, !tbaa !12
  %34 = icmp eq i32 %33, 2
  br i1 %34, label %35, label %.critedge39

35:                                               ; preds = %27
  %36 = getelementptr inbounds i8, ptr %31, i64 24
  %37 = load ptr, ptr %36, align 8, !tbaa !18
  %38 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %37)
  %39 = call noundef zeroext i1 @_ZN6opcode9is_branchE8IROpcode(i16 noundef zeroext %38)
  br i1 %39, label %40, label %108

40:                                               ; preds = %35
  %41 = call noundef zeroext i1 @_ZN6opcode7is_gotoE8IROpcode(i16 noundef zeroext %38)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  store ptr %31, ptr %7, align 8, !tbaa !11
  %42 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPN3cfg5BlockES1_ESaIS7_EESt4hashIS1_ESt8equal_toIS1_EEixEOS1_(ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #10
  %43 = call ptr @_ZNKSt6vectorISt4pairIPN3cfg5BlockEP15MethodItemEntryESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #10
  store ptr %43, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #10
  %44 = call ptr @_ZNKSt6vectorISt4pairIPN3cfg5BlockEP15MethodItemEntryESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #10
  store ptr %44, ptr %9, align 8
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIPN3cfg5BlockEP15MethodItemEntryESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  br i1 %45, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %95, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  %46 = load i8, ptr %25, align 4, !tbaa !19, !range !41, !noundef !42
  %47 = trunc nuw i8 %46 to i1
  br i1 %47, label %98, label %112

.lr.ph:                                           ; preds = %40, %95
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIPN3cfg5BlockEP15MethodItemEntryESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  %49 = load ptr, ptr %48, align 8, !tbaa !43
  store ptr %49, ptr %10, align 8, !tbaa !11
  %50 = getelementptr inbounds i8, ptr %48, i64 8
  %51 = load ptr, ptr %50, align 8, !tbaa !45
  %52 = getelementptr inbounds i8, ptr %51, i64 16
  %53 = load i32, ptr %52, align 8, !tbaa !12
  %54 = icmp eq i32 %53, 4
  br i1 %54, label %56, label %55

55:                                               ; preds = %.lr.ph
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.8, i32 noundef 927, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph14connect_blocksER12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPNS_5BlockES3_ESaIS8_EESt4hashIS3_ESt8equal_toIS3_EE, i32 noundef 2, ptr noundef nonnull @.str.9) #11
  unreachable

56:                                               ; preds = %.lr.ph
  %57 = getelementptr inbounds i8, ptr %51, i64 24
  %58 = load ptr, ptr %57, align 8, !tbaa !18
  %59 = load ptr, ptr %58, align 8, !tbaa !46
  %60 = icmp eq ptr %59, %31
  br i1 %60, label %62, label %61

61:                                               ; preds = %56
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.8, i32 noundef 928, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph14connect_blocksER12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPNS_5BlockES3_ESaIS8_EESt4hashIS3_ESt8equal_toIS3_EE, i32 noundef 2, ptr noundef nonnull @.str.9) #11
  unreachable

62:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  call void @_ZN5boost8optionalIiEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %11) #10
  %63 = load ptr, ptr %57, align 8, !tbaa !18
  %64 = getelementptr inbounds i8, ptr %63, i64 8
  %65 = load i32, ptr %64, align 8, !tbaa !49
  switch i32 %65, label %81 [
    i32 1, label %66
    i32 0, label %82
  ]

66:                                               ; preds = %62
  %67 = load ptr, ptr %36, align 8, !tbaa !18
  %68 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %67)
  %69 = call noundef zeroext i1 @_ZN6opcode9is_switchE8IROpcode(i16 noundef zeroext %68)
  br i1 %69, label %77, label %70

70:                                               ; preds = %66
  %71 = load ptr, ptr %10, align 8, !tbaa !11
  %72 = call noundef i64 @_ZNK3cfg5Block2idEv(ptr noundef nonnull align 8 dereferenceable(104) %71)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #10
  call void @_Z4showB5cxx11RKN3cfg16ControlFlowGraphEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(160) %0, i1 noundef zeroext false)
  %73 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.8, i32 noundef 933, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph14connect_blocksER12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPNS_5BlockES3_ESaIS8_EESt4hashIS3_ESt8equal_toIS3_EE, i32 noundef 2, ptr noundef nonnull @.str.33, i64 noundef %72, ptr noundef %73) #11
          to label %74 unwind label %75

74:                                               ; preds = %70
  unreachable

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

77:                                               ; preds = %66
  %78 = load ptr, ptr %57, align 8, !tbaa !18
  %79 = getelementptr inbounds i8, ptr %78, i64 12
  %80 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN5boost8optionalIiEaSIRiEENS_9enable_ifINS_7is_sameIiNS_5decayIT_E4typeEEERS1_E4typeEOS7_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(4) %79)
  br label %82

81:                                               ; preds = %62
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.8, i32 noundef 936, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph14connect_blocksER12UnorderedMapIP15MethodItemEntrySt6vectorISt4pairIPNS_5BlockES3_ESaIS8_EESt4hashIS3_ESt8equal_toIS3_EE, i32 noundef 2, ptr noundef nonnull @.str.9) #11
  unreachable

82:                                               ; preds = %62, %77
  %83 = load i8, ptr %25, align 4, !tbaa !19, !range !41, !noundef !42
  %84 = trunc nuw i8 %83 to i1
  br i1 %84, label %85, label %88

85:                                               ; preds = %82
  %86 = load ptr, ptr %10, align 8, !tbaa !11
  %87 = getelementptr inbounds i8, ptr %86, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  call void @_ZN6IRList11iterator_toER15MethodItemEntry(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %87, ptr noundef nonnull align 8 dereferenceable(32) %51)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  call void @_ZN6IRList17erase_and_disposeERKN5boost9intrusive13list_iteratorINS1_8mhtraitsI15MethodItemEntryNS1_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEE(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %87, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br label %88

88:                                               ; preds = %85, %82
  %89 = call noundef zeroext i1 @_ZNK5boost8optionalIiEcvbEv(ptr noundef nonnull align 4 dereferenceable(8) %11) #10
  br i1 %89, label %90, label %92

90:                                               ; preds = %88
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNR5boost8optionalIiEdeEv(ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @_ZN3cfg16ControlFlowGraph8add_edgeIJRPNS_5BlockES4_RiEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(4) %91)
  br label %95

92:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #10
  %93 = call noundef zeroext i1 @_ZN6opcode7is_gotoE8IROpcode(i16 noundef zeroext %38)
  %not. = xor i1 %93, true
  %94 = zext i1 %not. to i8
  store i8 %94, ptr %15, align 1, !tbaa !50
  call void @_ZN3cfg16ControlFlowGraph8add_edgeIJRPNS_5BlockES4_RNS_8EdgeTypeEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 1 dereferenceable(1) %15)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #10
  br label %95

95:                                               ; preds = %92, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIPN3cfg5BlockEP15MethodItemEntryESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  %97 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIPN3cfg5BlockEP15MethodItemEntryESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  br i1 %97, label %.lr.ph, label %._crit_edge

98:                                               ; preds = %._crit_edge
  %99 = call noundef zeroext i1 @_ZN6opcode7is_gotoE8IROpcode(i16 noundef zeroext %38)
  br i1 %99, label %100, label %112

100:                                              ; preds = %98
  %101 = load ptr, ptr %36, align 8, !tbaa !18
  %102 = icmp eq ptr %101, null
  br i1 %102, label %104, label %103

103:                                              ; preds = %100
  call void @_ZN13IRInstructionD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %101) #10
  call void @_ZdlPvm(ptr noundef nonnull %101, i64 noundef 32) #12
  br label %104

104:                                              ; preds = %103, %100
  %105 = load ptr, ptr %5, align 8, !tbaa !11
  %106 = getelementptr inbounds i8, ptr %105, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #10
  call void @_ZN6IRList11iterator_toER15MethodItemEntry(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(32) %31)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #10
  call void @_ZN6IRList17erase_and_disposeERKN5boost9intrusive13list_iteratorINS1_8mhtraitsI15MethodItemEntryNS1_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEE(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %17, ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  %.sroa.0.0.copyload40 = load ptr, ptr %3, align 8, !tbaa !11
  %107 = call ptr @_ZSt4nextISt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEET_S8_NSt15iterator_traitsIS8_E15difference_typeE(ptr %.sroa.0.0.copyload40, i64 noundef 1)
  store ptr %107, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  br i1 %41, label %.critedge, label %115

108:                                              ; preds = %35
  %109 = call noundef zeroext i1 @_ZN6opcode11is_a_returnE8IROpcode(i16 noundef zeroext %38)
  %110 = icmp eq i16 %38, 25
  %or.cond = or i1 %110, %109
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  %.sroa.0.0.copyload41 = load ptr, ptr %3, align 8, !tbaa !11
  %111 = call ptr @_ZSt4nextISt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEET_S8_NSt15iterator_traitsIS8_E15difference_typeE(ptr %.sroa.0.0.copyload41, i64 noundef 1)
  store ptr %111, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  br i1 %or.cond, label %.critedge, label %115

112:                                              ; preds = %98, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  %.sroa.0.0.copyload = load ptr, ptr %3, align 8, !tbaa !11
  %113 = call ptr @_ZSt4nextISt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEET_S8_NSt15iterator_traitsIS8_E15difference_typeE(ptr %.sroa.0.0.copyload, i64 noundef 1)
  store ptr %113, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  br i1 %41, label %.critedge, label %115

.critedge39:                                      ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  %.sroa.0.0.copyload.c = load ptr, ptr %3, align 8, !tbaa !11
  %114 = call ptr @_ZSt4nextISt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEET_S8_NSt15iterator_traitsIS8_E15difference_typeE(ptr %.sroa.0.0.copyload.c, i64 noundef 1)
  store ptr %114, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  br label %115

115:                                              ; preds = %108, %104, %.critedge39, %112
  %116 = call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #10
  store ptr %116, ptr %19, align 8
  %117 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #10
  br i1 %117, label %118, label %129

118:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #10
  %119 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  %120 = getelementptr inbounds i8, ptr %119, i64 8
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  store ptr %121, ptr %20, align 8, !tbaa !11
  %122 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 19, i32 noundef 6)
  br i1 %122, label %123, label %128

123:                                              ; preds = %118
  %124 = load ptr, ptr %5, align 8, !tbaa !11
  %125 = call noundef i64 @_ZNK3cfg5Block2idEv(ptr noundef nonnull align 8 dereferenceable(104) %124)
  %126 = load ptr, ptr %20, align 8, !tbaa !11
  %127 = call noundef i64 @_ZNK3cfg5Block2idEv(ptr noundef nonnull align 8 dereferenceable(104) %126)
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 19, i32 noundef 6, i1 noundef zeroext false, ptr noundef nonnull @.str.35, i64 noundef %125, i64 noundef %127)
  br label %128

128:                                              ; preds = %123, %118
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #10
  store i8 0, ptr %21, align 1, !tbaa !50
  call void @_ZN3cfg16ControlFlowGraph8add_edgeIJRPNS_5BlockES4_NS_8EdgeTypeEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 1 dereferenceable(1) %21)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #10
  br label %129

.critedge:                                        ; preds = %108, %104, %112
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #10
  br label %129

129:                                              ; preds = %.critedge, %128, %115
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  %131 = call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #10
  store ptr %131, ptr %4, align 8
  %132 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  br i1 %132, label %27, label %._crit_edge44, !llvm.loop !52

133:                                              ; preds = %._crit_edge44
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 19, i32 noundef 5, i1 noundef zeroext false, ptr noundef nonnull @.str.36)
  br label %134

134:                                              ; preds = %._crit_edge44, %133
  ret void
}

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode9is_branchE8IROpcode(i16 noundef zeroext) local_unnamed_addr #7

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg16ControlFlowGraph8add_edgeIJRPNS_5BlockES4_RiEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg16ControlFlowGraph8add_edgeIJRPNS_5BlockES4_RNS_8EdgeTypeEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4nextISt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEET_S8_NSt15iterator_traitsIS8_E15difference_typeE(ptr, i64 noundef) local_unnamed_addr #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg16ControlFlowGraph8add_edgeIJRPNS_5BlockES4_NS_8EdgeTypeEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #6 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"_ZTSSt4pairIKmPN3cfg5BlockEE", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !17, i64 16}
!13 = !{!"_ZTS15MethodItemEntry", !14, i64 0, !17, i64 16, !8, i64 24}
!14 = !{!"_ZTSN5boost9intrusive16list_member_hookIJEEE", !15, i64 0}
!15 = !{!"_ZTSN5boost9intrusive12generic_hookILNS0_10algo_typesE0ENS0_16list_node_traitsIPvEENS0_10member_tagELNS0_14link_mode_typeE1ELNS0_14base_hook_typeE0EEE", !16, i64 0}
!16 = !{!"_ZTSN5boost9intrusive9list_nodeIPvEE", !10, i64 0, !10, i64 8}
!17 = !{!"_ZTS14MethodItemType", !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !36, i64 132}
!20 = !{!"_ZTSN3cfg16ControlFlowGraphE", !21, i64 0, !29, i64 48, !10, i64 104, !10, i64 112, !10, i64 120, !35, i64 128, !36, i64 132, !36, i64 133, !36, i64 134, !37, i64 136}
!21 = !{!"_ZTSSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE", !22, i64 0}
!22 = !{!"_ZTSSt8_Rb_treeImSt4pairIKmPN3cfg5BlockEESt10_Select1stIS5_ESt4lessImESaIS5_EE", !23, i64 0}
!23 = !{!"_ZTSNSt8_Rb_treeImSt4pairIKmPN3cfg5BlockEESt10_Select1stIS5_ESt4lessImESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !24, i64 0, !26, i64 8}
!24 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessImEE", !25, i64 0}
!25 = !{!"_ZTSSt4lessImE"}
!26 = !{!"_ZTSSt15_Rb_tree_header", !27, i64 0, !7, i64 32}
!27 = !{!"_ZTSSt18_Rb_tree_node_base", !28, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!28 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!29 = !{!"_ZTS12UnorderedSetIPN3cfg4EdgeESt4hashIS2_ESt8equal_toIS2_EE", !30, i64 0}
!30 = !{!"_ZTSSt13unordered_setIPN3cfg4EdgeESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt10_HashtableIPN3cfg4EdgeES2_SaIS2_ENSt8__detail9_IdentityESt8equal_toIS2_ESt4hashIS2_ENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb1ELb1EEEE", !10, i64 0, !7, i64 8, !32, i64 16, !7, i64 24, !33, i64 32, !10, i64 48}
!32 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !10, i64 0}
!33 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !34, i64 0, !7, i64 8}
!34 = !{!"float", !8, i64 0}
!35 = !{!"int", !8, i64 0}
!36 = !{!"bool", !8, i64 0}
!37 = !{!"_ZTSSt6vectorIP13IRInstructionSaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIP13IRInstructionSaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIP13IRInstructionSaIS1_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIP13IRInstructionSaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!41 = !{i8 0, i8 2}
!42 = !{}
!43 = !{!44, !10, i64 0}
!44 = !{!"_ZTSSt4pairIPN3cfg5BlockEP15MethodItemEntryE", !10, i64 0, !10, i64 8}
!45 = !{!44, !10, i64 8}
!46 = !{!47, !10, i64 0}
!47 = !{!"_ZTS12BranchTarget", !10, i64 0, !48, i64 8, !35, i64 12}
!48 = !{!"_ZTS16BranchTargetType", !8, i64 0}
!49 = !{!47, !48, i64 8}
!50 = !{!51, !51, i64 0}
!51 = !{!"_ZTSN3cfg8EdgeTypeE", !8, i64 0}
!52 = distinct !{!52, !53}
!53 = !{!"llvm.loop.mustprogress"}


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