; LLVM IR from thepowersgang/mrustc :: src/mir/mir_builder.ll (ZN10MirBuilder18get_slot_state_mutERK4SpanjNS_8SlotTypeE)

; 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.VarState = type { i32, [4 x i8], %"union.VarState::DataUnion" }
%"union.VarState::DataUnion" = type { i32, [28 x i8] }
%"class.std::reverse_iterator" = type { %"class.__gnu_cxx::__normal_iterator" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair.413" = type { i32, [4 x i8], %class.VarState }
%struct.reversion_wrapper = type { ptr }
%"class.__gnu_cxx::__normal_iterator.409" = type { ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::pair.411" = type <{ %"struct.std::_Rb_tree_iterator", i8, [7 x i8] }>
%"struct.VarState::Data_Valid" = type { i8 }
%class.MirBuilder = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i8, %"class.MIR::RValue", i8, [7 x i8], %class.VarState, %"class.std::vector.26", %"class.std::vector.26", i64, %"class.std::map", %"class.std::vector.42", %"class.std::vector.47", %class.ScopeHandle, %"class.std::vector.52", %"struct.MIR::LValue" }
%"class.MIR::RValue" = type { i32, %"union.MIR::RValue::DataUnion" }
%"union.MIR::RValue::DataUnion" = type { %"struct.MIR::RValue::Data_BinOp" }
%"struct.MIR::RValue::Data_BinOp" = type { %"class.MIR::Param", i32, %"class.MIR::Param" }
%"class.MIR::Param" = type { i32, %"union.MIR::Param::DataUnion" }
%"union.MIR::Param::DataUnion" = type { %"struct.MIR::Param::Data_Borrow" }
%"struct.MIR::Param::Data_Borrow" = type { i32, %"struct.MIR::LValue" }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<VarState, std::allocator<VarState>>::_Vector_impl" }
%"struct.std::_Vector_base<VarState, std::allocator<VarState>>::_Vector_impl" = type { %"struct.std::_Vector_base<VarState, std::allocator<VarState>>::_Vector_impl_data" }
%"struct.std::_Vector_base<VarState, std::allocator<VarState>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, unsigned int>, std::_Select1st<std::pair<const unsigned int, unsigned int>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, unsigned int>, std::_Select1st<std::pair<const unsigned int, unsigned int>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<MirBuilder::ScopeDef, std::allocator<MirBuilder::ScopeDef>>::_Vector_impl" }
%"struct.std::_Vector_base<MirBuilder::ScopeDef, std::allocator<MirBuilder::ScopeDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<MirBuilder::ScopeDef, std::allocator<MirBuilder::ScopeDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MirBuilder::ScopeDef, std::allocator<MirBuilder::ScopeDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.ScopeHandle = type <{ ptr, i32, [4 x i8] }>
%"class.std::vector.52" = type { %"struct.std::_Vector_base.53" }
%"struct.std::_Vector_base.53" = type { %"struct.std::_Vector_base<std::pair<HIR::PatternBinding::Type, MIR::LValue>, std::allocator<std::pair<HIR::PatternBinding::Type, MIR::LValue>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<HIR::PatternBinding::Type, MIR::LValue>, std::allocator<std::pair<HIR::PatternBinding::Type, MIR::LValue>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<HIR::PatternBinding::Type, MIR::LValue>, std::allocator<std::pair<HIR::PatternBinding::Type, MIR::LValue>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<HIR::PatternBinding::Type, MIR::LValue>, std::allocator<std::pair<HIR::PatternBinding::Type, MIR::LValue>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.MIR::LValue" = type { %"class.MIR::LValue::Storage", %"class.std::vector" }
%"class.MIR::LValue::Storage" = type { i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.MirBuilder::ScopeDef" = type { ptr, i8, %class.ScopeType }
%class.ScopeType = type { i32, %"union.ScopeType::DataUnion" }
%"union.ScopeType::DataUnion" = type { %"struct.ScopeType::Data_Loop" }
%"struct.ScopeType::Data_Loop" = type { %"class.std::map.252", %"class.std::map.252", i8, %struct.SplitEnd, i32, %"class.std::vector.47" }
%"class.std::map.252" = type { %"class.std::_Rb_tree.253" }
%"class.std::_Rb_tree.253" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, VarState>, std::_Select1st<std::pair<const unsigned int, VarState>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, VarState>, std::_Select1st<std::pair<const unsigned int, VarState>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%struct.SplitEnd = type { %"class.std::map.252", %"class.std::map.252" }
%"struct.ScopeType::Data_Owning" = type { i8, %"class.std::vector.47" }
%"struct.ScopeType::Data_Split" = type { i8, %struct.SplitEnd, %struct.SplitEnd, %"class.std::vector.257" }
%"class.std::vector.257" = type { %"struct.std::_Vector_base.258" }
%"struct.std::_Vector_base.258" = type { %"struct.std::_Vector_base<SplitArm, std::allocator<SplitArm>>::_Vector_impl" }
%"struct.std::_Vector_base<SplitArm, std::allocator<SplitArm>>::_Vector_impl" = type { %"struct.std::_Vector_base<SplitArm, std::allocator<SplitArm>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SplitArm, std::allocator<SplitArm>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.SplitArm = type { i8, i8, %"class.std::map.252", %"class.std::map.252" }
%"struct.std::pair.471" = type { i32, [4 x i8], %class.VarState }

@g_debug_indent_level = external global i32, align 4
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZTIPKc = external constant ptr
@__FUNCTION__._ZN10MirBuilder18get_slot_state_mutERK4SpanjNS_8SlotTypeE = external hidden unnamed_addr constant [19 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [23 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: mustprogress uwtable
declare dso_local void @_ZN8VarState10make_ValidENS_10Data_ValidE(ptr dead_on_unwind noalias writable sret(%class.VarState) align 8) #1 align 2

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

declare noundef zeroext i1 @_Z13debug_enabledv() #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef, ptr noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z5beginIRSt6vectorIjSaIjEEEDa17reversion_wrapperIT_E(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3endIRSt6vectorIjSaIjEEEDa17reversion_wrapperIT_E(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr) #2

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

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIj8VarStateED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10MirBuilder14get_slot_stateERK4SpanjNS_8SlotTypeEj(ptr noundef nonnull align 8 dereferenceable(440), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8VarState5cloneEv(ptr dead_on_unwind noalias writable sret(%class.VarState) align 8, ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN10MirBuilder18get_slot_state_mutERK4SpanjNS_8SlotTypeE(ptr noundef nonnull align 8 dereferenceable(440) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %2, i32 noundef %3) #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %struct.reversion_wrapper, align 8
  %13 = alloca %"class.std::reverse_iterator", align 8
  %14 = alloca %struct.reversion_wrapper, align 8
  %15 = alloca %"class.std::reverse_iterator", align 8
  %16 = alloca %struct.reversion_wrapper, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.409", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.409", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.409", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.409", align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %29 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %30 = alloca %"struct.std::pair.411", align 8
  %31 = alloca %"struct.std::pair.413", align 8
  %32 = alloca %class.VarState, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca { ptr, i8 }, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca %class.VarState, align 8
  %39 = alloca %"struct.VarState::Data_Valid", align 1
  %40 = alloca %"struct.std::pair.413", align 8
  %41 = alloca %"struct.std::pair.411", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !11
  %42 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %43 = getelementptr inbounds %class.MirBuilder, ptr %42, i32 0, i32 17
  %44 = call ptr @_Z7reverseIRSt6vectorIjSaIjEEE17reversion_wrapperIT_EOS5_(ptr noundef nonnull align 8 dereferenceable(24) %43)
  %45 = getelementptr inbounds %struct.reversion_wrapper, ptr %12, i32 0, i32 0
  store ptr %44, ptr %45, align 8
  store ptr %12, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %46, i64 8, i1 false), !tbaa.struct !13
  %47 = getelementptr inbounds %struct.reversion_wrapper, ptr %14, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8
  call void @_Z5beginIRSt6vectorIjSaIjEEEDa17reversion_wrapperIT_E(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %13, ptr %48)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %49, i64 8, i1 false), !tbaa.struct !13
  %50 = getelementptr inbounds %struct.reversion_wrapper, ptr %16, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8
  call void @_Z3endIRSt6vectorIjSaIjEEEDa17reversion_wrapperIT_E(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %15, ptr %51)
  br label %52

52:                                               ; preds = %252, %4
  %53 = call noundef zeroext i1 @_ZStneIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEEbRKSt16reverse_iteratorIT_ESB_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %15)
  br i1 %53, label %55, label %54

54:                                               ; preds = %52
  store i32 2, ptr %17, align 4
  br label %254

55:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13)
  %57 = load i32, ptr %56, align 4, !tbaa !9
  store i32 %57, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %58 = getelementptr inbounds %class.MirBuilder, ptr %42, i32 0, i32 16
  %59 = load i32, ptr %18, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorIN10MirBuilder8ScopeDefESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %60)
  store ptr %61, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %62 = load ptr, ptr %19, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.MirBuilder::ScopeDef", ptr %62, i32 0, i32 2
  %64 = call noundef ptr @_ZN9ScopeType10opt_OwningEv(ptr noundef nonnull align 8 dereferenceable(240) %63)
  store ptr %64, ptr %20, align 8, !tbaa !5
  %65 = load ptr, ptr %20, align 8, !tbaa !5
  %66 = icmp ne ptr %65, null
  br i1 %66, label %67, label %96

67:                                               ; preds = %55
  %68 = load i32, ptr %9, align 4, !tbaa !11
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %95

70:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %71 = load ptr, ptr %20, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.ScopeType::Data_Owning", ptr %71, i32 0, i32 1
  %73 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #7
  %74 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.409", ptr %22, i32 0, i32 0
  store ptr %73, ptr %74, align 8
  %75 = load ptr, ptr %20, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.ScopeType::Data_Owning", ptr %75, i32 0, i32 1
  %77 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %76) #7
  %78 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.409", ptr %23, i32 0, i32 0
  store ptr %77, ptr %78, align 8
  %79 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.409", ptr %22, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8
  %81 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.409", ptr %23, i32 0, i32 0
  %82 = load ptr, ptr %81, align 8
  %83 = call ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEEjET_S8_S8_RKT0_(ptr %80, ptr %82, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %84 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.409", ptr %21, i32 0, i32 0
  store ptr %83, ptr %84, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %85 = load ptr, ptr %20, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.ScopeType::Data_Owning", ptr %85, i32 0, i32 1
  %87 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #7
  %88 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.409", ptr %24, i32 0, i32 0
  store ptr %87, ptr %88, align 8
  %89 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br i1 %89, label %90, label %91

90:                                               ; preds = %70
  store i32 2, ptr %17, align 4
  br label %92

91:                                               ; preds = %70
  store i32 0, ptr %17, align 4
  br label %92

92:                                               ; preds = %91, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  %93 = load i32, ptr %17, align 4
  switch i32 %93, label %243 [
    i32 0, label %94
  ]

94:                                               ; preds = %92
  br label %95

95:                                               ; preds = %94, %67
  br label %242

96:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %97 = load ptr, ptr %19, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.MirBuilder::ScopeDef", ptr %97, i32 0, i32 2
  %99 = call noundef ptr @_ZN9ScopeType9opt_SplitEv(ptr noundef nonnull align 8 dereferenceable(240) %98)
  store ptr %99, ptr %25, align 8, !tbaa !5
  %100 = load ptr, ptr %25, align 8, !tbaa !5
  %101 = icmp ne ptr %100, null
  br i1 %101, label %102, label %183

102:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %103 = load ptr, ptr %25, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.ScopeType::Data_Split", ptr %103, i32 0, i32 3
  %105 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZNSt6vectorI8SplitArmSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %104) #7
  store ptr %105, ptr %26, align 8, !tbaa !5
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  %107 = icmp ne ptr %106, null
  br i1 %107, label %182, label %108

108:                                              ; preds = %102
  %109 = load i32, ptr %8, align 4, !tbaa !9
  %110 = icmp eq i32 %109, -1
  br i1 %110, label %111, label %112

111:                                              ; preds = %108
  br label %181

112:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %113 = load i32, ptr %9, align 4, !tbaa !11
  %114 = icmp eq i32 %113, 0
  br i1 %114, label %115, label %118

115:                                              ; preds = %112
  %116 = load ptr, ptr %26, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.SplitArm, ptr %116, i32 0, i32 2
  br label %121

118:                                              ; preds = %112
  %119 = load ptr, ptr %26, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.SplitArm, ptr %119, i32 0, i32 3
  br label %121

121:                                              ; preds = %118, %115
  %122 = phi ptr [ %117, %115 ], [ %120, %118 ]
  store ptr %122, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %123 = load ptr, ptr %27, align 8, !tbaa !5
  %124 = call ptr @_ZNSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %123, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %125 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %28, i32 0, i32 0
  store ptr %124, ptr %125, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %126 = load ptr, ptr %27, align 8, !tbaa !5
  %127 = call ptr @_ZNSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %126) #7
  %128 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %29, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  %129 = call noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKj8VarStateEES6_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br i1 %129, label %130, label %163

130:                                              ; preds = %121
  br label %131

131:                                              ; preds = %130
  %132 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %132, label %133, label %142

133:                                              ; preds = %131
  %134 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %134, ptr noundef @__FUNCTION__._ZN10MirBuilder18get_slot_state_mutERK4SpanjNS_8SlotTypeE)
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef @.str.77)
  %137 = load i32, ptr %18, align 4, !tbaa !9
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %136, i32 noundef %137)
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef @.str.22)
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef @_ZSt3decRSt8ios_base)
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %142

142:                                              ; preds = %133, %131
  br label %143

143:                                              ; preds = %142
  br label %144

144:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  %145 = load ptr, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %32) #7
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = load i32, ptr %8, align 4, !tbaa !9
  %148 = load i32, ptr %9, align 4, !tbaa !11
  %149 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10MirBuilder14get_slot_stateERK4SpanjNS_8SlotTypeEj(ptr noundef nonnull align 8 dereferenceable(440) %42, ptr noundef nonnull align 8 dereferenceable(8) %146, i32 noundef %147, i32 noundef %148, i32 noundef 0)
  call void @_ZNK8VarState5cloneEv(ptr dead_on_unwind writable sret(%class.VarState) align 8 %32, ptr noundef nonnull align 8 dereferenceable(40) %149)
  invoke void @_ZSt9make_pairIRj8VarStateESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr dead_on_unwind writable sret(%"struct.std::pair.413") align 8 %31, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(40) %32)
          to label %150 unwind label %154

150:                                              ; preds = %144
  %151 = invoke { ptr, i8 } @_ZNSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE6insertIS3_IjS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_(ptr noundef nonnull align 8 dereferenceable(48) %145, ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %152 unwind label %158

152:                                              ; preds = %150
  store { ptr, i8 } %151, ptr %35, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %30, ptr align 8 %35, i64 9, i1 false)
  %153 = getelementptr inbounds %"struct.std::pair.411", ptr %30, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %153, i64 8, i1 false), !tbaa.struct !13
  call void @_ZNSt4pairIj8VarStateED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  call void @_ZN8VarStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  br label %178

154:                                              ; preds = %144
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %33, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %34, align 4
  br label %162

158:                                              ; preds = %150
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %33, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %34, align 4
  call void @_ZNSt4pairIj8VarStateED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  br label %162

162:                                              ; preds = %158, %154
  call void @_ZN8VarStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %241

163:                                              ; preds = %121
  br label %164

164:                                              ; preds = %163
  %165 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %165, label %166, label %175

166:                                              ; preds = %164
  %167 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %167, ptr noundef @__FUNCTION__._ZN10MirBuilder18get_slot_state_mutERK4SpanjNS_8SlotTypeE)
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %168, ptr noundef @.str.78)
  %170 = load i32, ptr %18, align 4, !tbaa !9
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %169, i32 noundef %170)
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %171, ptr noundef @.str.22)
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %172, ptr noundef @_ZSt3decRSt8ios_base)
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %173, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %175

175:                                              ; preds = %166, %164
  br label %176

176:                                              ; preds = %175
  br label %177

177:                                              ; preds = %176
  br label %178

178:                                              ; preds = %177, %152
  %179 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKj8VarStateEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %180 = getelementptr inbounds %"struct.std::pair.471", ptr %179, i32 0, i32 2
  store ptr %180, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %181

181:                                              ; preds = %178, %111
  br label %182

182:                                              ; preds = %181, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %240

183:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %184 = load ptr, ptr %19, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.MirBuilder::ScopeDef", ptr %184, i32 0, i32 2
  %186 = call noundef ptr @_ZN9ScopeType8opt_LoopEv(ptr noundef nonnull align 8 dereferenceable(240) %185)
  store ptr %186, ptr %36, align 8, !tbaa !5
  %187 = load ptr, ptr %36, align 8, !tbaa !5
  %188 = icmp ne ptr %187, null
  br i1 %188, label %189, label %238

189:                                              ; preds = %183
  %190 = load i32, ptr %8, align 4, !tbaa !9
  %191 = icmp eq i32 %190, -1
  br i1 %191, label %192, label %193

192:                                              ; preds = %189
  br label %237

193:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %194 = load i32, ptr %9, align 4, !tbaa !11
  %195 = icmp eq i32 %194, 0
  br i1 %195, label %196, label %199

196:                                              ; preds = %193
  %197 = load ptr, ptr %36, align 8, !tbaa !5
  %198 = getelementptr inbounds %"struct.ScopeType::Data_Loop", ptr %197, i32 0, i32 0
  br label %202

199:                                              ; preds = %193
  %200 = load ptr, ptr %36, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.ScopeType::Data_Loop", ptr %200, i32 0, i32 1
  br label %202

202:                                              ; preds = %199, %196
  %203 = phi ptr [ %198, %196 ], [ %201, %199 ]
  store ptr %203, ptr %37, align 8, !tbaa !5
  %204 = load ptr, ptr %37, align 8, !tbaa !5
  %205 = call noundef i64 @_ZNKSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE5countERS4_(ptr noundef nonnull align 8 dereferenceable(48) %204, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %206 = icmp eq i64 %205, 0
  br i1 %206, label %207, label %236

207:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 40, ptr %38) #7
  %208 = load ptr, ptr %36, align 8, !tbaa !5
  %209 = getelementptr inbounds %"struct.ScopeType::Data_Loop", ptr %208, i32 0, i32 2
  %210 = load i8, ptr %209, align 8, !tbaa !14, !range !31, !noundef !32
  %211 = trunc i8 %210 to i1
  br i1 %211, label %212, label %217

212:                                              ; preds = %207
  %213 = load ptr, ptr %7, align 8, !tbaa !5
  %214 = load i32, ptr %8, align 4, !tbaa !9
  %215 = load i32, ptr %9, align 4, !tbaa !11
  %216 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10MirBuilder14get_slot_stateERK4SpanjNS_8SlotTypeEj(ptr noundef nonnull align 8 dereferenceable(440) %42, ptr noundef nonnull align 8 dereferenceable(8) %213, i32 noundef %214, i32 noundef %215, i32 noundef 0)
  call void @_ZNK8VarState5cloneEv(ptr dead_on_unwind writable sret(%class.VarState) align 8 %38, ptr noundef nonnull align 8 dereferenceable(40) %216)
  br label %218

217:                                              ; preds = %207
  call void @_ZN8VarState10make_ValidENS_10Data_ValidE(ptr dead_on_unwind writable sret(%class.VarState) align 8 %38)
  br label %218

218:                                              ; preds = %217, %212
  %219 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %40) #7
  invoke void @_ZSt9make_pairIRj8VarStateESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr dead_on_unwind writable sret(%"struct.std::pair.413") align 8 %40, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(40) %38)
          to label %220 unwind label %227

220:                                              ; preds = %218
  %221 = invoke { ptr, i8 } @_ZNSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE6insertIS3_IjS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_(ptr noundef nonnull align 8 dereferenceable(48) %219, ptr noundef nonnull align 8 dereferenceable(48) %40)
          to label %222 unwind label %231

222:                                              ; preds = %220
  %223 = getelementptr inbounds { ptr, i8 }, ptr %41, i32 0, i32 0
  %224 = extractvalue { ptr, i8 } %221, 0
  store ptr %224, ptr %223, align 8
  %225 = getelementptr inbounds { ptr, i8 }, ptr %41, i32 0, i32 1
  %226 = extractvalue { ptr, i8 } %221, 1
  store i8 %226, ptr %225, align 8
  call void @_ZNSt4pairIj8VarStateED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #7
  call void @_ZN8VarStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %38) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #7
  br label %236

227:                                              ; preds = %218
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %33, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %34, align 4
  br label %235

231:                                              ; preds = %220
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %33, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %34, align 4
  call void @_ZNSt4pairIj8VarStateED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #7
  br label %235

235:                                              ; preds = %231, %227
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #7
  call void @_ZN8VarStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %38) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %241

236:                                              ; preds = %222, %202
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %237

237:                                              ; preds = %236, %192
  br label %239

238:                                              ; preds = %183
  br label %239

239:                                              ; preds = %238, %237
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %240

240:                                              ; preds = %239, %182
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %242

241:                                              ; preds = %235, %162
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %281

242:                                              ; preds = %240, %95
  store i32 0, ptr %17, align 4
  br label %243

243:                                              ; preds = %242, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  %244 = load i32, ptr %17, align 4
  switch i32 %244, label %246 [
    i32 0, label %245
  ]

245:                                              ; preds = %243
  store i32 0, ptr %17, align 4
  br label %246

246:                                              ; preds = %245, %243
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  %247 = load i32, ptr %17, align 4
  switch i32 %247, label %249 [
    i32 0, label %248
  ]

248:                                              ; preds = %246
  store i32 0, ptr %17, align 4
  br label %249

249:                                              ; preds = %248, %246
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  %250 = load i32, ptr %17, align 4
  switch i32 %250, label %254 [
    i32 0, label %251
  ]

251:                                              ; preds = %249
  br label %252

252:                                              ; preds = %251
  %253 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13)
  br label %52

254:                                              ; preds = %249, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %255

255:                                              ; preds = %254
  %256 = load ptr, ptr %10, align 8, !tbaa !5
  %257 = icmp ne ptr %256, null
  br i1 %257, label %258, label %260

258:                                              ; preds = %255
  %259 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %259, ptr %5, align 8
  store i32 1, ptr %17, align 4
  br label %279

260:                                              ; preds = %255
  %261 = load i32, ptr %9, align 4, !tbaa !11
  switch i32 %261, label %277 [
    i32 0, label %262
    i32 1, label %272
  ]

262:                                              ; preds = %260
  %263 = load i32, ptr %8, align 4, !tbaa !9
  %264 = icmp eq i32 %263, -1
  br i1 %264, label %265, label %267

265:                                              ; preds = %262
  %266 = getelementptr inbounds %class.MirBuilder, ptr %42, i32 0, i32 11
  store ptr %266, ptr %5, align 8
  store i32 1, ptr %17, align 4
  br label %279

267:                                              ; preds = %262
  %268 = getelementptr inbounds %class.MirBuilder, ptr %42, i32 0, i32 13
  %269 = load i32, ptr %8, align 4, !tbaa !9
  %270 = zext i32 %269 to i64
  %271 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorI8VarStateSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %268, i64 noundef %270)
  store ptr %271, ptr %5, align 8
  store i32 1, ptr %17, align 4
  br label %279

272:                                              ; preds = %260
  %273 = getelementptr inbounds %class.MirBuilder, ptr %42, i32 0, i32 12
  %274 = load i32, ptr %8, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorI8VarStateSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %273, i64 noundef %275)
  store ptr %276, ptr %5, align 8
  store i32 1, ptr %17, align 4
  br label %279

277:                                              ; preds = %260
  %278 = call ptr @__cxa_allocate_exception(i64 8) #7
  store ptr @.str.76, ptr %278, align 16, !tbaa !5
  call void @__cxa_throw(ptr %278, ptr @_ZTIPKc, ptr null) #8
  unreachable

279:                                              ; preds = %272, %267, %265, %258
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  %280 = load ptr, ptr %5, align 8
  ret ptr %280

281:                                              ; preds = %241
  %282 = load ptr, ptr %33, align 8
  %283 = load i32, ptr %34, align 4
  %284 = insertvalue { ptr, i32 } poison, ptr %282, 0
  %285 = insertvalue { ptr, i32 } %284, i32 %283, 1
  resume { ptr, i32 } %285
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEEjET_S8_S8_RKT0_(ptr, ptr, ptr noundef nonnull align 4 dereferenceable(4)) #4

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE5countERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #1 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 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { nounwind }
attributes #8 = { noreturn }

!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 = !{!"_ZTSN10MirBuilder8SlotTypeE", !7, i64 0}
!13 = !{i64 0, i64 8, !5}
!14 = !{!15, !25, i64 96}
!15 = !{!"_ZTSN9ScopeType9Data_LoopE", !16, i64 0, !16, i64 48, !25, i64 96, !26, i64 104, !10, i64 200, !27, i64 208}
!16 = !{!"_ZTSSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE", !17, i64 0}
!17 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKj8VarStateESt10_Select1stIS3_ESt4lessIjESaIS3_EE", !18, i64 0}
!18 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKj8VarStateESt10_Select1stIS3_ESt4lessIjESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !19, i64 0, !21, i64 8}
!19 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !20, i64 0}
!20 = !{!"_ZTSSt4lessIjE"}
!21 = !{!"_ZTSSt15_Rb_tree_header", !22, i64 0, !24, i64 32}
!22 = !{!"_ZTSSt18_Rb_tree_node_base", !23, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!23 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTS8SplitEnd", !16, i64 0, !16, i64 48}
!27 = !{!"_ZTSSt6vectorIjSaIjEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{i8 0, i8 2}
!32 = !{}


; 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.VarState = type { i32, [4 x i8], %"union.VarState::DataUnion" }
%"union.VarState::DataUnion" = type { i32, [28 x i8] }
%"class.std::reverse_iterator" = type { %"class.__gnu_cxx::__normal_iterator" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair.413" = type { i32, [4 x i8], %class.VarState }
%"class.__gnu_cxx::__normal_iterator.409" = type { ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZTIPKc = external constant ptr
@__FUNCTION__._ZN10MirBuilder18get_slot_state_mutERK4SpanjNS_8SlotTypeE = external hidden unnamed_addr constant [19 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [23 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: mustprogress uwtable
declare dso_local void @_ZN8VarState10make_ValidENS_10Data_ValidE(ptr dead_on_unwind noalias writable sret(%class.VarState) align 8) local_unnamed_addr #1 align 2

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z5beginIRSt6vectorIjSaIjEEEDa17reversion_wrapperIT_E(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3endIRSt6vectorIjSaIjEEEDa17reversion_wrapperIT_E(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr) local_unnamed_addr #2

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIj8VarStateED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10MirBuilder14get_slot_stateERK4SpanjNS_8SlotTypeEj(ptr noundef nonnull align 8 dereferenceable(440), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN10MirBuilder18get_slot_state_mutERK4SpanjNS_8SlotTypeE(ptr noundef nonnull align 8 dereferenceable(440) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::reverse_iterator", align 8
  %7 = alloca %"class.std::reverse_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.409", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.409", align 8
  %10 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %11 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %12 = alloca %"struct.std::pair.413", align 8
  %13 = alloca %class.VarState, align 8
  %14 = alloca %class.VarState, align 8
  %15 = alloca %"struct.std::pair.413", align 8
  store i32 %2, ptr %5, align 4, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %0, i64 344
  %17 = tail call ptr @_Z7reverseIRSt6vectorIjSaIjEEE17reversion_wrapperIT_EOS5_(ptr noundef nonnull align 8 dereferenceable(24) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @_Z5beginIRSt6vectorIjSaIjEEEDa17reversion_wrapperIT_E(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %6, ptr %17)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  call void @_Z3endIRSt6vectorIjSaIjEEEDa17reversion_wrapperIT_E(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %7, ptr %17)
  %18 = call noundef zeroext i1 @_ZStneIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEEbRKSt16reverse_iteratorIT_ESB_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
  br i1 %18, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %111

.lr.ph:                                           ; preds = %4
  %19 = getelementptr inbounds i8, ptr %0, i64 320
  %20 = icmp eq i32 %3, 0
  %.v = select i1 %20, i64 8, i64 56
  %.idx = select i1 %20, i64 0, i64 48
  br label %21

21:                                               ; preds = %.lr.ph, %.thread
  %.05683 = phi ptr [ null, %.lr.ph ], [ %.478, %.thread ]
  %22 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = zext i32 %23 to i64
  %25 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorIN10MirBuilder8ScopeDefESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %24)
  %26 = getelementptr inbounds i8, ptr %25, i64 16
  %27 = call noundef ptr @_ZN9ScopeType10opt_OwningEv(ptr noundef nonnull align 8 dereferenceable(240) %26)
  %.not = icmp eq ptr %27, null
  br i1 %.not, label %36, label %28

28:                                               ; preds = %21
  br i1 %20, label %29, label %.thread

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %30 = getelementptr inbounds i8, ptr %27, i64 8
  %31 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  %32 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  %33 = call ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEEjET_S8_S8_RKT0_(ptr %31, ptr %32, ptr noundef nonnull align 4 dereferenceable(4) %5)
  store ptr %33, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %34 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  store ptr %34, ptr %9, align 8
  %35 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br i1 %35, label %._crit_edge, label %.thread

36:                                               ; preds = %21
  %37 = call noundef ptr @_ZN9ScopeType9opt_SplitEv(ptr noundef nonnull align 8 dereferenceable(240) %26)
  %.not69 = icmp eq ptr %37, null
  br i1 %.not69, label %82, label %38

38:                                               ; preds = %36
  %39 = getelementptr inbounds i8, ptr %37, i64 200
  %40 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZNSt6vectorI8SplitArmSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  %41 = icmp ne ptr %.05683, null
  %42 = load i32, ptr %5, align 4
  %43 = icmp eq i32 %42, -1
  %or.cond = select i1 %41, i1 true, i1 %43
  br i1 %or.cond, label %.thread, label %44

44:                                               ; preds = %38
  %45 = getelementptr inbounds i8, ptr %40, i64 %.v
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %46 = call ptr @_ZNSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef nonnull align 4 dereferenceable(4) %5)
  store ptr %46, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %47 = call ptr @_ZNSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %45) #6
  store ptr %47, ptr %11, align 8
  %48 = call noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKj8VarStateEES6_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  %49 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %48, label %50, label %70

50:                                               ; preds = %44
  br i1 %49, label %51, label %59

51:                                               ; preds = %50
  %52 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %52, ptr noundef nonnull @__FUNCTION__._ZN10MirBuilder18get_slot_state_mutERK4SpanjNS_8SlotTypeE)
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull @.str.77)
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %54, i32 noundef %23)
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull @.str.22)
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull @_ZSt3decRSt8ios_base)
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %59

59:                                               ; preds = %51, %50
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #6
  %60 = load i32, ptr %5, align 4, !tbaa !5
  %61 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10MirBuilder14get_slot_stateERK4SpanjNS_8SlotTypeEj(ptr noundef nonnull align 8 dereferenceable(440) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %60, i32 noundef %3, i32 noundef 0)
  call void @_ZNK8VarState5cloneEv(ptr dead_on_unwind nonnull writable sret(%class.VarState) align 8 %13, ptr noundef nonnull align 8 dereferenceable(40) %61)
  invoke void @_ZSt9make_pairIRj8VarStateESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.413") align 8 %12, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %62 unwind label %65

62:                                               ; preds = %59
  %63 = invoke { ptr, i8 } @_ZNSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE6insertIS3_IjS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_(ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %64 unwind label %67

64:                                               ; preds = %62
  %.fca.0.extract = extractvalue { ptr, i8 } %63, 0
  store ptr %.fca.0.extract, ptr %10, align 8, !tbaa !9
  call void @_ZNSt4pairIj8VarStateED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  call void @_ZN8VarStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #6
  br label %79

65:                                               ; preds = %59
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %69

67:                                               ; preds = %62
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIj8VarStateED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  br label %69

69:                                               ; preds = %67, %65
  %.pn71 = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ]
  call void @_ZN8VarStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %108

70:                                               ; preds = %44
  br i1 %49, label %71, label %79

71:                                               ; preds = %70
  %72 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %72, ptr noundef nonnull @__FUNCTION__._ZN10MirBuilder18get_slot_state_mutERK4SpanjNS_8SlotTypeE)
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull @.str.78)
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %74, i32 noundef %23)
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull @.str.22)
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @_ZSt3decRSt8ios_base)
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %79

79:                                               ; preds = %70, %71, %64
  %80 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKj8VarStateEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %81 = getelementptr inbounds i8, ptr %80, i64 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %.thread

82:                                               ; preds = %36
  %83 = call noundef ptr @_ZN9ScopeType8opt_LoopEv(ptr noundef nonnull align 8 dereferenceable(240) %26)
  %84 = icmp eq ptr %83, null
  %85 = load i32, ptr %5, align 4
  %86 = icmp eq i32 %85, -1
  %or.cond6 = select i1 %84, i1 true, i1 %86
  br i1 %or.cond6, label %.thread, label %87

87:                                               ; preds = %82
  %88 = getelementptr inbounds i8, ptr %83, i64 %.idx
  %89 = call noundef i64 @_ZNKSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE5countERS4_(ptr noundef nonnull align 8 dereferenceable(48) %88, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %90 = icmp eq i64 %89, 0
  br i1 %90, label %91, label %.thread

91:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #6
  %92 = getelementptr inbounds i8, ptr %83, i64 96
  %93 = load i8, ptr %92, align 8, !tbaa !11, !range !28, !noundef !29
  %94 = trunc nuw i8 %93 to i1
  br i1 %94, label %95, label %98

95:                                               ; preds = %91
  %96 = load i32, ptr %5, align 4, !tbaa !5
  %97 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10MirBuilder14get_slot_stateERK4SpanjNS_8SlotTypeEj(ptr noundef nonnull align 8 dereferenceable(440) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %96, i32 noundef %3, i32 noundef 0)
  call void @_ZNK8VarState5cloneEv(ptr dead_on_unwind nonnull writable sret(%class.VarState) align 8 %14, ptr noundef nonnull align 8 dereferenceable(40) %97)
  br label %99

98:                                               ; preds = %91
  call void @_ZN8VarState10make_ValidENS_10Data_ValidE(ptr dead_on_unwind nonnull writable sret(%class.VarState) align 8 %14)
  br label %99

99:                                               ; preds = %98, %95
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %15) #6
  invoke void @_ZSt9make_pairIRj8VarStateESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.413") align 8 %15, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %100 unwind label %103

100:                                              ; preds = %99
  %101 = invoke { ptr, i8 } @_ZNSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE6insertIS3_IjS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_(ptr noundef nonnull align 8 dereferenceable(48) %88, ptr noundef nonnull align 8 dereferenceable(48) %15)
          to label %102 unwind label %105

102:                                              ; preds = %100
  call void @_ZNSt4pairIj8VarStateED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #6
  call void @_ZN8VarStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #6
  br label %.thread

103:                                              ; preds = %99
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %107

105:                                              ; preds = %100
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIj8VarStateED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  br label %107

107:                                              ; preds = %105, %103
  %.pn = phi { ptr, i32 } [ %106, %105 ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #6
  call void @_ZN8VarStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #6
  br label %108

108:                                              ; preds = %107, %69
  %.pn71.pn = phi { ptr, i32 } [ %.pn71, %69 ], [ %.pn, %107 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  resume { ptr, i32 } %.pn71.pn

.thread:                                          ; preds = %29, %28, %82, %102, %87, %38, %79
  %.478 = phi ptr [ %.05683, %29 ], [ %.05683, %82 ], [ %.05683, %102 ], [ %.05683, %87 ], [ %81, %79 ], [ %.05683, %38 ], [ %.05683, %28 ]
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %110 = call noundef zeroext i1 @_ZStneIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEEbRKSt16reverse_iteratorIT_ESB_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
  br i1 %110, label %21, label %._crit_edge

._crit_edge:                                      ; preds = %.thread, %29
  %.056.lcssa = phi ptr [ %.478, %.thread ], [ %.05683, %29 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %.not74 = icmp eq ptr %.056.lcssa, null
  br i1 %.not74, label %111, label %128

111:                                              ; preds = %._crit_edge.thread, %._crit_edge
  switch i32 %3, label %126 [
    i32 0, label %112
    i32 1, label %121
  ]

112:                                              ; preds = %111
  %113 = load i32, ptr %5, align 4, !tbaa !5
  %114 = icmp eq i32 %113, -1
  br i1 %114, label %115, label %117

115:                                              ; preds = %112
  %116 = getelementptr inbounds i8, ptr %0, i64 176
  br label %128

117:                                              ; preds = %112
  %118 = getelementptr inbounds i8, ptr %0, i64 240
  %119 = zext i32 %113 to i64
  %120 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorI8VarStateSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %118, i64 noundef %119)
  br label %128

121:                                              ; preds = %111
  %122 = getelementptr inbounds i8, ptr %0, i64 216
  %123 = load i32, ptr %5, align 4, !tbaa !5
  %124 = zext i32 %123 to i64
  %125 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorI8VarStateSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %124)
  br label %128

126:                                              ; preds = %111
  %127 = call ptr @__cxa_allocate_exception(i64 8) #6
  store ptr @.str.76, ptr %127, align 16, !tbaa !9
  call void @__cxa_throw(ptr nonnull %127, ptr nonnull @_ZTIPKc, ptr null) #7
  unreachable

128:                                              ; preds = %._crit_edge, %121, %117, %115
  %.0 = phi ptr [ %125, %121 ], [ %116, %115 ], [ %120, %117 ], [ %.056.lcssa, %._crit_edge ]
  ret ptr %.0
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEEjET_S8_S8_RKT0_(ptr, ptr, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKj8VarStateEES6_(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 ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKj8VarStateEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE5countERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !22, i64 96}
!12 = !{!"_ZTSN9ScopeType9Data_LoopE", !13, i64 0, !13, i64 48, !22, i64 96, !23, i64 104, !6, i64 200, !24, i64 208}
!13 = !{!"_ZTSSt3mapIj8VarStateSt4lessIjESaISt4pairIKjS0_EEE", !14, i64 0}
!14 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKj8VarStateESt10_Select1stIS3_ESt4lessIjESaIS3_EE", !15, i64 0}
!15 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKj8VarStateESt10_Select1stIS3_ESt4lessIjESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !16, i64 0, !18, i64 8}
!16 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !17, i64 0}
!17 = !{!"_ZTSSt4lessIjE"}
!18 = !{!"_ZTSSt15_Rb_tree_header", !19, i64 0, !21, i64 32}
!19 = !{!"_ZTSSt18_Rb_tree_node_base", !20, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!20 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTS8SplitEnd", !13, i64 0, !13, i64 48}
!24 = !{!"_ZTSSt6vectorIjSaIjEE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!28 = !{i8 0, i8 2}
!29 = !{}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass