; LLVM IR from facebook/redex :: service/switch-partitioning (SwitchEquivFinder)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.SwitchEquivFinder = type <{ ptr, ptr, i32, i32, %"class.std::shared_ptr.0", i32, [4 x i8], %"class.std::shared_ptr.3", i8, [7 x i8], %"class.std::map", %class.UnorderedMap, %class.UnorderedMap.14, i8, [7 x i8] }>
%"class.std::shared_ptr.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<boost::variant<SwitchEquivFinder::DefaultCase, int, const DexType *>, std::pair<const boost::variant<SwitchEquivFinder::DefaultCase, int, const DexType *>, cfg::Block *>, std::_Select1st<std::pair<const boost::variant<SwitchEquivFinder::DefaultCase, int, const DexType *>, cfg::Block *>>, SwitchEquivFinder::key_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<boost::variant<SwitchEquivFinder::DefaultCase, int, const DexType *>, std::pair<const boost::variant<SwitchEquivFinder::DefaultCase, int, const DexType *>, cfg::Block *>, std::_Select1st<std::pair<const boost::variant<SwitchEquivFinder::DefaultCase, int, const DexType *>, cfg::Block *>>, SwitchEquivFinder::key_comparator>::_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.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 }
%class.UnorderedMap.14 = type { %"class.std::unordered_map.16" }
%"class.std::unordered_map.16" = type { %"class.std::_Hashtable.17" }
%"class.std::_Hashtable.17" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.30 }
%"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.30 = type { ptr }

@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [98 x i8], align 1
@__PRETTY_FUNCTION__._ZN17SwitchEquivFinderC2EPN3cfg16ControlFlowGraphERKNS0_23InstructionIteratorImplILb0EEEjjSt10shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorEENS_21DuplicateCaseStrategyES7_I12UnorderedMapIP13IRInstruction12UnorderedSetIPNS0_5BlockESt4hashISI_ESt8equal_toISI_EESJ_ISF_ESL_ISF_EEESt8functionIFbSI_EE = external hidden unnamed_addr constant [257 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [31 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: 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 @_ZN17SwitchEquivFinderC2EPN3cfg16ControlFlowGraphERKNS0_23InstructionIteratorImplILb0EEEjjSt10shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorEENS_21DuplicateCaseStrategyES7_I12UnorderedMapIP13IRInstruction12UnorderedSetIPNS0_5BlockESt4hashISI_ESt8equal_toISI_EESJ_ISF_ESL_ISF_EEESt8functionIFbSI_EE(ptr noundef nonnull align 8 dereferenceable(233) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i16, align 2
  %23 = alloca ptr, align 8
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca %"class.std::function", align 8
  %26 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store i32 %3, ptr %13, align 4, !tbaa !9
  store i32 %4, ptr %14, align 4, !tbaa !9
  store ptr %5, ptr %15, align 8, !tbaa !5
  store i32 %6, ptr %16, align 4, !tbaa !11
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  %27 = load ptr, ptr %10, align 8
  %28 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 0
  %29 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %29, ptr %28, align 8, !tbaa !13
  %30 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 1
  %31 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %31, ptr %30, align 8, !tbaa !5
  %32 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 2
  %33 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %33, ptr %32, align 8, !tbaa !39
  %34 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 3
  %35 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %35, ptr %34, align 4, !tbaa !40
  %36 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 4
  call void @_ZNSt10shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorEEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  %37 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 5
  %38 = load i32, ptr %16, align 4, !tbaa !11
  store i32 %38, ptr %37, align 8, !tbaa !41
  %39 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 7
  call void @_ZNSt10shared_ptrI12UnorderedMapIP13IRInstruction12UnorderedSetIPN3cfg5BlockESt4hashIS6_ESt8equal_toIS6_EES7_IS2_ES9_IS2_EEEC2EOSF_(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  %40 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 8
  store i8 0, ptr %40, align 8, !tbaa !42
  %41 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 10
  call void @_ZNSt3mapIN5boost7variantIN17SwitchEquivFinder11DefaultCaseEJiPK7DexTypeEEEPN3cfg5BlockENS2_14key_comparatorESaISt4pairIKS7_SA_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #5
  %42 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 11
  invoke void @_ZN12UnorderedMapIPN3cfg5BlockESt3mapIjP13IRInstructionSt4lessIjESaISt4pairIKjS5_EEESt4hashIS2_ESt8equal_toIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %42)
          to label %43 unwind label %62

43:                                               ; preds = %9
  %44 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 12
  invoke void @_ZN12UnorderedMapIPN3cfg5BlockEtSt4hashIS2_ESt8equal_toIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %44)
          to label %45 unwind label %66

45:                                               ; preds = %43
  %46 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 13
  store i8 0, ptr %46, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %47 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 1
  %48 = load ptr, ptr %47, align 8, !tbaa !44
  %49 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %50 unwind label %70

50:                                               ; preds = %45
  %51 = getelementptr inbounds %struct.MethodItemEntry, ptr %49, i32 0, i32 2
  %52 = load ptr, ptr %51, align 8, !tbaa !45
  store ptr %52, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %22) #5
  %53 = load ptr, ptr %21, align 8, !tbaa !5
  %54 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %55 unwind label %74

55:                                               ; preds = %50
  store i16 %54, ptr %22, align 2, !tbaa !46
  %56 = load i16, ptr %22, align 2, !tbaa !46
  %57 = invoke noundef zeroext i1 @_ZN6opcode9is_branchE8IROpcode(i16 noundef zeroext %56)
          to label %58 unwind label %74

58:                                               ; preds = %55
  br i1 %57, label %59, label %60

59:                                               ; preds = %58
  br label %79

60:                                               ; preds = %58
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.9, ptr noundef @.str.10, i32 noundef 222, ptr noundef @__PRETTY_FUNCTION__._ZN17SwitchEquivFinderC2EPN3cfg16ControlFlowGraphERKNS0_23InstructionIteratorImplILb0EEEjjSt10shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorEENS_21DuplicateCaseStrategyES7_I12UnorderedMapIP13IRInstruction12UnorderedSetIPNS0_5BlockESt4hashISI_ESt8equal_toISI_EESJ_ISF_ESL_ISF_EEESt8functionIFbSI_EE, i32 noundef 2, ptr noundef @.str.11) #6
          to label %61 unwind label %74

61:                                               ; preds = %60
  unreachable

62:                                               ; preds = %9
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %19, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %20, align 4
  br label %115

66:                                               ; preds = %43
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %19, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %20, align 4
  br label %114

70:                                               ; preds = %45
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %19, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %20, align 4
  br label %97

74:                                               ; preds = %86, %79, %60, %55, %50
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %19, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %22) #5
  br label %97

78:                                               ; No predecessors!
  br label %79

79:                                               ; preds = %78, %59
  %80 = load ptr, ptr %21, align 8, !tbaa !5
  %81 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 2
  %82 = load i32, ptr %81, align 8, !tbaa !39
  %83 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_17has_srcEP13IRInstructionj(ptr noundef %80, i32 noundef %82)
          to label %84 unwind label %74

84:                                               ; preds = %79
  br i1 %83, label %85, label %86

85:                                               ; preds = %84
  br label %89

86:                                               ; preds = %84
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.12, ptr noundef @.str.10, i32 noundef 223, ptr noundef @__PRETTY_FUNCTION__._ZN17SwitchEquivFinderC2EPN3cfg16ControlFlowGraphERKNS0_23InstructionIteratorImplILb0EEEjjSt10shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorEENS_21DuplicateCaseStrategyES7_I12UnorderedMapIP13IRInstruction12UnorderedSetIPNS0_5BlockESt4hashISI_ESt8equal_toISI_EESJ_ISF_ESL_ISF_EEESt8functionIFbSI_EE, i32 noundef 2, ptr noundef @.str.11) #6
          to label %87 unwind label %74

87:                                               ; preds = %86
  unreachable

88:                                               ; No predecessors!
  br label %89

89:                                               ; preds = %88, %85
  call void @llvm.lifetime.end.p0(i64 2, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #5
  call void @_ZNSt8functionIFbPN3cfg5BlockEEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  invoke void @_ZN17SwitchEquivFinder11find_leavesESt8functionIFbPN3cfg5BlockEEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %24, ptr noundef nonnull align 8 dereferenceable(233) %27, ptr noundef %25)
          to label %90 unwind label %98

90:                                               ; preds = %89
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #5
  store ptr %24, ptr %23, align 8, !tbaa !5
  %91 = load ptr, ptr %23, align 8, !tbaa !5
  %92 = call noundef zeroext i1 @_ZNKSt6vectorIPN3cfg4EdgeESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %91) #5
  br i1 %92, label %93, label %106

93:                                               ; preds = %90
  %94 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 11
  invoke void @_ZN12UnorderedMapIPN3cfg5BlockESt3mapIjP13IRInstructionSt4lessIjESaISt4pairIKjS5_EEESt4hashIS2_ESt8equal_toIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(56) %94)
          to label %95 unwind label %102

95:                                               ; preds = %93
  %96 = getelementptr inbounds %class.SwitchEquivFinder, ptr %27, i32 0, i32 8
  store i8 0, ptr %96, align 8, !tbaa !42
  store i32 1, ptr %26, align 4
  br label %109

97:                                               ; preds = %74, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %113

98:                                               ; preds = %89
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %19, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %20, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #5
  br label %112

102:                                              ; preds = %106, %93
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %19, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %20, align 4
  call void @_ZNSt6vectorIPN3cfg4EdgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #5
  br label %112

106:                                              ; preds = %90
  %107 = load ptr, ptr %23, align 8, !tbaa !5
  invoke void @_ZN17SwitchEquivFinder14find_case_keysERKSt6vectorIPN3cfg4EdgeESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(233) %27, ptr noundef nonnull align 8 dereferenceable(24) %107)
          to label %108 unwind label %102

108:                                              ; preds = %106
  store i32 0, ptr %26, align 4
  br label %109

109:                                              ; preds = %108, %95
  call void @_ZNSt6vectorIPN3cfg4EdgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  %110 = load i32, ptr %26, align 4
  switch i32 %110, label %121 [
    i32 0, label %111
    i32 1, label %111
  ]

111:                                              ; preds = %109, %109
  ret void

112:                                              ; preds = %102, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %113

113:                                              ; preds = %112, %97
  call void @_ZN12UnorderedMapIPN3cfg5BlockEtSt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %44) #5
  br label %114

114:                                              ; preds = %113, %66
  call void @_ZN12UnorderedMapIPN3cfg5BlockESt3mapIjP13IRInstructionSt4lessIjESaISt4pairIKjS5_EEESt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %42) #5
  br label %115

115:                                              ; preds = %114, %62
  call void @_ZNSt3mapIN5boost7variantIN17SwitchEquivFinder11DefaultCaseEJiPK7DexTypeEEEPN3cfg5BlockENS2_14key_comparatorESaISt4pairIKS7_SA_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #5
  call void @_ZNSt12__shared_ptrI12UnorderedMapIP13IRInstruction12UnorderedSetIPN3cfg5BlockESt4hashIS6_ESt8equal_toIS6_EES7_IS2_ES9_IS2_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %39) #5
  call void @_ZNSt12__shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %36) #5
  br label %116

116:                                              ; preds = %115
  %117 = load ptr, ptr %19, align 8
  %118 = load i32, ptr %20, align 4
  %119 = insertvalue { ptr, i32 } poison, ptr %117, 0
  %120 = insertvalue { ptr, i32 } %119, i32 %118, 1
  resume { ptr, i32 } %120

121:                                              ; preds = %109
  unreachable
}

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12UnorderedMapIPN3cfg5BlockEtSt4hashIS2_ESt8equal_toIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #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 zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_17has_srcEP13IRInstructionj(ptr noundef, i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17SwitchEquivFinder11find_leavesESt8functionIFbPN3cfg5BlockEEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(233), ptr noundef) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17SwitchEquivFinder14find_case_keysERKSt6vectorIPN3cfg4EdgeESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(233), ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrI12UnorderedMapIP13IRInstruction12UnorderedSetIPN3cfg5BlockESt4hashIS6_ESt8equal_toIS6_EES7_IS2_ES9_IS2_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 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 = { 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 #5 = { nounwind }
attributes #6 = { noreturn }

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN17SwitchEquivFinder21DuplicateCaseStrategyE", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTS17SwitchEquivFinder", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !15, i64 24, !12, i64 40, !18, i64 48, !20, i64 64, !21, i64 72, !30, i64 120, !36, i64 176, !20, i64 232}
!15 = !{!"_ZTSSt10shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorEE", !16, i64 0}
!16 = !{!"_ZTSSt12__shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !17, i64 8}
!17 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!18 = !{!"_ZTSSt10shared_ptrI12UnorderedMapIP13IRInstruction12UnorderedSetIPN3cfg5BlockESt4hashIS6_ESt8equal_toIS6_EES7_IS2_ES9_IS2_EEE", !19, i64 0}
!19 = !{!"_ZTSSt12__shared_ptrI12UnorderedMapIP13IRInstruction12UnorderedSetIPN3cfg5BlockESt4hashIS6_ESt8equal_toIS6_EES7_IS2_ES9_IS2_EELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !17, i64 8}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTSSt3mapIN5boost7variantIN17SwitchEquivFinder11DefaultCaseEJiPK7DexTypeEEEPN3cfg5BlockENS2_14key_comparatorESaISt4pairIKS7_SA_EEE", !22, i64 0}
!22 = !{!"_ZTSSt8_Rb_treeIN5boost7variantIN17SwitchEquivFinder11DefaultCaseEJiPK7DexTypeEEESt4pairIKS7_PN3cfg5BlockEESt10_Select1stISD_ENS2_14key_comparatorESaISD_EE", !23, i64 0}
!23 = !{!"_ZTSNSt8_Rb_treeIN5boost7variantIN17SwitchEquivFinder11DefaultCaseEJiPK7DexTypeEEESt4pairIKS7_PN3cfg5BlockEESt10_Select1stISD_ENS2_14key_comparatorESaISD_EE13_Rb_tree_implISG_Lb1EEE", !24, i64 0, !26, i64 8}
!24 = !{!"_ZTSSt20_Rb_tree_key_compareIN17SwitchEquivFinder14key_comparatorEE", !25, i64 0}
!25 = !{!"_ZTSN17SwitchEquivFinder14key_comparatorE"}
!26 = !{!"_ZTSSt15_Rb_tree_header", !27, i64 0, !29, i64 32}
!27 = !{!"_ZTSSt18_Rb_tree_node_base", !28, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!28 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!29 = !{!"long", !7, i64 0}
!30 = !{!"_ZTS12UnorderedMapIPN3cfg5BlockESt3mapIjP13IRInstructionSt4lessIjESaISt4pairIKjS5_EEESt4hashIS2_ESt8equal_toIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt13unordered_mapIPN3cfg5BlockESt3mapIjP13IRInstructionSt4lessIjESaISt4pairIKjS5_EEESt4hashIS2_ESt8equal_toIS2_ESaIS8_IKS2_SC_EEE", !32, i64 0}
!32 = !{!"_ZTSSt10_HashtableIPN3cfg5BlockESt4pairIKS2_St3mapIjP13IRInstructionSt4lessIjESaIS3_IKjS7_EEEESaISE_ENSt8__detail10_Select1stESt8equal_toIS2_ESt4hashIS2_ENSG_18_Mod_range_hashingENSG_20_Default_ranged_hashENSG_20_Prime_rehash_policyENSG_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !29, i64 8, !33, i64 16, !29, i64 24, !34, i64 32, !6, i64 48}
!33 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!34 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !35, i64 0, !29, i64 8}
!35 = !{!"float", !7, i64 0}
!36 = !{!"_ZTS12UnorderedMapIPN3cfg5BlockEtSt4hashIS2_ESt8equal_toIS2_EE", !37, i64 0}
!37 = !{!"_ZTSSt13unordered_mapIPN3cfg5BlockEtSt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_tEEE", !38, i64 0}
!38 = !{!"_ZTSSt10_HashtableIPN3cfg5BlockESt4pairIKS2_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, !29, i64 8, !33, i64 16, !29, i64 24, !34, i64 32, !6, i64 48}
!39 = !{!14, !10, i64 16}
!40 = !{!14, !10, i64 20}
!41 = !{!14, !12, i64 40}
!42 = !{!14, !20, i64 64}
!43 = !{!14, !20, i64 232}
!44 = !{!14, !6, i64 8}
!45 = !{!7, !7, i64 0}
!46 = !{!47, !47, i64 0}
!47 = !{!"_ZTS8IROpcode", !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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }

@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [98 x i8], align 1
@__PRETTY_FUNCTION__._ZN17SwitchEquivFinderC2EPN3cfg16ControlFlowGraphERKNS0_23InstructionIteratorImplILb0EEEjjSt10shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorEENS_21DuplicateCaseStrategyES7_I12UnorderedMapIP13IRInstruction12UnorderedSetIPNS0_5BlockESt4hashISI_ESt8equal_toISI_EESJ_ISF_ESL_ISF_EEESt8functionIFbSI_EE = external hidden unnamed_addr constant [257 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [31 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 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 @_ZN17SwitchEquivFinderC2EPN3cfg16ControlFlowGraphERKNS0_23InstructionIteratorImplILb0EEEjjSt10shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorEENS_21DuplicateCaseStrategyES7_I12UnorderedMapIP13IRInstruction12UnorderedSetIPNS0_5BlockESt4hashISI_ESt8equal_toISI_EESJ_ISF_ESL_ISF_EEESt8functionIFbSI_EE(ptr noundef nonnull align 8 dereferenceable(233) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %5, i32 noundef %6, ptr noundef %7, ptr noundef %8) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::function", align 8
  store ptr %1, ptr %0, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %2, ptr %12, align 8, !tbaa !36
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 %3, ptr %13, align 8, !tbaa !37
  %14 = getelementptr inbounds i8, ptr %0, i64 20
  store i32 %4, ptr %14, align 4, !tbaa !38
  %15 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZNSt10shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorEEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  %16 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 %6, ptr %16, align 8, !tbaa !39
  %17 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZNSt10shared_ptrI12UnorderedMapIP13IRInstruction12UnorderedSetIPN3cfg5BlockESt4hashIS6_ESt8equal_toIS6_EES7_IS2_ES9_IS2_EEEC2EOSF_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  %18 = getelementptr inbounds i8, ptr %0, i64 64
  store i8 0, ptr %18, align 8, !tbaa !40
  %19 = getelementptr inbounds i8, ptr %0, i64 72
  tail call void @_ZNSt3mapIN5boost7variantIN17SwitchEquivFinder11DefaultCaseEJiPK7DexTypeEEEPN3cfg5BlockENS2_14key_comparatorESaISt4pairIKS7_SA_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #5
  %20 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZN12UnorderedMapIPN3cfg5BlockESt3mapIjP13IRInstructionSt4lessIjESaISt4pairIKjS5_EEESt4hashIS2_ESt8equal_toIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %20)
  %21 = getelementptr inbounds i8, ptr %0, i64 176
  tail call void @_ZN12UnorderedMapIPN3cfg5BlockEtSt4hashIS2_ESt8equal_toIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %21)
  %22 = getelementptr inbounds i8, ptr %0, i64 232
  store i8 0, ptr %22, align 8, !tbaa !41
  %23 = load ptr, ptr %12, align 8, !tbaa !42
  %24 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %25 unwind label %30

25:                                               ; preds = %9
  %26 = getelementptr inbounds i8, ptr %24, i64 24
  %27 = load ptr, ptr %26, align 8, !tbaa !43
  %28 = tail call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
  %29 = tail call noundef zeroext i1 @_ZN6opcode9is_branchE8IROpcode(i16 noundef zeroext %28)
  br i1 %29, label %34, label %.invoke

30:                                               ; preds = %9
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %50

32:                                               ; preds = %.invoke, %34
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %50

34:                                               ; preds = %25
  %35 = load i32, ptr %13, align 8, !tbaa !37
  %36 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_17has_srcEP13IRInstructionj(ptr noundef nonnull %27, i32 noundef %35)
          to label %37 unwind label %32

37:                                               ; preds = %34
  br i1 %36, label %40, label %.invoke

.invoke:                                          ; preds = %25, %37
  %38 = phi ptr [ @.str.12, %37 ], [ @.str.9, %25 ]
  %39 = phi i32 [ 223, %37 ], [ 222, %25 ]
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull %38, ptr noundef nonnull @.str.10, i32 noundef %39, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17SwitchEquivFinderC2EPN3cfg16ControlFlowGraphERKNS0_23InstructionIteratorImplILb0EEEjjSt10shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorEENS_21DuplicateCaseStrategyES7_I12UnorderedMapIP13IRInstruction12UnorderedSetIPNS0_5BlockESt4hashISI_ESt8equal_toISI_EESJ_ISF_ESL_ISF_EEESt8functionIFbSI_EE, i32 noundef 2, ptr noundef nonnull @.str.11) #6
          to label %.cont unwind label %32

.cont:                                            ; preds = %.invoke
  unreachable

40:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  call void @_ZNSt8functionIFbPN3cfg5BlockEEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  invoke void @_ZN17SwitchEquivFinder11find_leavesESt8functionIFbPN3cfg5BlockEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %10, ptr noundef nonnull align 8 dereferenceable(233) %0, ptr noundef nonnull %11)
          to label %41 unwind label %44

41:                                               ; preds = %40
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  %42 = call noundef zeroext i1 @_ZNKSt6vectorIPN3cfg4EdgeESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br i1 %42, label %43, label %48

43:                                               ; preds = %41
  call void @_ZN12UnorderedMapIPN3cfg5BlockESt3mapIjP13IRInstructionSt4lessIjESaISt4pairIKjS5_EEESt4hashIS2_ESt8equal_toIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(56) %20)
  store i8 0, ptr %18, align 8, !tbaa !40
  br label %49

44:                                               ; preds = %40
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %50

46:                                               ; preds = %48
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIPN3cfg4EdgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  br label %50

48:                                               ; preds = %41
  invoke void @_ZN17SwitchEquivFinder14find_case_keysERKSt6vectorIPN3cfg4EdgeESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(233) %0, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %49 unwind label %46

49:                                               ; preds = %48, %43
  call void @_ZNSt6vectorIPN3cfg4EdgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  ret void

50:                                               ; preds = %44, %46, %30, %32
  %.pn16.pn = phi { ptr, i32 } [ %33, %32 ], [ %31, %30 ], [ %47, %46 ], [ %45, %44 ]
  call void @_ZN12UnorderedMapIPN3cfg5BlockEtSt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %21) #5
  call void @_ZN12UnorderedMapIPN3cfg5BlockESt3mapIjP13IRInstructionSt4lessIjESaISt4pairIKjS5_EEESt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %20) #5
  call void @_ZNSt3mapIN5boost7variantIN17SwitchEquivFinder11DefaultCaseEJiPK7DexTypeEEEPN3cfg5BlockENS2_14key_comparatorESaISt4pairIKS7_SA_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #5
  call void @_ZNSt12__shared_ptrI12UnorderedMapIP13IRInstruction12UnorderedSetIPN3cfg5BlockESt4hashIS6_ESt8equal_toIS6_EES7_IS2_ES9_IS2_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #5
  call void @_ZNSt12__shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  resume { ptr, i32 } %.pn16.pn
}

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12UnorderedMapIPN3cfg5BlockEtSt4hashIS2_ESt8equal_toIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) 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 zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

; 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 #4

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_17has_srcEP13IRInstructionj(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17SwitchEquivFinder11find_leavesESt8functionIFbPN3cfg5BlockEEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(233), ptr noundef) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17SwitchEquivFinder14find_case_keysERKSt6vectorIPN3cfg4EdgeESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(233), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrI12UnorderedMapIP13IRInstruction12UnorderedSetIPN3cfg5BlockESt4hashIS6_ESt8equal_toIS6_EES7_IS2_ES9_IS2_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 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 = { 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 #5 = { nounwind }
attributes #6 = { noreturn }

!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 = !{!"_ZTS17SwitchEquivFinder", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !11, i64 24, !14, i64 40, !15, i64 48, !17, i64 64, !18, i64 72, !27, i64 120, !33, i64 176, !17, i64 232}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSSt10shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorEE", !12, i64 0}
!12 = !{!"_ZTSSt12__shared_ptrIN20constant_propagation15intraprocedural16FixpointIteratorELN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0, !13, i64 8}
!13 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0}
!14 = !{!"_ZTSN17SwitchEquivFinder21DuplicateCaseStrategyE", !8, i64 0}
!15 = !{!"_ZTSSt10shared_ptrI12UnorderedMapIP13IRInstruction12UnorderedSetIPN3cfg5BlockESt4hashIS6_ESt8equal_toIS6_EES7_IS2_ES9_IS2_EEE", !16, i64 0}
!16 = !{!"_ZTSSt12__shared_ptrI12UnorderedMapIP13IRInstruction12UnorderedSetIPN3cfg5BlockESt4hashIS6_ESt8equal_toIS6_EES7_IS2_ES9_IS2_EELN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0, !13, i64 8}
!17 = !{!"bool", !8, i64 0}
!18 = !{!"_ZTSSt3mapIN5boost7variantIN17SwitchEquivFinder11DefaultCaseEJiPK7DexTypeEEEPN3cfg5BlockENS2_14key_comparatorESaISt4pairIKS7_SA_EEE", !19, i64 0}
!19 = !{!"_ZTSSt8_Rb_treeIN5boost7variantIN17SwitchEquivFinder11DefaultCaseEJiPK7DexTypeEEESt4pairIKS7_PN3cfg5BlockEESt10_Select1stISD_ENS2_14key_comparatorESaISD_EE", !20, i64 0}
!20 = !{!"_ZTSNSt8_Rb_treeIN5boost7variantIN17SwitchEquivFinder11DefaultCaseEJiPK7DexTypeEEESt4pairIKS7_PN3cfg5BlockEESt10_Select1stISD_ENS2_14key_comparatorESaISD_EE13_Rb_tree_implISG_Lb1EEE", !21, i64 0, !23, i64 8}
!21 = !{!"_ZTSSt20_Rb_tree_key_compareIN17SwitchEquivFinder14key_comparatorEE", !22, i64 0}
!22 = !{!"_ZTSN17SwitchEquivFinder14key_comparatorE"}
!23 = !{!"_ZTSSt15_Rb_tree_header", !24, i64 0, !26, i64 32}
!24 = !{!"_ZTSSt18_Rb_tree_node_base", !25, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!25 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!26 = !{!"long", !8, i64 0}
!27 = !{!"_ZTS12UnorderedMapIPN3cfg5BlockESt3mapIjP13IRInstructionSt4lessIjESaISt4pairIKjS5_EEESt4hashIS2_ESt8equal_toIS2_EE", !28, i64 0}
!28 = !{!"_ZTSSt13unordered_mapIPN3cfg5BlockESt3mapIjP13IRInstructionSt4lessIjESaISt4pairIKjS5_EEESt4hashIS2_ESt8equal_toIS2_ESaIS8_IKS2_SC_EEE", !29, i64 0}
!29 = !{!"_ZTSSt10_HashtableIPN3cfg5BlockESt4pairIKS2_St3mapIjP13IRInstructionSt4lessIjESaIS3_IKjS7_EEEESaISE_ENSt8__detail10_Select1stESt8equal_toIS2_ESt4hashIS2_ENSG_18_Mod_range_hashingENSG_20_Default_ranged_hashENSG_20_Prime_rehash_policyENSG_17_Hashtable_traitsILb0ELb0ELb1EEEE", !7, i64 0, !26, i64 8, !30, i64 16, !26, i64 24, !31, i64 32, !7, i64 48}
!30 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !7, i64 0}
!31 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !32, i64 0, !26, i64 8}
!32 = !{!"float", !8, i64 0}
!33 = !{!"_ZTS12UnorderedMapIPN3cfg5BlockEtSt4hashIS2_ESt8equal_toIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt13unordered_mapIPN3cfg5BlockEtSt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_tEEE", !35, i64 0}
!35 = !{!"_ZTSSt10_HashtableIPN3cfg5BlockESt4pairIKS2_tESaIS5_ENSt8__detail10_Select1stESt8equal_toIS2_ESt4hashIS2_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !7, i64 0, !26, i64 8, !30, i64 16, !26, i64 24, !31, i64 32, !7, i64 48}
!36 = !{!7, !7, i64 0}
!37 = !{!6, !10, i64 16}
!38 = !{!6, !10, i64 20}
!39 = !{!6, !14, i64 40}
!40 = !{!6, !17, i64 64}
!41 = !{!6, !17, i64 232}
!42 = !{!6, !7, i64 8}
!43 = !{!8, !8, i64 0}


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