; LLVM IR from facebook/redex :: service/remove_redundant_check_casts (CheckCastAnalysis)

; 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.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 { i16 }
%"class.boost::optional.358" = type { %"class.boost::optional_detail::tc_optional_base.359" }
%"class.boost::optional_detail::tc_optional_base.359" = type { i8, ptr }
%"class.check_casts::impl::CheckCastAnalysis" = type { ptr, ptr, i8, ptr, ptr, ptr, ptr, %"class.std::unique_ptr", %"class.std::vector", %"class.std::unique_ptr.7", ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.3" }
%"struct.std::_Head_base.3" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cfg::InstructionIteratorImpl<false>, std::allocator<cfg::InstructionIteratorImpl<false>>>::_Vector_impl" }
%"struct.std::_Vector_base<cfg::InstructionIteratorImpl<false>, std::allocator<cfg::InstructionIteratorImpl<false>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cfg::InstructionIteratorImpl<false>, std::allocator<cfg::InstructionIteratorImpl<false>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cfg::InstructionIteratorImpl<false>, std::allocator<cfg::InstructionIteratorImpl<false>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr.7" = type { %"struct.std::__uniq_ptr_data.8" }
%"struct.std::__uniq_ptr_data.8" = type { %"class.std::__uniq_ptr_impl.9" }
%"class.std::__uniq_ptr_impl.9" = type { %"class.std::tuple.10" }
%"class.std::tuple.10" = type { %"struct.std::_Tuple_impl.11" }
%"struct.std::_Tuple_impl.11" = type { %"struct.std::_Head_base.14" }
%"struct.std::_Head_base.14" = type { ptr }

@.str.9 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [36 x i8], align 1
@__PRETTY_FUNCTION__._ZNK11check_casts4impl17CheckCastAnalysis23is_check_cast_redundantEP13IRInstructionP7DexType = external hidden unnamed_addr constant [101 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare noundef ptr @_ZN4type16java_lang_ObjectEv() #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK11check_casts4impl17CheckCastAnalysis23is_check_cast_redundantEP13IRInstructionP7DexType(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef %1, ptr noundef %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.sparta::FiniteAbstractDomain", align 2
  %13 = alloca %"class.sparta::FiniteAbstractDomain", align 2
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %"class.boost::optional.358", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %20)
  %22 = zext i16 %21 to i32
  %23 = icmp eq i32 %22, 18
  br i1 %23, label %24, label %25

24:                                               ; preds = %3
  br label %27

25:                                               ; preds = %3
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.25, ptr noundef @.str.9, i32 noundef 522, ptr noundef @__PRETTY_FUNCTION__._ZNK11check_casts4impl17CheckCastAnalysis23is_check_cast_redundantEP13IRInstructionP7DexType, i32 noundef 2, ptr noundef @.str.10) #5
  unreachable

26:                                               ; No predecessors!
  br label %27

27:                                               ; preds = %26, %24
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = call noundef ptr @_ZN4type16java_lang_ObjectEv()
  %30 = icmp eq ptr %28, %29
  br i1 %30, label %31, label %32

31:                                               ; preds = %27
  store i1 true, ptr %4, align 1
  br label %92

32:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %33, i16 noundef zeroext 0)
  store i32 %34, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %35 = call noundef ptr @_ZNK11check_casts4impl17CheckCastAnalysis18get_type_inferenceEv(ptr noundef nonnull align 8 dereferenceable(104) %19)
  store ptr %35, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN14type_inference13TypeInference21get_type_environmentsEv(ptr noundef nonnull align 8 dereferenceable(432) %36)
  store ptr %37, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN12UnorderedMapIPK13IRInstructionN14type_inference15TypeEnvironmentESt4hashIS2_ESt8equal_toIS2_EE2atERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %38, ptr noundef nonnull align 8 dereferenceable(8) %6)
  store ptr %39, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #6
  %40 = load ptr, ptr %11, align 8, !tbaa !5
  %41 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZNK14type_inference15TypeEnvironment8get_typeEj(ptr dead_on_unwind writable sret(%"class.sparta::FiniteAbstractDomain") align 2 %12, ptr noundef nonnull align 8 dereferenceable(48) %40, i32 noundef %41)
  call void @llvm.lifetime.start.p0(i64 2, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 1, ptr %14, align 4, !tbaa !11
  invoke void @_ZN6sparta20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS1_Lm16EvvEEN5boost14multiprecision6numberINS5_8backends15cpp_int_backendILj16ELj16ELNS5_16cpp_integer_typeE0ELNS5_18cpp_int_check_typeE0EvEELNS5_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEEC2ERKS1_(ptr noundef nonnull align 2 dereferenceable(2) %13, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %42 unwind label %46

42:                                               ; preds = %32
  %43 = invoke noundef zeroext i1 @_ZNK6sparta20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS1_Lm16EvvEEN5boost14multiprecision6numberINS5_8backends15cpp_int_backendILj16ELj16ELNS5_16cpp_integer_typeE0ELNS5_18cpp_int_check_typeE0EvEELNS5_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEE6equalsERKSF_(ptr noundef nonnull align 2 dereferenceable(2) %12, ptr noundef nonnull align 2 dereferenceable(2) %13)
          to label %44 unwind label %50

44:                                               ; preds = %42
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS2_Lm16EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj16ELj16ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEEEED2Ev(ptr noundef nonnull align 2 dereferenceable(2) %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %13) #6
  br i1 %43, label %45, label %55

45:                                               ; preds = %44
  store i1 true, ptr %4, align 1
  store i32 1, ptr %17, align 4
  br label %90

46:                                               ; preds = %32
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %15, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %16, align 4
  br label %54

50:                                               ; preds = %42
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %15, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %16, align 4
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS2_Lm16EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj16ELj16ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEEEED2Ev(ptr noundef nonnull align 2 dereferenceable(2) %13) #6
  br label %54

54:                                               ; preds = %50, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %13) #6
  br label %91

55:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = load i32, ptr %8, align 4, !tbaa !9
  %58 = invoke { i8, ptr } @_ZNK14type_inference15TypeEnvironment12get_dex_typeEj(ptr noundef nonnull align 8 dereferenceable(48) %56, i32 noundef %57)
          to label %59 unwind label %74

59:                                               ; preds = %55
  %60 = getelementptr inbounds %"class.boost::optional.358", ptr %18, i32 0, i32 0
  %61 = getelementptr inbounds { i8, ptr }, ptr %60, i32 0, i32 0
  %62 = extractvalue { i8, ptr } %58, 0
  store i8 %62, ptr %61, align 8
  %63 = getelementptr inbounds { i8, ptr }, ptr %60, i32 0, i32 1
  %64 = extractvalue { i8, ptr } %58, 1
  store ptr %64, ptr %63, align 8
  %65 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEntEv(ptr noundef nonnull align 8 dereferenceable(16) %18) #6
  br i1 %65, label %73, label %66

66:                                               ; preds = %59
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %68 unwind label %74

68:                                               ; preds = %66
  %69 = load ptr, ptr %67, align 8, !tbaa !5
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = invoke noundef zeroext i1 @_ZN4type10check_castEPK7DexTypeS2_(ptr noundef %69, ptr noundef %70)
          to label %72 unwind label %74

72:                                               ; preds = %68
  br i1 %71, label %78, label %73

73:                                               ; preds = %72, %59
  store i1 false, ptr %4, align 1
  store i32 1, ptr %17, align 4
  br label %89

74:                                               ; preds = %80, %78, %68, %66, %55
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %15, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  br label %91

78:                                               ; preds = %72
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %80 unwind label %74

80:                                               ; preds = %78
  %81 = load ptr, ptr %79, align 8, !tbaa !5
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = getelementptr inbounds %"class.check_casts::impl::CheckCastAnalysis", ptr %19, i32 0, i32 10
  %84 = load ptr, ptr %83, align 8, !tbaa !13
  %85 = invoke noundef zeroext i1 @_ZN4type21is_min_sdk_acceptableEPK7DexTypeS2_RKN3api10AndroidSDKE(ptr noundef %81, ptr noundef %82, ptr noundef nonnull align 8 dereferenceable(88) %84)
          to label %86 unwind label %74

86:                                               ; preds = %80
  br i1 %85, label %88, label %87

87:                                               ; preds = %86
  store i1 false, ptr %4, align 1
  store i32 1, ptr %17, align 4
  br label %89

88:                                               ; preds = %86
  store i1 true, ptr %4, align 1
  store i32 1, ptr %17, align 4
  br label %89

89:                                               ; preds = %88, %87, %73
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  br label %90

90:                                               ; preds = %89, %45
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS2_Lm16EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj16ELj16ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEEEED2Ev(ptr noundef nonnull align 2 dereferenceable(2) %12) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %92

91:                                               ; preds = %74, %54
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS2_Lm16EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj16ELj16ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEEEED2Ev(ptr noundef nonnull align 2 dereferenceable(2) %12) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %94

92:                                               ; preds = %90, %31
  %93 = load i1, ptr %4, align 1
  ret i1 %93

94:                                               ; preds = %91
  %95 = load ptr, ptr %15, align 8
  %96 = load i32, ptr %16, align 4
  %97 = insertvalue { ptr, i32 } poison, ptr %95, 0
  %98 = insertvalue { ptr, i32 } %97, i32 %96, 1
  resume { ptr, i32 } %98
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK11check_casts4impl17CheckCastAnalysis18get_type_inferenceEv(ptr noundef nonnull align 8 dereferenceable(104)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK14type_inference15TypeEnvironment8get_typeEj(ptr dead_on_unwind noalias writable sret(%"class.sparta::FiniteAbstractDomain") align 2, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6sparta20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS1_Lm16EvvEEN5boost14multiprecision6numberINS5_8backends15cpp_int_backendILj16ELj16ELNS5_16cpp_integer_typeE0ELNS5_18cpp_int_check_typeE0EvEELNS5_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEEC2ERKS1_(ptr noundef nonnull align 2 dereferenceable(2), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #4 align 2

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

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

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

declare noundef zeroext i1 @_ZN4type10check_castEPK7DexTypeS2_(ptr noundef, ptr noundef) #3

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

declare noundef zeroext i1 @_ZN4type21is_min_sdk_acceptableEPK7DexTypeS2_RKN3api10AndroidSDKE(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(88)) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTS6IRType", !7, i64 0}
!13 = !{!14, !6, i64 96}
!14 = !{!"_ZTSN11check_casts4impl17CheckCastAnalysisE", !6, i64 0, !6, i64 8, !15, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !16, i64 56, !22, i64 64, !26, i64 88, !6, i64 96}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSSt10unique_ptrI12UnorderedMapIP13IRInstruction12UnorderedSetIP7DexTypeSt4hashIS5_ESt8equal_toIS5_EES6_IS2_ES8_IS2_EESt14default_deleteISD_EE", !17, i64 0}
!17 = !{!"_ZTSSt15__uniq_ptr_dataI12UnorderedMapIP13IRInstruction12UnorderedSetIP7DexTypeSt4hashIS5_ESt8equal_toIS5_EES6_IS2_ES8_IS2_EESt14default_deleteISD_ELb1ELb1EE", !18, i64 0}
!18 = !{!"_ZTSSt15__uniq_ptr_implI12UnorderedMapIP13IRInstruction12UnorderedSetIP7DexTypeSt4hashIS5_ESt8equal_toIS5_EES6_IS2_ES8_IS2_EESt14default_deleteISD_EE", !19, i64 0}
!19 = !{!"_ZTSSt5tupleIJP12UnorderedMapIP13IRInstruction12UnorderedSetIP7DexTypeSt4hashIS5_ESt8equal_toIS5_EES6_IS2_ES8_IS2_EESt14default_deleteISD_EEE", !20, i64 0}
!20 = !{!"_ZTSSt11_Tuple_implILm0EJP12UnorderedMapIP13IRInstruction12UnorderedSetIP7DexTypeSt4hashIS5_ESt8equal_toIS5_EES6_IS2_ES8_IS2_EESt14default_deleteISD_EEE", !21, i64 0}
!21 = !{!"_ZTSSt10_Head_baseILm0EP12UnorderedMapIP13IRInstruction12UnorderedSetIP7DexTypeSt4hashIS5_ESt8equal_toIS5_EES6_IS2_ES8_IS2_EELb0EE", !6, i64 0}
!22 = !{!"_ZTSSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt10unique_ptrIN14type_inference13TypeInferenceESt14default_deleteIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt15__uniq_ptr_dataIN14type_inference13TypeInferenceESt14default_deleteIS1_ELb1ELb1EE", !28, i64 0}
!28 = !{!"_ZTSSt15__uniq_ptr_implIN14type_inference13TypeInferenceESt14default_deleteIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt5tupleIJPN14type_inference13TypeInferenceESt14default_deleteIS1_EEE", !30, i64 0}
!30 = !{!"_ZTSSt11_Tuple_implILm0EJPN14type_inference13TypeInferenceESt14default_deleteIS1_EEE", !31, i64 0}
!31 = !{!"_ZTSSt10_Head_baseILm0EPN14type_inference13TypeInferenceELb0EE", !6, i64 0}


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

%"class.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 { i16 }
%"class.boost::optional.358" = type { %"class.boost::optional_detail::tc_optional_base.359" }
%"class.boost::optional_detail::tc_optional_base.359" = type { i8, ptr }

@.str.9 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [36 x i8], align 1
@__PRETTY_FUNCTION__._ZNK11check_casts4impl17CheckCastAnalysis23is_check_cast_redundantEP13IRInstructionP7DexType = external hidden unnamed_addr constant [101 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare noundef ptr @_ZN4type16java_lang_ObjectEv() local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK11check_casts4impl17CheckCastAnalysis23is_check_cast_redundantEP13IRInstructionP7DexType(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull %1, ptr noundef %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca %"class.sparta::FiniteAbstractDomain", align 2
  %6 = alloca %"class.sparta::FiniteAbstractDomain", align 2
  %7 = alloca i32, align 4
  %8 = alloca %"class.boost::optional.358", align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %9 = tail call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %10 = icmp eq i16 %9, 18
  br i1 %10, label %12, label %11

11:                                               ; preds = %3
  tail call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.9, i32 noundef 522, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK11check_casts4impl17CheckCastAnalysis23is_check_cast_redundantEP13IRInstructionP7DexType, i32 noundef 2, ptr noundef nonnull @.str.10) #5
  unreachable

12:                                               ; preds = %3
  %13 = tail call noundef ptr @_ZN4type16java_lang_ObjectEv()
  %14 = icmp eq ptr %13, %2
  br i1 %14, label %53, label %15

15:                                               ; preds = %12
  %16 = tail call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %1, i16 noundef zeroext 0)
  %17 = tail call noundef ptr @_ZNK11check_casts4impl17CheckCastAnalysis18get_type_inferenceEv(ptr noundef nonnull align 8 dereferenceable(104) %0)
  %18 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN14type_inference13TypeInference21get_type_environmentsEv(ptr noundef nonnull align 8 dereferenceable(432) %17)
  %19 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN12UnorderedMapIPK13IRInstructionN14type_inference15TypeEnvironmentESt4hashIS2_ESt8equal_toIS2_EE2atERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %18, ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #6
  call void @_ZNK14type_inference15TypeEnvironment8get_typeEj(ptr dead_on_unwind nonnull writable sret(%"class.sparta::FiniteAbstractDomain") align 2 %5, ptr noundef nonnull align 8 dereferenceable(48) %19, i32 noundef %16)
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store i32 1, ptr %7, align 4, !tbaa !9
  invoke void @_ZN6sparta20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS1_Lm16EvvEEN5boost14multiprecision6numberINS5_8backends15cpp_int_backendILj16ELj16ELNS5_16cpp_integer_typeE0ELNS5_18cpp_int_check_typeE0EvEELNS5_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEEC2ERKS1_(ptr noundef nonnull align 2 dereferenceable(2) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %20 unwind label %23

20:                                               ; preds = %15
  %21 = invoke noundef zeroext i1 @_ZNK6sparta20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS1_Lm16EvvEEN5boost14multiprecision6numberINS5_8backends15cpp_int_backendILj16ELj16ELNS5_16cpp_integer_typeE0ELNS5_18cpp_int_check_typeE0EvEELNS5_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEE6equalsERKSF_(ptr noundef nonnull align 2 dereferenceable(2) %5, ptr noundef nonnull align 2 dereferenceable(2) %6)
          to label %22 unwind label %25

22:                                               ; preds = %20
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS2_Lm16EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj16ELj16ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEEEED2Ev(ptr noundef nonnull align 2 dereferenceable(2) %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #6
  br i1 %21, label %51, label %28

23:                                               ; preds = %15
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %27

25:                                               ; preds = %20
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS2_Lm16EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj16ELj16ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEEEED2Ev(ptr noundef nonnull align 2 dereferenceable(2) %6) #6
  br label %27

27:                                               ; preds = %25, %23
  %.pn = phi { ptr, i32 } [ %26, %25 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #6
  br label %52

28:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  %29 = invoke { i8, ptr } @_ZNK14type_inference15TypeEnvironment12get_dex_typeEj(ptr noundef nonnull align 8 dereferenceable(48) %19, i32 noundef %16)
          to label %30 unwind label %41

30:                                               ; preds = %28
  %31 = extractvalue { i8, ptr } %29, 0
  store i8 %31, ptr %8, align 8
  %32 = getelementptr inbounds i8, ptr %8, i64 8
  %33 = extractvalue { i8, ptr } %29, 1
  store ptr %33, ptr %32, align 8
  %34 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEntEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  br i1 %34, label %50, label %35

35:                                               ; preds = %30
  %36 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %37 unwind label %41

37:                                               ; preds = %35
  %38 = load ptr, ptr %36, align 8, !tbaa !5
  %39 = invoke noundef zeroext i1 @_ZN4type10check_castEPK7DexTypeS2_(ptr noundef %38, ptr noundef %2)
          to label %40 unwind label %41

40:                                               ; preds = %37
  br i1 %39, label %43, label %50

41:                                               ; preds = %45, %43, %37, %35, %28
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %52

43:                                               ; preds = %40
  %44 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %45 unwind label %41

45:                                               ; preds = %43
  %46 = load ptr, ptr %44, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %0, i64 96
  %48 = load ptr, ptr %47, align 8, !tbaa !11
  %49 = invoke noundef zeroext i1 @_ZN4type21is_min_sdk_acceptableEPK7DexTypeS2_RKN3api10AndroidSDKE(ptr noundef %46, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(88) %48)
          to label %50 unwind label %41

50:                                               ; preds = %45, %30, %40
  %.014 = phi i1 [ false, %40 ], [ false, %30 ], [ %49, %45 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %51

51:                                               ; preds = %22, %50
  %.115 = phi i1 [ %.014, %50 ], [ true, %22 ]
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS2_Lm16EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj16ELj16ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEEEED2Ev(ptr noundef nonnull align 2 dereferenceable(2) %5) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #6
  br label %53

52:                                               ; preds = %41, %27
  %.pn18 = phi { ptr, i32 } [ %42, %41 ], [ %.pn, %27 ]
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS2_Lm16EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj16ELj16ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEEEED2Ev(ptr noundef nonnull align 2 dereferenceable(2) %5) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #6
  resume { ptr, i32 } %.pn18

53:                                               ; preds = %12, %51
  %.2 = phi i1 [ %.115, %51 ], [ true, %12 ]
  ret i1 %.2
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK14type_inference15TypeEnvironment8get_typeEj(ptr dead_on_unwind noalias writable sret(%"class.sparta::FiniteAbstractDomain") align 2, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6sparta20FiniteAbstractDomainI6IRTypeNS_16BitVectorLatticeIS1_Lm16EvvEEN5boost14multiprecision6numberINS5_8backends15cpp_int_backendILj16ELj16ELNS5_16cpp_integer_typeE0ELNS5_18cpp_int_check_typeE0EvEELNS5_26expression_template_optionE0EEEXadL_ZN14type_inference12type_latticeEEEEC2ERKS1_(ptr noundef nonnull align 2 dereferenceable(2), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #4 align 2

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

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

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

declare noundef zeroext i1 @_ZN4type10check_castEPK7DexTypeS2_(ptr noundef, ptr noundef) local_unnamed_addr #3

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

declare noundef zeroext i1 @_ZN4type21is_min_sdk_acceptableEPK7DexTypeS2_RKN3api10AndroidSDKE(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS6IRType", !7, i64 0}
!11 = !{!12, !6, i64 96}
!12 = !{!"_ZTSN11check_casts4impl17CheckCastAnalysisE", !6, i64 0, !6, i64 8, !13, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !14, i64 56, !20, i64 64, !24, i64 88, !6, i64 96}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSSt10unique_ptrI12UnorderedMapIP13IRInstruction12UnorderedSetIP7DexTypeSt4hashIS5_ESt8equal_toIS5_EES6_IS2_ES8_IS2_EESt14default_deleteISD_EE", !15, i64 0}
!15 = !{!"_ZTSSt15__uniq_ptr_dataI12UnorderedMapIP13IRInstruction12UnorderedSetIP7DexTypeSt4hashIS5_ESt8equal_toIS5_EES6_IS2_ES8_IS2_EESt14default_deleteISD_ELb1ELb1EE", !16, i64 0}
!16 = !{!"_ZTSSt15__uniq_ptr_implI12UnorderedMapIP13IRInstruction12UnorderedSetIP7DexTypeSt4hashIS5_ESt8equal_toIS5_EES6_IS2_ES8_IS2_EESt14default_deleteISD_EE", !17, i64 0}
!17 = !{!"_ZTSSt5tupleIJP12UnorderedMapIP13IRInstruction12UnorderedSetIP7DexTypeSt4hashIS5_ESt8equal_toIS5_EES6_IS2_ES8_IS2_EESt14default_deleteISD_EEE", !18, i64 0}
!18 = !{!"_ZTSSt11_Tuple_implILm0EJP12UnorderedMapIP13IRInstruction12UnorderedSetIP7DexTypeSt4hashIS5_ESt8equal_toIS5_EES6_IS2_ES8_IS2_EESt14default_deleteISD_EEE", !19, i64 0}
!19 = !{!"_ZTSSt10_Head_baseILm0EP12UnorderedMapIP13IRInstruction12UnorderedSetIP7DexTypeSt4hashIS5_ESt8equal_toIS5_EES6_IS2_ES8_IS2_EELb0EE", !6, i64 0}
!20 = !{!"_ZTSSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt10unique_ptrIN14type_inference13TypeInferenceESt14default_deleteIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt15__uniq_ptr_dataIN14type_inference13TypeInferenceESt14default_deleteIS1_ELb1ELb1EE", !26, i64 0}
!26 = !{!"_ZTSSt15__uniq_ptr_implIN14type_inference13TypeInferenceESt14default_deleteIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt5tupleIJPN14type_inference13TypeInferenceESt14default_deleteIS1_EEE", !28, i64 0}
!28 = !{!"_ZTSSt11_Tuple_implILm0EJPN14type_inference13TypeInferenceESt14default_deleteIS1_EEE", !29, i64 0}
!29 = !{!"_ZTSSt10_Head_baseILm0EPN14type_inference13TypeInferenceELb0EE", !6, i64 0}


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