; LLVM IR from facebook/redex :: opt/builder_pattern (BuilderAnalysis)

; 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.UnorderedSet.282 = type { %"class.std::unordered_set.284" }
%"class.std::unordered_set.284" = type { %"class.std::_Hashtable.285" }
%"class.std::_Hashtable.285" = 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.UnorderedMap<const IRInstruction *, std::vector<cfg::InstructionIteratorImpl<false>>>::UnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::pair.298" = type <{ %"class.UnorderedSet<IRInstruction *>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedSet<IRInstruction *>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator.300" }
%"struct.std::__detail::_Node_iterator.300" = type { %"struct.std::__detail::_Node_iterator_base.301" }
%"struct.std::__detail::_Node_iterator_base.301" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon.303 = type { ptr }
%"class.builder_pattern::BuilderAnalysis" = type <{ %"class.std::unique_ptr", %class.UnorderedMap, %class.UnorderedSet, ptr, ptr, %"class.std::unique_ptr.21", %class.UnorderedMap.29, ptr, i64, i64, i8, [7 x i8] }>
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%class.UnorderedMap = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%class.UnorderedSet = type { %"class.std::unordered_set" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.8" }
%"class.std::_Hashtable.8" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unique_ptr.21" = type { %"struct.std::__uniq_ptr_data.22" }
%"struct.std::__uniq_ptr_data.22" = type { %"class.std::__uniq_ptr_impl.23" }
%"class.std::__uniq_ptr_impl.23" = type { %"class.std::tuple.24" }
%"class.std::tuple.24" = type { %"struct.std::_Tuple_impl.25" }
%"struct.std::_Tuple_impl.25" = type { %"struct.std::_Head_base.28" }
%"struct.std::_Head_base.28" = type { ptr }
%class.UnorderedMap.29 = type { %"class.std::unordered_map.31" }
%"class.std::unordered_map.31" = type { %"class.std::_Hashtable.32" }
%"class.std::_Hashtable.32" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::pair" = type { ptr, %"class.std::vector.206" }
%"class.std::vector.206" = type { %"struct.std::_Vector_base.207" }
%"struct.std::_Vector_base.207" = type { %"struct.std::_Vector_base<cfg::InstructionIteratorImpl<false>, std::allocator<cfg::InstructionIteratorImpl<false>>>::_Vector_impl" }
%"struct.std::_Vector_base<cfg::InstructionIteratorImpl<false>, std::allocator<cfg::InstructionIteratorImpl<false>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cfg::InstructionIteratorImpl<false>, std::allocator<cfg::InstructionIteratorImpl<false>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cfg::InstructionIteratorImpl<false>, std::allocator<cfg::InstructionIteratorImpl<false>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.211 }
%"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.211 = type { ptr }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15builder_pattern15BuilderAnalysis23get_all_inlinable_insnsEv(ptr dead_on_unwind noalias writable sret(%class.UnorderedSet.282) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca %"class.UnorderedMap<const IRInstruction *, std::vector<cfg::InstructionIteratorImpl<false>>>::UnorderedIterable", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %11 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.std::pair.298", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"struct.std::pair.298", align 8
  %23 = alloca %class.anon.303, align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %24 = load ptr, ptr %4, align 8
  store i1 false, ptr %5, align 1
  call void @_ZN12UnorderedSetIP13IRInstructionSt4hashIS1_ESt8equal_toIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %25 = getelementptr inbounds %"class.builder_pattern::BuilderAnalysis", ptr %24, i32 0, i32 1
  %26 = invoke ptr @_Z17UnorderedIterableI12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS7_EESt4hashIS3_ESt8equal_toIS3_EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESH_EEbE4typeELb1EEDaRSH_(ptr noundef nonnull align 8 dereferenceable(56) %25)
          to label %27 unwind label %42

27:                                               ; preds = %2
  %28 = getelementptr inbounds %"class.UnorderedMap<const IRInstruction *, std::vector<cfg::InstructionIteratorImpl<false>>>::UnorderedIterable", ptr %7, i32 0, i32 0
  store ptr %26, ptr %28, align 8
  store ptr %7, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = invoke ptr @_ZN12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS6_EESt4hashIS2_ESt8equal_toIS2_EE17UnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %31 unwind label %46

31:                                               ; preds = %27
  %32 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %10, i32 0, i32 0
  %33 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %32, i32 0, i32 0
  store ptr %30, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = invoke ptr @_ZN12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS6_EESt4hashIS2_ESt8equal_toIS2_EE17UnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %36 unwind label %50

36:                                               ; preds = %31
  %37 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %11, i32 0, i32 0
  %38 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %37, i32 0, i32 0
  store ptr %35, ptr %38, align 8
  br label %39

39:                                               ; preds = %126, %36
  %40 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS9_EEELb0EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  br i1 %40, label %54, label %41

41:                                               ; preds = %39
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %132

42:                                               ; preds = %2
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %8, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %9, align 4
  br label %131

46:                                               ; preds = %27
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %8, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %9, align 4
  br label %130

50:                                               ; preds = %31
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %8, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %9, align 4
  br label %129

54:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %55 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS9_EEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  store ptr %55, ptr %13, align 8, !tbaa !5
  %56 = load ptr, ptr %13, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.std::pair", ptr %56, i32 0, i32 0
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %58)
          to label %60 unwind label %73

60:                                               ; preds = %54
  %61 = invoke noundef zeroext i1 @_ZN6opcode12is_an_invokeE8IROpcode(i16 noundef zeroext %59)
          to label %62 unwind label %73

62:                                               ; preds = %60
  br i1 %61, label %63, label %81

63:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %64 = load ptr, ptr %13, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.std::pair", ptr %64, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !9
  store ptr %66, ptr %14, align 8, !tbaa !5
  %67 = invoke { ptr, i8 } @_ZN12UnorderedSetIP13IRInstructionSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJS1_EEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %68 unwind label %77

68:                                               ; preds = %63
  %69 = getelementptr inbounds { ptr, i8 }, ptr %15, i32 0, i32 0
  %70 = extractvalue { ptr, i8 } %67, 0
  store ptr %70, ptr %69, align 8
  %71 = getelementptr inbounds { ptr, i8 }, ptr %15, i32 0, i32 1
  %72 = extractvalue { ptr, i8 } %67, 1
  store i8 %72, ptr %71, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %81

73:                                               ; preds = %60, %54
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %8, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %9, align 4
  br label %128

77:                                               ; preds = %63
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %8, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %128

81:                                               ; preds = %68, %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %82 = load ptr, ptr %13, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.std::pair", ptr %82, i32 0, i32 1
  store ptr %83, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %84 = load ptr, ptr %16, align 8, !tbaa !5
  %85 = call ptr @_ZNKSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #4
  %86 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %85, ptr %86, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %87 = load ptr, ptr %16, align 8, !tbaa !5
  %88 = call ptr @_ZNKSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #4
  %89 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %88, ptr %89, align 8
  br label %90

90:                                               ; preds = %122, %81
  %91 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  br i1 %91, label %93, label %92

92:                                               ; preds = %90
  store i32 4, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %125

93:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %94 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #4
  store ptr %94, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %95 = load ptr, ptr %19, align 8, !tbaa !5
  %96 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %95)
          to label %97 unwind label %113

97:                                               ; preds = %93
  %98 = getelementptr inbounds %struct.MethodItemEntry, ptr %96, i32 0, i32 2
  %99 = load ptr, ptr %98, align 8, !tbaa !15
  store ptr %99, ptr %20, align 8, !tbaa !5
  %100 = load ptr, ptr %20, align 8, !tbaa !5
  %101 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %100)
          to label %102 unwind label %113

102:                                              ; preds = %97
  %103 = invoke noundef zeroext i1 @_ZN6opcode12is_an_invokeE8IROpcode(i16 noundef zeroext %101)
          to label %104 unwind label %113

104:                                              ; preds = %102
  br i1 %103, label %105, label %121

105:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %106 = load ptr, ptr %20, align 8, !tbaa !5
  store ptr %106, ptr %21, align 8, !tbaa !5
  %107 = invoke { ptr, i8 } @_ZN12UnorderedSetIP13IRInstructionSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJS1_EEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %108 unwind label %117

108:                                              ; preds = %105
  %109 = getelementptr inbounds { ptr, i8 }, ptr %22, i32 0, i32 0
  %110 = extractvalue { ptr, i8 } %107, 0
  store ptr %110, ptr %109, align 8
  %111 = getelementptr inbounds { ptr, i8 }, ptr %22, i32 0, i32 1
  %112 = extractvalue { ptr, i8 } %107, 1
  store i8 %112, ptr %111, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  br label %121

113:                                              ; preds = %102, %97, %93
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %8, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %9, align 4
  br label %124

117:                                              ; preds = %105
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %8, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  br label %124

121:                                              ; preds = %108, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %122

122:                                              ; preds = %121
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #4
  br label %90

124:                                              ; preds = %117, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %128

125:                                              ; preds = %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %126

126:                                              ; preds = %125
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS9_EEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  br label %39

128:                                              ; preds = %124, %77, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %129

129:                                              ; preds = %128, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %130

130:                                              ; preds = %129, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %131

131:                                              ; preds = %130, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %143

132:                                              ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %133 = getelementptr inbounds %class.anon.303, ptr %23, i32 0, i32 0
  store ptr %24, ptr %133, align 8, !tbaa !16
  %134 = invoke noundef i64 @"_Z18unordered_erase_ifI12UnorderedSetIP13IRInstructionSt4hashIS2_ESt8equal_toIS2_EEZN15builder_pattern15BuilderAnalysis23get_all_inlinable_insnsEvE3$_0TnNSt9enable_ifIXaasr3stdE12is_base_of_vI13UnorderedBaseIT_ESD_Entsr3stdE12is_base_of_vI16UnorderedBagBaseSD_EEbE4typeELb1EEmRSD_RKT0_"(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %135 unwind label %137

135:                                              ; preds = %132
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  store i1 true, ptr %5, align 1
  store i32 1, ptr %12, align 4
  %136 = load i1, ptr %5, align 1
  br i1 %136, label %142, label %141

137:                                              ; preds = %132
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %8, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  br label %143

141:                                              ; preds = %135
  call void @_ZN12UnorderedSetIP13IRInstructionSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #4
  br label %142

142:                                              ; preds = %141, %135
  ret void

143:                                              ; preds = %137, %131
  call void @_ZN12UnorderedSetIP13IRInstructionSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #4
  br label %144

144:                                              ; preds = %143
  %145 = load ptr, ptr %8, align 8
  %146 = load i32, ptr %9, align 4
  %147 = insertvalue { ptr, i32 } poison, ptr %145, 0
  %148 = insertvalue { ptr, i32 } %147, i32 %146, 1
  resume { ptr, i32 } %148
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedSetIP13IRInstructionSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJS1_EEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @"_Z18unordered_erase_ifI12UnorderedSetIP13IRInstructionSt4hashIS2_ESt8equal_toIS2_EEZN15builder_pattern15BuilderAnalysis23get_all_inlinable_insnsEvE3$_0TnNSt9enable_ifIXaasr3stdE12is_base_of_vI13UnorderedBaseIT_ESD_Entsr3stdE12is_base_of_vI16UnorderedBagBaseSD_EEbE4typeELb1EEmRSD_RKT0_"(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #4 = { 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 0}
!10 = !{!"_ZTSSt4pairIKPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS7_EEE", !6, i64 0, !11, i64 8}
!11 = !{!"_ZTSSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"_ZTSZN15builder_pattern15BuilderAnalysis23get_all_inlinable_insnsEvE3$_0", !6, i64 0}


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

%class.UnorderedSet.282 = type { %"class.std::unordered_set.284" }
%"class.std::unordered_set.284" = type { %"class.std::_Hashtable.285" }
%"class.std::_Hashtable.285" = 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.UnorderedMap<const IRInstruction *, std::vector<cfg::InstructionIteratorImpl<false>>>::UnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon.303 = type { ptr }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15builder_pattern15BuilderAnalysis23get_all_inlinable_insnsEv(ptr dead_on_unwind noalias nonnull writable sret(%class.UnorderedSet.282) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.UnorderedMap<const IRInstruction *, std::vector<cfg::InstructionIteratorImpl<false>>>::UnorderedIterable", align 8
  %4 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %5 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %class.anon.303, align 8
  tail call void @_ZN12UnorderedSetIP13IRInstructionSt4hashIS1_ESt8equal_toIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = invoke ptr @_Z17UnorderedIterableI12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS7_EESt4hashIS3_ESt8equal_toIS3_EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESH_EEbE4typeELb1EEDaRSH_(ptr noundef nonnull align 8 dereferenceable(56) %11)
          to label %13 unwind label %18

13:                                               ; preds = %2
  store ptr %12, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %14 = call ptr @_ZN12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS6_EESt4hashIS2_ESt8equal_toIS2_EE17UnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  store ptr %14, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %15 = call ptr @_ZN12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS6_EESt4hashIS2_ESt8equal_toIS2_EE17UnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  store ptr %15, ptr %5, align 8
  %16 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS9_EEELb0EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  br i1 %16, label %.lr.ph24, label %._crit_edge25

._crit_edge25:                                    ; preds = %._crit_edge, %13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  store ptr %1, ptr %10, align 8, !tbaa !5
  %17 = invoke noundef i64 @"_Z18unordered_erase_ifI12UnorderedSetIP13IRInstructionSt4hashIS2_ESt8equal_toIS2_EEZN15builder_pattern15BuilderAnalysis23get_all_inlinable_insnsEvE3$_0TnNSt9enable_ifIXaasr3stdE12is_base_of_vI13UnorderedBaseIT_ESD_Entsr3stdE12is_base_of_vI16UnorderedBagBaseSD_EEbE4typeELb1EEmRSD_RKT0_"(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %56 unwind label %57

18:                                               ; preds = %2
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %59

.lr.ph24:                                         ; preds = %13, %._crit_edge
  %20 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS9_EEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %21 = load ptr, ptr %20, align 8, !tbaa !10
  %22 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %21)
  %23 = call noundef zeroext i1 @_ZN6opcode12is_an_invokeE8IROpcode(i16 noundef zeroext %22)
  br i1 %23, label %24, label %30

24:                                               ; preds = %.lr.ph24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %25 = load ptr, ptr %20, align 8, !tbaa !10
  store ptr %25, ptr %6, align 8, !tbaa !16
  %26 = invoke { ptr, i8 } @_ZN12UnorderedSetIP13IRInstructionSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJS1_EEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %27 unwind label %28

27:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  br label %30

28:                                               ; preds = %24
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  br label %55

30:                                               ; preds = %27, %.lr.ph24
  %31 = getelementptr inbounds i8, ptr %20, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %32 = call ptr @_ZNKSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  store ptr %32, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %33 = call ptr @_ZNKSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  store ptr %33, ptr %8, align 8
  %34 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  br i1 %34, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %51, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS9_EEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %36 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS9_EEELb0EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  br i1 %36, label %.lr.ph24, label %._crit_edge25

.lr.ph:                                           ; preds = %30, %51
  %37 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  %38 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %39 unwind label %47

39:                                               ; preds = %.lr.ph
  %40 = getelementptr inbounds i8, ptr %38, i64 24
  %41 = load ptr, ptr %40, align 8, !tbaa !17
  %42 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %41)
  %43 = call noundef zeroext i1 @_ZN6opcode12is_an_invokeE8IROpcode(i16 noundef zeroext %42)
  br i1 %43, label %44, label %51

44:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  store ptr %41, ptr %9, align 8, !tbaa !16
  %45 = invoke { ptr, i8 } @_ZN12UnorderedSetIP13IRInstructionSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJS1_EEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %46 unwind label %49

46:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  br label %51

47:                                               ; preds = %.lr.ph
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %54

49:                                               ; preds = %44
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  br label %54

51:                                               ; preds = %46, %39
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  %53 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  br i1 %53, label %.lr.ph, label %._crit_edge

54:                                               ; preds = %49, %47
  %.pn = phi { ptr, i32 } [ %50, %49 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  br label %55

55:                                               ; preds = %54, %28
  %.pn.pn = phi { ptr, i32 } [ %.pn, %54 ], [ %29, %28 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  br label %59

56:                                               ; preds = %._crit_edge25
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  ret void

57:                                               ; preds = %._crit_edge25
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  br label %59

59:                                               ; preds = %18, %55, %57
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %58, %57 ], [ %.pn.pn, %55 ], [ %19, %18 ]
  call void @_ZN12UnorderedSetIP13IRInstructionSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #4
  resume { ptr, i32 } %.pn.pn.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedSetIP13IRInstructionSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJS1_EEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @"_Z18unordered_erase_ifI12UnorderedSetIP13IRInstructionSt4hashIS2_ESt8equal_toIS2_EEZN15builder_pattern15BuilderAnalysis23get_all_inlinable_insnsEvE3$_0TnNSt9enable_ifIXaasr3stdE12is_base_of_vI13UnorderedBaseIT_ESD_Entsr3stdE12is_base_of_vI16UnorderedBagBaseSD_EEbE4typeELb1EEmRSD_RKT0_"(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 #3 = { 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 #4 = { 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, !7, i64 0}
!6 = !{!"_ZTSZN15builder_pattern15BuilderAnalysis23get_all_inlinable_insnsEvE3$_0", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"_ZTSSt4pairIKPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS7_EEE", !7, i64 0, !12, i64 8}
!12 = !{!"_ZTSSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!16 = !{!7, !7, i64 0}
!17 = !{!8, !8, i64 0}


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