; 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.SignedConstantDomain = type { %"struct.SignedConstantDomain::Bounds" }
%"struct.SignedConstantDomain::Bounds" = type { i8, i64, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.boost::optional.55" = type { %"class.boost::optional_detail::tc_optional_base.56" }
%"class.boost::optional_detail::tc_optional_base.56" = type { i8, i64 }
%"struct.boost::none_t" = type { i8 }
%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] }

@.str.18 = external hidden unnamed_addr constant [22 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: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; 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 noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConstantEnvironment3getI20SignedConstantDomainEET_j(ptr dead_on_unwind noalias writable sret(%class.SignedConstantDomain) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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)) #3 align 2

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) #2

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) #2

declare void @_Z4showB5cxx11PK13IRInstruction(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN20constant_propagation17PrimitiveAnalyzer15analyze_defaultEPK13IRInstructionP19ConstantEnvironment(ptr noundef, ptr noundef) #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20SignedConstantDomain3topEv(ptr dead_on_unwind noalias writable sret(%class.SignedConstantDomain) align 8) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5boostneIlEEbRKNS_8optionalIT_EENS_6none_tE(ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN20constant_propagation17PrimitiveAnalyzer13analyze_binopEPK13IRInstructionP19ConstantEnvironment(ptr noundef %0, ptr noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i16, align 2
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.boost::optional.55", align 8
  %11 = alloca %class.SignedConstantDomain, align 8
  %12 = alloca %"class.boost::optional.55", align 8
  %13 = alloca %class.SignedConstantDomain, align 8
  %14 = alloca %"class.boost::optional.55", align 8
  %15 = alloca %"struct.boost::none_t", align 1
  %16 = alloca i8, align 1
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i32, align 4
  %26 = alloca %class.SignedConstantDomain, align 8
  %27 = alloca %"struct.boost::none_t", align 1
  %28 = alloca %class.SignedConstantDomain, align 8
  %29 = alloca i32, align 4
  %30 = alloca %class.SignedConstantDomain, align 8
  %31 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %32 = alloca %class.SignedConstantDomain, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %6) #7
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %33)
  store i16 %34, ptr %6, align 2, !tbaa !9
  br label %35

35:                                               ; preds = %2
  %36 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 26, i32 noundef 5)
  br i1 %36, label %37, label %45

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #7
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_Z4showB5cxx11PK13IRInstruction(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef %38)
  %39 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 26, i32 noundef 5, i1 noundef zeroext false, ptr noundef @.str.18, ptr noundef %39)
          to label %40 unwind label %41

40:                                               ; preds = %37
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #7
  br label %45

41:                                               ; preds = %37
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %8, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #7
  br label %223

45:                                               ; preds = %40, %35
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #7
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %49, i16 noundef zeroext 0)
  call void @_ZNK19ConstantEnvironment3getI20SignedConstantDomainEET_j(ptr dead_on_unwind writable sret(%class.SignedConstantDomain) align 8 %11, ptr noundef nonnull align 8 dereferenceable(48) %48, i32 noundef %50)
  %51 = invoke { i8, i64 } @_ZNK20SignedConstantDomain12get_constantEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %52 unwind label %74

52:                                               ; preds = %47
  %53 = getelementptr inbounds %"class.boost::optional.55", ptr %10, i32 0, i32 0
  %54 = getelementptr inbounds { i8, i64 }, ptr %53, i32 0, i32 0
  %55 = extractvalue { i8, i64 } %51, 0
  store i8 %55, ptr %54, align 8
  %56 = getelementptr inbounds { i8, i64 }, ptr %53, i32 0, i32 1
  %57 = extractvalue { i8, i64 } %51, 1
  store i64 %57, ptr %56, align 8
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #7
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %59, i16 noundef zeroext 1)
  call void @_ZNK19ConstantEnvironment3getI20SignedConstantDomainEET_j(ptr dead_on_unwind writable sret(%class.SignedConstantDomain) align 8 %13, ptr noundef nonnull align 8 dereferenceable(48) %58, i32 noundef %60)
  %61 = invoke { i8, i64 } @_ZNK20SignedConstantDomain12get_constantEv(ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %62 unwind label %78

62:                                               ; preds = %52
  %63 = getelementptr inbounds %"class.boost::optional.55", ptr %12, i32 0, i32 0
  %64 = getelementptr inbounds { i8, i64 }, ptr %63, i32 0, i32 0
  %65 = extractvalue { i8, i64 } %61, 0
  store i8 %65, ptr %64, align 8
  %66 = getelementptr inbounds { i8, i64 }, ptr %63, i32 0, i32 1
  %67 = extractvalue { i8, i64 } %61, 1
  store i64 %67, ptr %66, align 8
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  call void @_ZN5boost8optionalIlEC2ENS_6none_tE(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  %68 = call noundef zeroext i1 @_ZNK5boost8optionalIlEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br i1 %68, label %69, label %215

69:                                               ; preds = %62
  %70 = call noundef zeroext i1 @_ZNK5boost8optionalIlEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br i1 %70, label %71, label %215

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  store i8 0, ptr %16, align 1, !tbaa !11
  %72 = load i16, ptr %6, align 2, !tbaa !9
  %73 = zext i16 %72 to i32
  switch i32 %73, label %148 [
    i32 115, label %82
    i32 126, label %82
    i32 116, label %89
    i32 127, label %89
    i32 117, label %96
    i32 128, label %96
    i32 118, label %103
    i32 129, label %103
    i32 119, label %115
    i32 130, label %115
    i32 120, label %127
    i32 131, label %127
    i32 121, label %134
    i32 132, label %134
    i32 122, label %141
    i32 133, label %141
  ]

74:                                               ; preds = %47
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %8, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %9, align 4
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  br label %222

78:                                               ; preds = %52
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %8, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %9, align 4
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  br label %221

82:                                               ; preds = %71, %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %84 = load i64, ptr %83, align 8, !tbaa !13
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %86 = load i64, ptr %85, align 8, !tbaa !13
  %87 = add nsw i64 %84, %86
  store i64 %87, ptr %17, align 8, !tbaa !13
  %88 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %152

89:                                               ; preds = %71, %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %91 = load i64, ptr %90, align 8, !tbaa !13
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %93 = load i64, ptr %92, align 8, !tbaa !13
  %94 = sub nsw i64 %91, %93
  store i64 %94, ptr %18, align 8, !tbaa !13
  %95 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %18)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %152

96:                                               ; preds = %71, %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %98 = load i64, ptr %97, align 8, !tbaa !13
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %100 = load i64, ptr %99, align 8, !tbaa !13
  %101 = mul nsw i64 %98, %100
  store i64 %101, ptr %19, align 8, !tbaa !13
  %102 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %152

103:                                              ; preds = %71, %71
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %105 = load i64, ptr %104, align 8, !tbaa !13
  %106 = icmp ne i64 %105, 0
  br i1 %106, label %107, label %114

107:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %109 = load i64, ptr %108, align 8, !tbaa !13
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %111 = load i64, ptr %110, align 8, !tbaa !13
  %112 = sdiv i64 %109, %111
  store i64 %112, ptr %20, align 8, !tbaa !13
  %113 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %114

114:                                              ; preds = %107, %103
  store i8 1, ptr %16, align 1, !tbaa !11
  br label %152

115:                                              ; preds = %71, %71
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %117 = load i64, ptr %116, align 8, !tbaa !13
  %118 = icmp ne i64 %117, 0
  br i1 %118, label %119, label %126

119:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %121 = load i64, ptr %120, align 8, !tbaa !13
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %123 = load i64, ptr %122, align 8, !tbaa !13
  %124 = srem i64 %121, %123
  store i64 %124, ptr %21, align 8, !tbaa !13
  %125 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %126

126:                                              ; preds = %119, %115
  store i8 1, ptr %16, align 1, !tbaa !11
  br label %152

127:                                              ; preds = %71, %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %129 = load i64, ptr %128, align 8, !tbaa !13
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %131 = load i64, ptr %130, align 8, !tbaa !13
  %132 = and i64 %129, %131
  store i64 %132, ptr %22, align 8, !tbaa !13
  %133 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %152

134:                                              ; preds = %71, %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %136 = load i64, ptr %135, align 8, !tbaa !13
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %138 = load i64, ptr %137, align 8, !tbaa !13
  %139 = or i64 %136, %138
  store i64 %139, ptr %23, align 8, !tbaa !13
  %140 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %152

141:                                              ; preds = %71, %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %143 = load i64, ptr %142, align 8, !tbaa !13
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %145 = load i64, ptr %144, align 8, !tbaa !13
  %146 = xor i64 %143, %145
  store i64 %146, ptr %24, align 8, !tbaa !13
  %147 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %24)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %152

148:                                              ; preds = %71
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  %151 = call noundef zeroext i1 @_ZN20constant_propagation17PrimitiveAnalyzer15analyze_defaultEPK13IRInstructionP19ConstantEnvironment(ptr noundef %149, ptr noundef %150)
  store i1 %151, ptr %3, align 1
  store i32 1, ptr %25, align 4
  br label %214

152:                                              ; preds = %141, %134, %127, %126, %114, %96, %89, %82
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #7
  call void @_ZN20SignedConstantDomain3topEv(ptr dead_on_unwind writable sret(%class.SignedConstantDomain) align 8 %26)
  %153 = call noundef zeroext i1 @_ZN5boostneIlEEbRKNS_8optionalIT_EENS_6none_tE(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br i1 %153, label %154, label %190

154:                                              ; preds = %152
  %155 = load i16, ptr %6, align 2, !tbaa !9
  %156 = invoke noundef zeroext i1 @_ZN6opcode10is_binop64E8IROpcode(i16 noundef zeroext %155)
          to label %157 unwind label %163

157:                                              ; preds = %154
  br i1 %156, label %158, label %171

158:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #7
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %160 unwind label %167

160:                                              ; preds = %158
  %161 = load i64, ptr %159, align 8, !tbaa !13
  invoke void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %161)
          to label %162 unwind label %167

162:                                              ; preds = %160
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %28, i64 24, i1 false)
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  br label %189

163:                                              ; preds = %195, %154
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %8, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %9, align 4
  br label %213

167:                                              ; preds = %160, %158
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %8, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  br label %213

171:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %173 unwind label %180

173:                                              ; preds = %171
  %174 = load i64, ptr %172, align 8, !tbaa !13
  %175 = and i64 %174, 4294967295
  %176 = trunc i64 %175 to i32
  store i32 %176, ptr %29, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #7
  %177 = load i32, ptr %29, align 4, !tbaa !15
  %178 = sext i32 %177 to i64
  invoke void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %178)
          to label %179 unwind label %184

179:                                              ; preds = %173
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %30, i64 24, i1 false)
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %189

180:                                              ; preds = %171
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %8, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %9, align 4
  br label %188

184:                                              ; preds = %173
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %8, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #7
  br label %188

188:                                              ; preds = %184, %180
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %213

189:                                              ; preds = %179, %162
  br label %190

190:                                              ; preds = %189, %152
  %191 = load ptr, ptr %5, align 8, !tbaa !5
  %192 = load i8, ptr %16, align 1, !tbaa !11, !range !17, !noundef !18
  %193 = trunc i8 %192 to i1
  br i1 %193, label %194, label %195

194:                                              ; preds = %190
  br label %199

195:                                              ; preds = %190
  %196 = load ptr, ptr %4, align 8, !tbaa !5
  %197 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %196)
          to label %198 unwind label %163

198:                                              ; preds = %195
  br label %199

199:                                              ; preds = %198, %194
  %200 = phi i32 [ -2, %194 ], [ %197, %198 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %26, i64 24, i1 false)
  invoke void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEEC2I20SignedConstantDomainEET_(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef %32)
          to label %201 unwind label %204

201:                                              ; preds = %199
  %202 = 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) %191, i32 noundef %200, ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %203 unwind label %208

203:                                              ; preds = %201
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #7
  store i1 true, ptr %3, align 1
  store i32 1, ptr %25, align 4
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  br label %214

204:                                              ; preds = %199
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %8, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %9, align 4
  br label %212

208:                                              ; preds = %201
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %8, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %9, align 4
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  br label %212

212:                                              ; preds = %208, %204
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #7
  br label %213

213:                                              ; preds = %212, %188, %167, %163
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  br label %221

214:                                              ; preds = %203, %148
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  br label %219

215:                                              ; preds = %69, %62
  %216 = load ptr, ptr %4, align 8, !tbaa !5
  %217 = load ptr, ptr %5, align 8, !tbaa !5
  %218 = call noundef zeroext i1 @_ZN20constant_propagation17PrimitiveAnalyzer15analyze_defaultEPK13IRInstructionP19ConstantEnvironment(ptr noundef %216, ptr noundef %217)
  store i1 %218, ptr %3, align 1
  store i32 1, ptr %25, align 4
  br label %219

219:                                              ; preds = %215, %214
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %6) #7
  %220 = load i1, ptr %3, align 1
  ret i1 %220

221:                                              ; preds = %213, %78
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  br label %222

222:                                              ; preds = %221, %74
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  br label %223

223:                                              ; preds = %222, %41
  call void @llvm.lifetime.end.p0(i64 2, ptr %6) #7
  br label %224

224:                                              ; preds = %223
  %225 = load ptr, ptr %8, align 8
  %226 = load i32, ptr %9, align 4
  %227 = insertvalue { ptr, i32 } poison, ptr %225, 0
  %228 = insertvalue { ptr, i32 } %227, i32 %226, 1
  resume { ptr, i32 } %228
}

declare noundef zeroext i1 @_ZN6opcode10is_binop64E8IROpcode(i16 noundef zeroext) #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 = { "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 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 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}


; 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.SignedConstantDomain = type { %"struct.SignedConstantDomain::Bounds" }
%"struct.SignedConstantDomain::Bounds" = type { i8, i64, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.boost::optional.55" = type { %"class.boost::optional_detail::tc_optional_base.56" }
%"class.boost::optional_detail::tc_optional_base.56" = type { i8, i64 }
%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] }

@.str.18 = external hidden unnamed_addr constant [22 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 nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; 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 noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConstantEnvironment3getI20SignedConstantDomainEET_j(ptr dead_on_unwind noalias writable sret(%class.SignedConstantDomain) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #3 align 2

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) local_unnamed_addr #2

declare void @_Z4showB5cxx11PK13IRInstruction(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN20constant_propagation17PrimitiveAnalyzer15analyze_defaultEPK13IRInstructionP19ConstantEnvironment(ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20SignedConstantDomain3topEv(ptr dead_on_unwind noalias writable sret(%class.SignedConstantDomain) align 8) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5boostneIlEEbRKNS_8optionalIT_EENS_6none_tE(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN20constant_propagation17PrimitiveAnalyzer13analyze_binopEPK13IRInstructionP19ConstantEnvironment(ptr noundef nonnull %0, ptr noundef %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.boost::optional.55", align 8
  %5 = alloca %class.SignedConstantDomain, align 8
  %6 = alloca %"class.boost::optional.55", align 8
  %7 = alloca %class.SignedConstantDomain, align 8
  %8 = alloca %"class.boost::optional.55", align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca %class.SignedConstantDomain, align 8
  %18 = alloca %class.SignedConstantDomain, align 8
  %19 = alloca %class.SignedConstantDomain, align 8
  %20 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %21 = alloca %class.SignedConstantDomain, align 8
  %22 = tail call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %23 = tail call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 26, i32 noundef 5)
  br i1 %23, label %24, label %29

24:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #7
  call void @_Z4showB5cxx11PK13IRInstruction(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %3, ptr noundef nonnull %0)
  %25 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 26, i32 noundef 5, i1 noundef zeroext false, ptr noundef nonnull @.str.18, ptr noundef %25)
          to label %26 unwind label %27

26:                                               ; preds = %24
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  br label %29

27:                                               ; preds = %24
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  br label %157

29:                                               ; preds = %26, %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  %30 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %0, i16 noundef zeroext 0)
  call void @_ZNK19ConstantEnvironment3getI20SignedConstantDomainEET_j(ptr dead_on_unwind nonnull writable sret(%class.SignedConstantDomain) align 8 %5, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %30)
  %31 = invoke { i8, i64 } @_ZNK20SignedConstantDomain12get_constantEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %32 unwind label %46

32:                                               ; preds = %29
  %33 = extractvalue { i8, i64 } %31, 0
  store i8 %33, ptr %4, align 8
  %34 = getelementptr inbounds i8, ptr %4, i64 8
  %35 = extractvalue { i8, i64 } %31, 1
  store i64 %35, ptr %34, align 8
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  %36 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %0, i16 noundef zeroext 1)
  call void @_ZNK19ConstantEnvironment3getI20SignedConstantDomainEET_j(ptr dead_on_unwind nonnull writable sret(%class.SignedConstantDomain) align 8 %7, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %36)
  %37 = invoke { i8, i64 } @_ZNK20SignedConstantDomain12get_constantEv(ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %38 unwind label %48

38:                                               ; preds = %32
  %39 = extractvalue { i8, i64 } %37, 0
  store i8 %39, ptr %6, align 8
  %40 = getelementptr inbounds i8, ptr %6, i64 8
  %41 = extractvalue { i8, i64 } %37, 1
  store i64 %41, ptr %40, align 8
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN5boost8optionalIlEC2ENS_6none_tE(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  %42 = call noundef zeroext i1 @_ZNK5boost8optionalIlEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  br i1 %42, label %43, label %152

43:                                               ; preds = %38
  %44 = call noundef zeroext i1 @_ZNK5boost8optionalIlEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  br i1 %44, label %45, label %152

45:                                               ; preds = %43
  switch i16 %22, label %112 [
    i16 115, label %50
    i16 126, label %50
    i16 116, label %57
    i16 127, label %57
    i16 117, label %64
    i16 128, label %64
    i16 118, label %71
    i16 129, label %71
    i16 119, label %81
    i16 130, label %81
    i16 120, label %91
    i16 131, label %91
    i16 121, label %98
    i16 132, label %98
    i16 122, label %105
    i16 133, label %105
  ]

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

48:                                               ; preds = %32
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  br label %155

50:                                               ; preds = %45, %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %52 = load i64, ptr %51, align 8, !tbaa !5
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %54 = load i64, ptr %53, align 8, !tbaa !5
  %55 = add nsw i64 %54, %52
  store i64 %55, ptr %9, align 8, !tbaa !5
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %114

57:                                               ; preds = %45, %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %59 = load i64, ptr %58, align 8, !tbaa !5
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %61 = load i64, ptr %60, align 8, !tbaa !5
  %62 = sub nsw i64 %59, %61
  store i64 %62, ptr %10, align 8, !tbaa !5
  %63 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br label %114

64:                                               ; preds = %45, %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %66 = load i64, ptr %65, align 8, !tbaa !5
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %68 = load i64, ptr %67, align 8, !tbaa !5
  %69 = mul nsw i64 %68, %66
  store i64 %69, ptr %11, align 8, !tbaa !5
  %70 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %114

71:                                               ; preds = %45, %45
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %73 = load i64, ptr %72, align 8, !tbaa !5
  %.not27 = icmp eq i64 %73, 0
  br i1 %.not27, label %114, label %74

74:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %76 = load i64, ptr %75, align 8, !tbaa !5
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %78 = load i64, ptr %77, align 8, !tbaa !5
  %79 = sdiv i64 %76, %78
  store i64 %79, ptr %12, align 8, !tbaa !5
  %80 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %114

81:                                               ; preds = %45, %45
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %83 = load i64, ptr %82, align 8, !tbaa !5
  %.not = icmp eq i64 %83, 0
  br i1 %.not, label %114, label %84

84:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %86 = load i64, ptr %85, align 8, !tbaa !5
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %88 = load i64, ptr %87, align 8, !tbaa !5
  %89 = srem i64 %86, %88
  store i64 %89, ptr %13, align 8, !tbaa !5
  %90 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %114

91:                                               ; preds = %45, %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %93 = load i64, ptr %92, align 8, !tbaa !5
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %95 = load i64, ptr %94, align 8, !tbaa !5
  %96 = and i64 %95, %93
  store i64 %96, ptr %14, align 8, !tbaa !5
  %97 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %114

98:                                               ; preds = %45, %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %100 = load i64, ptr %99, align 8, !tbaa !5
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %102 = load i64, ptr %101, align 8, !tbaa !5
  %103 = or i64 %102, %100
  store i64 %103, ptr %15, align 8, !tbaa !5
  %104 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %114

105:                                              ; preds = %45, %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %107 = load i64, ptr %106, align 8, !tbaa !5
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %109 = load i64, ptr %108, align 8, !tbaa !5
  %110 = xor i64 %109, %107
  store i64 %110, ptr %16, align 8, !tbaa !5
  %111 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost8optionalIlEaSIlEENS_9enable_ifINS_7is_sameIlNS_5decayIT_E4typeEEERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br label %114

112:                                              ; preds = %45
  %113 = call noundef zeroext i1 @_ZN20constant_propagation17PrimitiveAnalyzer15analyze_defaultEPK13IRInstructionP19ConstantEnvironment(ptr noundef nonnull %0, ptr noundef nonnull %1)
  br label %154

114:                                              ; preds = %81, %84, %71, %74, %105, %98, %91, %64, %57, %50
  %.018 = phi i1 [ false, %105 ], [ false, %98 ], [ false, %91 ], [ false, %64 ], [ false, %57 ], [ false, %50 ], [ true, %74 ], [ true, %71 ], [ true, %84 ], [ true, %81 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #7
  call void @_ZN20SignedConstantDomain3topEv(ptr dead_on_unwind nonnull writable sret(%class.SignedConstantDomain) align 8 %17)
  %115 = call noundef zeroext i1 @_ZN5boostneIlEEbRKNS_8optionalIT_EENS_6none_tE(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  br i1 %115, label %116, label %138

116:                                              ; preds = %114
  %117 = invoke noundef zeroext i1 @_ZN6opcode10is_binop64E8IROpcode(i16 noundef zeroext %22)
          to label %118 unwind label %124

118:                                              ; preds = %116
  br i1 %117, label %119, label %128

119:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #7
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %121 unwind label %126

121:                                              ; preds = %119
  %122 = load i64, ptr %120, align 8, !tbaa !5
  invoke void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %122)
          to label %123 unwind label %126

123:                                              ; preds = %121
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %18, i64 24, i1 false)
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  br label %138

124:                                              ; preds = %139, %116
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %151

126:                                              ; preds = %121, %119
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  br label %151

128:                                              ; preds = %118
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %130 unwind label %134

130:                                              ; preds = %128
  %131 = load i64, ptr %129, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #7
  %sext = shl i64 %131, 32
  %132 = ashr exact i64 %sext, 32
  invoke void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %132)
          to label %133 unwind label %136

133:                                              ; preds = %130
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %19, i64 24, i1 false)
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  br label %138

134:                                              ; preds = %128
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %151

136:                                              ; preds = %130
  %137 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  br label %151

138:                                              ; preds = %123, %133, %114
  br i1 %.018, label %141, label %139

139:                                              ; preds = %138
  %140 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %141 unwind label %124

141:                                              ; preds = %139, %138
  %142 = phi i32 [ -2, %138 ], [ %140, %139 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %20) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(24) %17, i64 24, i1 false)
  invoke void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEEC2I20SignedConstantDomainEET_(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull %21)
          to label %143 unwind label %146

143:                                              ; preds = %141
  %144 = 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) %1, i32 noundef %142, ptr noundef nonnull align 8 dereferenceable(48) %20)
          to label %145 unwind label %148

145:                                              ; preds = %143
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #7
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  br label %154

146:                                              ; preds = %141
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %150

148:                                              ; preds = %143
  %149 = 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) %20) #7
  br label %150

150:                                              ; preds = %148, %146
  %.pn29 = phi { ptr, i32 } [ %149, %148 ], [ %147, %146 ]
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #7
  br label %151

151:                                              ; preds = %134, %136, %150, %126, %124
  %.pn29.pn = phi { ptr, i32 } [ %.pn29, %150 ], [ %125, %124 ], [ %127, %126 ], [ %137, %136 ], [ %135, %134 ]
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  br label %155

152:                                              ; preds = %43, %38
  %153 = call noundef zeroext i1 @_ZN20constant_propagation17PrimitiveAnalyzer15analyze_defaultEPK13IRInstructionP19ConstantEnvironment(ptr noundef nonnull %0, ptr noundef nonnull %1)
  br label %154

154:                                              ; preds = %112, %145, %152
  %.1 = phi i1 [ %153, %152 ], [ %113, %112 ], [ true, %145 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  ret i1 %.1

155:                                              ; preds = %151, %48
  %.pn29.pn.pn = phi { ptr, i32 } [ %.pn29.pn, %151 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %156

156:                                              ; preds = %155, %46
  %.pn29.pn.pn.pn = phi { ptr, i32 } [ %.pn29.pn.pn, %155 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  br label %157

157:                                              ; preds = %156, %27
  %.pn29.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn29.pn.pn.pn, %156 ], [ %28, %27 ]
  resume { ptr, i32 } %.pn29.pn.pn.pn.pn
}

declare noundef zeroext i1 @_ZN6opcode10is_binop64E8IROpcode(i16 noundef zeroext) local_unnamed_addr #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 = { "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 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 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


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