; LLVM IR from facebook/redex :: service/object-sensitive-dce (SideEffectSummary)

; 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.boost::sub_range" = type { %"class.boost::range_detail::sub_range_base" }
%"class.boost::range_detail::sub_range_base" = type { %"class.boost::range_detail::sub_range_base.105" }
%"class.boost::range_detail::sub_range_base.105" = type { %"class.boost::iterator_range" }
%"class.boost::iterator_range" = type { %"class.boost::iterator_range_detail::iterator_range_base" }
%"class.boost::iterator_range_detail::iterator_range_base" = type { %"class.boost::iterator_range_detail::iterator_range_base.106" }
%"class.boost::iterator_range_detail::iterator_range_base.106" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.ir_list::InstructionIterableImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"struct.std::pair" = type <{ %"class.UnorderedMap<const IRInstruction *, unsigned short>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedMap<const IRInstruction *, unsigned short>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator" }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.side_effects::SummaryBuilder" = type { %class.UnorderedMap, ptr, ptr, ptr, ptr, i8, 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 }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.148 }
%"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.148 = 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
define dso_local void @_ZN12side_effects14SummaryBuilderC2ERKN12init_classes26InitClassesWithSideEffectsERK12UnorderedMapIPK13IRInstructionNS_7SummaryESt4hashIS8_ESt8equal_toIS8_EERKN14local_pointers16FixpointIteratorEPK6IRCodePN13reaching_defs25MoveAwareFixpointIteratorEb(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 8 dereferenceable(2697) %1, ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 8 dereferenceable(352) %3, ptr noundef %4, ptr noundef %5, i1 noundef zeroext %6) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i8, align 1
  %15 = alloca i32, align 4
  %16 = alloca %"class.boost::sub_range", align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"class.ir_list::InstructionIterableImpl", align 8
  %21 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %22 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca %"struct.std::pair", align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  %27 = zext i1 %6 to i8
  store i8 %27, ptr %14, align 1, !tbaa !9
  %28 = load ptr, ptr %8, align 8
  %29 = getelementptr inbounds %"class.side_effects::SummaryBuilder", ptr %28, i32 0, i32 0
  call void @_ZN12UnorderedMapIPK13IRInstructiontSt4hashIS2_ESt8equal_toIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %29)
  %30 = getelementptr inbounds %"class.side_effects::SummaryBuilder", ptr %28, i32 0, i32 1
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %31, ptr %30, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.side_effects::SummaryBuilder", ptr %28, i32 0, i32 2
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %33, ptr %32, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.side_effects::SummaryBuilder", ptr %28, i32 0, i32 3
  %35 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %35, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds %"class.side_effects::SummaryBuilder", ptr %28, i32 0, i32 4
  %37 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %37, ptr %36, align 8, !tbaa !11
  %38 = getelementptr inbounds %"class.side_effects::SummaryBuilder", ptr %28, i32 0, i32 5
  %39 = load i8, ptr %14, align 1, !tbaa !9, !range !20, !noundef !21
  %40 = trunc i8 %39 to i1
  %41 = zext i1 %40 to i8
  store i8 %41, ptr %38, align 8, !tbaa !22
  %42 = getelementptr inbounds %"class.side_effects::SummaryBuilder", ptr %28, i32 0, i32 6
  %43 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %43, ptr %42, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = invoke noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %46 unwind label %65

46:                                               ; preds = %7
  br i1 %45, label %47, label %52

47:                                               ; preds = %46
  %48 = load ptr, ptr %12, align 8, !tbaa !5
  %49 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZNK6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %50 unwind label %65

50:                                               ; preds = %47
  invoke void @_ZNK3cfg16ControlFlowGraph22get_param_instructionsEv(ptr dead_on_unwind writable sret(%"class.boost::sub_range") align 8 %16, ptr noundef nonnull align 8 dereferenceable(160) %49)
          to label %51 unwind label %65

51:                                               ; preds = %50
  br label %55

52:                                               ; preds = %46
  %53 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZNK6IRCode22get_param_instructionsEv(ptr dead_on_unwind writable sret(%"class.boost::sub_range") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %54 unwind label %65

54:                                               ; preds = %52
  br label %55

55:                                               ; preds = %54, %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  invoke void @_Z19InstructionIterableIN5boost9sub_rangeI6IRListEEEN7ir_list23InstructionIterableImplILb0EEERT_(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIterableImpl") align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %56 unwind label %69

56:                                               ; preds = %55
  store ptr %20, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %57 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %21, ptr noundef nonnull align 8 dereferenceable(16) %57)
          to label %58 unwind label %73

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  %59 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %22, ptr noundef nonnull align 8 dereferenceable(16) %59)
          to label %60 unwind label %77

60:                                               ; preds = %58
  br label %61

61:                                               ; preds = %98, %60
  %62 = invoke noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %63 unwind label %77

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

64:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %111

65:                                               ; preds = %52, %50, %47, %7
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %17, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %18, align 4
  br label %112

69:                                               ; preds = %55
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %17, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %18, align 4
  br label %110

73:                                               ; preds = %56
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %17, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %18, align 4
  br label %109

77:                                               ; preds = %96, %61, %58
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %17, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %18, align 4
  br label %108

81:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %82 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %83 unwind label %99

83:                                               ; preds = %81
  store ptr %82, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %84 = load ptr, ptr %23, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.MethodItemEntry, ptr %84, i32 0, i32 2
  %86 = load ptr, ptr %85, align 8, !tbaa !26
  store ptr %86, ptr %24, align 8, !tbaa !5
  %87 = getelementptr inbounds %"class.side_effects::SummaryBuilder", ptr %28, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %88 = load i32, ptr %15, align 4, !tbaa !24
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %15, align 4, !tbaa !24
  store i32 %88, ptr %25, align 4, !tbaa !24
  %90 = invoke { ptr, i8 } @_ZN12UnorderedMapIPK13IRInstructiontSt4hashIS2_ESt8equal_toIS2_EE7emplaceIJRPS0_iEEESt4pairINS7_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %87, ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %91 unwind label %103

91:                                               ; preds = %83
  %92 = getelementptr inbounds { ptr, i8 }, ptr %26, i32 0, i32 0
  %93 = extractvalue { ptr, i8 } %90, 0
  store ptr %93, ptr %92, align 8
  %94 = getelementptr inbounds { ptr, i8 }, ptr %26, i32 0, i32 1
  %95 = extractvalue { ptr, i8 } %90, 1
  store i8 %95, ptr %94, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %96

96:                                               ; preds = %91
  %97 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7ir_list23InstructionIteratorImplILb0EEppEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %98 unwind label %77

98:                                               ; preds = %96
  br label %61

99:                                               ; preds = %81
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %17, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %18, align 4
  br label %107

103:                                              ; preds = %83
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %17, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %107

107:                                              ; preds = %103, %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %108

108:                                              ; preds = %107, %77
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  br label %109

109:                                              ; preds = %108, %73
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br label %110

110:                                              ; preds = %109, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %112

111:                                              ; preds = %64
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  ret void

112:                                              ; preds = %110, %65
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @_ZN12UnorderedMapIPK13IRInstructiontSt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %29) #6
  br label %113

113:                                              ; preds = %112
  %114 = load ptr, ptr %17, align 8
  %115 = load i32, ptr %18, align 4
  %116 = insertvalue { ptr, i32 } poison, ptr %114, 0
  %117 = insertvalue { ptr, i32 } %116, i32 %115, 1
  resume { ptr, i32 } %117
}

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

declare noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32)) #3

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

declare void @_ZNK3cfg16ControlFlowGraph22get_param_instructionsEv(ptr dead_on_unwind writable sret(%"class.boost::sub_range") align 8, ptr noundef nonnull align 8 dereferenceable(160)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6IRCode22get_param_instructionsEv(ptr dead_on_unwind noalias writable sret(%"class.boost::sub_range") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z19InstructionIterableIN5boost9sub_rangeI6IRListEEEN7ir_list23InstructionIterableImplILb0EEERT_(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIterableImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12UnorderedMapIPK13IRInstructiontSt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress 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 #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !6, i64 80}
!12 = !{!"_ZTSN12side_effects14SummaryBuilderE", !13, i64 0, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !6, i64 96}
!13 = !{!"_ZTS12UnorderedMapIPK13IRInstructiontSt4hashIS2_ESt8equal_toIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt13unordered_mapIPK13IRInstructiontSt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_tEEE", !15, i64 0}
!15 = !{!"_ZTSSt10_HashtableIPK13IRInstructionSt4pairIKS2_tESaIS5_ENSt8__detail10_Select1stESt8equal_toIS2_ESt4hashIS2_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !16, i64 8, !17, i64 16, !16, i64 24, !18, i64 32, !6, i64 48}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!18 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !19, i64 0, !16, i64 8}
!19 = !{!"float", !7, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!12, !10, i64 88}
!23 = !{!12, !6, i64 96}
!24 = !{!25, !25, i64 0}
!25 = !{!"int", !7, i64 0}
!26 = !{!7, !7, i64 0}


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

%"class.boost::sub_range" = type { %"class.boost::range_detail::sub_range_base" }
%"class.boost::range_detail::sub_range_base" = type { %"class.boost::range_detail::sub_range_base.105" }
%"class.boost::range_detail::sub_range_base.105" = type { %"class.boost::iterator_range" }
%"class.boost::iterator_range" = type { %"class.boost::iterator_range_detail::iterator_range_base" }
%"class.boost::iterator_range_detail::iterator_range_base" = type { %"class.boost::iterator_range_detail::iterator_range_base.106" }
%"class.boost::iterator_range_detail::iterator_range_base.106" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.ir_list::InstructionIterableImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }

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
define dso_local void @_ZN12side_effects14SummaryBuilderC2ERKN12init_classes26InitClassesWithSideEffectsERK12UnorderedMapIPK13IRInstructionNS_7SummaryESt4hashIS8_ESt8equal_toIS8_EERKN14local_pointers16FixpointIteratorEPK6IRCodePN13reaching_defs25MoveAwareFixpointIteratorEb(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 8 dereferenceable(2697) %1, ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 8 dereferenceable(352) %3, ptr noundef %4, ptr noundef %5, i1 noundef zeroext %6) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.boost::sub_range", align 8
  %9 = alloca %"class.ir_list::InstructionIterableImpl", align 8
  %10 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %11 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = zext i1 %6 to i8
  tail call void @_ZN12UnorderedMapIPK13IRInstructiontSt4hashIS2_ESt8equal_toIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0)
  %15 = getelementptr inbounds i8, ptr %0, i64 56
  store ptr %1, ptr %15, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %0, i64 64
  store ptr %2, ptr %16, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %0, i64 72
  store ptr %3, ptr %17, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %0, i64 80
  store ptr %4, ptr %18, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %0, i64 88
  store i8 %14, ptr %19, align 8, !tbaa !19
  %20 = getelementptr inbounds i8, ptr %0, i64 96
  store ptr %5, ptr %20, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  %21 = invoke noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %22 unwind label %31

22:                                               ; preds = %7
  br i1 %21, label %23, label %25

23:                                               ; preds = %22
  %24 = tail call noundef nonnull align 8 dereferenceable(160) ptr @_ZNK6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  invoke void @_ZNK3cfg16ControlFlowGraph22get_param_instructionsEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::sub_range") align 8 %8, ptr noundef nonnull align 8 dereferenceable(160) %24)
          to label %26 unwind label %31

25:                                               ; preds = %22
  invoke void @_ZNK6IRCode22get_param_instructionsEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::sub_range") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %26 unwind label %31

26:                                               ; preds = %25, %23
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  invoke void @_Z19InstructionIterableIN5boost9sub_rangeI6IRListEEEN7ir_list23InstructionIterableImplILb0EEERT_(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIterableImpl") align 8 %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %27 unwind label %33

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %28 unwind label %35

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %28, %43
  %.0 = phi i32 [ %44, %43 ], [ 0, %28 ]
  %29 = call noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %11)
  br i1 %29, label %37, label %30

30:                                               ; preds = %.preheader
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  ret void

31:                                               ; preds = %25, %23, %7
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %52

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

35:                                               ; preds = %27
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %51

.loopexit:                                        ; preds = %43
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %50

.loopexit.split-lp:                               ; preds = %28
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %50

37:                                               ; preds = %.preheader
  %38 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %39 unwind label %46

39:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %40 = getelementptr inbounds i8, ptr %38, i64 24
  %41 = load ptr, ptr %40, align 8, !tbaa !21
  store ptr %41, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  store i32 %.0, ptr %13, align 4, !tbaa !22
  %42 = invoke { ptr, i8 } @_ZN12UnorderedMapIPK13IRInstructiontSt4hashIS2_ESt8equal_toIS2_EE7emplaceIJRPS0_iEEESt4pairINS7_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %43 unwind label %48

43:                                               ; preds = %39
  %44 = add nuw nsw i32 %.0, 1
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  %45 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7ir_list23InstructionIteratorImplILb0EEppEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %.preheader unwind label %.loopexit

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

48:                                               ; preds = %39
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %50

50:                                               ; preds = %.loopexit, %.loopexit.split-lp, %46, %48
  %.pn22 = phi { ptr, i32 } [ %49, %48 ], [ %47, %46 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  br label %51

51:                                               ; preds = %50, %35
  %.pn22.pn = phi { ptr, i32 } [ %.pn22, %50 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %52

52:                                               ; preds = %33, %51, %31
  %.pn22.pn.pn.pn = phi { ptr, i32 } [ %32, %31 ], [ %.pn22.pn, %51 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN12UnorderedMapIPK13IRInstructiontSt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #6
  resume { ptr, i32 } %.pn22.pn.pn.pn
}

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

declare noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

declare void @_ZNK3cfg16ControlFlowGraph22get_param_instructionsEv(ptr dead_on_unwind writable sret(%"class.boost::sub_range") align 8, ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z19InstructionIterableIN5boost9sub_rangeI6IRListEEEN7ir_list23InstructionIterableImplILb0EEERT_(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIterableImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12UnorderedMapIPK13IRInstructiontSt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress 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 #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 80}
!10 = !{!"_ZTSN12side_effects14SummaryBuilderE", !11, i64 0, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !18, i64 88, !6, i64 96}
!11 = !{!"_ZTS12UnorderedMapIPK13IRInstructiontSt4hashIS2_ESt8equal_toIS2_EE", !12, i64 0}
!12 = !{!"_ZTSSt13unordered_mapIPK13IRInstructiontSt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_tEEE", !13, i64 0}
!13 = !{!"_ZTSSt10_HashtableIPK13IRInstructionSt4pairIKS2_tESaIS5_ENSt8__detail10_Select1stESt8equal_toIS2_ESt4hashIS2_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !6, i64 48}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!16 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !17, i64 0, !14, i64 8}
!17 = !{!"float", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!10, !18, i64 88}
!20 = !{!10, !6, i64 96}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"int", !7, i64 0}


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