; LLVM IR from facebook/redex :: service/constant-propagation (ConstantPropagationAnalysis)

; 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.anon.362 = type { ptr, ptr }
%"class.UnorderedSet<DexMethod *>::ConstFixedIterator" = type { %"struct.std::__detail::_Node_const_iterator" }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%class.DisjointUnionWithSignedConstantDomain = type { %"class.boost::variant.75" }
%"class.boost::variant.75" = type { i32, [4 x i8], %"class.boost::aligned_storage.76" }
%"class.boost::aligned_storage.76" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp.77" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp.77" = type { %"union.boost::detail::aligned_storage::aligned_storage_imp<40, 8>::data_t" }
%"union.boost::detail::aligned_storage::aligned_storage_imp<40, 8>::data_t" = type { [40 x i8] }
%class.SignedConstantDomain = type { %"struct.SignedConstantDomain::Bounds" }
%"struct.SignedConstantDomain::Bounds" = type { i8, i64, i64 }
%"struct.constant_propagation::StringAnalyzerState" = type { %class.UnorderedSet.338 }
%class.UnorderedSet.338 = type { %"class.std::unordered_set.340" }
%"class.std::unordered_set.340" = type { %"class.std::_Hashtable.341" }
%"class.std::_Hashtable.341" = 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 }

@.str.10 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironment = external hidden unnamed_addr constant [140 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [23 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
declare dso_local noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

declare noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef, i32 noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironment(ptr noundef %0, ptr noundef %1, ptr noundef %2) #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %class.anon.362, align 8
  %11 = alloca %"class.UnorderedSet<DexMethod *>::ConstFixedIterator", align 8
  %12 = alloca %"class.UnorderedSet<DexMethod *>::ConstFixedIterator", align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %17 = alloca %class.SignedConstantDomain, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i64, align 8
  %22 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %23 = alloca %class.SignedConstantDomain, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = call noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %24)
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = call noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef %26)
  %28 = call noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef %25, i32 noundef %27, ptr noundef null)
  store ptr %28, ptr %8, align 8, !tbaa !5
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = icmp eq ptr %29, null
  br i1 %30, label %31, label %32

31:                                               ; preds = %3
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %142

32:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %33 = getelementptr inbounds %class.anon.362, ptr %10, i32 0, i32 0
  store ptr %7, ptr %33, align 8, !tbaa !5
  %34 = getelementptr inbounds %class.anon.362, ptr %10, i32 0, i32 1
  store ptr %6, ptr %34, align 8, !tbaa !5
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = call noundef ptr @_ZN6method23java_lang_String_equalsEv()
  %37 = icmp eq ptr %35, %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  br i1 %37, label %57, label %38

38:                                               ; preds = %32
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = icmp ne ptr %39, null
  br i1 %40, label %41, label %55

41:                                               ; preds = %38
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.constant_propagation::StringAnalyzerState", ptr %42, i32 0, i32 0
  %44 = call ptr @_ZNK12UnorderedSetIP9DexMethodSt4hashIS1_ESt8equal_toIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %43, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %45 = getelementptr inbounds %"class.UnorderedSet<DexMethod *>::ConstFixedIterator", ptr %11, i32 0, i32 0
  %46 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %45, i32 0, i32 0
  %47 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %46, i32 0, i32 0
  store ptr %44, ptr %47, align 8
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.constant_propagation::StringAnalyzerState", ptr %48, i32 0, i32 0
  %50 = call ptr @_ZNK12UnorderedSetIP9DexMethodSt4hashIS1_ESt8equal_toIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %49)
  %51 = getelementptr inbounds %"class.UnorderedSet<DexMethod *>::ConstFixedIterator", ptr %12, i32 0, i32 0
  %52 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %51, i32 0, i32 0
  %53 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %52, i32 0, i32 0
  store ptr %50, ptr %53, align 8
  %54 = call noundef zeroext i1 @_ZNK12UnorderedSetIP9DexMethodSt4hashIS1_ESt8equal_toIS1_EE18ConstFixedIteratorneERKS7_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  br label %55

55:                                               ; preds = %41, %38
  %56 = phi i1 [ false, %38 ], [ %54, %41 ]
  br label %57

57:                                               ; preds = %55, %32
  %58 = phi i1 [ true, %32 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br i1 %58, label %59, label %101

59:                                               ; preds = %57
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %60)
  %62 = icmp eq i64 %61, 2
  br i1 %62, label %63, label %64

63:                                               ; preds = %59
  br label %66

64:                                               ; preds = %59
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.25, ptr noundef @.str.10, i32 noundef 1051, ptr noundef @__PRETTY_FUNCTION__._ZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironment, i32 noundef 2, ptr noundef @.str.26) #8
  unreachable

65:                                               ; No predecessors!
  br label %66

66:                                               ; preds = %65, %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %67 = call noundef ptr @"_ZZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironmentENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef 0)
  store ptr %67, ptr %13, align 8, !tbaa !5
  %68 = load ptr, ptr %13, align 8, !tbaa !5
  %69 = icmp ne ptr %68, null
  br i1 %69, label %70, label %97

70:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %71 = call noundef ptr @"_ZZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironmentENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef 1)
  store ptr %71, ptr %14, align 8, !tbaa !5
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = icmp ne ptr %72, null
  br i1 %73, label %74, label %93

74:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %75 = load ptr, ptr %13, align 8, !tbaa !5
  %76 = load ptr, ptr %14, align 8, !tbaa !5
  %77 = icmp eq ptr %75, %76
  %78 = zext i1 %77 to i64
  store i64 %78, ptr %15, align 8, !tbaa !9
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #7
  %80 = load i64, ptr %15, align 8, !tbaa !9
  call void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %80)
  invoke void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEEC2I20SignedConstantDomainEET_(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef %17)
          to label %81 unwind label %84

81:                                               ; preds = %74
  %82 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN19ConstantEnvironment3setEjRK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE(ptr noundef nonnull align 8 dereferenceable(48) %79, i32 noundef -2, ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %83 unwind label %88

83:                                               ; preds = %81
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #7
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #7
  store i1 true, ptr %4, align 1
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %94

84:                                               ; preds = %74
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %18, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %19, align 4
  br label %92

88:                                               ; preds = %81
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %18, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %19, align 4
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #7
  br label %92

92:                                               ; preds = %88, %84
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %141

93:                                               ; preds = %70
  store i32 0, ptr %9, align 4
  br label %94

94:                                               ; preds = %93, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  %95 = load i32, ptr %9, align 4
  switch i32 %95, label %98 [
    i32 0, label %96
  ]

96:                                               ; preds = %94
  br label %97

97:                                               ; preds = %96, %66
  store i32 0, ptr %9, align 4
  br label %98

98:                                               ; preds = %97, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  %99 = load i32, ptr %9, align 4
  switch i32 %99, label %140 [
    i32 0, label %100
  ]

100:                                              ; preds = %98
  br label %139

101:                                              ; preds = %57
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = call noundef ptr @_ZN6method25java_lang_String_hashCodeEv()
  %104 = icmp eq ptr %102, %103
  br i1 %104, label %105, label %138

105:                                              ; preds = %101
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %106)
  %108 = icmp eq i64 %107, 1
  br i1 %108, label %109, label %110

109:                                              ; preds = %105
  br label %112

110:                                              ; preds = %105
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.27, ptr noundef @.str.10, i32 noundef 1061, ptr noundef @__PRETTY_FUNCTION__._ZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironment, i32 noundef 2, ptr noundef @.str.26) #8
  unreachable

111:                                              ; No predecessors!
  br label %112

112:                                              ; preds = %111, %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %113 = call noundef ptr @"_ZZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironmentENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef 0)
  store ptr %113, ptr %20, align 8, !tbaa !5
  %114 = load ptr, ptr %20, align 8, !tbaa !5
  %115 = icmp ne ptr %114, null
  br i1 %115, label %116, label %134

116:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %117 = load ptr, ptr %20, align 8, !tbaa !5
  %118 = call noundef i32 @_ZNK9DexString13java_hashcodeEv(ptr noundef nonnull align 8 dereferenceable(16) %117)
  %119 = sext i32 %118 to i64
  store i64 %119, ptr %21, align 8, !tbaa !9
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #7
  %121 = load i64, ptr %21, align 8, !tbaa !9
  call void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %121)
  invoke void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEEC2I20SignedConstantDomainEET_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef %23)
          to label %122 unwind label %125

122:                                              ; preds = %116
  %123 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN19ConstantEnvironment3setEjRK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE(ptr noundef nonnull align 8 dereferenceable(48) %120, i32 noundef -2, ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %124 unwind label %129

124:                                              ; preds = %122
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #7
  store i1 true, ptr %4, align 1
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %135

125:                                              ; preds = %116
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %18, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %19, align 4
  br label %133

129:                                              ; preds = %122
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %18, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %19, align 4
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  br label %133

133:                                              ; preds = %129, %125
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %141

134:                                              ; preds = %112
  store i32 0, ptr %9, align 4
  br label %135

135:                                              ; preds = %134, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  %136 = load i32, ptr %9, align 4
  switch i32 %136, label %140 [
    i32 0, label %137
  ]

137:                                              ; preds = %135
  br label %138

138:                                              ; preds = %137, %101
  br label %139

139:                                              ; preds = %138, %100
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %140

140:                                              ; preds = %139, %135, %98
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  br label %142

141:                                              ; preds = %133, %92
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %144

142:                                              ; preds = %140, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  %143 = load i1, ptr %4, align 1
  ret i1 %143

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef) #6

declare noundef ptr @_ZN6method23java_lang_String_equalsEv() #2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef ptr @"_ZZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironmentENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #6 align 2

declare noundef ptr @_ZN6method25java_lang_String_hashCodeEv() #2

declare noundef i32 @_ZNK9DexString13java_hashcodeEv(ptr noundef nonnull align 8 dereferenceable(16)) #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 = { "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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nounwind }
attributes #8 = { 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 = !{!"long", !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.anon.362 = type { ptr, ptr }
%"class.UnorderedSet<DexMethod *>::ConstFixedIterator" = type { %"struct.std::__detail::_Node_const_iterator" }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%class.DisjointUnionWithSignedConstantDomain = type { %"class.boost::variant.75" }
%"class.boost::variant.75" = type { i32, [4 x i8], %"class.boost::aligned_storage.76" }
%"class.boost::aligned_storage.76" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp.77" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp.77" = type { %"union.boost::detail::aligned_storage::aligned_storage_imp<40, 8>::data_t" }
%"union.boost::detail::aligned_storage::aligned_storage_imp<40, 8>::data_t" = type { [40 x i8] }
%class.SignedConstantDomain = type { %"struct.SignedConstantDomain::Bounds" }
%"struct.SignedConstantDomain::Bounds" = type { i8, i64, i64 }

@.str.10 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironment = external hidden unnamed_addr constant [140 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [23 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
declare dso_local noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

declare noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironment(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %class.anon.362, align 8
  %8 = alloca %"class.UnorderedSet<DexMethod *>::ConstFixedIterator", align 8
  %9 = alloca %"class.UnorderedSet<DexMethod *>::ConstFixedIterator", align 8
  %10 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %11 = alloca %class.SignedConstantDomain, align 8
  %12 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %13 = alloca %class.SignedConstantDomain, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  store ptr %2, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %14 = tail call noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %15 = tail call noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef nonnull %1)
  %16 = tail call noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef %14, i32 noundef %15, ptr noundef null)
  store ptr %16, ptr %6, align 8, !tbaa !5
  %17 = icmp eq ptr %16, null
  br i1 %17, label %72, label %18

18:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  store ptr %5, ptr %7, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %4, ptr %19, align 8, !tbaa !5
  %20 = call noundef ptr @_ZN6method23java_lang_String_equalsEv()
  %21 = icmp eq ptr %16, %20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  br i1 %21, label %.critedge, label %22

22:                                               ; preds = %18
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %.critedge4, label %23

23:                                               ; preds = %22
  %24 = call ptr @_ZNK12UnorderedSetIP9DexMethodSt4hashIS1_ESt8equal_toIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %6)
  store ptr %24, ptr %8, align 8
  %25 = call ptr @_ZNK12UnorderedSetIP9DexMethodSt4hashIS1_ESt8equal_toIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %0)
  store ptr %25, ptr %9, align 8
  %26 = call noundef zeroext i1 @_ZNK12UnorderedSetIP9DexMethodSt4hashIS1_ESt8equal_toIS1_EE18ConstFixedIteratorneERKS7_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br i1 %26, label %27, label %._crit_edge

._crit_edge:                                      ; preds = %23
  %.pre = load ptr, ptr %6, align 8, !tbaa !5
  br label %48

.critedge:                                        ; preds = %18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %27

27:                                               ; preds = %.critedge, %23
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %28)
  %30 = icmp eq i64 %29, 2
  br i1 %30, label %32, label %31

31:                                               ; preds = %27
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.10, i32 noundef 1051, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironment, i32 noundef 2, ptr noundef nonnull @.str.26) #8
  unreachable

32:                                               ; preds = %27
  %33 = call noundef ptr @"_ZZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironmentENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
  %.not34 = icmp eq ptr %33, null
  br i1 %.not34, label %.critedge42, label %34

34:                                               ; preds = %32
  %35 = call noundef ptr @"_ZZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironmentENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 1)
  %.not35 = icmp eq ptr %35, null
  br i1 %.not35, label %.critedge42, label %36

36:                                               ; preds = %34
  %37 = icmp eq ptr %33, %35
  %38 = zext i1 %37 to i64
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #7
  call void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %38)
  invoke void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEEC2I20SignedConstantDomainEET_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull %11)
          to label %40 unwind label %43

40:                                               ; preds = %36
  %41 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN19ConstantEnvironment3setEjRK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE(ptr noundef nonnull align 8 dereferenceable(48) %39, i32 noundef -2, ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %42 unwind label %45

42:                                               ; preds = %40
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #7
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #7
  br label %.critedge42

43:                                               ; preds = %36
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %47

45:                                               ; preds = %40
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #7
  br label %47

47:                                               ; preds = %45, %43
  %.pn36 = phi { ptr, i32 } [ %46, %45 ], [ %44, %43 ]
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #7
  br label %71

.critedge4:                                       ; preds = %22
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %48

48:                                               ; preds = %._crit_edge, %.critedge4
  %49 = phi ptr [ %.pre, %._crit_edge ], [ %16, %.critedge4 ]
  %50 = call noundef ptr @_ZN6method25java_lang_String_hashCodeEv()
  %51 = icmp eq ptr %49, %50
  br i1 %51, label %52, label %.critedge42

52:                                               ; preds = %48
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %53)
  %55 = icmp eq i64 %54, 1
  br i1 %55, label %57, label %56

56:                                               ; preds = %52
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.10, i32 noundef 1061, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironment, i32 noundef 2, ptr noundef nonnull @.str.26) #8
  unreachable

57:                                               ; preds = %52
  %58 = call noundef ptr @"_ZZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironmentENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
  %.not32 = icmp eq ptr %58, null
  br i1 %.not32, label %.critedge42, label %59

59:                                               ; preds = %57
  %60 = call noundef i32 @_ZNK9DexString13java_hashcodeEv(ptr noundef nonnull align 8 dereferenceable(16) %58)
  %61 = sext i32 %60 to i64
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #7
  call void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %61)
  invoke void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEEC2I20SignedConstantDomainEET_(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull %13)
          to label %63 unwind label %66

63:                                               ; preds = %59
  %64 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN19ConstantEnvironment3setEjRK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE(ptr noundef nonnull align 8 dereferenceable(48) %62, i32 noundef -2, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %65 unwind label %68

65:                                               ; preds = %63
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #7
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  br label %.critedge42

66:                                               ; preds = %59
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %70

68:                                               ; preds = %63
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #7
  br label %70

70:                                               ; preds = %68, %66
  %.pn = phi { ptr, i32 } [ %69, %68 ], [ %67, %66 ]
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  br label %71

.critedge42:                                      ; preds = %48, %34, %32, %57, %65, %42
  %.4 = phi i1 [ true, %65 ], [ true, %42 ], [ false, %57 ], [ false, %32 ], [ false, %34 ], [ false, %48 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %72

71:                                               ; preds = %70, %47
  %.pn36.pn = phi { ptr, i32 } [ %.pn36, %47 ], [ %.pn, %70 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  resume { ptr, i32 } %.pn36.pn

72:                                               ; preds = %3, %.critedge42
  %.5 = phi i1 [ %.4, %.critedge42 ], [ false, %3 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  ret i1 %.5
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef) local_unnamed_addr #6

declare noundef ptr @_ZN6method23java_lang_String_equalsEv() local_unnamed_addr #2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef ptr @"_ZZN20constant_propagation14StringAnalyzer14analyze_invokeEPKNS_19StringAnalyzerStateEPK13IRInstructionP19ConstantEnvironmentENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #6 align 2

declare noundef ptr @_ZN6method25java_lang_String_hashCodeEv() local_unnamed_addr #2

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


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