; LLVM IR from facebook/redex :: service/type-analysis (WholeProgramState)

; 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.UnorderedMap = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.UnorderedMap<const char *, const char *>::UnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_iterator.290" = type { %"struct.std::__detail::_Node_iterator_base.291" }
%"struct.std::__detail::_Node_iterator_base.291" = type { ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%class.DexTypeDomain = type { %"class.sparta::ReducedProductAbstractDomain" }
%"class.sparta::ReducedProductAbstractDomain" = type { %"class.sparta::DirectProductAbstractDomain" }
%"class.sparta::DirectProductAbstractDomain" = type { %"class.std::tuple.294" }
%"class.std::tuple.294" = type { %"struct.std::_Tuple_impl.base", [7 x i8] }
%"struct.std::_Tuple_impl.base" = type <{ %"struct.std::_Tuple_impl.296", %"struct.std::_Head_base.306" }>
%"struct.std::_Tuple_impl.296" = type { %"struct.std::_Tuple_impl.297", %"struct.std::_Head_base.305" }
%"struct.std::_Tuple_impl.297" = type { %"struct.std::_Tuple_impl.298", %"struct.std::_Head_base.302" }
%"struct.std::_Tuple_impl.298" = type { %"struct.std::_Head_base.299" }
%"struct.std::_Head_base.299" = type { %class.SingletonDexTypeDomain }
%class.SingletonDexTypeDomain = type { %"class.sparta::AbstractDomainScaffolding" }
%"class.sparta::AbstractDomainScaffolding" = type { i32, %"class.dtv_impl::DexTypeValue" }
%"class.dtv_impl::DexTypeValue" = type { ptr }
%"struct.std::_Head_base.302" = type { %class.SmallSetDexTypeDomain }
%class.SmallSetDexTypeDomain = type <{ %"class.sparta::PatriciaTreeSet", i32, [4 x i8] }>
%"class.sparta::PatriciaTreeSet" = type { %"class.sparta::pt_core::PatriciaTreeCore" }
%"class.sparta::pt_core::PatriciaTreeCore" = type { %"class.boost::intrusive_ptr" }
%"class.boost::intrusive_ptr" = type { ptr }
%"struct.std::_Head_base.305" = type { %class.SingletonDexTypeDomain }
%"struct.std::_Head_base.306" = type { %"class.sparta::FiniteAbstractDomain" }
%"class.sparta::FiniteAbstractDomain" = type { %"class.boost::multiprecision::number" }
%"class.boost::multiprecision::number" = type { %"struct.boost::multiprecision::backends::cpp_int_backend" }
%"struct.boost::multiprecision::backends::cpp_int_backend" = type { %"struct.boost::multiprecision::backends::cpp_int_base" }
%"struct.boost::multiprecision::backends::cpp_int_base" = type { i8 }
%"struct.std::pair.314" = type { ptr, %class.DexTypeDomain }
%"struct.std::pair.309" = type <{ %"class.UnorderedMap<const DexMethodRef *, DexTypeDomain>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedMap<const DexMethodRef *, DexTypeDomain>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator.311" }
%"struct.std::__detail::_Node_iterator.311" = type { %"struct.std::__detail::_Node_iterator_base.312" }
%"struct.std::__detail::_Node_iterator_base.312" = type { ptr }
%"struct.std::pair" = type { ptr, ptr }
%"class.type_analyzer::WholeProgramState" = type <{ %"class.std::shared_ptr.43", %class.UnorderedSet, %class.UnorderedSet.66, ptr, %"class.sparta::AbstractPartition", %"class.sparta::AbstractPartition.102", %class.UnorderedMap.127, i8, [7 x i8] }>
%"class.std::shared_ptr.43" = type { %"class.std::__shared_ptr.44" }
%"class.std::__shared_ptr.44" = 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.47" }
%"class.std::_Hashtable.47" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%class.UnorderedSet.66 = type { %"class.std::unordered_set.68" }
%"class.std::unordered_set.68" = type { %"class.std::_Hashtable.69" }
%"class.std::_Hashtable.69" = 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.88" }
%"class.std::unordered_map.88" = type { %"class.std::_Hashtable.89" }
%"class.std::_Hashtable.89" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.sparta::AbstractPartition.102" = type <{ %"class.sparta::HashMap.107", i8, [7 x i8] }>
%"class.sparta::HashMap.107" = type { %"class.std::unordered_map.112" }
%"class.std::unordered_map.112" = type { %"class.std::_Hashtable.113" }
%"class.std::_Hashtable.113" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%class.UnorderedMap.127 = type { %"class.std::unordered_map.129" }
%"class.std::unordered_map.129" = type { %"class.std::_Hashtable.130" }
%"class.std::_Hashtable.130" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

@STATIC_METHOD_TO_TYPE_MAP = external dso_local global %class.UnorderedMap, align 8

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 @_ZN13type_analyzer17WholeProgramState26setup_known_method_returnsEv(ptr noundef nonnull align 8 dereferenceable(321) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.UnorderedMap<const char *, const char *>::UnorderedIterable", align 8
  %5 = alloca %"struct.std::__detail::_Node_iterator.290", align 8
  %6 = alloca %"struct.std::__detail::_Node_iterator.290", align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::basic_string_view", align 8
  %10 = alloca %class.DexTypeDomain, align 8
  %11 = alloca %"class.std::basic_string_view", align 8
  %12 = alloca %"struct.std::pair.314", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::pair.309", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %16 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %17 = call ptr @_Z17UnorderedIterableI12UnorderedMapIPKcS2_St4hashIS2_ESt8equal_toIS2_EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESA_EEbE4typeELb1EEDaRSA_(ptr noundef nonnull align 8 dereferenceable(56) @STATIC_METHOD_TO_TYPE_MAP)
  %18 = getelementptr inbounds %"class.UnorderedMap<const char *, const char *>::UnorderedIterable", ptr %4, i32 0, i32 0
  store ptr %17, ptr %18, align 8
  store ptr %4, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = call ptr @_ZN12UnorderedMapIPKcS1_St4hashIS1_ESt8equal_toIS1_EE17UnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %19)
  %21 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.290", ptr %5, i32 0, i32 0
  %22 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.291", ptr %21, i32 0, i32 0
  store ptr %20, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = call ptr @_ZN12UnorderedMapIPKcS1_St4hashIS1_ESt8equal_toIS1_EE17UnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %23)
  %25 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.290", ptr %6, i32 0, i32 0
  %26 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.291", ptr %25, i32 0, i32 0
  store ptr %24, ptr %26, align 8
  br label %27

27:                                               ; preds = %57, %1
  %28 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPKcS3_ELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %28, label %30, label %29

29:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %68

30:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %31 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPKcS3_ELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  store ptr %31, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.std::pair", ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef %34) #5
  %35 = getelementptr inbounds { i64, ptr }, ptr %9, i32 0, i32 0
  %36 = load i64, ptr %35, align 8
  %37 = getelementptr inbounds { i64, ptr }, ptr %9, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8
  %39 = call noundef ptr @_ZN9DexMethod11make_methodESt17basic_string_viewIcSt11char_traitsIcEE(i64 %36, ptr %38)
  store ptr %39, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %10) #5
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.std::pair", ptr %40, i32 0, i32 1
  %42 = load ptr, ptr %41, align 8, !tbaa !11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef %42) #5
  %43 = getelementptr inbounds { i64, ptr }, ptr %11, i32 0, i32 0
  %44 = load i64, ptr %43, align 8
  %45 = getelementptr inbounds { i64, ptr }, ptr %11, i32 0, i32 1
  %46 = load ptr, ptr %45, align 8
  %47 = call noundef ptr @_ZN9DexString11make_stringESt17basic_string_viewIcSt11char_traitsIcEE(i64 %44, ptr %46)
  %48 = call noundef ptr @_ZN7DexType9make_typeEPK9DexString(ptr noundef %47)
  call void @_ZN13DexTypeDomain15create_not_nullEPK7DexType(ptr dead_on_unwind writable sret(%class.DexTypeDomain) align 8 %10, ptr noundef %48)
  %49 = getelementptr inbounds %"class.type_analyzer::WholeProgramState", ptr %16, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #5
  invoke void @_ZSt9make_pairIRP12DexMethodRefR13DexTypeDomainESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind writable sret(%"struct.std::pair.314") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(56) %10)
          to label %50 unwind label %59

50:                                               ; preds = %30
  %51 = invoke { ptr, i8 } @_ZN12UnorderedMapIPK12DexMethodRef13DexTypeDomainSt4hashIS2_ESt8equal_toIS2_EE6insertISt4pairIPS0_S3_EEESA_INS8_13FixedIteratorEbEOT_(ptr noundef nonnull align 8 dereferenceable(56) %49, ptr noundef nonnull align 8 dereferenceable(64) %12)
          to label %52 unwind label %63

52:                                               ; preds = %50
  %53 = getelementptr inbounds { ptr, i8 }, ptr %15, i32 0, i32 0
  %54 = extractvalue { ptr, i8 } %51, 0
  store ptr %54, ptr %53, align 8
  %55 = getelementptr inbounds { ptr, i8 }, ptr %15, i32 0, i32 1
  %56 = extractvalue { ptr, i8 } %51, 1
  store i8 %56, ptr %55, align 8
  call void @_ZNSt4pairIP12DexMethodRef13DexTypeDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %12) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #5
  call void @_ZN6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %57

57:                                               ; preds = %52
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKPKcS3_ELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  br label %27

59:                                               ; preds = %30
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %13, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %14, align 4
  br label %67

63:                                               ; preds = %50
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %13, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %14, align 4
  call void @_ZNSt4pairIP12DexMethodRef13DexTypeDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %12) #5
  br label %67

67:                                               ; preds = %63, %59
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #5
  call void @_ZN6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %69

68:                                               ; preds = %29
  ret void

69:                                               ; preds = %67
  %70 = load ptr, ptr %13, align 8
  %71 = load i32, ptr %14, align 4
  %72 = insertvalue { ptr, i32 } poison, ptr %70, 0
  %73 = insertvalue { ptr, i32 } %72, i32 %71, 1
  resume { ptr, i32 } %73
}

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

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

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

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

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

declare noundef ptr @_ZN9DexMethod11make_methodESt17basic_string_viewIcSt11char_traitsIcEE(i64, ptr) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13DexTypeDomain15create_not_nullEPK7DexType(ptr dead_on_unwind noalias writable sret(%class.DexTypeDomain) align 8, ptr noundef) #1 align 2

declare noundef ptr @_ZN7DexType9make_typeEPK9DexString(ptr noundef) #3

declare noundef ptr @_ZN9DexString11make_stringESt17basic_string_viewIcSt11char_traitsIcEE(i64, ptr) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRP12DexMethodRefR13DexTypeDomainESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.314") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(56)) #1

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

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

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

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


; 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.UnorderedMap = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.UnorderedMap<const char *, const char *>::UnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_iterator.290" = type { %"struct.std::__detail::_Node_iterator_base.291" }
%"struct.std::__detail::_Node_iterator_base.291" = type { ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%class.DexTypeDomain = type { %"class.sparta::ReducedProductAbstractDomain" }
%"class.sparta::ReducedProductAbstractDomain" = type { %"class.sparta::DirectProductAbstractDomain" }
%"class.sparta::DirectProductAbstractDomain" = type { %"class.std::tuple.294" }
%"class.std::tuple.294" = type { %"struct.std::_Tuple_impl.base", [7 x i8] }
%"struct.std::_Tuple_impl.base" = type <{ %"struct.std::_Tuple_impl.296", %"struct.std::_Head_base.306" }>
%"struct.std::_Tuple_impl.296" = type { %"struct.std::_Tuple_impl.297", %"struct.std::_Head_base.305" }
%"struct.std::_Tuple_impl.297" = type { %"struct.std::_Tuple_impl.298", %"struct.std::_Head_base.302" }
%"struct.std::_Tuple_impl.298" = type { %"struct.std::_Head_base.299" }
%"struct.std::_Head_base.299" = type { %class.SingletonDexTypeDomain }
%class.SingletonDexTypeDomain = type { %"class.sparta::AbstractDomainScaffolding" }
%"class.sparta::AbstractDomainScaffolding" = type { i32, %"class.dtv_impl::DexTypeValue" }
%"class.dtv_impl::DexTypeValue" = type { ptr }
%"struct.std::_Head_base.302" = type { %class.SmallSetDexTypeDomain }
%class.SmallSetDexTypeDomain = type <{ %"class.sparta::PatriciaTreeSet", i32, [4 x i8] }>
%"class.sparta::PatriciaTreeSet" = type { %"class.sparta::pt_core::PatriciaTreeCore" }
%"class.sparta::pt_core::PatriciaTreeCore" = type { %"class.boost::intrusive_ptr" }
%"class.boost::intrusive_ptr" = type { ptr }
%"struct.std::_Head_base.305" = type { %class.SingletonDexTypeDomain }
%"struct.std::_Head_base.306" = type { %"class.sparta::FiniteAbstractDomain" }
%"class.sparta::FiniteAbstractDomain" = type { %"class.boost::multiprecision::number" }
%"class.boost::multiprecision::number" = type { %"struct.boost::multiprecision::backends::cpp_int_backend" }
%"struct.boost::multiprecision::backends::cpp_int_backend" = type { %"struct.boost::multiprecision::backends::cpp_int_base" }
%"struct.boost::multiprecision::backends::cpp_int_base" = type { i8 }
%"struct.std::pair.314" = type { ptr, %class.DexTypeDomain }

@STATIC_METHOD_TO_TYPE_MAP = external dso_local global %class.UnorderedMap, align 8

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 @_ZN13type_analyzer17WholeProgramState26setup_known_method_returnsEv(ptr noundef nonnull align 8 dereferenceable(321) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.UnorderedMap<const char *, const char *>::UnorderedIterable", align 8
  %3 = alloca %"struct.std::__detail::_Node_iterator.290", align 8
  %4 = alloca %"struct.std::__detail::_Node_iterator.290", align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::basic_string_view", align 8
  %7 = alloca %class.DexTypeDomain, align 8
  %8 = alloca %"class.std::basic_string_view", align 8
  %9 = alloca %"struct.std::pair.314", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %10 = tail call ptr @_Z17UnorderedIterableI12UnorderedMapIPKcS2_St4hashIS2_ESt8equal_toIS2_EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESA_EEbE4typeELb1EEDaRSA_(ptr noundef nonnull align 8 dereferenceable(56) @STATIC_METHOD_TO_TYPE_MAP)
  store ptr %10, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %11 = call ptr @_ZN12UnorderedMapIPKcS1_St4hashIS1_ESt8equal_toIS1_EE17UnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  store ptr %11, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %12 = call ptr @_ZN12UnorderedMapIPKcS1_St4hashIS1_ESt8equal_toIS1_EE17UnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  store ptr %12, ptr %4, align 8
  %13 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPKcS3_ELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br i1 %13, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %14 = getelementptr inbounds i8, ptr %6, i64 8
  %15 = getelementptr inbounds i8, ptr %8, i64 8
  %16 = getelementptr inbounds i8, ptr %0, i64 264
  br label %17

._crit_edge:                                      ; preds = %31, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  ret void

17:                                               ; preds = %.lr.ph, %31
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPKcS3_ELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef %19) #5
  %20 = load i64, ptr %6, align 8
  %21 = load ptr, ptr %14, align 8
  %22 = call noundef ptr @_ZN9DexMethod11make_methodESt17basic_string_viewIcSt11char_traitsIcEE(i64 %20, ptr %21)
  store ptr %22, ptr %5, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %7) #5
  %23 = getelementptr inbounds i8, ptr %18, i64 8
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef %24) #5
  %25 = load i64, ptr %8, align 8
  %26 = load ptr, ptr %15, align 8
  %27 = call noundef ptr @_ZN9DexString11make_stringESt17basic_string_viewIcSt11char_traitsIcEE(i64 %25, ptr %26)
  %28 = call noundef ptr @_ZN7DexType9make_typeEPK9DexString(ptr noundef %27)
  call void @_ZN13DexTypeDomain15create_not_nullEPK7DexType(ptr dead_on_unwind nonnull writable sret(%class.DexTypeDomain) align 8 %7, ptr noundef %28)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #5
  invoke void @_ZSt9make_pairIRP12DexMethodRefR13DexTypeDomainESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.314") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %29 unwind label %34

29:                                               ; preds = %17
  %30 = invoke { ptr, i8 } @_ZN12UnorderedMapIPK12DexMethodRef13DexTypeDomainSt4hashIS2_ESt8equal_toIS2_EE6insertISt4pairIPS0_S3_EEESA_INS8_13FixedIteratorEbEOT_(ptr noundef nonnull align 8 dereferenceable(56) %16, ptr noundef nonnull align 8 dereferenceable(64) %9)
          to label %31 unwind label %36

31:                                               ; preds = %29
  call void @_ZNSt4pairIP12DexMethodRef13DexTypeDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %9) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #5
  call void @_ZN6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKPKcS3_ELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %33 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPKcS3_ELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br i1 %33, label %17, label %._crit_edge

34:                                               ; preds = %17
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %38

36:                                               ; preds = %29
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIP12DexMethodRef13DexTypeDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %9) #5
  br label %38

38:                                               ; preds = %36, %34
  %.pn = phi { ptr, i32 } [ %37, %36 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #5
  call void @_ZN6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn
}

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

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

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

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

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

declare noundef ptr @_ZN9DexMethod11make_methodESt17basic_string_viewIcSt11char_traitsIcEE(i64, ptr) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13DexTypeDomain15create_not_nullEPK7DexType(ptr dead_on_unwind noalias writable sret(%class.DexTypeDomain) align 8, ptr noundef) local_unnamed_addr #1 align 2

declare noundef ptr @_ZN7DexType9make_typeEPK9DexString(ptr noundef) local_unnamed_addr #3

declare noundef ptr @_ZN9DexString11make_stringESt17basic_string_viewIcSt11char_traitsIcEE(i64, ptr) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRP12DexMethodRefR13DexTypeDomainESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.314") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #1

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

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

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass