; LLVM IR from OAID/AutoKernel :: AutoSearch/src/adams2019 (LoopNest)

; 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.Halide::Internal::IntrusivePtr.55" = type { ptr }
%"struct.Halide::Internal::IntrusivePtr.80" = type { ptr }
%"class.Halide::Internal::Voidifier" = type { i8 }
%"struct.Halide::Internal::ErrorReport" = type <{ %"class.std::__cxx11::basic_ostringstream", i32, [4 x i8] }>
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"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::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.Halide::Internal::Autoscheduler::Span" = type <{ i64, i64, i8, [7 x i8] }>
%"struct.Halide::Internal::Autoscheduler::LoopNest" = type <{ %"class.Halide::Internal::RefCount", [4 x i8], %"class.std::vector.3", %"class.std::vector.8", %class.PerfectHashMap, %"class.std::set", %class.PerfectHashMap.21, ptr, ptr, i8, i8, i8, i8, i32, i32, [4 x i8] }>
%"class.Halide::Internal::RefCount" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>, std::allocator<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>, std::allocator<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>, std::allocator<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>, std::allocator<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.PerfectHashMap = type { %"class.std::vector.13", i32, i32 }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, const Halide::Internal::Autoscheduler::FunctionDAG::Node *, std::_Identity<const Halide::Internal::Autoscheduler::FunctionDAG::Node *>, std::less<const Halide::Internal::Autoscheduler::FunctionDAG::Node *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, const Halide::Internal::Autoscheduler::FunctionDAG::Node *, std::_Identity<const Halide::Internal::Autoscheduler::FunctionDAG::Node *>, std::less<const Halide::Internal::Autoscheduler::FunctionDAG::Node *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%class.PerfectHashMap.21 = type { %"class.std::vector.22", i32, i32 }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage" = type { ptr, i32, %"class.std::vector.56", i8, i32, %"struct.Halide::Internal::PipelineFeatures", %"class.Halide::Stage", %"class.std::__cxx11::basic_string", i32, i32, %"class.std::vector.47", %"class.std::vector.67" }
%"class.std::vector.56" = type { %"struct.std::_Vector_base.57" }
%"struct.std::_Vector_base.57" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node::Loop, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node::Loop>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node::Loop, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node::Loop>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node::Loop, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node::Loop>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node::Loop, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node::Loop>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Halide::Internal::PipelineFeatures" = type { [7 x i32], [24 x [7 x i32]], [4 x [7 x i32]], [4 x [7 x i32]], [4 x [7 x i32]], [4 x [7 x i32]] }
%"class.Halide::Stage" = type { %"class.Halide::Internal::Function", %"class.Halide::Internal::Definition", i64, %"class.std::vector.62" }
%"class.Halide::Internal::Function" = type { %"struct.Halide::Internal::FunctionPtr" }
%"struct.Halide::Internal::FunctionPtr" = type <{ %"struct.Halide::Internal::IntrusivePtr", ptr, i32, [4 x i8] }>
%"struct.Halide::Internal::IntrusivePtr" = type { ptr }
%"class.Halide::Internal::Definition" = type { %"struct.Halide::Internal::IntrusivePtr.61" }
%"struct.Halide::Internal::IntrusivePtr.61" = type { ptr }
%"class.std::vector.62" = type { %"struct.std::_Vector_base.63" }
%"struct.std::_Vector_base.63" = type { %"struct.std::_Vector_base<Halide::Var, std::allocator<Halide::Var>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Var, std::allocator<Halide::Var>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Var, std::allocator<Halide::Var>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Var, std::allocator<Halide::Var>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Edge *, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Edge *>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Edge *, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Edge *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Edge *, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Edge *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Edge *, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Edge *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.67" = 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 }>
%"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Loop" = type { %"class.std::__cxx11::basic_string", i8, i8, %"struct.Halide::Expr", %"struct.Halide::Expr", i32, i8, i32, i8, i64, i64, %"class.std::__cxx11::basic_string" }
%"struct.Halide::Expr" = type { %"struct.Halide::Internal::IRHandle" }
%"struct.Halide::Internal::IRHandle" = type { %"struct.Halide::Internal::IntrusivePtr.79" }
%"struct.Halide::Internal::IntrusivePtr.79" = type { ptr }

@.str.3 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [23 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

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 uwtable
declare dso_local noundef zeroext i1 @_ZN6Halide8Internal13Autoscheduler11may_subtileEv() #1

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterEaSERKSA_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6Halide8Internal9VoidifieranERNS0_11ErrorReportE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(380)) #4 align 2

declare void @_ZN6Halide8Internal11ErrorReportC1EPKciS3_i(ptr noundef nonnull align 8 dereferenceable(380), ptr noundef, i32 noundef, ptr noundef, i32 noundef) unnamed_addr #5

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

declare void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380)) unnamed_addr #5

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #6

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Halide8Internal13Autoscheduler8LoopNestC2Ev(ptr noundef nonnull align 8 dereferenceable(196)) unnamed_addr #9 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK6Halide8Internal13Autoscheduler8LoopNest20parallelize_in_tilesERKNS_13MachineParamsERKSt6vectorIlSaIlEEPKS2_(ptr dead_on_unwind noalias writable sret(%"struct.Halide::Internal::IntrusivePtr.55") align 8 %0, ptr noundef nonnull align 8 dereferenceable(196) %1, ptr noundef nonnull align 8 dereferenceable(20) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef %4) #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.Halide::Internal::IntrusivePtr.80", align 8
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca %"class.Halide::Internal::Voidifier", align 1
  %20 = alloca %"struct.Halide::Internal::ErrorReport", align 8
  %21 = alloca i1, align 1
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i1, align 1
  %25 = alloca i64, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i8, align 1
  %30 = alloca %"class.Halide::Internal::Autoscheduler::Span", 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
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %31 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %32 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 200) #11
  call void @_ZN6Halide8Internal13Autoscheduler8LoopNestC2Ev(ptr noundef nonnull align 8 dereferenceable(196) %32) #10
  store ptr %32, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %33 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 200) #11
  call void @_ZN6Halide8Internal13Autoscheduler8LoopNestC2Ev(ptr noundef nonnull align 8 dereferenceable(196) %33) #10
  store ptr %33, ptr %12, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 7
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = load ptr, ptr %12, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %36, i32 0, i32 7
  store ptr %35, ptr %37, align 8, !tbaa !9
  %38 = load ptr, ptr %11, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %38, i32 0, i32 7
  store ptr %35, ptr %39, align 8, !tbaa !9
  %40 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 8
  %41 = load ptr, ptr %40, align 8, !tbaa !45
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %42, i32 0, i32 8
  store ptr %41, ptr %43, align 8, !tbaa !45
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %44, i32 0, i32 8
  store ptr %41, ptr %45, align 8, !tbaa !45
  %46 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 10
  %47 = load i8, ptr %46, align 1, !tbaa !46, !range !47, !noundef !48
  %48 = trunc i8 %47 to i1
  br i1 %48, label %49, label %51

49:                                               ; preds = %5
  %50 = call noundef zeroext i1 @_ZN6Halide8Internal13Autoscheduler11may_subtileEv()
  br label %51

51:                                               ; preds = %49, %5
  %52 = phi i1 [ false, %5 ], [ %50, %49 ]
  %53 = load ptr, ptr %12, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %53, i32 0, i32 10
  %55 = zext i1 %52 to i8
  store i8 %55, ptr %54, align 1, !tbaa !46
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %56, i32 0, i32 10
  %58 = zext i1 %52 to i8
  store i8 %58, ptr %57, align 1, !tbaa !46
  %59 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 13
  %60 = load i32, ptr %59, align 4, !tbaa !49
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %61, i32 0, i32 13
  store i32 %60, ptr %62, align 4, !tbaa !49
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %63, i32 0, i32 13
  store i32 %60, ptr %64, align 4, !tbaa !49
  %65 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 14
  %66 = load i32, ptr %65, align 8, !tbaa !50
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %67, i32 0, i32 14
  store i32 %66, ptr %68, align 8, !tbaa !50
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %69, i32 0, i32 14
  store i32 %66, ptr %70, align 8, !tbaa !50
  %71 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 2
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %72, i32 0, i32 2
  %74 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIlSaIlEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull align 8 dereferenceable(24) %71)
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %75, i32 0, i32 9
  store i8 0, ptr %76, align 8, !tbaa !51
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %77, i32 0, i32 11
  store i8 1, ptr %78, align 2, !tbaa !52
  %79 = call noundef zeroext i1 @_ZN6Halide8Internal13Autoscheduler11may_subtileEv()
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %80, i32 0, i32 10
  %82 = zext i1 %79 to i8
  store i8 %82, ptr %81, align 1, !tbaa !46
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %83, i32 0, i32 2
  %85 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 2
  %86 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  store i64 1, ptr %13, align 8, !tbaa !53
  call void @_ZNSt6vectorIlSaIlEE6resizeEmRKl(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %86, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  %87 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 9
  %88 = load i8, ptr %87, align 8, !tbaa !51, !range !47, !noundef !48
  %89 = trunc i8 %88 to i1
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %90, i32 0, i32 9
  %92 = zext i1 %89 to i8
  store i8 %92, ptr %91, align 8, !tbaa !51
  %93 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 3
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %94, i32 0, i32 3
  %96 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EEaSERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %95, ptr noundef nonnull align 8 dereferenceable(24) %93)
  %97 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 4
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %98, i32 0, i32 4
  %100 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef nonnull align 8 dereferenceable(32) %97)
  %101 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 6
  %102 = load ptr, ptr %11, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %102, i32 0, i32 6
  %104 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterEaSERKSA_(ptr noundef nonnull align 8 dereferenceable(32) %103, ptr noundef nonnull align 8 dereferenceable(32) %101)
  %105 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 5
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %106, i32 0, i32 5
  %108 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EEaSERKSA_(ptr noundef nonnull align 8 dereferenceable(48) %107, ptr noundef nonnull align 8 dereferenceable(48) %105)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 7
  %111 = load ptr, ptr %110, align 8, !tbaa !9
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10get_boundsEPKNS1_11FunctionDAG4NodeE(ptr noundef nonnull align 8 dereferenceable(196) %109, ptr noundef %111)
  %113 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %112)
  %114 = call noundef ptr @_ZNK6Halide8Internal13Autoscheduler13BoundContents9make_copyEv(ptr noundef nonnull align 8 dereferenceable(16) %113)
  store ptr %114, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 7
  %117 = load ptr, ptr %116, align 8, !tbaa !9
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10get_boundsEPKNS1_11FunctionDAG4NodeE(ptr noundef nonnull align 8 dereferenceable(196) %115, ptr noundef %117)
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %118) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  store i64 0, ptr %16, align 8, !tbaa !53
  br label %119

119:                                              ; preds = %297, %51
  %120 = load i64, ptr %16, align 8, !tbaa !53
  %121 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 8
  %122 = load ptr, ptr %121, align 8, !tbaa !45
  %123 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage", ptr %122, i32 0, i32 2
  %124 = call noundef i64 @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %123) #10
  %125 = icmp ult i64 %120, %124
  br i1 %125, label %127, label %126

126:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %325

127:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  %128 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 8
  %129 = load ptr, ptr %128, align 8, !tbaa !45
  %130 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage", ptr %129, i32 0, i32 2
  %131 = load i64, ptr %16, align 8, !tbaa !53
  %132 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef %131) #10
  %133 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Loop", ptr %132, i32 0, i32 5
  %134 = load i32, ptr %133, align 8, !tbaa !54
  store i32 %134, ptr %17, align 4, !tbaa !61
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %135 = load i32, ptr %17, align 4, !tbaa !61
  %136 = icmp sge i32 %135, 0
  br i1 %136, label %137, label %193

137:                                              ; preds = %127
  %138 = load i32, ptr %17, align 4, !tbaa !61
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #10
  %141 = trunc i64 %140 to i32
  %142 = icmp slt i32 %138, %141
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #10
  store i1 false, ptr %21, align 1
  store i1 false, ptr %24, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  br i1 %142, label %143, label %144

143:                                              ; preds = %137
  br label %159

144:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 384, ptr %20) #10
  store i1 true, ptr %21, align 1
  invoke void @_ZN6Halide8Internal11ErrorReportC1EPKciS3_i(ptr noundef nonnull align 8 dereferenceable(380) %20, ptr noundef @.str.3, i32 noundef 1288, ptr noundef @.str.38, i32 noundef 0)
          to label %145 unwind label %172

145:                                              ; preds = %144
  store i1 true, ptr %24, align 1
  %146 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReport3refEv(ptr noundef nonnull align 8 dereferenceable(380) %20)
          to label %147 unwind label %176

147:                                              ; preds = %145
  %148 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIiEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %146, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %149 unwind label %176

149:                                              ; preds = %147
  %150 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIA2_cEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %148, ptr noundef nonnull align 1 dereferenceable(2) @.str.13)
          to label %151 unwind label %176

151:                                              ; preds = %149
  %152 = load ptr, ptr %9, align 8, !tbaa !5
  %153 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %152) #10
  store i64 %153, ptr %25, align 8, !tbaa !53
  %154 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsImEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %150, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %155 unwind label %180

155:                                              ; preds = %151
  %156 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIA2_cEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %154, ptr noundef nonnull align 1 dereferenceable(2) @.str.9)
          to label %157 unwind label %180

157:                                              ; preds = %155
  invoke void @_ZN6Halide8Internal9VoidifieranERNS0_11ErrorReportE(ptr noundef nonnull align 1 dereferenceable(1) %19, ptr noundef nonnull align 8 dereferenceable(380) %156)
          to label %158 unwind label %180

158:                                              ; preds = %157
  br label %159

159:                                              ; preds = %158, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  %160 = load i1, ptr %24, align 1
  br i1 %160, label %161, label %163

161:                                              ; preds = %159
  invoke void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380) %20)
          to label %162 unwind label %172

162:                                              ; preds = %161
  br label %163

163:                                              ; preds = %162, %159
  %164 = load i1, ptr %21, align 1
  br i1 %164, label %165, label %166

165:                                              ; preds = %163
  call void @llvm.lifetime.end.p0(i64 384, ptr %20) #10
  br label %166

166:                                              ; preds = %165, %163
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #10
  %167 = load ptr, ptr %9, align 8, !tbaa !5
  %168 = load i32, ptr %17, align 4, !tbaa !61
  %169 = sext i32 %168 to i64
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef %169) #10
  %171 = load i64, ptr %170, align 8, !tbaa !53
  store i64 %171, ptr %18, align 8, !tbaa !53
  br label %194

172:                                              ; preds = %161, %144
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %22, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %23, align 4
  br label %189

176:                                              ; preds = %149, %147, %145
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %22, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %23, align 4
  br label %184

180:                                              ; preds = %157, %155, %151
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %22, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %184

184:                                              ; preds = %180, %176
  %185 = load i1, ptr %24, align 1
  br i1 %185, label %186, label %188

186:                                              ; preds = %184
  invoke void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380) %20)
          to label %187 unwind label %348

187:                                              ; preds = %186
  br label %188

188:                                              ; preds = %187, %184
  br label %189

189:                                              ; preds = %188, %172
  %190 = load i1, ptr %21, align 1
  br i1 %190, label %191, label %192

191:                                              ; preds = %189
  call void @llvm.lifetime.end.p0(i64 384, ptr %20) #10
  br label %192

192:                                              ; preds = %191, %189
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #10
  br label %324

193:                                              ; preds = %127
  store i64 1, ptr %18, align 8, !tbaa !53
  br label %194

194:                                              ; preds = %193, %166
  %195 = load ptr, ptr %12, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %195, i32 0, i32 2
  %197 = load i64, ptr %16, align 8, !tbaa !53
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %196, i64 noundef %197) #10
  %199 = load i64, ptr %198, align 8, !tbaa !53
  %200 = load i64, ptr %18, align 8, !tbaa !53
  %201 = add nsw i64 %199, %200
  %202 = sub nsw i64 %201, 1
  %203 = load i64, ptr %18, align 8, !tbaa !53
  %204 = sdiv i64 %202, %203
  %205 = load ptr, ptr %11, align 8, !tbaa !5
  %206 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %205, i32 0, i32 2
  %207 = load i64, ptr %16, align 8, !tbaa !53
  %208 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %206, i64 noundef %207) #10
  store i64 %204, ptr %208, align 8, !tbaa !53
  %209 = load ptr, ptr %12, align 8, !tbaa !5
  %210 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %209, i32 0, i32 2
  %211 = load i64, ptr %16, align 8, !tbaa !53
  %212 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %210, i64 noundef %211) #10
  %213 = load i64, ptr %212, align 8, !tbaa !53
  %214 = load ptr, ptr %11, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %214, i32 0, i32 2
  %216 = load i64, ptr %16, align 8, !tbaa !53
  %217 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %215, i64 noundef %216) #10
  %218 = load i64, ptr %217, align 8, !tbaa !53
  %219 = add nsw i64 %213, %218
  %220 = sub nsw i64 %219, 1
  %221 = load ptr, ptr %11, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %221, i32 0, i32 2
  %223 = load i64, ptr %16, align 8, !tbaa !53
  %224 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %222, i64 noundef %223) #10
  %225 = load i64, ptr %224, align 8, !tbaa !53
  %226 = sdiv i64 %220, %225
  store i64 %226, ptr %18, align 8, !tbaa !53
  %227 = load i64, ptr %18, align 8, !tbaa !53
  %228 = load ptr, ptr %12, align 8, !tbaa !5
  %229 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %228, i32 0, i32 2
  %230 = load i64, ptr %16, align 8, !tbaa !53
  %231 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %229, i64 noundef %230) #10
  store i64 %227, ptr %231, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  %232 = invoke noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %233 unwind label %300

233:                                              ; preds = %194
  %234 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 8
  %235 = load ptr, ptr %234, align 8, !tbaa !45
  %236 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage", ptr %235, i32 0, i32 1
  %237 = load i32, ptr %236, align 8, !tbaa !62
  %238 = load i64, ptr %16, align 8, !tbaa !53
  %239 = trunc i64 %238 to i32
  %240 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZNK6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %232, i32 noundef %237, i32 noundef %239)
          to label %241 unwind label %300

241:                                              ; preds = %233
  store ptr %240, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  %242 = load ptr, ptr %26, align 8, !tbaa !5
  %243 = invoke noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3minEv(ptr noundef nonnull align 8 dereferenceable(17) %242)
          to label %244 unwind label %304

244:                                              ; preds = %241
  store i64 %243, ptr %27, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  %245 = load ptr, ptr %26, align 8, !tbaa !5
  %246 = invoke noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span6extentEv(ptr noundef nonnull align 8 dereferenceable(17) %245)
          to label %247 unwind label %308

247:                                              ; preds = %244
  store i64 %246, ptr %28, align 8, !tbaa !53
  %248 = load i64, ptr %28, align 8, !tbaa !53
  %249 = load i64, ptr %18, align 8, !tbaa !53
  %250 = add nsw i64 %248, %249
  %251 = sub nsw i64 %250, 1
  %252 = load i64, ptr %18, align 8, !tbaa !53
  %253 = sdiv i64 %251, %252
  store i64 %253, ptr %28, align 8, !tbaa !53
  %254 = load i64, ptr %18, align 8, !tbaa !53
  %255 = sdiv i64 %254, 2
  %256 = load i64, ptr %28, align 8, !tbaa !53
  %257 = mul nsw i64 %255, %256
  %258 = load i64, ptr %27, align 8, !tbaa !53
  %259 = add nsw i64 %258, %257
  store i64 %259, ptr %27, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #10
  %260 = load ptr, ptr %26, align 8, !tbaa !5
  %261 = invoke noundef zeroext i1 @_ZNK6Halide8Internal13Autoscheduler4Span15constant_extentEv(ptr noundef nonnull align 8 dereferenceable(17) %260)
          to label %262 unwind label %312

262:                                              ; preds = %247
  br i1 %261, label %277, label %263

263:                                              ; preds = %262
  %264 = load i64, ptr %18, align 8, !tbaa !53
  %265 = icmp sgt i64 %264, 1
  br i1 %265, label %266, label %275

266:                                              ; preds = %263
  %267 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 8
  %268 = load ptr, ptr %267, align 8, !tbaa !45
  %269 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage", ptr %268, i32 0, i32 2
  %270 = load i64, ptr %16, align 8, !tbaa !53
  %271 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %269, i64 noundef %270) #10
  %272 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Loop", ptr %271, i32 0, i32 1
  %273 = load i8, ptr %272, align 8, !tbaa !89, !range !47, !noundef !48
  %274 = trunc i8 %273 to i1
  br label %275

275:                                              ; preds = %266, %263
  %276 = phi i1 [ false, %263 ], [ %274, %266 ]
  br label %277

277:                                              ; preds = %275, %262
  %278 = phi i1 [ true, %262 ], [ %276, %275 ]
  %279 = zext i1 %278 to i8
  store i8 %279, ptr %29, align 1, !tbaa !90
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #10
  %280 = load i64, ptr %27, align 8, !tbaa !53
  %281 = load i64, ptr %27, align 8, !tbaa !53
  %282 = load i64, ptr %28, align 8, !tbaa !53
  %283 = add nsw i64 %281, %282
  %284 = sub nsw i64 %283, 1
  %285 = load i8, ptr %29, align 1, !tbaa !90, !range !47, !noundef !48
  %286 = trunc i8 %285 to i1
  invoke void @_ZN6Halide8Internal13Autoscheduler4SpanC2Ellb(ptr noundef nonnull align 8 dereferenceable(17) %30, i64 noundef %280, i64 noundef %284, i1 noundef zeroext %286)
          to label %287 unwind label %316

287:                                              ; preds = %277
  %288 = load ptr, ptr %14, align 8, !tbaa !5
  %289 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 8
  %290 = load ptr, ptr %289, align 8, !tbaa !45
  %291 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage", ptr %290, i32 0, i32 1
  %292 = load i32, ptr %291, align 8, !tbaa !62
  %293 = load i64, ptr %16, align 8, !tbaa !53
  %294 = trunc i64 %293 to i32
  %295 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZN6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %288, i32 noundef %292, i32 noundef %294)
          to label %296 unwind label %316

296:                                              ; preds = %287
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %295, ptr align 8 %30, i64 17, i1 false), !tbaa.struct !91
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  br label %297

297:                                              ; preds = %296
  %298 = load i64, ptr %16, align 8, !tbaa !53
  %299 = add i64 %298, 1
  store i64 %299, ptr %16, align 8, !tbaa !53
  br label %119, !llvm.loop !92

300:                                              ; preds = %233, %194
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %22, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %23, align 4
  br label %323

304:                                              ; preds = %241
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %22, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %23, align 4
  br label %322

308:                                              ; preds = %244
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %22, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %23, align 4
  br label %321

312:                                              ; preds = %247
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %22, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %23, align 4
  br label %320

316:                                              ; preds = %287, %277
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %22, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #10
  br label %320

320:                                              ; preds = %316, %312
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #10
  br label %321

321:                                              ; preds = %320, %308
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  br label %322

322:                                              ; preds = %321, %304
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  br label %323

323:                                              ; preds = %322, %300
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  br label %324

324:                                              ; preds = %323, %192
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %342

325:                                              ; preds = %126
  %326 = load ptr, ptr %12, align 8, !tbaa !5
  %327 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %31, i32 0, i32 7
  %328 = load ptr, ptr %327, align 8, !tbaa !9
  %329 = load ptr, ptr %14, align 8, !tbaa !5
  %330 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10set_boundsEPKNS1_11FunctionDAG4NodeEPNS1_13BoundContentsE(ptr noundef nonnull align 8 dereferenceable(196) %326, ptr noundef %328, ptr noundef %329)
          to label %331 unwind label %338

331:                                              ; preds = %325
  %332 = load ptr, ptr %12, align 8, !tbaa !5
  %333 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %332, i32 0, i32 3
  %334 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE12emplace_backIJRPS4_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %333, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %335 unwind label %338

335:                                              ; preds = %331
  %336 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler8LoopNestEEC2EPS4_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %336)
          to label %337 unwind label %338

337:                                              ; preds = %335
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  ret void

338:                                              ; preds = %335, %331, %325
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %22, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %23, align 4
  br label %342

342:                                              ; preds = %338, %324
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  br label %343

343:                                              ; preds = %342
  %344 = load ptr, ptr %22, align 8
  %345 = load i32, ptr %23, align 4
  %346 = insertvalue { ptr, i32 } poison, ptr %344, 0
  %347 = insertvalue { ptr, i32 } %346, i32 %345, 1
  resume { ptr, i32 } %347

348:                                              ; preds = %186
  %349 = landingpad { ptr, i32 }
          catch ptr null
  %350 = extractvalue { ptr, i32 } %349, 0
  call void @__clang_call_terminate(ptr %350) #12
  unreachable
}

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 168}
!10 = !{!"_ZTSN6Halide8Internal13Autoscheduler8LoopNestE", !11, i64 0, !15, i64 8, !19, i64 32, !23, i64 56, !29, i64 88, !38, i64 136, !6, i64 168, !6, i64 176, !44, i64 184, !44, i64 185, !44, i64 186, !14, i64 188, !14, i64 192}
!11 = !{!"_ZTSN6Halide8Internal8RefCountE", !12, i64 0}
!12 = !{!"_ZTSSt6atomicIiE", !13, i64 0}
!13 = !{!"_ZTSSt13__atomic_baseIiE", !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSSt6vectorIlSaIlEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTS14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE", !24, i64 0, !14, i64 24, !28, i64 28}
!24 = !{!"_ZTSSt6vectorISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterEUt_E", !7, i64 0}
!29 = !{!"_ZTSSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EE", !30, i64 0}
!30 = !{!"_ZTSSt8_Rb_treeIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeES6_St9_IdentityIS6_ESt4lessIS6_ESaIS6_EE", !31, i64 0}
!31 = !{!"_ZTSNSt8_Rb_treeIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeES6_St9_IdentityIS6_ESt4lessIS6_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !32, i64 0, !34, i64 8}
!32 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEEE", !33, i64 0}
!33 = !{!"_ZTSSt4lessIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEE"}
!34 = !{!"_ZTSSt15_Rb_tree_header", !35, i64 0, !37, i64 32}
!35 = !{!"_ZTSSt18_Rb_tree_node_base", !36, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!36 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!37 = !{!"long", !7, i64 0}
!38 = !{!"_ZTS14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterE", !39, i64 0, !14, i64 24, !43, i64 28}
!39 = !{!"_ZTSSt6vectorISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTSN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterEUt_E", !7, i64 0}
!44 = !{!"bool", !7, i64 0}
!45 = !{!10, !6, i64 176}
!46 = !{!10, !44, i64 185}
!47 = !{i8 0, i8 2}
!48 = !{}
!49 = !{!10, !14, i64 188}
!50 = !{!10, !14, i64 192}
!51 = !{!10, !44, i64 184}
!52 = !{!10, !44, i64 186}
!53 = !{!37, !37, i64 0}
!54 = !{!55, !14, i64 56}
!55 = !{!"_ZTSN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopE", !56, i64 0, !44, i64 32, !44, i64 33, !58, i64 40, !58, i64 48, !14, i64 56, !44, i64 60, !14, i64 64, !44, i64 68, !37, i64 72, !37, i64 80, !56, i64 88}
!56 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !57, i64 0, !37, i64 8, !7, i64 16}
!57 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!58 = !{!"_ZTSN6Halide4ExprE", !59, i64 0}
!59 = !{!"_ZTSN6Halide8Internal8IRHandleE", !60, i64 0}
!60 = !{!"_ZTSN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEEE", !6, i64 0}
!61 = !{!14, !14, i64 0}
!62 = !{!63, !14, i64 8}
!63 = !{!"_ZTSN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageE", !6, i64 0, !14, i64 8, !64, i64 16, !44, i64 40, !14, i64 44, !68, i64 48, !69, i64 1200, !56, i64 1264, !14, i64 1296, !14, i64 1300, !79, i64 1304, !83, i64 1328}
!64 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE", !65, i64 0}
!65 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE", !66, i64 0}
!66 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE12_Vector_implE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!68 = !{!"_ZTSN6Halide8Internal16PipelineFeaturesE", !7, i64 0, !7, i64 28, !7, i64 700, !7, i64 812, !7, i64 924, !7, i64 1036}
!69 = !{!"_ZTSN6Halide5StageE", !70, i64 0, !73, i64 24, !37, i64 32, !75, i64 40}
!70 = !{!"_ZTSN6Halide8Internal8FunctionE", !71, i64 0}
!71 = !{!"_ZTSN6Halide8Internal11FunctionPtrE", !72, i64 0, !6, i64 8, !14, i64 16}
!72 = !{!"_ZTSN6Halide8Internal12IntrusivePtrINS0_13FunctionGroupEEE", !6, i64 0}
!73 = !{!"_ZTSN6Halide8Internal10DefinitionE", !74, i64 0}
!74 = !{!"_ZTSN6Halide8Internal12IntrusivePtrINS0_18DefinitionContentsEEE", !6, i64 0}
!75 = !{!"_ZTSSt6vectorIN6Halide3VarESaIS1_EE", !76, i64 0}
!76 = !{!"_ZTSSt12_Vector_baseIN6Halide3VarESaIS1_EE", !77, i64 0}
!77 = !{!"_ZTSNSt12_Vector_baseIN6Halide3VarESaIS1_EE12_Vector_implE", !78, i64 0}
!78 = !{!"_ZTSNSt12_Vector_baseIN6Halide3VarESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!79 = !{!"_ZTSSt6vectorIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE", !80, i64 0}
!80 = !{!"_ZTSSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE", !81, i64 0}
!81 = !{!"_ZTSNSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE12_Vector_implE", !82, i64 0}
!82 = !{!"_ZTSNSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!83 = !{!"_ZTSSt6vectorIbSaIbEE", !84, i64 0}
!84 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !85, i64 0}
!85 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !86, i64 0}
!86 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !87, i64 0, !87, i64 16, !6, i64 32}
!87 = !{!"_ZTSSt13_Bit_iterator", !88, i64 0}
!88 = !{!"_ZTSSt18_Bit_iterator_base", !6, i64 0, !14, i64 8}
!89 = !{!55, !44, i64 32}
!90 = !{!44, !44, i64 0}
!91 = !{i64 0, i64 8, !53, i64 8, i64 8, !53, i64 16, i64 1, !90}
!92 = distinct !{!92, !93}
!93 = !{!"llvm.loop.mustprogress"}


; 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.Halide::Internal::IntrusivePtr.55" = type { ptr }
%"struct.Halide::Internal::IntrusivePtr.80" = type { ptr }
%"class.Halide::Internal::Voidifier" = type { i8 }
%"struct.Halide::Internal::ErrorReport" = type <{ %"class.std::__cxx11::basic_ostringstream", i32, [4 x i8] }>
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"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::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.Halide::Internal::Autoscheduler::Span" = type <{ i64, i64, i8, [7 x i8] }>

@.str.3 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [23 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

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 uwtable
declare dso_local noundef zeroext i1 @_ZN6Halide8Internal13Autoscheduler11may_subtileEv() local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIlSaIlEEaSERKS1_(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 noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EEaSERKS8_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterEaSERKSA_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6Halide8Internal9VoidifieranERNS0_11ErrorReportE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(380)) local_unnamed_addr #4 align 2

declare void @_ZN6Halide8Internal11ErrorReportC1EPKciS3_i(ptr noundef nonnull align 8 dereferenceable(380), ptr noundef, i32 noundef, ptr noundef, i32 noundef) unnamed_addr #5

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

declare void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380)) unnamed_addr #5

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #6

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Halide8Internal13Autoscheduler8LoopNestC2Ev(ptr noundef nonnull align 8 dereferenceable(196)) unnamed_addr #9 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK6Halide8Internal13Autoscheduler8LoopNest20parallelize_in_tilesERKNS_13MachineParamsERKSt6vectorIlSaIlEEPKS2_(ptr dead_on_unwind noalias writable sret(%"struct.Halide::Internal::IntrusivePtr.55") align 8 %0, ptr noundef nonnull align 8 dereferenceable(196) %1, ptr nocapture noundef nonnull readnone align 8 dereferenceable(20) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef %4) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca %"struct.Halide::Internal::IntrusivePtr.80", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.Halide::Internal::Voidifier", align 1
  %11 = alloca %"struct.Halide::Internal::ErrorReport", align 8
  %12 = alloca i64, align 8
  %13 = alloca %"class.Halide::Internal::Autoscheduler::Span", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  %14 = tail call noalias noundef nonnull dereferenceable(200) ptr @_Znwm(i64 noundef 200) #11
  tail call void @_ZN6Halide8Internal13Autoscheduler8LoopNestC2Ev(ptr noundef nonnull align 8 dereferenceable(196) %14) #10
  store ptr %14, ptr %6, align 8, !tbaa !5
  %15 = tail call noalias noundef nonnull dereferenceable(200) ptr @_Znwm(i64 noundef 200) #11
  tail call void @_ZN6Halide8Internal13Autoscheduler8LoopNestC2Ev(ptr noundef nonnull align 8 dereferenceable(196) %15) #10
  %16 = getelementptr inbounds i8, ptr %1, i64 168
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %15, i64 168
  store ptr %17, ptr %18, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %14, i64 168
  store ptr %17, ptr %19, align 8, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %1, i64 176
  %21 = load ptr, ptr %20, align 8, !tbaa !45
  %22 = getelementptr inbounds i8, ptr %15, i64 176
  store ptr %21, ptr %22, align 8, !tbaa !45
  %23 = getelementptr inbounds i8, ptr %14, i64 176
  store ptr %21, ptr %23, align 8, !tbaa !45
  %24 = getelementptr inbounds i8, ptr %1, i64 185
  %25 = load i8, ptr %24, align 1, !tbaa !46, !range !47, !noundef !48
  %26 = trunc nuw i8 %25 to i1
  br i1 %26, label %27, label %30

27:                                               ; preds = %5
  %28 = tail call noundef zeroext i1 @_ZN6Halide8Internal13Autoscheduler11may_subtileEv()
  %29 = zext i1 %28 to i8
  br label %30

30:                                               ; preds = %27, %5
  %31 = phi i8 [ 0, %5 ], [ %29, %27 ]
  %32 = getelementptr inbounds i8, ptr %15, i64 185
  store i8 %31, ptr %32, align 1, !tbaa !46
  %33 = getelementptr inbounds i8, ptr %14, i64 185
  store i8 %31, ptr %33, align 1, !tbaa !46
  %34 = getelementptr inbounds i8, ptr %1, i64 188
  %35 = load i32, ptr %34, align 4, !tbaa !49
  %36 = getelementptr inbounds i8, ptr %15, i64 188
  store i32 %35, ptr %36, align 4, !tbaa !49
  %37 = getelementptr inbounds i8, ptr %14, i64 188
  store i32 %35, ptr %37, align 4, !tbaa !49
  %38 = getelementptr inbounds i8, ptr %1, i64 192
  %39 = load i32, ptr %38, align 8, !tbaa !50
  %40 = getelementptr inbounds i8, ptr %15, i64 192
  store i32 %39, ptr %40, align 8, !tbaa !50
  %41 = getelementptr inbounds i8, ptr %14, i64 192
  store i32 %39, ptr %41, align 8, !tbaa !50
  %42 = getelementptr inbounds i8, ptr %1, i64 8
  %43 = getelementptr inbounds i8, ptr %15, i64 8
  %44 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIlSaIlEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %42)
  %45 = getelementptr inbounds i8, ptr %15, i64 184
  store i8 0, ptr %45, align 8, !tbaa !51
  %46 = getelementptr inbounds i8, ptr %15, i64 186
  store i8 1, ptr %46, align 2, !tbaa !52
  %47 = tail call noundef zeroext i1 @_ZN6Halide8Internal13Autoscheduler11may_subtileEv()
  %48 = zext i1 %47 to i8
  store i8 %48, ptr %32, align 1, !tbaa !46
  %49 = getelementptr inbounds i8, ptr %14, i64 8
  %50 = tail call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  store i64 1, ptr %7, align 8, !tbaa !53
  call void @_ZNSt6vectorIlSaIlEE6resizeEmRKl(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %50, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  %51 = getelementptr inbounds i8, ptr %1, i64 184
  %52 = load i8, ptr %51, align 8, !tbaa !51, !range !47, !noundef !48
  %53 = getelementptr inbounds i8, ptr %14, i64 184
  store i8 %52, ptr %53, align 8, !tbaa !51
  %54 = getelementptr inbounds i8, ptr %1, i64 32
  %55 = getelementptr inbounds i8, ptr %14, i64 32
  %56 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EEaSERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(24) %54)
  %57 = getelementptr inbounds i8, ptr %1, i64 56
  %58 = getelementptr inbounds i8, ptr %14, i64 56
  %59 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull align 8 dereferenceable(32) %57)
  %60 = getelementptr inbounds i8, ptr %1, i64 136
  %61 = getelementptr inbounds i8, ptr %14, i64 136
  %62 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterEaSERKSA_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef nonnull align 8 dereferenceable(32) %60)
  %63 = getelementptr inbounds i8, ptr %1, i64 88
  %64 = getelementptr inbounds i8, ptr %14, i64 88
  %65 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EEaSERKSA_(ptr noundef nonnull align 8 dereferenceable(48) %64, ptr noundef nonnull align 8 dereferenceable(48) %63)
  %66 = load ptr, ptr %16, align 8, !tbaa !9
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10get_boundsEPKNS1_11FunctionDAG4NodeE(ptr noundef nonnull align 8 dereferenceable(196) %14, ptr noundef %66)
  %68 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %67)
  %69 = call noundef ptr @_ZNK6Halide8Internal13Autoscheduler13BoundContents9make_copyEv(ptr noundef nonnull align 8 dereferenceable(16) %68)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #10
  %70 = load ptr, ptr %16, align 8, !tbaa !9
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10get_boundsEPKNS1_11FunctionDAG4NodeE(ptr noundef nonnull align 8 dereferenceable(196) %4, ptr noundef %70)
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %71) #10
  %72 = load ptr, ptr %20, align 8, !tbaa !45
  %73 = getelementptr inbounds i8, ptr %72, i64 16
  %74 = call noundef i64 @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %73) #10
  %.not76 = icmp eq i64 %74, 0
  br i1 %.not76, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %158, %30
  %75 = load ptr, ptr %16, align 8, !tbaa !9
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10set_boundsEPKNS1_11FunctionDAG4NodeEPNS1_13BoundContentsE(ptr noundef nonnull align 8 dereferenceable(196) %15, ptr noundef %75, ptr noundef %69)
          to label %174 unwind label %178

.lr.ph:                                           ; preds = %30, %158
  %77 = phi ptr [ %123, %158 ], [ %14, %30 ]
  %.075 = phi i64 [ %166, %158 ], [ 0, %30 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #10
  %78 = load ptr, ptr %20, align 8, !tbaa !45
  %79 = getelementptr inbounds i8, ptr %78, i64 16
  %80 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %.075) #10
  %81 = getelementptr inbounds i8, ptr %80, i64 56
  %82 = load i32, ptr %81, align 8, !tbaa !54
  store i32 %82, ptr %9, align 4, !tbaa !61
  %83 = icmp sgt i32 %82, -1
  br i1 %83, label %84, label %113

84:                                               ; preds = %.lr.ph
  %85 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  %86 = trunc i64 %85 to i32
  %.not = icmp slt i32 %82, %86
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  br i1 %.not, label %99, label %87

87:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 384, ptr nonnull %11) #10
  invoke void @_ZN6Halide8Internal11ErrorReportC1EPKciS3_i(ptr noundef nonnull align 8 dereferenceable(380) %11, ptr noundef nonnull @.str.3, i32 noundef 1288, ptr noundef nonnull @.str.38, i32 noundef 0)
          to label %88 unwind label %105

88:                                               ; preds = %87
  %89 = call noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReport3refEv(ptr noundef nonnull align 8 dereferenceable(380) %11)
  %90 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIiEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %89, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %91 unwind label %107

91:                                               ; preds = %88
  %92 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIA2_cEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %90, ptr noundef nonnull align 1 dereferenceable(2) @.str.13)
          to label %93 unwind label %107

93:                                               ; preds = %91
  %94 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  store i64 %94, ptr %12, align 8, !tbaa !53
  %95 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsImEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %92, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %96 unwind label %109

96:                                               ; preds = %93
  %97 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIA2_cEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %95, ptr noundef nonnull align 1 dereferenceable(2) @.str.9)
          to label %98 unwind label %109

98:                                               ; preds = %96
  call void @_ZN6Halide8Internal9VoidifieranERNS0_11ErrorReportE(ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 8 dereferenceable(380) %97)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  invoke void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380) %11)
          to label %100 unwind label %105

99:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  br label %.critedge74

100:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %11) #10
  br label %.critedge74

.critedge74:                                      ; preds = %99, %100
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  %101 = load i32, ptr %9, align 4, !tbaa !61
  %102 = sext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %102) #10
  %104 = load i64, ptr %103, align 8, !tbaa !53
  br label %113

105:                                              ; preds = %98, %87
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %112

107:                                              ; preds = %91, %88
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %111

109:                                              ; preds = %96, %93
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  br label %111

111:                                              ; preds = %107, %109
  %.pn = phi { ptr, i32 } [ %110, %109 ], [ %108, %107 ]
  invoke void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380) %11)
          to label %112 unwind label %181

112:                                              ; preds = %111, %105
  %.pn68 = phi { ptr, i32 } [ %106, %105 ], [ %.pn, %111 ]
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  br label %173

113:                                              ; preds = %.lr.ph, %.critedge74
  %.056 = phi i64 [ %104, %.critedge74 ], [ 1, %.lr.ph ]
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %.075) #10
  %115 = load i64, ptr %114, align 8, !tbaa !53
  %116 = add i64 %.056, -1
  %117 = add i64 %116, %115
  %118 = sdiv i64 %117, %.056
  %119 = getelementptr inbounds i8, ptr %77, i64 8
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %119, i64 noundef %.075) #10
  store i64 %118, ptr %120, align 8, !tbaa !53
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %.075) #10
  %122 = load i64, ptr %121, align 8, !tbaa !53
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = getelementptr inbounds i8, ptr %123, i64 8
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %124, i64 noundef %.075) #10
  %126 = load i64, ptr %125, align 8, !tbaa !53
  %127 = add i64 %122, -1
  %128 = add i64 %127, %126
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %124, i64 noundef %.075) #10
  %130 = load i64, ptr %129, align 8, !tbaa !53
  %131 = sdiv i64 %128, %130
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %.075) #10
  store i64 %131, ptr %132, align 8, !tbaa !53
  %133 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %134 = load ptr, ptr %20, align 8, !tbaa !45
  %135 = getelementptr inbounds i8, ptr %134, i64 8
  %136 = load i32, ptr %135, align 8, !tbaa !62
  %137 = trunc i64 %.075 to i32
  %138 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZNK6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %133, i32 noundef %136, i32 noundef %137)
          to label %139 unwind label %171

139:                                              ; preds = %113
  %140 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3minEv(ptr noundef nonnull align 8 dereferenceable(17) %138)
  %141 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span6extentEv(ptr noundef nonnull align 8 dereferenceable(17) %138)
  %142 = add i64 %131, -1
  %143 = add i64 %142, %141
  %144 = sdiv i64 %143, %131
  %145 = sdiv i64 %131, 2
  %146 = mul nsw i64 %144, %145
  %147 = add nsw i64 %146, %140
  %148 = call noundef zeroext i1 @_ZNK6Halide8Internal13Autoscheduler4Span15constant_extentEv(ptr noundef nonnull align 8 dereferenceable(17) %138)
  br i1 %148, label %158, label %149

149:                                              ; preds = %139
  %150 = icmp sgt i64 %131, 1
  br i1 %150, label %151, label %158

151:                                              ; preds = %149
  %152 = load ptr, ptr %20, align 8, !tbaa !45
  %153 = getelementptr inbounds i8, ptr %152, i64 16
  %154 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef %.075) #10
  %155 = getelementptr inbounds i8, ptr %154, i64 32
  %156 = load i8, ptr %155, align 8, !tbaa !89, !range !47, !noundef !48
  %157 = trunc nuw i8 %156 to i1
  br label %158

158:                                              ; preds = %149, %151, %139
  %159 = phi i1 [ true, %139 ], [ false, %149 ], [ %157, %151 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #10
  %160 = add i64 %144, -1
  %161 = add i64 %160, %147
  call void @_ZN6Halide8Internal13Autoscheduler4SpanC2Ellb(ptr noundef nonnull align 8 dereferenceable(17) %13, i64 noundef %147, i64 noundef %161, i1 noundef zeroext %159)
  %162 = load ptr, ptr %20, align 8, !tbaa !45
  %163 = getelementptr inbounds i8, ptr %162, i64 8
  %164 = load i32, ptr %163, align 8, !tbaa !62
  %165 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %69, i32 noundef %164, i32 noundef %137)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(17) %165, ptr noundef nonnull align 8 dereferenceable(17) %13, i64 17, i1 false), !tbaa.struct !90
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #10
  %166 = add nuw i64 %.075, 1
  %167 = load ptr, ptr %20, align 8, !tbaa !45
  %168 = getelementptr inbounds i8, ptr %167, i64 16
  %169 = call noundef i64 @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %168) #10
  %170 = icmp ult i64 %166, %169
  br i1 %170, label %.lr.ph, label %._crit_edge, !llvm.loop !92

171:                                              ; preds = %113
  %172 = landingpad { ptr, i32 }
          cleanup
  br label %173

173:                                              ; preds = %171, %112
  %.pn70 = phi { ptr, i32 } [ %172, %171 ], [ %.pn68, %112 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #10
  br label %180

174:                                              ; preds = %._crit_edge
  %175 = getelementptr inbounds i8, ptr %15, i64 32
  %176 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE12emplace_backIJRPS4_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %175, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %177 unwind label %178

177:                                              ; preds = %174
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler8LoopNestEEC2EPS4_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %15)
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  ret void

178:                                              ; preds = %174, %._crit_edge
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %180

180:                                              ; preds = %178, %173
  %.pn70.pn = phi { ptr, i32 } [ %.pn70, %173 ], [ %179, %178 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  resume { ptr, i32 } %.pn70.pn

181:                                              ; preds = %111
  %182 = landingpad { ptr, i32 }
          catch ptr null
  %183 = extractvalue { ptr, i32 } %182, 0
  call void @__clang_call_terminate(ptr %183) #12
  unreachable
}

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 168}
!10 = !{!"_ZTSN6Halide8Internal13Autoscheduler8LoopNestE", !11, i64 0, !15, i64 8, !19, i64 32, !23, i64 56, !29, i64 88, !38, i64 136, !6, i64 168, !6, i64 176, !44, i64 184, !44, i64 185, !44, i64 186, !14, i64 188, !14, i64 192}
!11 = !{!"_ZTSN6Halide8Internal8RefCountE", !12, i64 0}
!12 = !{!"_ZTSSt6atomicIiE", !13, i64 0}
!13 = !{!"_ZTSSt13__atomic_baseIiE", !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSSt6vectorIlSaIlEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTS14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE", !24, i64 0, !14, i64 24, !28, i64 28}
!24 = !{!"_ZTSSt6vectorISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterEUt_E", !7, i64 0}
!29 = !{!"_ZTSSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EE", !30, i64 0}
!30 = !{!"_ZTSSt8_Rb_treeIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeES6_St9_IdentityIS6_ESt4lessIS6_ESaIS6_EE", !31, i64 0}
!31 = !{!"_ZTSNSt8_Rb_treeIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeES6_St9_IdentityIS6_ESt4lessIS6_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !32, i64 0, !34, i64 8}
!32 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEEE", !33, i64 0}
!33 = !{!"_ZTSSt4lessIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEE"}
!34 = !{!"_ZTSSt15_Rb_tree_header", !35, i64 0, !37, i64 32}
!35 = !{!"_ZTSSt18_Rb_tree_node_base", !36, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!36 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!37 = !{!"long", !7, i64 0}
!38 = !{!"_ZTS14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterE", !39, i64 0, !14, i64 24, !43, i64 28}
!39 = !{!"_ZTSSt6vectorISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTSN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterEUt_E", !7, i64 0}
!44 = !{!"bool", !7, i64 0}
!45 = !{!10, !6, i64 176}
!46 = !{!10, !44, i64 185}
!47 = !{i8 0, i8 2}
!48 = !{}
!49 = !{!10, !14, i64 188}
!50 = !{!10, !14, i64 192}
!51 = !{!10, !44, i64 184}
!52 = !{!10, !44, i64 186}
!53 = !{!37, !37, i64 0}
!54 = !{!55, !14, i64 56}
!55 = !{!"_ZTSN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopE", !56, i64 0, !44, i64 32, !44, i64 33, !58, i64 40, !58, i64 48, !14, i64 56, !44, i64 60, !14, i64 64, !44, i64 68, !37, i64 72, !37, i64 80, !56, i64 88}
!56 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !57, i64 0, !37, i64 8, !7, i64 16}
!57 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!58 = !{!"_ZTSN6Halide4ExprE", !59, i64 0}
!59 = !{!"_ZTSN6Halide8Internal8IRHandleE", !60, i64 0}
!60 = !{!"_ZTSN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEEE", !6, i64 0}
!61 = !{!14, !14, i64 0}
!62 = !{!63, !14, i64 8}
!63 = !{!"_ZTSN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageE", !6, i64 0, !14, i64 8, !64, i64 16, !44, i64 40, !14, i64 44, !68, i64 48, !69, i64 1200, !56, i64 1264, !14, i64 1296, !14, i64 1300, !79, i64 1304, !83, i64 1328}
!64 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE", !65, i64 0}
!65 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE", !66, i64 0}
!66 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE12_Vector_implE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!68 = !{!"_ZTSN6Halide8Internal16PipelineFeaturesE", !7, i64 0, !7, i64 28, !7, i64 700, !7, i64 812, !7, i64 924, !7, i64 1036}
!69 = !{!"_ZTSN6Halide5StageE", !70, i64 0, !73, i64 24, !37, i64 32, !75, i64 40}
!70 = !{!"_ZTSN6Halide8Internal8FunctionE", !71, i64 0}
!71 = !{!"_ZTSN6Halide8Internal11FunctionPtrE", !72, i64 0, !6, i64 8, !14, i64 16}
!72 = !{!"_ZTSN6Halide8Internal12IntrusivePtrINS0_13FunctionGroupEEE", !6, i64 0}
!73 = !{!"_ZTSN6Halide8Internal10DefinitionE", !74, i64 0}
!74 = !{!"_ZTSN6Halide8Internal12IntrusivePtrINS0_18DefinitionContentsEEE", !6, i64 0}
!75 = !{!"_ZTSSt6vectorIN6Halide3VarESaIS1_EE", !76, i64 0}
!76 = !{!"_ZTSSt12_Vector_baseIN6Halide3VarESaIS1_EE", !77, i64 0}
!77 = !{!"_ZTSNSt12_Vector_baseIN6Halide3VarESaIS1_EE12_Vector_implE", !78, i64 0}
!78 = !{!"_ZTSNSt12_Vector_baseIN6Halide3VarESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!79 = !{!"_ZTSSt6vectorIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE", !80, i64 0}
!80 = !{!"_ZTSSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE", !81, i64 0}
!81 = !{!"_ZTSNSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE12_Vector_implE", !82, i64 0}
!82 = !{!"_ZTSNSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!83 = !{!"_ZTSSt6vectorIbSaIbEE", !84, i64 0}
!84 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !85, i64 0}
!85 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !86, i64 0}
!86 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !87, i64 0, !87, i64 16, !6, i64 32}
!87 = !{!"_ZTSSt13_Bit_iterator", !88, i64 0}
!88 = !{!"_ZTSSt18_Bit_iterator_base", !6, i64 0, !14, i64 8}
!89 = !{!55, !44, i64 32}
!90 = !{i64 0, i64 8, !53, i64 8, i64 8, !53, i64 16, i64 1, !91}
!91 = !{!44, !44, i64 0}
!92 = distinct !{!92, !93}
!93 = !{!"llvm.loop.mustprogress"}


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