; 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.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.boost::optional.306" = type { %"class.boost::optional_detail::optional_base.307" }
%"class.boost::optional_detail::optional_base.307" = type { i8, [7 x i8], %"class.boost::optional_detail::aligned_storage.308" }
%"class.boost::optional_detail::aligned_storage.308" = type { %"union.boost::optional_detail::aligned_storage<sparta::ConstantAbstractDomain<const DexField *>>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<sparta::ConstantAbstractDomain<const DexField *>>::dummy_u" = type { [8 x i8] }
%"class.boost::optional.309" = type { %"class.boost::optional_detail::tc_optional_base.310" }
%"class.boost::optional_detail::tc_optional_base.310" = type { i8, ptr }
%class.SignedConstantDomain = type { %"struct.SignedConstantDomain::Bounds" }
%"struct.SignedConstantDomain::Bounds" = type { i8, i64, i64 }
%"struct.constant_propagation::EnumFieldAnalyzerState" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind noalias writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #2 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)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) unnamed_addr #2 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 #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN20constant_propagation17EnumFieldAnalyzer14analyze_invokeERKNS_22EnumFieldAnalyzerStateEPK13IRInstructionP19ConstantEnvironment(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %1, ptr noundef %2) #2 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 i16, align 2
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.boost::optional.306", align 8
  %12 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.boost::optional.306", align 8
  %16 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %17 = alloca %"class.boost::optional.309", align 8
  %18 = alloca %"class.boost::optional.309", align 8
  %19 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %20 = 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 2, ptr %8) #6
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %21)
  store i16 %22, ptr %8, align 2, !tbaa !9
  %23 = load i16, ptr %8, align 2, !tbaa !9
  %24 = zext i16 %23 to i32
  %25 = icmp eq i32 %24, 87
  br i1 %25, label %26, label %131

26:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = call noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
  %29 = call noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef %28, i32 noundef 2, ptr noundef null)
  store ptr %29, ptr %9, align 8, !tbaa !5
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  %31 = icmp eq ptr %30, null
  br i1 %31, label %32, label %33

32:                                               ; preds = %26
  store i1 false, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %128

33:                                               ; preds = %26
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.constant_propagation::EnumFieldAnalyzerState", ptr %35, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !11
  %38 = icmp eq ptr %34, %37
  br i1 %38, label %39, label %127

39:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #6
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %41, i16 noundef zeroext 0)
  call void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %12, ptr noundef nonnull align 8 dereferenceable(48) %40, i32 noundef %42)
  invoke void @_ZNK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE9maybe_getIS6_EEN5boost8optionalIT_EEv(ptr dead_on_unwind writable sret(%"class.boost::optional.306") align 8 %11, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %43 unwind label %54

43:                                               ; preds = %39
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #6
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %45, i16 noundef zeroext 1)
          to label %47 unwind label %58

47:                                               ; preds = %43
  invoke void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %16, ptr noundef nonnull align 8 dereferenceable(48) %44, i32 noundef %46)
          to label %48 unwind label %58

48:                                               ; preds = %47
  invoke void @_ZNK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE9maybe_getIS6_EEN5boost8optionalIT_EEv(ptr dead_on_unwind writable sret(%"class.boost::optional.306") align 8 %15, ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %49 unwind label %62

49:                                               ; preds = %48
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #6
  %50 = call noundef zeroext i1 @_ZNK5boost8optionalIN6sparta22ConstantAbstractDomainIPK8DexFieldEEEntEv(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  br i1 %50, label %53, label %51

51:                                               ; preds = %49
  %52 = call noundef zeroext i1 @_ZNK5boost8optionalIN6sparta22ConstantAbstractDomainIPK8DexFieldEEEntEv(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  br i1 %52, label %53, label %67

53:                                               ; preds = %51, %49
  store i1 false, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %124

54:                                               ; preds = %39
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %13, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %14, align 4
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #6
  br label %126

58:                                               ; preds = %47, %43
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %13, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %14, align 4
  br label %66

62:                                               ; preds = %48
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %13, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %14, 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) #6
  br label %66

66:                                               ; preds = %62, %58
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #6
  br label %125

67:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %68 = invoke noundef ptr @_ZN5boost8optionalIN6sparta22ConstantAbstractDomainIPK8DexFieldEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %69 unwind label %90

69:                                               ; preds = %67
  %70 = invoke { i8, ptr } @_ZNK6sparta22ConstantAbstractDomainIPK8DexFieldE12get_constantEv(ptr noundef nonnull align 8 dereferenceable(8) %68)
          to label %71 unwind label %90

71:                                               ; preds = %69
  %72 = getelementptr inbounds %"class.boost::optional.309", ptr %17, i32 0, i32 0
  %73 = getelementptr inbounds { i8, ptr }, ptr %72, i32 0, i32 0
  %74 = extractvalue { i8, ptr } %70, 0
  store i8 %74, ptr %73, align 8
  %75 = getelementptr inbounds { i8, ptr }, ptr %72, i32 0, i32 1
  %76 = extractvalue { i8, ptr } %70, 1
  store ptr %76, ptr %75, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  %77 = invoke noundef ptr @_ZN5boost8optionalIN6sparta22ConstantAbstractDomainIPK8DexFieldEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %78 unwind label %94

78:                                               ; preds = %71
  %79 = invoke { i8, ptr } @_ZNK6sparta22ConstantAbstractDomainIPK8DexFieldE12get_constantEv(ptr noundef nonnull align 8 dereferenceable(8) %77)
          to label %80 unwind label %94

80:                                               ; preds = %78
  %81 = getelementptr inbounds %"class.boost::optional.309", ptr %18, i32 0, i32 0
  %82 = getelementptr inbounds { i8, ptr }, ptr %81, i32 0, i32 0
  %83 = extractvalue { i8, ptr } %79, 0
  store i8 %83, ptr %82, align 8
  %84 = getelementptr inbounds { i8, ptr }, ptr %81, i32 0, i32 1
  %85 = extractvalue { i8, ptr } %79, 1
  store ptr %85, ptr %84, align 8
  %86 = call noundef zeroext i1 @_ZNK5boost8optionalIPK8DexFieldEntEv(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  br i1 %86, label %89, label %87

87:                                               ; preds = %80
  %88 = call noundef zeroext i1 @_ZNK5boost8optionalIPK8DexFieldEntEv(ptr noundef nonnull align 8 dereferenceable(16) %18) #6
  br i1 %88, label %89, label %98

89:                                               ; preds = %87, %80
  store i1 false, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %121

90:                                               ; preds = %69, %67
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %13, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %14, align 4
  br label %123

94:                                               ; preds = %78, %71
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %13, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %14, align 4
  br label %122

98:                                               ; preds = %87
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #6
  %100 = invoke noundef zeroext i1 @_ZN5boosteqIPK8DexFieldEEbRKNS_8optionalIT_EES8_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %101 unwind label %107

101:                                              ; preds = %98
  %102 = zext i1 %100 to i64
  invoke void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %102)
          to label %103 unwind label %107

103:                                              ; preds = %101
  invoke void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEEC2I20SignedConstantDomainEET_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef %20)
          to label %104 unwind label %111

104:                                              ; preds = %103
  %105 = 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) %99, i32 noundef -2, ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %106 unwind label %115

106:                                              ; preds = %104
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #6
  store i1 true, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %121

107:                                              ; preds = %101, %98
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %13, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %14, align 4
  br label %120

111:                                              ; preds = %103
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %13, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %14, align 4
  br label %119

115:                                              ; preds = %104
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %13, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %14, align 4
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  br label %119

119:                                              ; preds = %115, %111
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  br label %120

120:                                              ; preds = %119, %107
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #6
  br label %122

121:                                              ; preds = %106, %89
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  br label %124

122:                                              ; preds = %120, %94
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  br label %123

123:                                              ; preds = %122, %90
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK8DexFieldEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  br label %125

124:                                              ; preds = %121, %53
  call void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK8DexFieldEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK8DexFieldEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  br label %128

125:                                              ; preds = %123, %66
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK8DexFieldEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  br label %126

126:                                              ; preds = %125, %54
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #6
  br label %134

127:                                              ; preds = %33
  store i32 0, ptr %10, align 4
  br label %128

128:                                              ; preds = %127, %124, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  %129 = load i32, ptr %10, align 4
  switch i32 %129, label %132 [
    i32 0, label %130
  ]

130:                                              ; preds = %128
  br label %131

131:                                              ; preds = %130, %3
  store i1 false, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %132

132:                                              ; preds = %131, %128
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #6
  %133 = load i1, ptr %4, align 1
  ret i1 %133

134:                                              ; preds = %126
  %135 = load ptr, ptr %13, align 8
  %136 = load i32, ptr %14, align 4
  %137 = insertvalue { ptr, i32 } poison, ptr %135, 0
  %138 = insertvalue { ptr, i32 } %137, i32 %136, 1
  resume { ptr, i32 } %138
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE9maybe_getIS6_EEN5boost8optionalIT_EEv(ptr dead_on_unwind noalias writable sret(%"class.boost::optional.306") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5boosteqIPK8DexFieldEEbRKNS_8optionalIT_EES8_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #5

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS8IROpcode", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSN20constant_propagation22EnumFieldAnalyzerStateE", !6, i64 0}


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

%class.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.boost::optional.306" = type { %"class.boost::optional_detail::optional_base.307" }
%"class.boost::optional_detail::optional_base.307" = type { i8, [7 x i8], %"class.boost::optional_detail::aligned_storage.308" }
%"class.boost::optional_detail::aligned_storage.308" = type { %"union.boost::optional_detail::aligned_storage<sparta::ConstantAbstractDomain<const DexField *>>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<sparta::ConstantAbstractDomain<const DexField *>>::dummy_u" = type { [8 x i8] }
%"class.boost::optional.309" = type { %"class.boost::optional_detail::tc_optional_base.310" }
%"class.boost::optional_detail::tc_optional_base.310" = type { i8, ptr }
%class.SignedConstantDomain = type { %"struct.SignedConstantDomain::Bounds" }
%"struct.SignedConstantDomain::Bounds" = type { i8, i64, i64 }

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 nounwind uwtable
declare dso_local noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

declare noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind noalias writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #2 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 #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) unnamed_addr #2 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 #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN20constant_propagation17EnumFieldAnalyzer14analyze_invokeERKNS_22EnumFieldAnalyzerStateEPK13IRInstructionP19ConstantEnvironment(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr noundef nonnull %1, ptr noundef %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.boost::optional.306", align 8
  %5 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %6 = alloca %"class.boost::optional.306", align 8
  %7 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %8 = alloca %"class.boost::optional.309", align 8
  %9 = alloca %"class.boost::optional.309", align 8
  %10 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %11 = alloca %class.SignedConstantDomain, align 8
  %12 = tail call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %13 = icmp eq i16 %12, 87
  br i1 %13, label %14, label %.thread

14:                                               ; preds = %3
  %15 = tail call noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %16 = tail call noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef %15, i32 noundef 2, ptr noundef null)
  %17 = icmp ne ptr %16, null
  %18 = load ptr, ptr %0, align 8
  %19 = icmp eq ptr %16, %18
  %or.cond = select i1 %17, i1 %19, i1 false
  br i1 %or.cond, label %20, label %.thread

20:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #6
  %21 = tail call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %1, i16 noundef zeroext 0)
  call void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind nonnull writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %5, ptr noundef nonnull align 8 dereferenceable(48) %2, i32 noundef %21)
  invoke void @_ZNK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE9maybe_getIS6_EEN5boost8optionalIT_EEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::optional.306") align 8 %4, ptr noundef nonnull align 8 dereferenceable(48) %5)
          to label %22 unwind label %30

22:                                               ; preds = %20
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #6
  %23 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %1, i16 noundef zeroext 1)
          to label %24 unwind label %32

24:                                               ; preds = %22
  invoke void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind nonnull writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %7, ptr noundef nonnull align 8 dereferenceable(48) %2, i32 noundef %23)
          to label %25 unwind label %32

25:                                               ; preds = %24
  invoke void @_ZNK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE9maybe_getIS6_EEN5boost8optionalIT_EEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::optional.306") align 8 %6, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %26 unwind label %34

26:                                               ; preds = %25
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  %27 = call noundef zeroext i1 @_ZNK5boost8optionalIN6sparta22ConstantAbstractDomainIPK8DexFieldEEEntEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  br i1 %27, label %78, label %28

28:                                               ; preds = %26
  %29 = call noundef zeroext i1 @_ZNK5boost8optionalIN6sparta22ConstantAbstractDomainIPK8DexFieldEEEntEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  br i1 %29, label %78, label %37

30:                                               ; preds = %20
  %31 = 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) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #6
  br label %80

32:                                               ; preds = %24, %22
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %36

34:                                               ; preds = %25
  %35 = 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) %7) #6
  br label %36

36:                                               ; preds = %34, %32
  %.pn = phi { ptr, i32 } [ %35, %34 ], [ %33, %32 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  br label %79

37:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  %38 = invoke noundef ptr @_ZN5boost8optionalIN6sparta22ConstantAbstractDomainIPK8DexFieldEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %39 unwind label %55

39:                                               ; preds = %37
  %40 = invoke { i8, ptr } @_ZNK6sparta22ConstantAbstractDomainIPK8DexFieldE12get_constantEv(ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %41 unwind label %55

41:                                               ; preds = %39
  %42 = extractvalue { i8, ptr } %40, 0
  store i8 %42, ptr %8, align 8
  %43 = getelementptr inbounds i8, ptr %8, i64 8
  %44 = extractvalue { i8, ptr } %40, 1
  store ptr %44, ptr %43, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %45 = invoke noundef ptr @_ZN5boost8optionalIN6sparta22ConstantAbstractDomainIPK8DexFieldEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %46 unwind label %57

46:                                               ; preds = %41
  %47 = invoke { i8, ptr } @_ZNK6sparta22ConstantAbstractDomainIPK8DexFieldE12get_constantEv(ptr noundef nonnull align 8 dereferenceable(8) %45)
          to label %48 unwind label %57

48:                                               ; preds = %46
  %49 = extractvalue { i8, ptr } %47, 0
  store i8 %49, ptr %9, align 8
  %50 = getelementptr inbounds i8, ptr %9, i64 8
  %51 = extractvalue { i8, ptr } %47, 1
  store ptr %51, ptr %50, align 8
  %52 = call noundef zeroext i1 @_ZNK5boost8optionalIPK8DexFieldEntEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  br i1 %52, label %75, label %53

53:                                               ; preds = %48
  %54 = call noundef zeroext i1 @_ZNK5boost8optionalIPK8DexFieldEntEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br i1 %54, label %75, label %59

55:                                               ; preds = %39, %37
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %77

57:                                               ; preds = %46, %41
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %76

59:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #6
  %60 = invoke noundef zeroext i1 @_ZN5boosteqIPK8DexFieldEEbRKNS_8optionalIT_EES8_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %61 unwind label %67

61:                                               ; preds = %59
  %62 = zext i1 %60 to i64
  invoke void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %62)
          to label %63 unwind label %67

63:                                               ; preds = %61
  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 %64 unwind label %69

64:                                               ; preds = %63
  %65 = 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) %2, i32 noundef -2, ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %66 unwind label %71

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

67:                                               ; preds = %61, %59
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %74

69:                                               ; preds = %63
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %73

71:                                               ; preds = %64
  %72 = 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) #6
  br label %73

73:                                               ; preds = %71, %69
  %.pn30 = phi { ptr, i32 } [ %72, %71 ], [ %70, %69 ]
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %74

74:                                               ; preds = %73, %67
  %.pn30.pn = phi { ptr, i32 } [ %.pn30, %73 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #6
  br label %76

75:                                               ; preds = %48, %53, %66
  %.024 = phi i1 [ true, %66 ], [ false, %53 ], [ false, %48 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %78

76:                                               ; preds = %74, %57
  %.pn30.pn.pn = phi { ptr, i32 } [ %.pn30.pn, %74 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %77

77:                                               ; preds = %76, %55
  %.pn30.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn, %76 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK8DexFieldEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  br label %79

78:                                               ; preds = %26, %28, %75
  %.125 = phi i1 [ %.024, %75 ], [ false, %28 ], [ false, %26 ]
  call void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK8DexFieldEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK8DexFieldEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  br label %.thread

79:                                               ; preds = %77, %36
  %.pn30.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn.pn, %77 ], [ %.pn, %36 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK8DexFieldEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  br label %80

80:                                               ; preds = %79, %30
  %.pn30.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn.pn.pn, %79 ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn30.pn.pn.pn.pn.pn

.thread:                                          ; preds = %14, %78, %3
  %.327 = phi i1 [ false, %3 ], [ false, %14 ], [ %.125, %78 ]
  ret i1 %.327
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE9maybe_getIS6_EEN5boost8optionalIT_EEv(ptr dead_on_unwind noalias writable sret(%"class.boost::optional.306") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5boosteqIPK8DexFieldEEbRKNS_8optionalIT_EES8_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


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