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

; 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" }
%"class.boost::variant" = type { i32, [4 x i8], %"class.boost::aligned_storage" }
%"class.boost::aligned_storage" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp" = 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.anon.325 = type { ptr }
%"class.constant_propagation::WholeProgramState" = type { %"class.std::shared_ptr.1", %class.UnorderedSet, %class.UnorderedSet.9, %class.UnorderedSet.31, %"class.sparta::AbstractPartition", %"class.sparta::AbstractPartition.66" }
%"class.std::shared_ptr.1" = type { %"class.std::__shared_ptr.2" }
%"class.std::__shared_ptr.2" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%class.UnorderedSet = type { %"class.std::unordered_set" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%class.UnorderedSet.9 = type { %"class.std::unordered_set.11" }
%"class.std::unordered_set.11" = type { %"class.std::_Hashtable.12" }
%"class.std::_Hashtable.12" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%class.UnorderedSet.31 = type { %"class.std::unordered_set.33" }
%"class.std::unordered_set.33" = type { %"class.std::_Hashtable.34" }
%"class.std::_Hashtable.34" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.sparta::AbstractPartition" = type <{ %"class.sparta::HashMap", i8, [7 x i8] }>
%"class.sparta::HashMap" = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable.53" }
%"class.std::_Hashtable.53" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.sparta::AbstractPartition.66" = type <{ %"class.sparta::HashMap.71", i8, [7 x i8] }>
%"class.sparta::HashMap.71" = type { %"class.std::unordered_map.76" }
%"class.std::unordered_map.76" = type { %"class.std::_Hashtable.77" }
%"class.std::_Hashtable.77" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20constant_propagation17WholeProgramState20collect_field_valuesEPK13IRInstructionRK19ConstantEnvironmentPK7DexTypeP13ConcurrentMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainISD_EENSG_17SetAbstractDomainINSG_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSJ_INSG_15PatriciaTreeSetIPK9DexStringEEEENSH_ISU_EENSH_IS9_EENSH_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSH_IS3_EEEESL_ISD_ESN_ISD_ELm83EE(ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef %3, ptr noundef %4) #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %14 = alloca %class.anon.325, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %17 = load ptr, ptr %6, align 8
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
  %20 = call noundef zeroext i1 @_ZN6opcode10is_an_sputE8IROpcode(i16 noundef zeroext %19)
  br i1 %20, label %26, label %21

21:                                               ; preds = %5
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
  %24 = call noundef zeroext i1 @_ZN6opcode10is_an_iputE8IROpcode(i16 noundef zeroext %23)
  br i1 %24, label %26, label %25

25:                                               ; preds = %21
  br label %62

26:                                               ; preds = %21, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = call noundef ptr @_ZNK13IRInstruction9get_fieldEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
  %29 = call noundef ptr @_Z13resolve_fieldPK11DexFieldRef11FieldSearch(ptr noundef %28, i32 noundef 2)
  store ptr %29, ptr %11, align 8, !tbaa !5
  %30 = load ptr, ptr %11, align 8, !tbaa !5
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %59

32:                                               ; preds = %26
  %33 = getelementptr inbounds %"class.constant_propagation::WholeProgramState", ptr %17, i32 0, i32 1
  %34 = call noundef i64 @_ZNK12UnorderedSetIPK8DexFieldSt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %35 = icmp ne i64 %34, 0
  br i1 %35, label %36, label %59

36:                                               ; preds = %32
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %37)
  %39 = call noundef zeroext i1 @_ZN6opcode10is_an_sputE8IROpcode(i16 noundef zeroext %38)
  br i1 %39, label %40, label %46

40:                                               ; preds = %36
  %41 = load ptr, ptr %11, align 8, !tbaa !5
  %42 = call noundef ptr @_ZNK11DexFieldRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %41)
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = icmp eq ptr %42, %43
  br i1 %44, label %45, label %46

45:                                               ; preds = %40
  store i32 1, ptr %12, align 4
  br label %60

46:                                               ; preds = %40, %36
  call void @llvm.lifetime.start.p0(i64 48, ptr %13) #6
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %48, i16 noundef zeroext 0)
  call void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %13, ptr noundef nonnull align 8 dereferenceable(48) %47, i32 noundef %49)
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %51 = getelementptr inbounds %class.anon.325, ptr %14, i32 0, i32 0
  store ptr %13, ptr %51, align 8, !tbaa !5
  %52 = getelementptr inbounds %class.anon.325, ptr %14, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8
  invoke void @"_ZN13ConcurrentMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIS2_EENS5_17SetAbstractDomainINS5_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS5_15PatriciaTreeSetIPK9DexStringEEEENS6_ISJ_EENS6_IPK7DexTypeEENS6_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS6_IPK13IRInstructionEEEESA_IS2_ESC_IS2_ELm83EE6updateIZN20constant_propagation17WholeProgramState20collect_field_valuesESW_RK19ConstantEnvironmentSP_PS11_E3$_0EEvRKS2_T_"(ptr noundef nonnull align 8 dereferenceable(5984) %50, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr %53)
          to label %54 unwind label %55

54:                                               ; preds = %46
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #6
  br label %59

55:                                               ; preds = %46
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %15, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %16, align 4
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %63

59:                                               ; preds = %54, %32, %26
  store i32 0, ptr %12, align 4
  br label %60

60:                                               ; preds = %59, %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %61 = load i32, ptr %12, align 4
  switch i32 %61, label %68 [
    i32 0, label %62
    i32 1, label %62
  ]

62:                                               ; preds = %60, %60, %25
  ret void

63:                                               ; preds = %55
  %64 = load ptr, ptr %15, align 8
  %65 = load i32, ptr %16, align 4
  %66 = insertvalue { ptr, i32 } poison, ptr %64, 0
  %67 = insertvalue { ptr, i32 } %66, i32 %65, 1
  resume { ptr, i32 } %67

68:                                               ; preds = %60
  unreachable
}

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN13ConcurrentMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIS2_EENS5_17SetAbstractDomainINS5_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS5_15PatriciaTreeSetIPK9DexStringEEEENS6_ISJ_EENS6_IPK7DexTypeEENS6_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS6_IPK13IRInstructionEEEESA_IS2_ESC_IS2_ELm83EE6updateIZN20constant_propagation17WholeProgramState20collect_field_valuesESW_RK19ConstantEnvironmentSP_PS11_E3$_0EEvRKS2_T_"(ptr noundef nonnull align 8 dereferenceable(5984), ptr noundef nonnull align 8 dereferenceable(8), ptr) #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 #2 align 2

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


; 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" }
%"class.boost::variant" = type { i32, [4 x i8], %"class.boost::aligned_storage" }
%"class.boost::aligned_storage" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp" = 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] }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20constant_propagation17WholeProgramState20collect_field_valuesEPK13IRInstructionRK19ConstantEnvironmentPK7DexTypeP13ConcurrentMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainISD_EENSG_17SetAbstractDomainINSG_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSJ_INSG_15PatriciaTreeSetIPK9DexStringEEEENSH_ISU_EENSH_IS9_EENSH_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSH_IS3_EEEESL_ISD_ESN_ISD_ELm83EE(ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef nonnull %1, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef readnone %3, ptr noundef %4) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %8 = tail call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %9 = tail call noundef zeroext i1 @_ZN6opcode10is_an_sputE8IROpcode(i16 noundef zeroext %8)
  br i1 %9, label %13, label %10

10:                                               ; preds = %5
  %11 = tail call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %12 = tail call noundef zeroext i1 @_ZN6opcode10is_an_iputE8IROpcode(i16 noundef zeroext %11)
  br i1 %12, label %13, label %32

13:                                               ; preds = %10, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %14 = tail call noundef ptr @_ZNK13IRInstruction9get_fieldEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %15 = tail call noundef ptr @_Z13resolve_fieldPK11DexFieldRef11FieldSearch(ptr noundef %14, i32 noundef 2)
  store ptr %15, ptr %6, align 8, !tbaa !5
  %.not = icmp eq ptr %15, null
  br i1 %.not, label %31, label %16

16:                                               ; preds = %13
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = call noundef i64 @_ZNK12UnorderedSetIPK8DexFieldSt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %.not10 = icmp eq i64 %18, 0
  br i1 %.not10, label %31, label %19

19:                                               ; preds = %16
  %20 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %21 = call noundef zeroext i1 @_ZN6opcode10is_an_sputE8IROpcode(i16 noundef zeroext %20)
  br i1 %21, label %22, label %26

22:                                               ; preds = %19
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = call noundef ptr @_ZNK11DexFieldRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %23)
  %25 = icmp eq ptr %24, %3
  br i1 %25, label %31, label %26

26:                                               ; preds = %22, %19
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #6
  %27 = 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 %7, ptr noundef nonnull align 8 dereferenceable(48) %2, i32 noundef %27)
  invoke void @"_ZN13ConcurrentMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIS2_EENS5_17SetAbstractDomainINS5_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS5_15PatriciaTreeSetIPK9DexStringEEEENS6_ISJ_EENS6_IPK7DexTypeEENS6_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS6_IPK13IRInstructionEEEESA_IS2_ESC_IS2_ELm83EE6updateIZN20constant_propagation17WholeProgramState20collect_field_valuesESW_RK19ConstantEnvironmentSP_PS11_E3$_0EEvRKS2_T_"(ptr noundef nonnull align 8 dereferenceable(5984) %4, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr nonnull %7)
          to label %28 unwind label %29

28:                                               ; preds = %26
  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
  br label %31

29:                                               ; preds = %26
  %30 = 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
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  resume { ptr, i32 } %30

31:                                               ; preds = %13, %16, %28, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %32

32:                                               ; preds = %10, %31
  ret void
}

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN13ConcurrentMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIS2_EENS5_17SetAbstractDomainINS5_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS5_15PatriciaTreeSetIPK9DexStringEEEENS6_ISJ_EENS6_IPK7DexTypeEENS6_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS6_IPK13IRInstructionEEEESA_IS2_ESC_IS2_ELm83EE6updateIZN20constant_propagation17WholeProgramState20collect_field_valuesESW_RK19ConstantEnvironmentSP_PS11_E3$_0EEvRKS2_T_"(ptr noundef nonnull align 8 dereferenceable(5984), ptr noundef nonnull align 8 dereferenceable(8), ptr) local_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 #2 align 2

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


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