; LLVM IR from thepowersgang/mrustc :: src/mir (helpers)

; 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"

%"struct.MIR::ValueLifetimes" = type { %"class.std::vector.24", %"class.std::vector.426" }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.426" = type { %"struct.std::_Vector_base.427" }
%"struct.std::_Vector_base.427" = type { %"struct.std::_Vector_base<MIR::ValueLifetime, std::allocator<MIR::ValueLifetime>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::ValueLifetime, std::allocator<MIR::ValueLifetime>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::ValueLifetime, std::allocator<MIR::ValueLifetime>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::ValueLifetime, std::allocator<MIR::ValueLifetime>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.431 = type { ptr }
%"class.__gnu_cxx::__normal_iterator.432" = type { ptr }
%"class.std::vector.433" = type { %"struct.std::_Vector_base.434" }
%"struct.std::_Vector_base.434" = type { %"struct.std::_Vector_base<(anonymous namespace)::ValueLifetime, std::allocator<(anonymous namespace)::ValueLifetime>>::_Vector_impl" }
%"struct.std::_Vector_base<(anonymous namespace)::ValueLifetime, std::allocator<(anonymous namespace)::ValueLifetime>>::_Vector_impl" = type { %"struct.std::_Vector_base<(anonymous namespace)::ValueLifetime, std::allocator<(anonymous namespace)::ValueLifetime>>::_Vector_impl_data" }
%"struct.std::_Vector_base<(anonymous namespace)::ValueLifetime, std::allocator<(anonymous namespace)::ValueLifetime>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.(anonymous namespace)::ValueLifetime" = type { %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.435" = type { i8 }
%"class.std::vector.438" = type { %"struct.std::_Vector_base.439" }
%"struct.std::_Vector_base.439" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.440" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.443" = type { ptr }
%class.anon.444 = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.445" = type { ptr }
%"class.std::function.401" = type { %"class.std::_Function_base", ptr }
%class.anon.446 = type { ptr, ptr, ptr, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.447" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.450" = type { ptr }
%"class.MIR::ValueLifetime" = type { %"class.std::vector.0" }
%"class.MIR::Function" = type { %"class.std::vector", %"class.std::vector.0", %"class.std::vector.4", %"class.MIR::EnumCachePtr" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::EnumCachePtr" = type { ptr }
%"struct.MIR::BasicBlock" = type { %"class.std::vector.9", %"class.MIR::Terminator" }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<MIR::Statement, std::allocator<MIR::Statement>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::Statement, std::allocator<MIR::Statement>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::Statement, std::allocator<MIR::Statement>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::Statement, std::allocator<MIR::Statement>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::Terminator" = type { i32, %"union.MIR::Terminator::DataUnion" }
%"union.MIR::Terminator::DataUnion" = type { %"struct.MIR::Terminator::Data_Call" }
%"struct.MIR::Terminator::Data_Call" = type { i32, i32, %"struct.MIR::LValue", %"class.MIR::CallTarget", %"class.std::vector.46" }
%"struct.MIR::LValue" = type { %"class.MIR::LValue::Storage", %"class.std::vector.14" }
%"class.MIR::LValue::Storage" = type { i64 }
%"class.std::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = 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 }
%"class.MIR::CallTarget" = type { i32, %"union.MIR::CallTarget::DataUnion" }
%"union.MIR::CallTarget::DataUnion" = type { %"class.HIR::Path" }
%"class.HIR::Path" = type { %"class.HIR::Path::Data" }
%"class.HIR::Path::Data" = type { i32, %"union.HIR::Path::Data::DataUnion" }
%"union.HIR::Path::Data::DataUnion" = type { %"struct.HIR::Path::Data::Data_UfcsKnown" }
%"struct.HIR::Path::Data::Data_UfcsKnown" = type { %"class.HIR::TypeRef", %"class.HIR::GenericPath", %class.RcString, %"struct.HIR::PathParams", %"class.std::unique_ptr" }
%"class.HIR::TypeRef" = type { ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%class.RcString = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.41, %class.ThinVector.42, %class.ThinVector.43 }
%class.ThinVector.41 = type { ptr }
%class.ThinVector.42 = type { ptr }
%class.ThinVector.43 = type { 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.45" }
%"struct.std::_Head_base.45" = type { ptr }
%"class.std::vector.46" = type { %"struct.std::_Vector_base.47" }
%"struct.std::_Vector_base.47" = type { %"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.MIR::Statement::Data_Assign" = type { %"struct.MIR::LValue", %"class.MIR::RValue" }
%"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" }
%"struct.MIR::Statement::Data_Asm" = type { %"class.std::__cxx11::basic_string", %"class.std::vector.404", %"class.std::vector.404", %"class.std::vector.31", %"class.std::vector.31" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.404" = type { %"struct.std::_Vector_base.405" }
%"struct.std::_Vector_base.405" = type { %"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, MIR::LValue>, std::allocator<std::pair<std::__cxx11::basic_string<char>, MIR::LValue>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, MIR::LValue>, std::allocator<std::pair<std::__cxx11::basic_string<char>, MIR::LValue>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, MIR::LValue>, std::allocator<std::pair<std::__cxx11::basic_string<char>, MIR::LValue>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, MIR::LValue>, std::allocator<std::pair<std::__cxx11::basic_string<char>, MIR::LValue>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.448" = type { %"class.std::__cxx11::basic_string", %"struct.MIR::LValue" }
%"struct.MIR::Statement::Data_Drop" = type <{ i32, [4 x i8], %"struct.MIR::LValue", i32, [4 x i8] }>

@__func__._Z23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEE = external hidden unnamed_addr constant [24 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEE(ptr dead_on_unwind noalias writable sret(%"struct.MIR::ValueLifetimes") align 8 %0, ptr noundef nonnull align 8 dereferenceable(120) %1, ptr noundef nonnull align 8 dereferenceable(96) %2, i1 noundef zeroext %3, ptr noundef %4) #2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca ptr, align 8
  %11 = alloca %class.TraceLog, align 8
  %12 = alloca %"class.std::function", align 8
  %13 = alloca %class.anon.431, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca %"class.std::vector.24", align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.432", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.432", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.std::vector.433", align 8
  %23 = alloca %"struct.(anonymous namespace)::ValueLifetime", align 8
  %24 = alloca %"class.std::allocator.435", align 1
  %25 = alloca %"class.std::vector.438", align 8
  %26 = alloca %"class.std::allocator.440", align 1
  %27 = alloca ptr, align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.443", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.443", align 8
  %30 = alloca ptr, align 8
  %31 = alloca i64, align 8
  %32 = alloca %class.anon.444, align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.432", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.432", align 8
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.445", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.445", align 8
  %41 = alloca ptr, align 8
  %42 = alloca %"class.std::function.401", align 8
  %43 = alloca %"class.std::function.401", align 8
  %44 = alloca i64, align 8
  %45 = alloca %class.anon.446, align 8
  %46 = alloca ptr, align 8
  %47 = alloca i64, align 8
  %48 = alloca ptr, align 8
  %49 = alloca ptr, align 8
  %50 = alloca ptr, align 8
  %51 = alloca ptr, align 8
  %52 = alloca %"class.__gnu_cxx::__normal_iterator.447", align 8
  %53 = alloca %"class.__gnu_cxx::__normal_iterator.447", align 8
  %54 = alloca ptr, align 8
  %55 = alloca ptr, align 8
  %56 = alloca i32, align 4
  %57 = alloca ptr, align 8
  %58 = alloca i64, align 8
  %59 = alloca i1, align 1
  %60 = alloca ptr, align 8
  %61 = alloca %"class.__gnu_cxx::__normal_iterator.450", align 8
  %62 = alloca %"class.__gnu_cxx::__normal_iterator.450", align 8
  %63 = alloca ptr, align 8
  %64 = alloca %"class.MIR::ValueLifetime", align 8
  %65 = alloca %"class.std::vector.0", align 8
  store ptr %0, ptr %6, align 8
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  %66 = zext i1 %3 to i8
  store i8 %66, ptr %9, align 1, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #7
  %67 = call noundef zeroext i1 @_Z13debug_enabledv()
  %68 = zext i1 %67 to i64
  %69 = select i1 %67, ptr @__func__._Z23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %70 = getelementptr inbounds %class.anon.431, ptr %13, i32 0, i32 0
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %71, ptr %70, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS4_8FunctionEbPKSt6vectorIbSaIbEEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef %69, ptr noundef %12)
          to label %72 unwind label %88

72:                                               ; preds = %5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store i64 0, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #7
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = getelementptr inbounds %"class.MIR::Function", ptr %73, i32 0, i32 2
  %75 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #7
  invoke void @_ZNSt6vectorImSaImEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %75)
          to label %76 unwind label %92

76:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = getelementptr inbounds %"class.MIR::Function", ptr %77, i32 0, i32 2
  store ptr %78, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %79 = load ptr, ptr %18, align 8, !tbaa !5
  %80 = call ptr @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #7
  %81 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.432", ptr %19, i32 0, i32 0
  store ptr %80, ptr %81, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %82 = load ptr, ptr %18, align 8, !tbaa !5
  %83 = call ptr @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #7
  %84 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.432", ptr %20, i32 0, i32 0
  store ptr %83, ptr %84, align 8
  br label %85

85:                                               ; preds = %105, %76
  %86 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br i1 %86, label %96, label %87

87:                                               ; preds = %85
  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 8, ptr %18) #7
  br label %111

88:                                               ; preds = %5
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %14, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %15, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %470

92:                                               ; preds = %111, %72
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %14, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %15, align 4
  br label %469

96:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %97 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  store ptr %97, ptr %21, align 8, !tbaa !5
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %98 unwind label %107

98:                                               ; preds = %96
  %99 = load ptr, ptr %21, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %99, i32 0, i32 0
  %101 = call noundef i64 @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #7
  %102 = add i64 %101, 1
  %103 = load i64, ptr %16, align 8, !tbaa !11
  %104 = add i64 %103, %102
  store i64 %104, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %105

105:                                              ; preds = %98
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  br label %85

107:                                              ; preds = %96
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %14, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #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 8, ptr %18) #7
  br label %469

111:                                              ; preds = %87
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %112 unwind label %92

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #7
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = getelementptr inbounds %"class.MIR::Function", ptr %113, i32 0, i32 0
  %115 = call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %114) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #7
  %116 = load i64, ptr %16, align 8, !tbaa !11
  invoke void @_ZN12_GLOBAL__N_113ValueLifetimeC2Em(ptr noundef nonnull align 8 dereferenceable(40) %23, i64 noundef %116)
          to label %117 unwind label %132

117:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  call void @_ZNSaIN12_GLOBAL__N_113ValueLifetimeEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  invoke void @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %115, ptr noundef nonnull align 8 dereferenceable(40) %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %118 unwind label %136

118:                                              ; preds = %117
  call void @_ZNSt15__new_allocatorIN12_GLOBAL__N_113ValueLifetimeEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @_ZN12_GLOBAL__N_113ValueLifetimeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #7
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = getelementptr inbounds %"class.MIR::Function", ptr %119, i32 0, i32 0
  %121 = call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %120) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  call void @_ZNSaISt6vectorIbSaIbEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  invoke void @_ZNSt6vectorIS_IbSaIbEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %121, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %122 unwind label %141

122:                                              ; preds = %118
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  store ptr %25, 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 @_ZNSt6vectorIS_IbSaIbEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %123) #7
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.443", 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 @_ZNSt6vectorIS_IbSaIbEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %126) #7
  %128 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.443", ptr %29, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  br label %129

129:                                              ; preds = %150, %122
  %130 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt6vectorIbSaIbEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  br i1 %130, label %145, label %131

131:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %156

132:                                              ; preds = %112
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %14, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %15, align 4
  br label %140

136:                                              ; preds = %117
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %14, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %15, align 4
  call void @_ZNSt15__new_allocatorIN12_GLOBAL__N_113ValueLifetimeEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @_ZN12_GLOBAL__N_113ValueLifetimeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #7
  br label %140

140:                                              ; preds = %136, %132
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #7
  br label %468

141:                                              ; preds = %118
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %14, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %15, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  br label %467

145:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %146 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6vectorIbSaIbEES1_IS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  store ptr %146, ptr %30, align 8, !tbaa !5
  %147 = load ptr, ptr %30, align 8, !tbaa !5
  %148 = load i64, ptr %16, align 8, !tbaa !11
  invoke void @_ZNSt6vectorIbSaIbEE6resizeEmb(ptr noundef nonnull align 8 dereferenceable(40) %147, i64 noundef %148, i1 noundef zeroext false)
          to label %149 unwind label %152

149:                                              ; preds = %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %150

150:                                              ; preds = %149
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt6vectorIbSaIbEES1_IS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br label %129

152:                                              ; preds = %145
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %14, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %466

156:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  store i64 0, ptr %31, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #7
  %157 = getelementptr inbounds %class.anon.444, ptr %32, i32 0, i32 0
  store ptr %25, ptr %157, align 8, !tbaa !5
  %158 = getelementptr inbounds %class.anon.444, ptr %32, i32 0, i32 1
  store ptr %31, ptr %158, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = getelementptr inbounds %"class.MIR::Function", ptr %159, i32 0, i32 2
  store ptr %160, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %161 = load ptr, ptr %33, align 8, !tbaa !5
  %162 = call ptr @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %161) #7
  %163 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.432", ptr %34, i32 0, i32 0
  store ptr %162, ptr %163, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %164 = load ptr, ptr %33, align 8, !tbaa !5
  %165 = call ptr @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %164) #7
  %166 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.432", ptr %35, i32 0, i32 0
  store ptr %165, ptr %166, align 8
  br label %167

167:                                              ; preds = %203, %156
  %168 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  br i1 %168, label %170, label %169

169:                                              ; preds = %167
  store i32 6, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %210

170:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %171 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  store ptr %171, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %172 = load ptr, ptr %37, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %172, i32 0, i32 0
  store ptr %173, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  %174 = load ptr, ptr %38, align 8, !tbaa !5
  %175 = call ptr @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %174) #7
  %176 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.445", ptr %39, i32 0, i32 0
  store ptr %175, ptr %176, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %177 = load ptr, ptr %38, align 8, !tbaa !5
  %178 = call ptr @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %177) #7
  %179 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.445", ptr %40, i32 0, i32 0
  store ptr %178, ptr %179, align 8
  br label %180

180:                                              ; preds = %190, %170
  %181 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  br i1 %181, label %183, label %182

182:                                              ; preds = %180
  store i32 8, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  br label %196

183:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %184 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  store ptr %184, ptr %41, align 8, !tbaa !5
  %185 = load ptr, ptr %41, align 8, !tbaa !5
  call void @"_ZNSt8functionIFbRKN3MIR6LValueENS0_5visit8ValUsageEEEC2IRZ23MIR_Helper_GetLifetimesRNS0_11TypeResolveERKNS0_8FunctionEbPKSt6vectorIbSaIbEEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(16) %32) #7
  %186 = invoke noundef zeroext i1 @_ZN3MIR5visit17visit_mir_lvaluesERKNS_9StatementESt8functionIFbRKNS_6LValueENS0_8ValUsageEEE(ptr noundef nonnull align 8 dereferenceable(152) %185, ptr noundef %42)
          to label %187 unwind label %192

187:                                              ; preds = %183
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #7
  %188 = load i64, ptr %31, align 8, !tbaa !11
  %189 = add i64 %188, 1
  store i64 %189, ptr %31, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  br label %190

190:                                              ; preds = %187
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  br label %180

192:                                              ; preds = %183
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %14, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %15, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  br label %209

196:                                              ; preds = %182
  %197 = load ptr, ptr %37, align 8, !tbaa !5
  %198 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %197, i32 0, i32 1
  call void @"_ZNSt8functionIFbRKN3MIR6LValueENS0_5visit8ValUsageEEEC2IRZ23MIR_Helper_GetLifetimesRNS0_11TypeResolveERKNS0_8FunctionEbPKSt6vectorIbSaIbEEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(16) %32) #7
  %199 = invoke noundef zeroext i1 @_ZN3MIR5visit17visit_mir_lvaluesERKNS_10TerminatorESt8functionIFbRKNS_6LValueENS0_8ValUsageEEE(ptr noundef nonnull align 8 dereferenceable(168) %198, ptr noundef %43)
          to label %200 unwind label %205

200:                                              ; preds = %196
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #7
  %201 = load i64, ptr %31, align 8, !tbaa !11
  %202 = add i64 %201, 1
  store i64 %202, ptr %31, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %203

203:                                              ; preds = %200
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br label %167

205:                                              ; preds = %196
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %14, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %15, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #7
  br label %209

209:                                              ; preds = %205, %192
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %466

210:                                              ; preds = %169
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  store i64 0, ptr %44, align 8, !tbaa !11
  br label %211

211:                                              ; preds = %397, %210
  %212 = load i64, ptr %44, align 8, !tbaa !11
  %213 = load ptr, ptr %8, align 8, !tbaa !5
  %214 = getelementptr inbounds %"class.MIR::Function", ptr %213, i32 0, i32 2
  %215 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %214) #7
  %216 = icmp ult i64 %212, %215
  br i1 %216, label %218, label %217

217:                                              ; preds = %211
  store i32 10, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  br label %401

218:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 48, ptr %45) #7
  %219 = getelementptr inbounds %class.anon.446, ptr %45, i32 0, i32 0
  store ptr %10, ptr %219, align 8, !tbaa !5
  %220 = getelementptr inbounds %class.anon.446, ptr %45, i32 0, i32 1
  %221 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %221, ptr %220, align 8, !tbaa !5
  %222 = getelementptr inbounds %class.anon.446, ptr %45, i32 0, i32 2
  %223 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %223, ptr %222, align 8, !tbaa !5
  %224 = getelementptr inbounds %class.anon.446, ptr %45, i32 0, i32 3
  store ptr %17, ptr %224, align 8, !tbaa !5
  %225 = getelementptr inbounds %class.anon.446, ptr %45, i32 0, i32 4
  store ptr %25, ptr %225, align 8, !tbaa !5
  %226 = getelementptr inbounds %class.anon.446, ptr %45, i32 0, i32 5
  store ptr %22, ptr %226, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  %227 = load ptr, ptr %8, align 8, !tbaa !5
  %228 = getelementptr inbounds %"class.MIR::Function", ptr %227, i32 0, i32 2
  %229 = load i64, ptr %44, align 8, !tbaa !11
  %230 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %228, i64 noundef %229) #7
  store ptr %230, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #7
  store i64 0, ptr %47, align 8, !tbaa !11
  br label %231

231:                                              ; preds = %360, %218
  %232 = load i64, ptr %47, align 8, !tbaa !11
  %233 = load ptr, ptr %46, align 8, !tbaa !5
  %234 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %233, i32 0, i32 0
  %235 = call noundef i64 @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %234) #7
  %236 = icmp ult i64 %232, %235
  br i1 %236, label %238, label %237

237:                                              ; preds = %231
  store i32 13, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  br label %365

238:                                              ; preds = %231
  %239 = load ptr, ptr %7, align 8, !tbaa !5
  %240 = load i64, ptr %44, align 8, !tbaa !11
  %241 = trunc i64 %240 to i32
  %242 = load i64, ptr %47, align 8, !tbaa !11
  %243 = trunc i64 %242 to i32
  invoke void @_ZN3MIR11TypeResolve12set_cur_stmtEjj(ptr noundef nonnull align 8 dereferenceable(120) %239, i32 noundef %241, i32 noundef %243)
          to label %244 unwind label %261

244:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #7
  %245 = load ptr, ptr %46, align 8, !tbaa !5
  %246 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %245, i32 0, i32 0
  %247 = load i64, ptr %47, align 8, !tbaa !11
  %248 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNKSt6vectorIN3MIR9StatementESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %246, i64 noundef %247) #7
  store ptr %248, ptr %48, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #7
  %249 = load ptr, ptr %48, align 8, !tbaa !5
  %250 = invoke noundef ptr @_ZNK3MIR9Statement10opt_AssignEv(ptr noundef nonnull align 8 dereferenceable(152) %249)
          to label %251 unwind label %265

251:                                              ; preds = %244
  store ptr %250, ptr %49, align 8, !tbaa !5
  %252 = load ptr, ptr %49, align 8, !tbaa !5
  %253 = icmp ne ptr %252, null
  br i1 %253, label %254, label %269

254:                                              ; preds = %251
  %255 = load i64, ptr %44, align 8, !tbaa !11
  %256 = load i64, ptr %47, align 8, !tbaa !11
  %257 = add i64 %256, 1
  %258 = load ptr, ptr %49, align 8, !tbaa !5
  %259 = getelementptr inbounds %"struct.MIR::Statement::Data_Assign", ptr %258, i32 0, i32 0
  invoke void @"_ZZ23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEEENK3$_2clEmmRKNS_6LValueE"(ptr noundef nonnull align 8 dereferenceable(48) %45, i64 noundef %255, i64 noundef %257, ptr noundef nonnull align 8 dereferenceable(32) %259)
          to label %260 unwind label %265

260:                                              ; preds = %254
  br label %359

261:                                              ; preds = %238
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %14, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %15, align 4
  br label %364

265:                                              ; preds = %254, %244
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %14, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %15, align 4
  br label %363

269:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #7
  %270 = load ptr, ptr %48, align 8, !tbaa !5
  %271 = invoke noundef ptr @_ZNK3MIR9Statement7opt_AsmEv(ptr noundef nonnull align 8 dereferenceable(152) %270)
          to label %272 unwind label %287

272:                                              ; preds = %269
  store ptr %271, ptr %50, align 8, !tbaa !5
  %273 = load ptr, ptr %50, align 8, !tbaa !5
  %274 = icmp ne ptr %273, null
  br i1 %274, label %275, label %306

275:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #7
  %276 = load ptr, ptr %50, align 8, !tbaa !5
  %277 = getelementptr inbounds %"struct.MIR::Statement::Data_Asm", ptr %276, i32 0, i32 1
  store ptr %277, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #7
  %278 = load ptr, ptr %51, align 8, !tbaa !5
  %279 = call ptr @_ZNKSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESaIS9_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %278) #7
  %280 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.447", ptr %52, i32 0, i32 0
  store ptr %279, ptr %280, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #7
  %281 = load ptr, ptr %51, align 8, !tbaa !5
  %282 = call ptr @_ZNKSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESaIS9_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %281) #7
  %283 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.447", ptr %53, i32 0, i32 0
  store ptr %282, ptr %283, align 8
  br label %284

284:                                              ; preds = %299, %275
  %285 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESt6vectorISA_SaISA_EEEEbRKNS_17__normal_iteratorIT_T0_EESL_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %53) #7
  br i1 %285, label %291, label %286

286:                                              ; preds = %284
  store i32 16, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  br label %305

287:                                              ; preds = %269
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %14, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %15, align 4
  br label %358

291:                                              ; preds = %284
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #7
  %292 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESt6vectorISA_SaISA_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #7
  store ptr %292, ptr %54, align 8, !tbaa !5
  %293 = load i64, ptr %44, align 8, !tbaa !11
  %294 = load i64, ptr %47, align 8, !tbaa !11
  %295 = add i64 %294, 1
  %296 = load ptr, ptr %54, align 8, !tbaa !5
  %297 = getelementptr inbounds %"struct.std::pair.448", ptr %296, i32 0, i32 1
  invoke void @"_ZZ23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEEENK3$_2clEmmRKNS_6LValueE"(ptr noundef nonnull align 8 dereferenceable(48) %45, i64 noundef %293, i64 noundef %295, ptr noundef nonnull align 8 dereferenceable(32) %297)
          to label %298 unwind label %301

298:                                              ; preds = %291
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #7
  br label %299

299:                                              ; preds = %298
  %300 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESt6vectorISA_SaISA_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #7
  br label %284

301:                                              ; preds = %291
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %14, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  br label %358

305:                                              ; preds = %286
  br label %357

306:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #7
  %307 = load ptr, ptr %48, align 8, !tbaa !5
  %308 = invoke noundef ptr @_ZNK3MIR9Statement8opt_DropEv(ptr noundef nonnull align 8 dereferenceable(152) %307)
          to label %309 unwind label %345

309:                                              ; preds = %306
  store ptr %308, ptr %55, align 8, !tbaa !5
  %310 = load ptr, ptr %55, align 8, !tbaa !5
  %311 = icmp ne ptr %310, null
  br i1 %311, label %312, label %355

312:                                              ; preds = %309
  %313 = load ptr, ptr %55, align 8, !tbaa !5
  %314 = getelementptr inbounds %"struct.MIR::Statement::Data_Drop", ptr %313, i32 0, i32 2
  %315 = getelementptr inbounds %"struct.MIR::LValue", ptr %314, i32 0, i32 1
  %316 = call noundef zeroext i1 @_ZNKSt6vectorIN3MIR6LValue7WrapperESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %315) #7
  br i1 %316, label %317, label %354

317:                                              ; preds = %312
  %318 = load ptr, ptr %55, align 8, !tbaa !5
  %319 = getelementptr inbounds %"struct.MIR::Statement::Data_Drop", ptr %318, i32 0, i32 2
  %320 = getelementptr inbounds %"struct.MIR::LValue", ptr %319, i32 0, i32 0
  %321 = invoke noundef zeroext i1 @_ZNK3MIR6LValue7Storage8is_LocalEv(ptr noundef nonnull align 8 dereferenceable(8) %320)
          to label %322 unwind label %345

322:                                              ; preds = %317
  br i1 %321, label %323, label %354

323:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #7
  %324 = load ptr, ptr %55, align 8, !tbaa !5
  %325 = getelementptr inbounds %"struct.MIR::Statement::Data_Drop", ptr %324, i32 0, i32 2
  %326 = getelementptr inbounds %"struct.MIR::LValue", ptr %325, i32 0, i32 0
  %327 = invoke noundef i32 @_ZNK3MIR6LValue7Storage8as_LocalEv(ptr noundef nonnull align 8 dereferenceable(8) %326)
          to label %328 unwind label %349

328:                                              ; preds = %323
  store i32 %327, ptr %56, align 4, !tbaa !13
  %329 = load ptr, ptr %10, align 8, !tbaa !5
  %330 = icmp ne ptr %329, null
  br i1 %330, label %331, label %337

331:                                              ; preds = %328
  %332 = load ptr, ptr %10, align 8, !tbaa !5
  %333 = load i32, ptr %56, align 4, !tbaa !13
  %334 = zext i32 %333 to i64
  %335 = invoke noundef zeroext i1 @_ZNKSt6vectorIbSaIbEE2atEm(ptr noundef nonnull align 8 dereferenceable(40) %332, i64 noundef %334)
          to label %336 unwind label %349

336:                                              ; preds = %331
  br i1 %335, label %337, label %353

337:                                              ; preds = %336, %328
  %338 = load i32, ptr %56, align 4, !tbaa !13
  %339 = zext i32 %338 to i64
  %340 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %339) #7
  %341 = load i64, ptr %44, align 8, !tbaa !11
  %342 = load i64, ptr %47, align 8, !tbaa !11
  %343 = load i64, ptr %47, align 8, !tbaa !11
  invoke void @_ZN12_GLOBAL__N_113ValueLifetime4fillERKSt6vectorImSaImEEmmm(ptr noundef nonnull align 8 dereferenceable(40) %340, ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %341, i64 noundef %342, i64 noundef %343)
          to label %344 unwind label %349

344:                                              ; preds = %337
  br label %353

345:                                              ; preds = %317, %306
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %14, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %15, align 4
  br label %356

349:                                              ; preds = %337, %331, %323
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %14, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #7
  br label %356

353:                                              ; preds = %344, %336
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #7
  br label %354

354:                                              ; preds = %353, %322, %312
  br label %355

355:                                              ; preds = %354, %309
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #7
  br label %357

356:                                              ; preds = %349, %345
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #7
  br label %358

357:                                              ; preds = %355, %305
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  br label %359

358:                                              ; preds = %356, %301, %287
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  br label %363

359:                                              ; preds = %357, %260
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  br label %360

360:                                              ; preds = %359
  %361 = load i64, ptr %47, align 8, !tbaa !11
  %362 = add i64 %361, 1
  store i64 %362, ptr %47, align 8, !tbaa !11
  br label %231, !llvm.loop !15

363:                                              ; preds = %358, %265
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  br label %364

364:                                              ; preds = %363, %261
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  br label %400

365:                                              ; preds = %237
  %366 = load ptr, ptr %7, align 8, !tbaa !5
  %367 = load i64, ptr %44, align 8, !tbaa !11
  %368 = trunc i64 %367 to i32
  invoke void @_ZN3MIR11TypeResolve17set_cur_stmt_termEj(ptr noundef nonnull align 8 dereferenceable(120) %366, i32 noundef %368)
          to label %369 unwind label %388

369:                                              ; preds = %365
  %370 = load ptr, ptr %46, align 8, !tbaa !5
  %371 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %370, i32 0, i32 1
  %372 = invoke noundef i32 @_ZNK3MIR10Terminator3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %371)
          to label %373 unwind label %388

373:                                              ; preds = %369
  %374 = icmp eq i32 %372, 9
  br i1 %374, label %375, label %396

375:                                              ; preds = %373
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #7
  %376 = load ptr, ptr %46, align 8, !tbaa !5
  %377 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %376, i32 0, i32 1
  %378 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3MIR10Terminator7as_CallEv(ptr noundef nonnull align 8 dereferenceable(168) %377)
          to label %379 unwind label %392

379:                                              ; preds = %375
  store ptr %378, ptr %57, align 8, !tbaa !5
  %380 = load ptr, ptr %57, align 8, !tbaa !5
  %381 = load ptr, ptr %57, align 8, !tbaa !5
  %382 = getelementptr inbounds %"struct.MIR::Terminator::Data_Call", ptr %381, i32 0, i32 0
  %383 = load i32, ptr %382, align 8, !tbaa !17
  %384 = zext i32 %383 to i64
  %385 = load ptr, ptr %57, align 8, !tbaa !5
  %386 = getelementptr inbounds %"struct.MIR::Terminator::Data_Call", ptr %385, i32 0, i32 2
  invoke void @"_ZZ23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEEENK3$_2clEmmRKNS_6LValueE"(ptr noundef nonnull align 8 dereferenceable(48) %45, i64 noundef %384, i64 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %386)
          to label %387 unwind label %392

387:                                              ; preds = %379
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  br label %396

388:                                              ; preds = %369, %365
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %14, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %15, align 4
  br label %400

392:                                              ; preds = %379, %375
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %14, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  br label %400

396:                                              ; preds = %387, %373
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #7
  br label %397

397:                                              ; preds = %396
  %398 = load i64, ptr %44, align 8, !tbaa !11
  %399 = add i64 %398, 1
  store i64 %399, ptr %44, align 8, !tbaa !11
  br label %211, !llvm.loop !31

400:                                              ; preds = %392, %388, %364
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  br label %466

401:                                              ; preds = %217
  %402 = load i8, ptr %9, align 1, !tbaa !9, !range !32, !noundef !33
  %403 = trunc i8 %402 to i1
  br i1 %403, label %404, label %424

404:                                              ; preds = %401
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #7
  store i64 0, ptr %58, align 8, !tbaa !11
  br label %405

405:                                              ; preds = %416, %404
  %406 = load i64, ptr %58, align 8, !tbaa !11
  %407 = call noundef i64 @_ZNKSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  %408 = icmp ult i64 %406, %407
  br i1 %408, label %410, label %409

409:                                              ; preds = %405
  store i32 18, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #7
  br label %423

410:                                              ; preds = %405
  %411 = load i64, ptr %58, align 8, !tbaa !11
  %412 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %411) #7
  %413 = load i64, ptr %58, align 8, !tbaa !11
  %414 = trunc i64 %413 to i32
  invoke void @_ZN12_GLOBAL__N_113ValueLifetime10dump_debugEPKcjRKSt6vectorImSaImEE(ptr noundef nonnull align 8 dereferenceable(40) %412, ptr noundef @.str.11, i32 noundef %414, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %415 unwind label %419

415:                                              ; preds = %410
  br label %416

416:                                              ; preds = %415
  %417 = load i64, ptr %58, align 8, !tbaa !11
  %418 = add i64 %417, 1
  store i64 %418, ptr %58, align 8, !tbaa !11
  br label %405, !llvm.loop !34

419:                                              ; preds = %410
  %420 = landingpad { ptr, i32 }
          cleanup
  %421 = extractvalue { ptr, i32 } %420, 0
  store ptr %421, ptr %14, align 8
  %422 = extractvalue { ptr, i32 } %420, 1
  store i32 %422, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #7
  br label %466

423:                                              ; preds = %409
  br label %424

424:                                              ; preds = %423, %401
  store i1 false, ptr %59, align 1
  call void @_ZN3MIR14ValueLifetimesC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #7
  %425 = getelementptr inbounds %"struct.MIR::ValueLifetimes", ptr %0, i32 0, i32 0
  %426 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorImSaImEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %425, ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  %427 = getelementptr inbounds %"struct.MIR::ValueLifetimes", ptr %0, i32 0, i32 1
  %428 = call noundef i64 @_ZNKSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  invoke void @_ZNSt6vectorIN3MIR13ValueLifetimeESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %427, i64 noundef %428)
          to label %429 unwind label %439

429:                                              ; preds = %424
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #7
  store ptr %22, ptr %60, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #7
  %430 = load ptr, ptr %60, align 8, !tbaa !5
  %431 = call ptr @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %430) #7
  %432 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.450", ptr %61, i32 0, i32 0
  store ptr %431, ptr %432, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #7
  %433 = load ptr, ptr %60, align 8, !tbaa !5
  %434 = call ptr @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %433) #7
  %435 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.450", ptr %62, i32 0, i32 0
  store ptr %434, ptr %435, align 8
  br label %436

436:                                              ; preds = %450, %429
  %437 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN12_GLOBAL__N_113ValueLifetimeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 8 dereferenceable(8) %62) #7
  br i1 %437, label %443, label %438

438:                                              ; preds = %436
  store i32 21, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #7
  br label %461

439:                                              ; preds = %424
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %14, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %15, align 4
  br label %465

443:                                              ; preds = %436
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #7
  %444 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_113ValueLifetimeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %61) #7
  store ptr %444, ptr %63, align 8, !tbaa !5
  %445 = getelementptr inbounds %"struct.MIR::ValueLifetimes", ptr %0, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 40, ptr %64) #7
  %446 = load ptr, ptr %63, align 8, !tbaa !5
  %447 = getelementptr inbounds %"struct.(anonymous namespace)::ValueLifetime", ptr %446, i32 0, i32 0
  call void @_ZNSt6vectorIbSaIbEEC2EOS1_(ptr noundef nonnull align 8 dereferenceable(40) %65, ptr noundef nonnull align 8 dereferenceable(40) %447) #7
  invoke void @_ZN3MIR13ValueLifetimeC2ESt6vectorIbSaIbEE(ptr noundef nonnull align 8 dereferenceable(40) %64, ptr noundef %65)
          to label %448 unwind label %452

448:                                              ; preds = %443
  invoke void @_ZNSt6vectorIN3MIR13ValueLifetimeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %445, ptr noundef nonnull align 8 dereferenceable(40) %64)
          to label %449 unwind label %456

449:                                              ; preds = %448
  call void @_ZN3MIR13ValueLifetimeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %64) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %65) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #7
  br label %450

450:                                              ; preds = %449
  %451 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_113ValueLifetimeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %61) #7
  br label %436

452:                                              ; preds = %443
  %453 = landingpad { ptr, i32 }
          cleanup
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %14, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %15, align 4
  br label %460

456:                                              ; preds = %448
  %457 = landingpad { ptr, i32 }
          cleanup
  %458 = extractvalue { ptr, i32 } %457, 0
  store ptr %458, ptr %14, align 8
  %459 = extractvalue { ptr, i32 } %457, 1
  store i32 %459, ptr %15, align 4
  call void @_ZN3MIR13ValueLifetimeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %64) #7
  br label %460

460:                                              ; preds = %456, %452
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %65) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #7
  br label %465

461:                                              ; preds = %438
  store i1 true, ptr %59, align 1
  store i32 1, ptr %36, align 4
  %462 = load i1, ptr %59, align 1
  br i1 %462, label %464, label %463

463:                                              ; preds = %461
  call void @_ZN3MIR14ValueLifetimesD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #7
  br label %464

464:                                              ; preds = %463, %461
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #7
  call void @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #7
  ret void

465:                                              ; preds = %460, %439
  call void @_ZN3MIR14ValueLifetimesD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #7
  br label %466

466:                                              ; preds = %465, %419, %400, %209, %152
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  br label %467

467:                                              ; preds = %466, %141
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #7
  call void @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  br label %468

468:                                              ; preds = %467, %140
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  br label %469

469:                                              ; preds = %468, %107, %92
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #7
  br label %470

470:                                              ; preds = %469, %88
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #7
  br label %471

471:                                              ; preds = %470
  %472 = load ptr, ptr %14, align 8
  %473 = load i32, ptr %15, align 4
  %474 = insertvalue { ptr, i32 } poison, ptr %472, 0
  %475 = insertvalue { ptr, i32 } %474, i32 %473, 1
  resume { ptr, i32 } %475
}

declare noundef zeroext i1 @_Z13debug_enabledv() #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZ23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS4_8FunctionEbPKSt6vectorIbSaIbEEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

declare void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) unnamed_addr #3

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(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 8 dereferenceable(192) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_113ValueLifetimeC2Em(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_113ValueLifetimeD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt6vectorIbSaIbEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(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 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6vectorIbSaIbEES1_IS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEE6resizeEmb(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i1 noundef zeroext) #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(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 8 dereferenceable(152) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbRKN3MIR6LValueENS0_5visit8ValUsageEEEC2IRZ23MIR_Helper_GetLifetimesRNS0_11TypeResolveERKNS0_8FunctionEbPKSt6vectorIbSaIbEEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3MIR11TypeResolve12set_cur_stmtEjj(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef, i32 noundef) #1 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZ23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEEENK3$_2clEmmRKNS_6LValueE"(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESt6vectorISA_SaISA_EEEEbRKNS_17__normal_iteratorIT_T0_EESL_(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 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESt6vectorISA_SaISA_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_113ValueLifetime4fillERKSt6vectorImSaImEEmmm(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef, i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3MIR11TypeResolve17set_cur_stmt_termEj(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef) #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZNKSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_113ValueLifetime10dump_debugEPKcjRKSt6vectorImSaImEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_113ValueLifetimeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_113ValueLifetimeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

; Function Attrs: nounwind
declare void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #6

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

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

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

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

!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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !14, i64 0}
!18 = !{!"_ZTSN3MIR10Terminator9Data_CallE", !14, i64 0, !14, i64 4, !19, i64 8, !25, i64 40, !27, i64 136}
!19 = !{!"_ZTSN3MIR6LValueE", !20, i64 0, !21, i64 8}
!20 = !{!"_ZTSN3MIR6LValue7StorageE", !12, i64 0}
!21 = !{!"_ZTSSt6vectorIN3MIR6LValue7WrapperESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSN3MIR10CallTargetE", !26, i64 0, !7, i64 8}
!26 = !{!"_ZTSN3MIR10CallTarget3TagE", !7, i64 0}
!27 = !{!"_ZTSSt6vectorIN3MIR5ParamESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN3MIR5ParamESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN3MIR5ParamESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN3MIR5ParamESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = distinct !{!31, !16}
!32 = !{i8 0, i8 2}
!33 = !{}
!34 = distinct !{!34, !16}


; 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"

%"struct.MIR::ValueLifetimes" = type { %"class.std::vector.24", %"class.std::vector.426" }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.426" = type { %"struct.std::_Vector_base.427" }
%"struct.std::_Vector_base.427" = type { %"struct.std::_Vector_base<MIR::ValueLifetime, std::allocator<MIR::ValueLifetime>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::ValueLifetime, std::allocator<MIR::ValueLifetime>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::ValueLifetime, std::allocator<MIR::ValueLifetime>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::ValueLifetime, std::allocator<MIR::ValueLifetime>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.431 = type { ptr }
%"class.__gnu_cxx::__normal_iterator.432" = type { ptr }
%"class.std::vector.433" = type { %"struct.std::_Vector_base.434" }
%"struct.std::_Vector_base.434" = type { %"struct.std::_Vector_base<(anonymous namespace)::ValueLifetime, std::allocator<(anonymous namespace)::ValueLifetime>>::_Vector_impl" }
%"struct.std::_Vector_base<(anonymous namespace)::ValueLifetime, std::allocator<(anonymous namespace)::ValueLifetime>>::_Vector_impl" = type { %"struct.std::_Vector_base<(anonymous namespace)::ValueLifetime, std::allocator<(anonymous namespace)::ValueLifetime>>::_Vector_impl_data" }
%"struct.std::_Vector_base<(anonymous namespace)::ValueLifetime, std::allocator<(anonymous namespace)::ValueLifetime>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.(anonymous namespace)::ValueLifetime" = type { %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.435" = type { i8 }
%"class.std::vector.438" = type { %"struct.std::_Vector_base.439" }
%"struct.std::_Vector_base.439" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.440" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.443" = type { ptr }
%class.anon.444 = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.445" = type { ptr }
%"class.std::function.401" = type { %"class.std::_Function_base", ptr }
%class.anon.446 = type { ptr, ptr, ptr, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.447" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.450" = type { ptr }
%"class.MIR::ValueLifetime" = type { %"class.std::vector.0" }

@__func__._Z23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEE = external hidden unnamed_addr constant [24 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEE(ptr dead_on_unwind noalias writable sret(%"struct.MIR::ValueLifetimes") align 8 %0, ptr noundef nonnull align 8 dereferenceable(120) %1, ptr noundef nonnull align 8 dereferenceable(96) %2, i1 noundef zeroext %3, ptr noundef %4) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca %class.TraceLog, align 8
  %8 = alloca %"class.std::function", align 8
  %9 = alloca %class.anon.431, align 8
  %10 = alloca i64, align 8
  %11 = alloca %"class.std::vector.24", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.432", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.432", align 8
  %14 = alloca %"class.std::vector.433", align 8
  %15 = alloca %"struct.(anonymous namespace)::ValueLifetime", align 8
  %16 = alloca %"class.std::allocator.435", align 1
  %17 = alloca %"class.std::vector.438", align 8
  %18 = alloca %"class.std::allocator.440", align 1
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.443", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.443", align 8
  %21 = alloca i64, align 8
  %22 = alloca %class.anon.444, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.432", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.432", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.445", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.445", align 8
  %27 = alloca %"class.std::function.401", align 8
  %28 = alloca %"class.std::function.401", align 8
  %29 = alloca %class.anon.446, align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.447", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.447", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.450", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.450", align 8
  %34 = alloca %"class.MIR::ValueLifetime", align 8
  %35 = alloca %"class.std::vector.0", align 8
  store ptr %4, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #7
  %36 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %37 = select i1 %36, ptr @__func__._Z23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  store ptr %1, ptr %9, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS4_8FunctionEbPKSt6vectorIbSaIbEEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef %37, ptr noundef nonnull %8)
          to label %38 unwind label %45

38:                                               ; preds = %5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  store i64 0, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %39 = getelementptr inbounds i8, ptr %2, i64 64
  %40 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  invoke void @_ZNSt6vectorImSaImEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %40)
          to label %41 unwind label %47

41:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %42 = call ptr @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  store ptr %42, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %43 = call ptr @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  store ptr %43, ptr %13, align 8
  %44 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br i1 %44, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %50, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %59 unwind label %47

45:                                               ; preds = %5
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %208

47:                                               ; preds = %._crit_edge, %38
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %207

.lr.ph:                                           ; preds = %41, %50
  %49 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %50 unwind label %57

50:                                               ; preds = %.lr.ph
  %51 = call noundef i64 @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #7
  %52 = add i64 %51, 1
  %53 = load i64, ptr %10, align 8, !tbaa !9
  %54 = add i64 %52, %53
  store i64 %54, ptr %10, align 8, !tbaa !9
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  %56 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br i1 %56, label %.lr.ph, label %._crit_edge

57:                                               ; preds = %.lr.ph
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %207

59:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  %60 = call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #7
  %61 = load i64, ptr %10, align 8, !tbaa !9
  invoke void @_ZN12_GLOBAL__N_113ValueLifetimeC2Em(ptr noundef nonnull align 8 dereferenceable(40) %15, i64 noundef %61)
          to label %62 unwind label %73

62:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #7
  call void @_ZNSaIN12_GLOBAL__N_113ValueLifetimeEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  invoke void @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %60, ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %63 unwind label %75

63:                                               ; preds = %62
  call void @_ZNSt15__new_allocatorIN12_GLOBAL__N_113ValueLifetimeEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @_ZN12_GLOBAL__N_113ValueLifetimeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #7
  %64 = call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #7
  call void @_ZNSaISt6vectorIbSaIbEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  invoke void @_ZNSt6vectorIS_IbSaIbEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %64, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %65 unwind label %78

65:                                               ; preds = %63
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %66 = call ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  store ptr %66, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %67 = call ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  store ptr %67, ptr %20, align 8
  %68 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt6vectorIbSaIbEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br i1 %68, label %.lr.ph113, label %._crit_edge114

._crit_edge114:                                   ; preds = %82, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  store i64 0, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #7
  store ptr %17, ptr %22, align 8, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %22, i64 8
  store ptr %21, ptr %69, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  %70 = call ptr @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  store ptr %70, ptr %23, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  %71 = call ptr @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  store ptr %71, ptr %24, align 8
  %72 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  br i1 %72, label %.lr.ph119, label %._crit_edge120

73:                                               ; preds = %59
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %77

75:                                               ; preds = %62
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN12_GLOBAL__N_113ValueLifetimeEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @_ZN12_GLOBAL__N_113ValueLifetimeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #7
  br label %77

77:                                               ; preds = %75, %73
  %.pn = phi { ptr, i32 } [ %76, %75 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #7
  br label %206

78:                                               ; preds = %63
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  br label %205

.lr.ph113:                                        ; preds = %65, %82
  %80 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6vectorIbSaIbEES1_IS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  %81 = load i64, ptr %10, align 8, !tbaa !9
  invoke void @_ZNSt6vectorIbSaIbEE6resizeEmb(ptr noundef nonnull align 8 dereferenceable(40) %80, i64 noundef %81, i1 noundef zeroext false)
          to label %82 unwind label %85

82:                                               ; preds = %.lr.ph113
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt6vectorIbSaIbEES1_IS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  %84 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt6vectorIbSaIbEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br i1 %84, label %.lr.ph113, label %._crit_edge114

85:                                               ; preds = %.lr.ph113
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br label %204

._crit_edge120:                                   ; preds = %108, %._crit_edge114
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  %87 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  %.not137 = icmp eq i64 %87, 0
  br i1 %.not137, label %._crit_edge131, label %.lr.ph130

.lr.ph130:                                        ; preds = %._crit_edge120
  %88 = getelementptr inbounds i8, ptr %29, i64 8
  %89 = getelementptr inbounds i8, ptr %29, i64 16
  %90 = getelementptr inbounds i8, ptr %29, i64 24
  %91 = getelementptr inbounds i8, ptr %29, i64 32
  %92 = getelementptr inbounds i8, ptr %29, i64 40
  br label %117

.lr.ph119:                                        ; preds = %._crit_edge114, %108
  %93 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  %94 = call ptr @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %93) #7
  store ptr %94, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  %95 = call ptr @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %93) #7
  store ptr %95, ptr %26, align 8
  %96 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br i1 %96, label %.lr.ph116, label %._crit_edge117

._crit_edge117:                                   ; preds = %101, %.lr.ph119
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  %97 = getelementptr inbounds i8, ptr %93, i64 24
  call void @"_ZNSt8functionIFbRKN3MIR6LValueENS0_5visit8ValUsageEEEC2IRZ23MIR_Helper_GetLifetimesRNS0_11TypeResolveERKNS0_8FunctionEbPKSt6vectorIbSaIbEEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  %98 = invoke noundef zeroext i1 @_ZN3MIR5visit17visit_mir_lvaluesERKNS_10TerminatorESt8functionIFbRKNS_6LValueENS0_8ValUsageEEE(ptr noundef nonnull align 8 dereferenceable(168) %97, ptr noundef nonnull %28)
          to label %108 unwind label %113

.lr.ph116:                                        ; preds = %.lr.ph119, %101
  %99 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  call void @"_ZNSt8functionIFbRKN3MIR6LValueENS0_5visit8ValUsageEEEC2IRZ23MIR_Helper_GetLifetimesRNS0_11TypeResolveERKNS0_8FunctionEbPKSt6vectorIbSaIbEEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  %100 = invoke noundef zeroext i1 @_ZN3MIR5visit17visit_mir_lvaluesERKNS_9StatementESt8functionIFbRKNS_6LValueENS0_8ValUsageEEE(ptr noundef nonnull align 8 dereferenceable(152) %99, ptr noundef nonnull %27)
          to label %101 unwind label %106

101:                                              ; preds = %.lr.ph116
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  %102 = load i64, ptr %21, align 8, !tbaa !9
  %103 = add i64 %102, 1
  store i64 %103, ptr %21, align 8, !tbaa !9
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %105 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br i1 %105, label %.lr.ph116, label %._crit_edge117

106:                                              ; preds = %.lr.ph116
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  br label %115

108:                                              ; preds = %._crit_edge117
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  %109 = load i64, ptr %21, align 8, !tbaa !9
  %110 = add i64 %109, 1
  store i64 %110, ptr %21, align 8, !tbaa !9
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  %112 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  br i1 %112, label %.lr.ph119, label %._crit_edge120

113:                                              ; preds = %._crit_edge117
  %114 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %115

115:                                              ; preds = %113, %106
  %.pn103 = phi { ptr, i32 } [ %107, %106 ], [ %114, %113 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %204

._crit_edge131:                                   ; preds = %175, %._crit_edge120
  br i1 %3, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %._crit_edge131
  %116 = call noundef i64 @_ZNKSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %.not139 = icmp eq i64 %116, 0
  br i1 %.not139, label %.loopexit, label %.lr.ph133

117:                                              ; preds = %.lr.ph130, %175
  %.086128 = phi i64 [ 0, %.lr.ph130 ], [ %176, %175 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %29) #7
  store ptr %6, ptr %29, align 8, !tbaa !5
  store ptr %1, ptr %88, align 8, !tbaa !5
  store ptr %2, ptr %89, align 8, !tbaa !5
  store ptr %11, ptr %90, align 8, !tbaa !5
  store ptr %17, ptr %91, align 8, !tbaa !5
  store ptr %14, ptr %92, align 8, !tbaa !5
  %118 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.086128) #7
  %119 = call noundef i64 @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %118) #7
  %.not138 = icmp eq i64 %119, 0
  %.pre = trunc i64 %.086128 to i32
  br i1 %.not138, label %._crit_edge127, label %.lr.ph126

._crit_edge127:                                   ; preds = %164, %117
  call void @_ZN3MIR11TypeResolve17set_cur_stmt_termEj(ptr noundef nonnull align 8 dereferenceable(120) %1, i32 noundef %.pre)
  %120 = getelementptr inbounds i8, ptr %118, i64 24
  %121 = call noundef i32 @_ZNK3MIR10Terminator3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %120)
  %122 = icmp eq i32 %121, 9
  br i1 %122, label %168, label %175

.lr.ph126:                                        ; preds = %117, %164
  %.087124 = phi i64 [ %165, %164 ], [ 0, %117 ]
  %123 = trunc i64 %.087124 to i32
  call void @_ZN3MIR11TypeResolve12set_cur_stmtEjj(ptr noundef nonnull align 8 dereferenceable(120) %1, i32 noundef %.pre, i32 noundef %123)
  %124 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNKSt6vectorIN3MIR9StatementESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %118, i64 noundef %.087124) #7
  %125 = call noundef ptr @_ZNK3MIR9Statement10opt_AssignEv(ptr noundef nonnull align 8 dereferenceable(152) %124)
  %.not = icmp eq ptr %125, null
  br i1 %.not, label %130, label %126

126:                                              ; preds = %.lr.ph126
  %127 = add nuw i64 %.087124, 1
  invoke void @"_ZZ23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEEENK3$_2clEmmRKNS_6LValueE"(ptr noundef nonnull align 8 dereferenceable(48) %29, i64 noundef %.086128, i64 noundef %127, ptr noundef nonnull align 8 dereferenceable(32) %125)
          to label %164 unwind label %128

128:                                              ; preds = %126
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %179

130:                                              ; preds = %.lr.ph126
  %131 = call noundef ptr @_ZNK3MIR9Statement7opt_AsmEv(ptr noundef nonnull align 8 dereferenceable(152) %124)
  %.not95 = icmp eq ptr %131, null
  br i1 %.not95, label %146, label %132

132:                                              ; preds = %130
  %133 = getelementptr inbounds i8, ptr %131, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #7
  %134 = call ptr @_ZNKSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESaIS9_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #7
  store ptr %134, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #7
  %135 = call ptr @_ZNKSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESaIS9_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #7
  store ptr %135, ptr %31, align 8
  %136 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESt6vectorISA_SaISA_EEEEbRKNS_17__normal_iteratorIT_T0_EESL_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  br i1 %136, label %.lr.ph122, label %._crit_edge123

.lr.ph122:                                        ; preds = %132
  %137 = add nuw i64 %.087124, 1
  br label %138

._crit_edge123:                                   ; preds = %141, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #7
  br label %164

138:                                              ; preds = %.lr.ph122, %141
  %139 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESt6vectorISA_SaISA_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  %140 = getelementptr inbounds i8, ptr %139, i64 32
  invoke void @"_ZZ23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEEENK3$_2clEmmRKNS_6LValueE"(ptr noundef nonnull align 8 dereferenceable(48) %29, i64 noundef %.086128, i64 noundef %137, ptr noundef nonnull align 8 dereferenceable(32) %140)
          to label %141 unwind label %144

141:                                              ; preds = %138
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESt6vectorISA_SaISA_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  %143 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3MIR6LValueEESt6vectorISA_SaISA_EEEEbRKNS_17__normal_iteratorIT_T0_EESL_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  br i1 %143, label %138, label %._crit_edge123

144:                                              ; preds = %138
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #7
  br label %179

146:                                              ; preds = %130
  %147 = call noundef ptr @_ZNK3MIR9Statement8opt_DropEv(ptr noundef nonnull align 8 dereferenceable(152) %124)
  %.not96 = icmp eq ptr %147, null
  br i1 %.not96, label %164, label %148

148:                                              ; preds = %146
  %149 = getelementptr inbounds i8, ptr %147, i64 8
  %150 = getelementptr inbounds i8, ptr %147, i64 16
  %151 = call noundef zeroext i1 @_ZNKSt6vectorIN3MIR6LValue7WrapperESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %150) #7
  br i1 %151, label %152, label %164

152:                                              ; preds = %148
  %153 = call noundef zeroext i1 @_ZNK3MIR6LValue7Storage8is_LocalEv(ptr noundef nonnull align 8 dereferenceable(8) %149)
  br i1 %153, label %154, label %164

154:                                              ; preds = %152
  %155 = invoke noundef i32 @_ZNK3MIR6LValue7Storage8as_LocalEv(ptr noundef nonnull align 8 dereferenceable(8) %149)
          to label %156 unwind label %162

156:                                              ; preds = %154
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %.not97 = icmp eq ptr %157, null
  %.pre141 = zext i32 %155 to i64
  br i1 %.not97, label %._crit_edge140, label %158

158:                                              ; preds = %156
  %159 = invoke noundef zeroext i1 @_ZNKSt6vectorIbSaIbEE2atEm(ptr noundef nonnull align 8 dereferenceable(40) %157, i64 noundef %.pre141)
          to label %160 unwind label %162

160:                                              ; preds = %158
  br i1 %159, label %._crit_edge140, label %164

._crit_edge140:                                   ; preds = %156, %160
  %161 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %.pre141) #7
  invoke void @_ZN12_GLOBAL__N_113ValueLifetime4fillERKSt6vectorImSaImEEmmm(ptr noundef nonnull align 8 dereferenceable(40) %161, ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %.086128, i64 noundef %.087124, i64 noundef %.087124)
          to label %164 unwind label %162

162:                                              ; preds = %._crit_edge140, %158, %154
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %179

164:                                              ; preds = %._crit_edge123, %160, %._crit_edge140, %148, %152, %146, %126
  %165 = add nuw i64 %.087124, 1
  %166 = call noundef i64 @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %118) #7
  %167 = icmp ult i64 %165, %166
  br i1 %167, label %.lr.ph126, label %._crit_edge127, !llvm.loop !11

168:                                              ; preds = %._crit_edge127
  %169 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3MIR10Terminator7as_CallEv(ptr noundef nonnull align 8 dereferenceable(168) %120)
  %170 = load i32, ptr %169, align 8, !tbaa !13
  %171 = zext i32 %170 to i64
  %172 = getelementptr inbounds i8, ptr %169, i64 8
  invoke void @"_ZZ23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEEENK3$_2clEmmRKNS_6LValueE"(ptr noundef nonnull align 8 dereferenceable(48) %29, i64 noundef %171, i64 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %172)
          to label %175 unwind label %173

173:                                              ; preds = %168
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %179

175:                                              ; preds = %168, %._crit_edge127
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #7
  %176 = add nuw i64 %.086128, 1
  %177 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  %178 = icmp ult i64 %176, %177
  br i1 %178, label %117, label %._crit_edge131, !llvm.loop !28

179:                                              ; preds = %128, %162, %144, %173
  %.pn100.pn = phi { ptr, i32 } [ %174, %173 ], [ %129, %128 ], [ %145, %144 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #7
  br label %204

.lr.ph133:                                        ; preds = %.preheader, %182
  %.085132 = phi i64 [ %183, %182 ], [ 0, %.preheader ]
  %180 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %.085132) #7
  %181 = trunc i64 %.085132 to i32
  invoke void @_ZN12_GLOBAL__N_113ValueLifetime10dump_debugEPKcjRKSt6vectorImSaImEE(ptr noundef nonnull align 8 dereferenceable(40) %180, ptr noundef nonnull @.str.11, i32 noundef %181, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %182 unwind label %186

182:                                              ; preds = %.lr.ph133
  %183 = add nuw i64 %.085132, 1
  %184 = call noundef i64 @_ZNKSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %185 = icmp ult i64 %183, %184
  br i1 %185, label %.lr.ph133, label %.loopexit, !llvm.loop !29

186:                                              ; preds = %.lr.ph133
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %204

.loopexit:                                        ; preds = %182, %.preheader, %._crit_edge131
  call void @_ZN3MIR14ValueLifetimesC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #7
  %188 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorImSaImEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %189 = getelementptr inbounds i8, ptr %0, i64 24
  %190 = call noundef i64 @_ZNKSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  invoke void @_ZNSt6vectorIN3MIR13ValueLifetimeESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %189, i64 noundef %190)
          to label %191 unwind label %195

191:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #7
  %192 = call ptr @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %192, ptr %32, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #7
  %193 = call ptr @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %193, ptr %33, align 8
  %194 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN12_GLOBAL__N_113ValueLifetimeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  br i1 %194, label %.lr.ph135, label %._crit_edge136

._crit_edge136:                                   ; preds = %198, %191
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #7
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  call void @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #7
  ret void

195:                                              ; preds = %.loopexit
  %196 = landingpad { ptr, i32 }
          cleanup
  br label %203

.lr.ph135:                                        ; preds = %191, %198
  %197 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_113ValueLifetimeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %34) #7
  call void @_ZNSt6vectorIbSaIbEEC2EOS1_(ptr noundef nonnull align 8 dereferenceable(40) %35, ptr noundef nonnull align 8 dereferenceable(40) %197) #7
  call void @_ZN3MIR13ValueLifetimeC2ESt6vectorIbSaIbEE(ptr noundef nonnull align 8 dereferenceable(40) %34, ptr noundef nonnull %35)
  invoke void @_ZNSt6vectorIN3MIR13ValueLifetimeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %189, ptr noundef nonnull align 8 dereferenceable(40) %34)
          to label %198 unwind label %201

198:                                              ; preds = %.lr.ph135
  call void @_ZN3MIR13ValueLifetimeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %34) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %34) #7
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_113ValueLifetimeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  %200 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN12_GLOBAL__N_113ValueLifetimeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  br i1 %200, label %.lr.ph135, label %._crit_edge136

201:                                              ; preds = %.lr.ph135
  %202 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR13ValueLifetimeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %34) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #7
  br label %203

203:                                              ; preds = %201, %195
  %.pn93 = phi { ptr, i32 } [ %202, %201 ], [ %196, %195 ]
  call void @_ZN3MIR14ValueLifetimesD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #7
  br label %204

204:                                              ; preds = %203, %186, %179, %115, %85
  %.pn105 = phi { ptr, i32 } [ %86, %85 ], [ %.pn103, %115 ], [ %.pn100.pn, %179 ], [ %187, %186 ], [ %.pn93, %203 ]
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  br label %205

205:                                              ; preds = %204, %78
  %.pn105.pn = phi { ptr, i32 } [ %.pn105, %204 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  call void @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  br label %206

206:                                              ; preds = %205, %77
  %.pn105.pn.pn = phi { ptr, i32 } [ %.pn105.pn, %205 ], [ %.pn, %77 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  br label %207

207:                                              ; preds = %206, %57, %47
  %.pn109 = phi { ptr, i32 } [ %58, %57 ], [ %.pn105.pn.pn, %206 ], [ %48, %47 ]
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #7
  br label %208

208:                                              ; preds = %207, %45
  %.pn109.pn = phi { ptr, i32 } [ %.pn109, %207 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #7
  resume { ptr, i32 } %.pn109.pn
}

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZ23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS4_8FunctionEbPKSt6vectorIbSaIbEEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

declare void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) unnamed_addr #3

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_113ValueLifetimeC2Em(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_113ValueLifetimeD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEE6resizeEmb(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i1 noundef zeroext) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbRKN3MIR6LValueENS0_5visit8ValUsageEEEC2IRZ23MIR_Helper_GetLifetimesRNS0_11TypeResolveERKNS0_8FunctionEbPKSt6vectorIbSaIbEEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3MIR11TypeResolve12set_cur_stmtEjj(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZ23MIR_Helper_GetLifetimesRN3MIR11TypeResolveERKNS_8FunctionEbPKSt6vectorIbSaIbEEENK3$_2clEmmRKNS_6LValueE"(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_113ValueLifetime4fillERKSt6vectorImSaImEEmmm(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3MIR11TypeResolve17set_cur_stmt_termEj(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZNKSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_113ValueLifetime10dump_debugEPKcjRKSt6vectorImSaImEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_113ValueLifetimeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt6vectorIN12_GLOBAL__N_113ValueLifetimeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

; Function Attrs: nounwind
declare void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #6

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

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

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

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

!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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTSN3MIR10Terminator9Data_CallE", !15, i64 0, !15, i64 4, !16, i64 8, !22, i64 40, !24, i64 136}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSN3MIR6LValueE", !17, i64 0, !18, i64 8}
!17 = !{!"_ZTSN3MIR6LValue7StorageE", !10, i64 0}
!18 = !{!"_ZTSSt6vectorIN3MIR6LValue7WrapperESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSN3MIR10CallTargetE", !23, i64 0, !7, i64 8}
!23 = !{!"_ZTSN3MIR10CallTarget3TagE", !7, i64 0}
!24 = !{!"_ZTSSt6vectorIN3MIR5ParamESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN3MIR5ParamESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3MIR5ParamESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3MIR5ParamESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = distinct !{!28, !12}
!29 = distinct !{!29, !12}


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