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

%"class.Halide::Internal::Autoscheduler::Span" = type <{ i64, i64, i8, [7 x i8] }>
%"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 }
%"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" = type { ptr, %"class.Halide::Internal::Function", double, %"class.std::vector.27", %"class.std::vector.32", %"class.std::vector.37", i8, %"class.std::vector.42", %"class.std::vector.47", i32, i32, i32, i32, i8, i8, i8, i8, i8, %"class.std::unique_ptr" }
%"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.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::SymbolicInterval, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::SymbolicInterval>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::SymbolicInterval, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::SymbolicInterval>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::SymbolicInterval, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::SymbolicInterval>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::SymbolicInterval, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::SymbolicInterval>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::Span, std::allocator<Halide::Internal::Autoscheduler::Span>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::Span, std::allocator<Halide::Internal::Autoscheduler::Span>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::Span, std::allocator<Halide::Internal::Autoscheduler::Span>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::Span, std::allocator<Halide::Internal::Autoscheduler::Span>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node::RegionComputedInfo, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node::RegionComputedInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node::RegionComputedInfo, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node::RegionComputedInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node::RegionComputedInfo, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node::RegionComputedInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node::RegionComputedInfo, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node::RegionComputedInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage>>::_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::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.53" }
%"struct.std::_Head_base.53" = type { 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::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.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.37 = external hidden unnamed_addr constant [19 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 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 zeroext i1 @_ZNK6Halide8Internal13Autoscheduler8LoopNest7is_rootEv(ptr noundef nonnull align 8 dereferenceable(196)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(1368) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EEixEm(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(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: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 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)) #3 align 2

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

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

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

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

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #6

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Halide8Internal8Function4argsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_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(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 i64 @_ZNK6Halide8Internal13Autoscheduler4Span3maxEv(ptr noundef nonnull align 8 dereferenceable(17)) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Halide8Internal13Autoscheduler8LoopNest12compute_hereEPKNS1_11FunctionDAG4NodeEbi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef %1, i1 noundef zeroext %2, i32 noundef %3) #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.Halide::Internal::Autoscheduler::Span", align 8
  %20 = alloca %"class.Halide::Internal::Voidifier", align 1
  %21 = alloca %"struct.Halide::Internal::ErrorReport", align 8
  %22 = alloca i1, align 1
  %23 = alloca i1, align 1
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i64, align 8
  %32 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %33 = zext i1 %2 to i8
  store i8 %33, ptr %7, align 1, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !11
  %34 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10get_boundsEPKNS1_11FunctionDAG4NodeE(ptr noundef nonnull align 8 dereferenceable(196) %34, ptr noundef %35)
  store ptr %36, ptr %9, align 8, !tbaa !5
  %37 = call noundef zeroext i1 @_ZN6Halide8Internal13Autoscheduler11may_subtileEv()
  br i1 %37, label %40, label %38

38:                                               ; preds = %4
  %39 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %34, i32 0, i32 10
  store i8 0, ptr %39, align 1, !tbaa !13
  br label %40

40:                                               ; preds = %38, %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %41, i32 0, i32 7
  %43 = call noundef i64 @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #9
  %44 = trunc i64 %43 to i32
  %45 = sub nsw i32 %44, 1
  store i32 %45, ptr %10, align 4, !tbaa !11
  br label %46

46:                                               ; preds = %343, %40
  %47 = load i32, ptr %10, align 4, !tbaa !11
  %48 = icmp sge i32 %47, 0
  br i1 %48, label %50, label %49

49:                                               ; preds = %46
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  br label %346

50:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %51 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 200) #10
  call void @_ZN6Halide8Internal13Autoscheduler8LoopNestC2Ev(ptr noundef nonnull align 8 dereferenceable(196) %51) #9
  store ptr %51, ptr %12, align 8, !tbaa !5
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = load ptr, ptr %12, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %53, i32 0, i32 7
  store ptr %52, ptr %54, align 8, !tbaa !47
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %55, i32 0, i32 7
  %57 = load i32, ptr %10, align 4, !tbaa !11
  %58 = sext i32 %57 to i64
  %59 = call noundef nonnull align 8 dereferenceable(1368) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %58) #9
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %60, i32 0, i32 8
  store ptr %59, ptr %61, align 8, !tbaa !48
  %62 = load ptr, ptr %12, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %62, i32 0, i32 9
  store i8 1, ptr %63, align 8, !tbaa !49
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %64, i32 0, i32 14
  store i32 -1, ptr %65, align 8, !tbaa !50
  %66 = load i8, ptr %7, align 1, !tbaa !9, !range !51, !noundef !52
  %67 = trunc i8 %66 to i1
  br i1 %67, label %68, label %74

68:                                               ; preds = %50
  %69 = call noundef zeroext i1 @_ZNK6Halide8Internal13Autoscheduler8LoopNest7is_rootEv(ptr noundef nonnull align 8 dereferenceable(196) %34)
  br i1 %69, label %72, label %70

70:                                               ; preds = %68
  %71 = call noundef zeroext i1 @_ZN6Halide8Internal13Autoscheduler11may_subtileEv()
  br label %72

72:                                               ; preds = %70, %68
  %73 = phi i1 [ true, %68 ], [ %71, %70 ]
  br label %74

74:                                               ; preds = %72, %50
  %75 = phi i1 [ false, %50 ], [ %73, %72 ]
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %76, i32 0, i32 10
  %78 = zext i1 %75 to i8
  store i8 %78, ptr %77, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %79)
  %81 = call noundef ptr @_ZNK6Halide8Internal13Autoscheduler13BoundContents9make_copyEv(ptr noundef nonnull align 8 dereferenceable(16) %80)
  store ptr %81, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %82, i32 0, i32 7
  %84 = load i32, ptr %10, align 4, !tbaa !11
  %85 = sext i32 %84 to i64
  %86 = call noundef nonnull align 8 dereferenceable(1368) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %85) #9
  %87 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage", ptr %86, i32 0, i32 2
  %88 = call noundef i64 @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #9
  store i64 %88, ptr %14, align 8, !tbaa !53
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %89, i32 0, i32 2
  %91 = load i64, ptr %14, align 8, !tbaa !53
  call void @_ZNSt6vectorIlSaIlEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %91)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  store i64 1, ptr %15, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  store i64 1, ptr %16, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  store i64 0, ptr %17, align 8, !tbaa !53
  br label %92

92:                                               ; preds = %270, %74
  %93 = load i64, ptr %17, align 8, !tbaa !53
  %94 = load i64, ptr %14, align 8, !tbaa !53
  %95 = icmp ult i64 %93, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %92
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %273

97:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %98)
  %100 = load i32, ptr %10, align 4, !tbaa !11
  %101 = load i64, ptr %17, align 8, !tbaa !53
  %102 = trunc i64 %101 to i32
  %103 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNK6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %99, i32 noundef %100, i32 noundef %102)
  store ptr %103, ptr %18, align 8, !tbaa !5
  %104 = load ptr, ptr %18, align 8, !tbaa !5
  %105 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span6extentEv(ptr noundef nonnull align 8 dereferenceable(17) %104)
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %106, i32 0, i32 2
  %108 = load i64, ptr %17, align 8, !tbaa !53
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %108) #9
  store i64 %105, ptr %109, align 8, !tbaa !53
  %110 = load ptr, ptr %12, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %110, i32 0, i32 2
  %112 = load i64, ptr %17, align 8, !tbaa !53
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %111, i64 noundef %112) #9
  %114 = load i64, ptr %113, align 8, !tbaa !53
  %115 = load i64, ptr %15, align 8, !tbaa !53
  %116 = mul nsw i64 %115, %114
  store i64 %116, ptr %15, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #9
  %117 = load ptr, ptr %18, align 8, !tbaa !5
  %118 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3minEv(ptr noundef nonnull align 8 dereferenceable(17) %117)
  %119 = load ptr, ptr %18, align 8, !tbaa !5
  %120 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3minEv(ptr noundef nonnull align 8 dereferenceable(17) %119)
  call void @_ZN6Halide8Internal13Autoscheduler4SpanC2Ellb(ptr noundef nonnull align 8 dereferenceable(17) %19, i64 noundef %118, i64 noundef %120, i1 noundef zeroext true)
  %121 = load ptr, ptr %13, align 8, !tbaa !5
  %122 = load i32, ptr %10, align 4, !tbaa !11
  %123 = load i64, ptr %17, align 8, !tbaa !53
  %124 = trunc i64 %123 to i32
  %125 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %121, i32 noundef %122, i32 noundef %124)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %125, ptr align 8 %19, i64 17, i1 false), !tbaa.struct !54
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #9
  %126 = load ptr, ptr %18, align 8, !tbaa !5
  %127 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3maxEv(ptr noundef nonnull align 8 dereferenceable(17) %126)
  %128 = load ptr, ptr %18, align 8, !tbaa !5
  %129 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3minEv(ptr noundef nonnull align 8 dereferenceable(17) %128)
  %130 = icmp sge i64 %127, %129
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #9
  store i1 false, ptr %22, align 1
  store i1 false, ptr %23, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  br i1 %130, label %131, label %132

131:                                              ; preds = %97
  br label %154

132:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 384, ptr %21) #9
  store i1 true, ptr %22, align 1
  call void @_ZN6Halide8Internal11ErrorReportC1EPKciS3_i(ptr noundef nonnull align 8 dereferenceable(380) %21, ptr noundef @.str.3, i32 noundef 1203, ptr noundef @.str.37, i32 noundef 0)
  store i1 true, ptr %23, align 1
  %133 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReport3refEv(ptr noundef nonnull align 8 dereferenceable(380) %21)
          to label %134 unwind label %235

134:                                              ; preds = %132
  %135 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsImEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %133, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %136 unwind label %235

136:                                              ; preds = %134
  %137 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIA2_cEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %135, ptr noundef nonnull align 1 dereferenceable(2) @.str.13)
          to label %138 unwind label %235

138:                                              ; preds = %136
  %139 = load ptr, ptr %18, align 8, !tbaa !5
  %140 = invoke noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3maxEv(ptr noundef nonnull align 8 dereferenceable(17) %139)
          to label %141 unwind label %239

141:                                              ; preds = %138
  store i64 %140, ptr %26, align 8, !tbaa !53
  %142 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIlEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %137, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %143 unwind label %239

143:                                              ; preds = %141
  %144 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIA2_cEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %142, ptr noundef nonnull align 1 dereferenceable(2) @.str.13)
          to label %145 unwind label %239

145:                                              ; preds = %143
  %146 = load ptr, ptr %18, align 8, !tbaa !5
  %147 = invoke noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3minEv(ptr noundef nonnull align 8 dereferenceable(17) %146)
          to label %148 unwind label %243

148:                                              ; preds = %145
  store i64 %147, ptr %27, align 8, !tbaa !53
  %149 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIlEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %144, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %150 unwind label %243

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

152:                                              ; preds = %150
  invoke void @_ZN6Halide8Internal9VoidifieranERNS0_11ErrorReportE(ptr noundef nonnull align 1 dereferenceable(1) %20, ptr noundef nonnull align 8 dereferenceable(380) %151)
          to label %153 unwind label %243

153:                                              ; preds = %152
  br label %154

154:                                              ; preds = %153, %131
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  %155 = load i1, ptr %23, align 1
  br i1 %155, label %156, label %157

156:                                              ; preds = %154
  call void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380) %21)
  br label %157

157:                                              ; preds = %156, %154
  %158 = load i1, ptr %22, align 1
  br i1 %158, label %159, label %160

159:                                              ; preds = %157
  call void @llvm.lifetime.end.p0(i64 384, ptr %21) #9
  br label %160

160:                                              ; preds = %159, %157
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #9
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %161, i32 0, i32 12
  %163 = load i32, ptr %162, align 4, !tbaa !55
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %256

165:                                              ; preds = %160
  %166 = load ptr, ptr %12, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %166, i32 0, i32 2
  %168 = load i64, ptr %17, align 8, !tbaa !53
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef %168) #9
  %170 = load i64, ptr %169, align 8, !tbaa !53
  %171 = icmp sge i64 %170, 1
  br i1 %171, label %172, label %256

172:                                              ; preds = %165
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %173, i32 0, i32 7
  %175 = load i32, ptr %10, align 4, !tbaa !11
  %176 = sext i32 %175 to i64
  %177 = call noundef nonnull align 8 dereferenceable(1368) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %174, i64 noundef %176) #9
  %178 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage", ptr %177, i32 0, i32 2
  %179 = load i64, ptr %17, align 8, !tbaa !53
  %180 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %178, i64 noundef %179) #9
  %181 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Loop", ptr %180, i32 0, i32 0
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %182, i32 0, i32 1
  %184 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Halide8Internal8Function4argsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(24) %183)
  %185 = load i32, ptr %8, align 4, !tbaa !11
  %186 = sext i32 %185 to i64
  %187 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %184, i64 noundef %186) #9
  %188 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %181, ptr noundef nonnull align 8 dereferenceable(32) %187) #9
  br i1 %188, label %189, label %256

189:                                              ; preds = %172
  %190 = load i64, ptr %17, align 8, !tbaa !53
  %191 = trunc i64 %190 to i32
  %192 = load ptr, ptr %12, align 8, !tbaa !5
  %193 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %192, i32 0, i32 14
  store i32 %191, ptr %193, align 8, !tbaa !50
  %194 = load ptr, ptr %12, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %194, i32 0, i32 8
  %196 = load ptr, ptr %195, align 8, !tbaa !48
  %197 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage", ptr %196, i32 0, i32 4
  %198 = load i32, ptr %197, align 4, !tbaa !87
  %199 = sext i32 %198 to i64
  store i64 %199, ptr %16, align 8, !tbaa !53
  %200 = load ptr, ptr %13, align 8, !tbaa !5
  %201 = load i32, ptr %10, align 4, !tbaa !11
  %202 = load i64, ptr %17, align 8, !tbaa !53
  %203 = trunc i64 %202 to i32
  %204 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %200, i32 noundef %201, i32 noundef %203)
  %205 = load i64, ptr %16, align 8, !tbaa !53
  call void @_ZN6Halide8Internal13Autoscheduler4Span10set_extentEl(ptr noundef nonnull align 8 dereferenceable(17) %204, i64 noundef %205)
  %206 = load i64, ptr %16, align 8, !tbaa !53
  %207 = sub nsw i64 %206, 1
  %208 = load ptr, ptr %12, align 8, !tbaa !5
  %209 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %208, i32 0, i32 2
  %210 = load i64, ptr %17, align 8, !tbaa !53
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %209, i64 noundef %210) #9
  %212 = load i64, ptr %211, align 8, !tbaa !53
  %213 = add nsw i64 %212, %207
  store i64 %213, ptr %211, align 8, !tbaa !53
  %214 = load i64, ptr %16, align 8, !tbaa !53
  %215 = load ptr, ptr %12, align 8, !tbaa !5
  %216 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %215, i32 0, i32 2
  %217 = load i64, ptr %17, align 8, !tbaa !53
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %216, i64 noundef %217) #9
  %219 = load i64, ptr %218, align 8, !tbaa !53
  %220 = sdiv i64 %219, %214
  store i64 %220, ptr %218, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %221 = load i64, ptr %16, align 8, !tbaa !53
  %222 = load ptr, ptr %12, align 8, !tbaa !5
  %223 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %222, i32 0, i32 2
  %224 = load i64, ptr %17, align 8, !tbaa !53
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %223, i64 noundef %224) #9
  %226 = load i64, ptr %225, align 8, !tbaa !53
  %227 = sdiv i64 %226, 2
  %228 = mul nsw i64 %221, %227
  store i64 %228, ptr %28, align 8, !tbaa !53
  %229 = load ptr, ptr %13, align 8, !tbaa !5
  %230 = load i32, ptr %10, align 4, !tbaa !11
  %231 = load i64, ptr %17, align 8, !tbaa !53
  %232 = trunc i64 %231 to i32
  %233 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %229, i32 noundef %230, i32 noundef %232)
  %234 = load i64, ptr %28, align 8, !tbaa !53
  call void @_ZN6Halide8Internal13Autoscheduler4Span9translateEl(ptr noundef nonnull align 8 dereferenceable(17) %233, i64 noundef %234)
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %269

235:                                              ; preds = %136, %134, %132
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %24, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %25, align 4
  br label %248

239:                                              ; preds = %143, %141, %138
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %24, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %25, align 4
  br label %247

243:                                              ; preds = %152, %150, %148, %145
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %24, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %247

247:                                              ; preds = %243, %239
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %248

248:                                              ; preds = %247, %235
  %249 = load i1, ptr %23, align 1
  br i1 %249, label %250, label %252

250:                                              ; preds = %248
  invoke void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380) %21)
          to label %251 unwind label %352

251:                                              ; preds = %250
  br label %252

252:                                              ; preds = %251, %248
  %253 = load i1, ptr %22, align 1
  br i1 %253, label %254, label %255

254:                                              ; preds = %252
  call void @llvm.lifetime.end.p0(i64 384, ptr %21) #9
  br label %255

255:                                              ; preds = %254, %252
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  br label %347

256:                                              ; preds = %172, %165, %160
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %257 = load ptr, ptr %12, align 8, !tbaa !5
  %258 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %257, i32 0, i32 2
  %259 = load i64, ptr %17, align 8, !tbaa !53
  %260 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %258, i64 noundef %259) #9
  %261 = load i64, ptr %260, align 8, !tbaa !53
  %262 = sdiv i64 %261, 2
  store i64 %262, ptr %29, align 8, !tbaa !53
  %263 = load ptr, ptr %13, align 8, !tbaa !5
  %264 = load i32, ptr %10, align 4, !tbaa !11
  %265 = load i64, ptr %17, align 8, !tbaa !53
  %266 = trunc i64 %265 to i32
  %267 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %263, i32 noundef %264, i32 noundef %266)
  %268 = load i64, ptr %29, align 8, !tbaa !53
  call void @_ZN6Halide8Internal13Autoscheduler4Span9translateEl(ptr noundef nonnull align 8 dereferenceable(17) %267, i64 noundef %268)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %269

269:                                              ; preds = %256, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %270

270:                                              ; preds = %269
  %271 = load i64, ptr %17, align 8, !tbaa !53
  %272 = add i64 %271, 1
  store i64 %272, ptr %17, align 8, !tbaa !53
  br label %92, !llvm.loop !109

273:                                              ; preds = %96
  %274 = load ptr, ptr %12, align 8, !tbaa !5
  %275 = load ptr, ptr %6, align 8, !tbaa !5
  %276 = load ptr, ptr %13, align 8, !tbaa !5
  %277 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10set_boundsEPKNS1_11FunctionDAG4NodeEPNS1_13BoundContentsE(ptr noundef nonnull align 8 dereferenceable(196) %274, ptr noundef %275, ptr noundef %276)
  %278 = load i32, ptr %8, align 4, !tbaa !11
  %279 = load ptr, ptr %12, align 8, !tbaa !5
  %280 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %279, i32 0, i32 13
  store i32 %278, ptr %280, align 4, !tbaa !111
  %281 = load ptr, ptr %12, align 8, !tbaa !5
  %282 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %281, i32 0, i32 14
  %283 = load i32, ptr %282, align 8, !tbaa !50
  %284 = icmp sge i32 %283, 0
  br i1 %284, label %285, label %340

285:                                              ; preds = %273
  %286 = load ptr, ptr %12, align 8, !tbaa !5
  %287 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %286, i32 0, i32 9
  store i8 0, ptr %287, align 8, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %288 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 200) #10
  call void @_ZN6Halide8Internal13Autoscheduler8LoopNestC2Ev(ptr noundef nonnull align 8 dereferenceable(196) %288) #9
  store ptr %288, ptr %30, align 8, !tbaa !5
  %289 = load ptr, ptr %12, align 8, !tbaa !5
  %290 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %289, i32 0, i32 7
  %291 = load ptr, ptr %290, align 8, !tbaa !47
  %292 = load ptr, ptr %30, align 8, !tbaa !5
  %293 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %292, i32 0, i32 7
  store ptr %291, ptr %293, align 8, !tbaa !47
  %294 = load ptr, ptr %12, align 8, !tbaa !5
  %295 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %294, i32 0, i32 8
  %296 = load ptr, ptr %295, align 8, !tbaa !48
  %297 = load ptr, ptr %30, align 8, !tbaa !5
  %298 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %297, i32 0, i32 8
  store ptr %296, ptr %298, align 8, !tbaa !48
  %299 = load ptr, ptr %30, align 8, !tbaa !5
  %300 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %299, i32 0, i32 10
  store i8 0, ptr %300, align 1, !tbaa !13
  %301 = load ptr, ptr %12, align 8, !tbaa !5
  %302 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %301, i32 0, i32 14
  %303 = load i32, ptr %302, align 8, !tbaa !50
  %304 = load ptr, ptr %30, align 8, !tbaa !5
  %305 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %304, i32 0, i32 14
  store i32 %303, ptr %305, align 8, !tbaa !50
  %306 = load i32, ptr %8, align 4, !tbaa !11
  %307 = load ptr, ptr %30, align 8, !tbaa !5
  %308 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %307, i32 0, i32 13
  store i32 %306, ptr %308, align 4, !tbaa !111
  %309 = load ptr, ptr %30, align 8, !tbaa !5
  %310 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %309, i32 0, i32 2
  %311 = load i64, ptr %14, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  store i64 1, ptr %31, align 8, !tbaa !53
  call void @_ZNSt6vectorIlSaIlEE6resizeEmRKl(ptr noundef nonnull align 8 dereferenceable(24) %310, i64 noundef %311, ptr noundef nonnull align 8 dereferenceable(8) %31)
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  %312 = load ptr, ptr %30, align 8, !tbaa !5
  %313 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %312, i32 0, i32 9
  store i8 1, ptr %313, align 8, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %314 = load ptr, ptr %12, align 8, !tbaa !5
  %315 = load ptr, ptr %6, align 8, !tbaa !5
  %316 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10get_boundsEPKNS1_11FunctionDAG4NodeE(ptr noundef nonnull align 8 dereferenceable(196) %314, ptr noundef %315)
  %317 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %316)
  %318 = call noundef ptr @_ZNK6Halide8Internal13Autoscheduler13BoundContents9make_copyEv(ptr noundef nonnull align 8 dereferenceable(16) %317)
  store ptr %318, ptr %32, align 8, !tbaa !5
  %319 = load ptr, ptr %32, align 8, !tbaa !5
  %320 = load i32, ptr %10, align 4, !tbaa !11
  %321 = load ptr, ptr %12, align 8, !tbaa !5
  %322 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %321, i32 0, i32 14
  %323 = load i32, ptr %322, align 8, !tbaa !50
  %324 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %319, i32 noundef %320, i32 noundef %323)
  call void @_ZN6Halide8Internal13Autoscheduler4Span10set_extentEl(ptr noundef nonnull align 8 dereferenceable(17) %324, i64 noundef 1)
  %325 = load ptr, ptr %30, align 8, !tbaa !5
  %326 = load ptr, ptr %6, align 8, !tbaa !5
  %327 = load ptr, ptr %32, align 8, !tbaa !5
  %328 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10set_boundsEPKNS1_11FunctionDAG4NodeEPNS1_13BoundContentsE(ptr noundef nonnull align 8 dereferenceable(196) %325, ptr noundef %326, ptr noundef %327)
  %329 = load i64, ptr %16, align 8, !tbaa !53
  %330 = load ptr, ptr %30, align 8, !tbaa !5
  %331 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %330, i32 0, i32 2
  %332 = load ptr, ptr %12, align 8, !tbaa !5
  %333 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %332, i32 0, i32 14
  %334 = load i32, ptr %333, align 8, !tbaa !50
  %335 = sext i32 %334 to i64
  %336 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %331, i64 noundef %335) #9
  store i64 %329, ptr %336, align 8, !tbaa !53
  %337 = load ptr, ptr %12, align 8, !tbaa !5
  %338 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %337, i32 0, i32 3
  %339 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE12emplace_backIJRPS4_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %338, ptr noundef nonnull align 8 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %340

340:                                              ; preds = %285, %273
  %341 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %34, i32 0, i32 3
  %342 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE12emplace_backIJRPS4_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %341, ptr noundef nonnull align 8 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  br label %343

343:                                              ; preds = %340
  %344 = load i32, ptr %10, align 4, !tbaa !11
  %345 = add nsw i32 %344, -1
  store i32 %345, ptr %10, align 4, !tbaa !11
  br label %46, !llvm.loop !112

346:                                              ; preds = %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  ret void

347:                                              ; preds = %255
  %348 = load ptr, ptr %24, align 8
  %349 = load i32, ptr %25, align 4
  %350 = insertvalue { ptr, i32 } poison, ptr %348, 0
  %351 = insertvalue { ptr, i32 } %350, i32 %349, 1
  resume { ptr, i32 } %351

352:                                              ; preds = %250
  %353 = landingpad { ptr, i32 }
          catch ptr null
  %354 = extractvalue { ptr, i32 } %353, 0
  call void @__clang_call_terminate(ptr %354) #11
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIlSaIlEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #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 nounwind uwtable
declare dso_local void @_ZN6Halide8Internal13Autoscheduler4Span10set_extentEl(ptr noundef nonnull align 8 dereferenceable(17), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Halide8Internal13Autoscheduler4Span9translateEl(ptr noundef nonnull align 8 dereferenceable(17), i64 noundef) #2 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

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 = { 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 #4 = { "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 = { 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 #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { 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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 185}
!14 = !{!"_ZTSN6Halide8Internal13Autoscheduler8LoopNestE", !15, i64 0, !18, i64 8, !22, i64 32, !26, i64 56, !32, i64 88, !41, i64 136, !6, i64 168, !6, i64 176, !10, i64 184, !10, i64 185, !10, i64 186, !12, i64 188, !12, i64 192}
!15 = !{!"_ZTSN6Halide8Internal8RefCountE", !16, i64 0}
!16 = !{!"_ZTSSt6atomicIiE", !17, i64 0}
!17 = !{!"_ZTSSt13__atomic_baseIiE", !12, i64 0}
!18 = !{!"_ZTSSt6vectorIlSaIlEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTS14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE", !27, i64 0, !12, i64 24, !31, i64 28}
!27 = !{!"_ZTSSt6vectorISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterEUt_E", !7, i64 0}
!32 = !{!"_ZTSSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EE", !33, i64 0}
!33 = !{!"_ZTSSt8_Rb_treeIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeES6_St9_IdentityIS6_ESt4lessIS6_ESaIS6_EE", !34, i64 0}
!34 = !{!"_ZTSNSt8_Rb_treeIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeES6_St9_IdentityIS6_ESt4lessIS6_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !35, i64 0, !37, i64 8}
!35 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEEE", !36, i64 0}
!36 = !{!"_ZTSSt4lessIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEE"}
!37 = !{!"_ZTSSt15_Rb_tree_header", !38, i64 0, !40, i64 32}
!38 = !{!"_ZTSSt18_Rb_tree_node_base", !39, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!39 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!40 = !{!"long", !7, i64 0}
!41 = !{!"_ZTS14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterE", !42, i64 0, !12, i64 24, !46, i64 28}
!42 = !{!"_ZTSSt6vectorISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!46 = !{!"_ZTSN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterEUt_E", !7, i64 0}
!47 = !{!14, !6, i64 168}
!48 = !{!14, !6, i64 176}
!49 = !{!14, !10, i64 184}
!50 = !{!14, !12, i64 192}
!51 = !{i8 0, i8 2}
!52 = !{}
!53 = !{!40, !40, i64 0}
!54 = !{i64 0, i64 8, !53, i64 8, i64 8, !53, i64 16, i64 1, !9}
!55 = !{!56, !12, i64 180}
!56 = !{!"_ZTSN6Halide8Internal13Autoscheduler11FunctionDAG4NodeE", !6, i64 0, !57, i64 8, !60, i64 32, !61, i64 40, !65, i64 64, !69, i64 88, !10, i64 112, !73, i64 120, !77, i64 144, !12, i64 168, !12, i64 172, !12, i64 176, !12, i64 180, !10, i64 184, !10, i64 185, !10, i64 186, !10, i64 187, !10, i64 188, !81, i64 192}
!57 = !{!"_ZTSN6Halide8Internal8FunctionE", !58, i64 0}
!58 = !{!"_ZTSN6Halide8Internal11FunctionPtrE", !59, i64 0, !6, i64 8, !12, i64 16}
!59 = !{!"_ZTSN6Halide8Internal12IntrusivePtrINS0_13FunctionGroupEEE", !6, i64 0}
!60 = !{!"double", !7, i64 0}
!61 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG16SymbolicIntervalESaIS4_EE", !62, i64 0}
!62 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG16SymbolicIntervalESaIS4_EE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG16SymbolicIntervalESaIS4_EE12_Vector_implE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG16SymbolicIntervalESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!65 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler4SpanESaIS3_EE", !66, i64 0}
!66 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler4SpanESaIS3_EE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler4SpanESaIS3_EE12_Vector_implE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler4SpanESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!69 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node18RegionComputedInfoESaIS5_EE", !70, i64 0}
!70 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node18RegionComputedInfoESaIS5_EE", !71, i64 0}
!71 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node18RegionComputedInfoESaIS5_EE12_Vector_implE", !72, i64 0}
!72 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node18RegionComputedInfoESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!73 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE", !74, i64 0}
!74 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE", !75, i64 0}
!75 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE12_Vector_implE", !76, i64 0}
!76 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!77 = !{!"_ZTSSt6vectorIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE", !78, i64 0}
!78 = !{!"_ZTSSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE", !79, i64 0}
!79 = !{!"_ZTSNSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE12_Vector_implE", !80, i64 0}
!80 = !{!"_ZTSNSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!81 = !{!"_ZTSSt10unique_ptrIN6Halide8Internal13Autoscheduler13BoundContents6LayoutESt14default_deleteIS4_EE", !82, i64 0}
!82 = !{!"_ZTSSt15__uniq_ptr_dataIN6Halide8Internal13Autoscheduler13BoundContents6LayoutESt14default_deleteIS4_ELb1ELb1EE", !83, i64 0}
!83 = !{!"_ZTSSt15__uniq_ptr_implIN6Halide8Internal13Autoscheduler13BoundContents6LayoutESt14default_deleteIS4_EE", !84, i64 0}
!84 = !{!"_ZTSSt5tupleIJPN6Halide8Internal13Autoscheduler13BoundContents6LayoutESt14default_deleteIS4_EEE", !85, i64 0}
!85 = !{!"_ZTSSt11_Tuple_implILm0EJPN6Halide8Internal13Autoscheduler13BoundContents6LayoutESt14default_deleteIS4_EEE", !86, i64 0}
!86 = !{!"_ZTSSt10_Head_baseILm0EPN6Halide8Internal13Autoscheduler13BoundContents6LayoutELb0EE", !6, i64 0}
!87 = !{!88, !12, i64 44}
!88 = !{!"_ZTSN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageE", !6, i64 0, !12, i64 8, !89, i64 16, !10, i64 40, !12, i64 44, !93, i64 48, !94, i64 1200, !101, i64 1264, !12, i64 1296, !12, i64 1300, !77, i64 1304, !103, i64 1328}
!89 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE", !90, i64 0}
!90 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE", !91, i64 0}
!91 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE12_Vector_implE", !92, i64 0}
!92 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!93 = !{!"_ZTSN6Halide8Internal16PipelineFeaturesE", !7, i64 0, !7, i64 28, !7, i64 700, !7, i64 812, !7, i64 924, !7, i64 1036}
!94 = !{!"_ZTSN6Halide5StageE", !57, i64 0, !95, i64 24, !40, i64 32, !97, i64 40}
!95 = !{!"_ZTSN6Halide8Internal10DefinitionE", !96, i64 0}
!96 = !{!"_ZTSN6Halide8Internal12IntrusivePtrINS0_18DefinitionContentsEEE", !6, i64 0}
!97 = !{!"_ZTSSt6vectorIN6Halide3VarESaIS1_EE", !98, i64 0}
!98 = !{!"_ZTSSt12_Vector_baseIN6Halide3VarESaIS1_EE", !99, i64 0}
!99 = !{!"_ZTSNSt12_Vector_baseIN6Halide3VarESaIS1_EE12_Vector_implE", !100, i64 0}
!100 = !{!"_ZTSNSt12_Vector_baseIN6Halide3VarESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!101 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !102, i64 0, !40, i64 8, !7, i64 16}
!102 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!103 = !{!"_ZTSSt6vectorIbSaIbEE", !104, i64 0}
!104 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !105, i64 0}
!105 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !106, i64 0}
!106 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !107, i64 0, !107, i64 16, !6, i64 32}
!107 = !{!"_ZTSSt13_Bit_iterator", !108, i64 0}
!108 = !{!"_ZTSSt18_Bit_iterator_base", !6, i64 0, !12, i64 8}
!109 = distinct !{!109, !110}
!110 = !{!"llvm.loop.mustprogress"}
!111 = !{!14, !12, i64 188}
!112 = distinct !{!112, !110}


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

%"class.Halide::Internal::Autoscheduler::Span" = type <{ i64, i64, i8, [7 x i8] }>
%"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 }

@.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.37 = external hidden unnamed_addr constant [19 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 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 zeroext i1 @_ZNK6Halide8Internal13Autoscheduler8LoopNest7is_rootEv(ptr noundef nonnull align 8 dereferenceable(196)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(1368) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EEixEm(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(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: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 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 #3 align 2

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

; 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 #3 align 2

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

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

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Halide8Internal8Function4argsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_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(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 i64 @_ZNK6Halide8Internal13Autoscheduler4Span3maxEv(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 @_ZN6Halide8Internal11ErrorReportlsIlEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(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 #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Halide8Internal13Autoscheduler8LoopNest12compute_hereEPKNS1_11FunctionDAG4NodeEbi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef %1, i1 noundef zeroext %2, i32 noundef %3) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca %"class.Halide::Internal::Autoscheduler::Span", align 8
  %8 = alloca %"class.Halide::Internal::Voidifier", align 1
  %9 = alloca %"struct.Halide::Internal::ErrorReport", align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10get_boundsEPKNS1_11FunctionDAG4NodeE(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef %1)
  %15 = tail call noundef zeroext i1 @_ZN6Halide8Internal13Autoscheduler11may_subtileEv()
  br i1 %15, label %18, label %16

16:                                               ; preds = %4
  %17 = getelementptr inbounds i8, ptr %0, i64 185
  store i8 0, ptr %17, align 1, !tbaa !5
  br label %18

18:                                               ; preds = %16, %4
  %19 = getelementptr inbounds i8, ptr %1, i64 120
  %20 = tail call noundef i64 @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  %21 = trunc i64 %20 to i32
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.lr.ph80, label %._crit_edge81

.lr.ph80:                                         ; preds = %18
  %23 = getelementptr inbounds i8, ptr %1, i64 180
  %24 = getelementptr inbounds i8, ptr %1, i64 8
  %25 = sext i32 %3 to i64
  %26 = getelementptr inbounds i8, ptr %0, i64 32
  %27 = and i64 %20, 2147483647
  br label %28

._crit_edge81:                                    ; preds = %202, %18
  ret void

28:                                               ; preds = %.lr.ph80, %202
  %indvars.iv = phi i64 [ %27, %.lr.ph80 ], [ %indvars.iv.next, %202 ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %29 = call noalias noundef nonnull dereferenceable(200) ptr @_Znwm(i64 noundef 200) #10
  call void @_ZN6Halide8Internal13Autoscheduler8LoopNestC2Ev(ptr noundef nonnull align 8 dereferenceable(196) %29) #9
  store ptr %29, ptr %5, align 8, !tbaa !44
  %30 = getelementptr inbounds i8, ptr %29, i64 168
  store ptr %1, ptr %30, align 8, !tbaa !45
  %31 = call noundef nonnull align 8 dereferenceable(1368) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %indvars.iv.next) #9
  %32 = load ptr, ptr %5, align 8, !tbaa !44
  %33 = getelementptr inbounds i8, ptr %32, i64 176
  store ptr %31, ptr %33, align 8, !tbaa !46
  %34 = getelementptr inbounds i8, ptr %32, i64 184
  store i8 1, ptr %34, align 8, !tbaa !47
  %35 = getelementptr inbounds i8, ptr %32, i64 192
  store i32 -1, ptr %35, align 8, !tbaa !48
  br i1 %2, label %36, label %40

36:                                               ; preds = %28
  %37 = call noundef zeroext i1 @_ZNK6Halide8Internal13Autoscheduler8LoopNest7is_rootEv(ptr noundef nonnull align 8 dereferenceable(196) %0)
  br i1 %37, label %40, label %38

38:                                               ; preds = %36
  %39 = call noundef zeroext i1 @_ZN6Halide8Internal13Autoscheduler11may_subtileEv()
  br label %40

40:                                               ; preds = %36, %38, %28
  %41 = phi i1 [ false, %28 ], [ true, %36 ], [ %39, %38 ]
  %42 = load ptr, ptr %5, align 8, !tbaa !44
  %43 = getelementptr inbounds i8, ptr %42, i64 185
  %44 = zext i1 %41 to i8
  store i8 %44, ptr %43, align 1, !tbaa !5
  %45 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14)
  %46 = call noundef ptr @_ZNK6Halide8Internal13Autoscheduler13BoundContents9make_copyEv(ptr noundef nonnull align 8 dereferenceable(16) %45)
  %47 = call noundef nonnull align 8 dereferenceable(1368) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %indvars.iv.next) #9
  %48 = getelementptr inbounds i8, ptr %47, i64 16
  %49 = call noundef i64 @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #9
  %50 = load ptr, ptr %5, align 8, !tbaa !44
  %51 = getelementptr inbounds i8, ptr %50, i64 8
  call void @_ZNSt6vectorIlSaIlEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %49)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  store i64 0, ptr %6, align 8, !tbaa !49
  %.not82 = icmp eq i64 %49, 0
  br i1 %.not82, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %40
  %52 = trunc nuw nsw i64 %indvars.iv.next to i32
  br label %.lr.ph

._crit_edge:                                      ; preds = %160, %40
  %.065.lcssa = phi i64 [ 1, %40 ], [ %.166, %160 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  %53 = load ptr, ptr %5, align 8, !tbaa !44
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10set_boundsEPKNS1_11FunctionDAG4NodeEPNS1_13BoundContentsE(ptr noundef nonnull align 8 dereferenceable(196) %53, ptr noundef %1, ptr noundef %46)
  %55 = load ptr, ptr %5, align 8, !tbaa !44
  %56 = getelementptr inbounds i8, ptr %55, i64 188
  store i32 %3, ptr %56, align 4, !tbaa !50
  %57 = getelementptr inbounds i8, ptr %55, i64 192
  %58 = load i32, ptr %57, align 8, !tbaa !48
  %59 = icmp sgt i32 %58, -1
  br i1 %59, label %166, label %202

.lr.ph:                                           ; preds = %.lr.ph.preheader, %160
  %.06576 = phi i64 [ %.166, %160 ], [ 1, %.lr.ph.preheader ]
  %60 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14)
  %61 = load i64, ptr %6, align 8, !tbaa !49
  %62 = trunc i64 %61 to i32
  %63 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNK6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %60, i32 noundef %52, i32 noundef %62)
  %64 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span6extentEv(ptr noundef nonnull align 8 dereferenceable(17) %63)
  %65 = load ptr, ptr %5, align 8, !tbaa !44
  %66 = getelementptr inbounds i8, ptr %65, i64 8
  %67 = load i64, ptr %6, align 8, !tbaa !49
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %67) #9
  store i64 %64, ptr %68, align 8, !tbaa !49
  %69 = load ptr, ptr %5, align 8, !tbaa !44
  %70 = getelementptr inbounds i8, ptr %69, i64 8
  %71 = load i64, ptr %6, align 8, !tbaa !49
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef %71) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #9
  %73 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3minEv(ptr noundef nonnull align 8 dereferenceable(17) %63)
  %74 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3minEv(ptr noundef nonnull align 8 dereferenceable(17) %63)
  call void @_ZN6Halide8Internal13Autoscheduler4SpanC2Ellb(ptr noundef nonnull align 8 dereferenceable(17) %7, i64 noundef %73, i64 noundef %74, i1 noundef zeroext true)
  %75 = load i64, ptr %6, align 8, !tbaa !49
  %76 = trunc i64 %75 to i32
  %77 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %46, i32 noundef %52, i32 noundef %76)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(17) %77, ptr noundef nonnull align 8 dereferenceable(17) %7, i64 17, i1 false), !tbaa.struct !51
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #9
  %78 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3maxEv(ptr noundef nonnull align 8 dereferenceable(17) %63)
  %79 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3minEv(ptr noundef nonnull align 8 dereferenceable(17) %63)
  %.not = icmp slt i64 %78, %79
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  br i1 %.not, label %80, label %95

80:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 384, ptr nonnull %9) #9
  call void @_ZN6Halide8Internal11ErrorReportC1EPKciS3_i(ptr noundef nonnull align 8 dereferenceable(380) %9, ptr noundef nonnull @.str.3, i32 noundef 1203, ptr noundef nonnull @.str.37, i32 noundef 0)
  %81 = call noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReport3refEv(ptr noundef nonnull align 8 dereferenceable(380) %9)
  %82 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsImEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %81, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %83 unwind label %144

83:                                               ; preds = %80
  %84 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIA2_cEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %82, ptr noundef nonnull align 1 dereferenceable(2) @.str.13)
          to label %85 unwind label %144

85:                                               ; preds = %83
  %86 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3maxEv(ptr noundef nonnull align 8 dereferenceable(17) %63)
  store i64 %86, ptr %10, align 8, !tbaa !49
  %87 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIlEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %84, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %88 unwind label %146

88:                                               ; preds = %85
  %89 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIA2_cEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %87, ptr noundef nonnull align 1 dereferenceable(2) @.str.13)
          to label %90 unwind label %146

90:                                               ; preds = %88
  %91 = call noundef i64 @_ZNK6Halide8Internal13Autoscheduler4Span3minEv(ptr noundef nonnull align 8 dereferenceable(17) %63)
  store i64 %91, ptr %11, align 8, !tbaa !49
  %92 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIlEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %89, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %93 unwind label %148

93:                                               ; preds = %90
  %94 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReportlsIA2_cEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(380) %92, ptr noundef nonnull align 1 dereferenceable(2) @.str.9)
          to label %96 unwind label %148

95:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %.critedge72

96:                                               ; preds = %93
  call void @_ZN6Halide8Internal9VoidifieranERNS0_11ErrorReportE(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 8 dereferenceable(380) %94)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380) %9)
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %9) #9
  br label %.critedge72

.critedge72:                                      ; preds = %95, %96
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  %97 = load i32, ptr %23, align 4, !tbaa !53
  %.not70 = icmp eq i32 %97, 0
  br i1 %.not70, label %153, label %98

98:                                               ; preds = %.critedge72
  %99 = load ptr, ptr %5, align 8, !tbaa !44
  %100 = getelementptr inbounds i8, ptr %99, i64 8
  %101 = load i64, ptr %6, align 8, !tbaa !49
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %101) #9
  %103 = load i64, ptr %102, align 8, !tbaa !49
  %104 = icmp sgt i64 %103, 0
  br i1 %104, label %105, label %153

105:                                              ; preds = %98
  %106 = call noundef nonnull align 8 dereferenceable(1368) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %indvars.iv.next) #9
  %107 = getelementptr inbounds i8, ptr %106, i64 16
  %108 = load i64, ptr %6, align 8, !tbaa !49
  %109 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %108) #9
  %110 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Halide8Internal8Function4argsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(24) %24)
  %111 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %110, i64 noundef %25) #9
  %112 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %109, ptr noundef nonnull align 8 dereferenceable(32) %111) #9
  br i1 %112, label %113, label %153

113:                                              ; preds = %105
  %114 = load i64, ptr %6, align 8, !tbaa !49
  %115 = trunc i64 %114 to i32
  %116 = load ptr, ptr %5, align 8, !tbaa !44
  %117 = getelementptr inbounds i8, ptr %116, i64 192
  store i32 %115, ptr %117, align 8, !tbaa !48
  %118 = getelementptr inbounds i8, ptr %116, i64 176
  %119 = load ptr, ptr %118, align 8, !tbaa !46
  %120 = getelementptr inbounds i8, ptr %119, i64 44
  %121 = load i32, ptr %120, align 4, !tbaa !85
  %122 = sext i32 %121 to i64
  %123 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %46, i32 noundef %52, i32 noundef %115)
  call void @_ZN6Halide8Internal13Autoscheduler4Span10set_extentEl(ptr noundef nonnull align 8 dereferenceable(17) %123, i64 noundef %122)
  %124 = add nsw i64 %122, -1
  %125 = load ptr, ptr %5, align 8, !tbaa !44
  %126 = getelementptr inbounds i8, ptr %125, i64 8
  %127 = load i64, ptr %6, align 8, !tbaa !49
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %127) #9
  %129 = load i64, ptr %128, align 8, !tbaa !49
  %130 = add nsw i64 %124, %129
  store i64 %130, ptr %128, align 8, !tbaa !49
  %131 = load ptr, ptr %5, align 8, !tbaa !44
  %132 = getelementptr inbounds i8, ptr %131, i64 8
  %133 = load i64, ptr %6, align 8, !tbaa !49
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %133) #9
  %135 = load i64, ptr %134, align 8, !tbaa !49
  %136 = sdiv i64 %135, %122
  store i64 %136, ptr %134, align 8, !tbaa !49
  %137 = load ptr, ptr %5, align 8, !tbaa !44
  %138 = getelementptr inbounds i8, ptr %137, i64 8
  %139 = load i64, ptr %6, align 8, !tbaa !49
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %139) #9
  %141 = load i64, ptr %140, align 8, !tbaa !49
  %142 = sdiv i64 %141, 2
  %143 = mul nsw i64 %142, %122
  br label %160

144:                                              ; preds = %83, %80
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %151

146:                                              ; preds = %88, %85
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %150

148:                                              ; preds = %93, %90
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %150

150:                                              ; preds = %148, %146
  %.pn = phi { ptr, i32 } [ %149, %148 ], [ %147, %146 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %151

151:                                              ; preds = %144, %150
  %.pn.pn = phi { ptr, i32 } [ %.pn, %150 ], [ %145, %144 ]
  invoke void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380) %9)
          to label %152 unwind label %205

152:                                              ; preds = %151
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  resume { ptr, i32 } %.pn.pn

153:                                              ; preds = %105, %98, %.critedge72
  %154 = load ptr, ptr %5, align 8, !tbaa !44
  %155 = getelementptr inbounds i8, ptr %154, i64 8
  %156 = load i64, ptr %6, align 8, !tbaa !49
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %155, i64 noundef %156) #9
  %158 = load i64, ptr %157, align 8, !tbaa !49
  %159 = sdiv i64 %158, 2
  br label %160

160:                                              ; preds = %153, %113
  %.sink84 = phi i64 [ %159, %153 ], [ %143, %113 ]
  %.166 = phi i64 [ %.06576, %153 ], [ %122, %113 ]
  %.sink = load i64, ptr %6, align 8, !tbaa !49
  %161 = trunc i64 %.sink to i32
  %162 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %46, i32 noundef %52, i32 noundef %161)
  call void @_ZN6Halide8Internal13Autoscheduler4Span9translateEl(ptr noundef nonnull align 8 dereferenceable(17) %162, i64 noundef %.sink84)
  %163 = load i64, ptr %6, align 8, !tbaa !49
  %164 = add i64 %163, 1
  store i64 %164, ptr %6, align 8, !tbaa !49
  %165 = icmp ult i64 %164, %49
  br i1 %165, label %.lr.ph, label %._crit_edge, !llvm.loop !107

166:                                              ; preds = %._crit_edge
  %167 = getelementptr inbounds i8, ptr %55, i64 184
  store i8 0, ptr %167, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %168 = call noalias noundef nonnull dereferenceable(200) ptr @_Znwm(i64 noundef 200) #10
  call void @_ZN6Halide8Internal13Autoscheduler8LoopNestC2Ev(ptr noundef nonnull align 8 dereferenceable(196) %168) #9
  store ptr %168, ptr %12, align 8, !tbaa !44
  %169 = load ptr, ptr %5, align 8, !tbaa !44
  %170 = getelementptr inbounds i8, ptr %169, i64 168
  %171 = getelementptr inbounds i8, ptr %168, i64 168
  %172 = load <2 x ptr>, ptr %170, align 8, !tbaa !44
  store <2 x ptr> %172, ptr %171, align 8, !tbaa !44
  %173 = getelementptr inbounds i8, ptr %168, i64 185
  store i8 0, ptr %173, align 1, !tbaa !5
  %174 = getelementptr inbounds i8, ptr %169, i64 192
  %175 = load i32, ptr %174, align 8, !tbaa !48
  %176 = getelementptr inbounds i8, ptr %168, i64 192
  store i32 %175, ptr %176, align 8, !tbaa !48
  %177 = getelementptr inbounds i8, ptr %168, i64 188
  store i32 %3, ptr %177, align 4, !tbaa !50
  %178 = getelementptr inbounds i8, ptr %168, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  store i64 1, ptr %13, align 8, !tbaa !49
  call void @_ZNSt6vectorIlSaIlEE6resizeEmRKl(ptr noundef nonnull align 8 dereferenceable(24) %178, i64 noundef %49, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  %179 = load ptr, ptr %12, align 8, !tbaa !44
  %180 = getelementptr inbounds i8, ptr %179, i64 184
  store i8 1, ptr %180, align 8, !tbaa !47
  %181 = load ptr, ptr %5, align 8, !tbaa !44
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10get_boundsEPKNS1_11FunctionDAG4NodeE(ptr noundef nonnull align 8 dereferenceable(196) %181, ptr noundef %1)
  %183 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %182)
  %184 = call noundef ptr @_ZNK6Halide8Internal13Autoscheduler13BoundContents9make_copyEv(ptr noundef nonnull align 8 dereferenceable(16) %183)
  %185 = load ptr, ptr %5, align 8, !tbaa !44
  %186 = getelementptr inbounds i8, ptr %185, i64 192
  %187 = load i32, ptr %186, align 8, !tbaa !48
  %188 = trunc nuw nsw i64 %indvars.iv.next to i32
  %189 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %184, i32 noundef %188, i32 noundef %187)
  call void @_ZN6Halide8Internal13Autoscheduler4Span10set_extentEl(ptr noundef nonnull align 8 dereferenceable(17) %189, i64 noundef 1)
  %190 = load ptr, ptr %12, align 8, !tbaa !44
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10set_boundsEPKNS1_11FunctionDAG4NodeEPNS1_13BoundContentsE(ptr noundef nonnull align 8 dereferenceable(196) %190, ptr noundef %1, ptr noundef nonnull %184)
  %192 = load ptr, ptr %12, align 8, !tbaa !44
  %193 = getelementptr inbounds i8, ptr %192, i64 8
  %194 = load ptr, ptr %5, align 8, !tbaa !44
  %195 = getelementptr inbounds i8, ptr %194, i64 192
  %196 = load i32, ptr %195, align 8, !tbaa !48
  %197 = sext i32 %196 to i64
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %193, i64 noundef %197) #9
  store i64 %.065.lcssa, ptr %198, align 8, !tbaa !49
  %199 = load ptr, ptr %5, align 8, !tbaa !44
  %200 = getelementptr inbounds i8, ptr %199, i64 32
  %201 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE12emplace_backIJRPS4_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %200, ptr noundef nonnull align 8 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %202

202:                                              ; preds = %166, %._crit_edge
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE12emplace_backIJRPS4_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  %204 = icmp sgt i64 %indvars.iv, 1
  br i1 %204, label %28, label %._crit_edge81, !llvm.loop !109

205:                                              ; preds = %151
  %206 = landingpad { ptr, i32 }
          catch ptr null
  %207 = extractvalue { ptr, i32 } %206, 0
  call void @__clang_call_terminate(ptr %207) #11
  unreachable
}

; 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 uwtable
declare dso_local void @_ZNSt6vectorIlSaIlEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) 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 nounwind uwtable
declare dso_local void @_ZN6Halide8Internal13Autoscheduler4Span10set_extentEl(ptr noundef nonnull align 8 dereferenceable(17), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Halide8Internal13Autoscheduler4Span9translateEl(ptr noundef nonnull align 8 dereferenceable(17), i64 noundef) local_unnamed_addr #2 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

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 = { 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 #4 = { "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 = { 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 #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { 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, !43, i64 185}
!6 = !{!"_ZTSN6Halide8Internal13Autoscheduler8LoopNestE", !7, i64 0, !13, i64 8, !18, i64 32, !22, i64 56, !28, i64 88, !37, i64 136, !17, i64 168, !17, i64 176, !43, i64 184, !43, i64 185, !43, i64 186, !10, i64 188, !10, i64 192}
!7 = !{!"_ZTSN6Halide8Internal8RefCountE", !8, i64 0}
!8 = !{!"_ZTSSt6atomicIiE", !9, i64 0}
!9 = !{!"_ZTSSt13__atomic_baseIiE", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSSt6vectorIlSaIlEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"any pointer", !11, i64 0}
!18 = !{!"_ZTSSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!22 = !{!"_ZTS14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE", !23, i64 0, !10, i64 24, !27, i64 28}
!23 = !{!"_ZTSSt6vectorISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!27 = !{!"_ZTSN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterEUt_E", !11, i64 0}
!28 = !{!"_ZTSSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EE", !29, i64 0}
!29 = !{!"_ZTSSt8_Rb_treeIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeES6_St9_IdentityIS6_ESt4lessIS6_ESaIS6_EE", !30, i64 0}
!30 = !{!"_ZTSNSt8_Rb_treeIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeES6_St9_IdentityIS6_ESt4lessIS6_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !31, i64 0, !33, i64 8}
!31 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEEE", !32, i64 0}
!32 = !{!"_ZTSSt4lessIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEE"}
!33 = !{!"_ZTSSt15_Rb_tree_header", !34, i64 0, !36, i64 32}
!34 = !{!"_ZTSSt18_Rb_tree_node_base", !35, i64 0, !17, i64 8, !17, i64 16, !17, i64 24}
!35 = !{!"_ZTSSt14_Rb_tree_color", !11, i64 0}
!36 = !{!"long", !11, i64 0}
!37 = !{!"_ZTS14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterE", !38, i64 0, !10, i64 24, !42, i64 28}
!38 = !{!"_ZTSSt6vectorISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!42 = !{!"_ZTSN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterEUt_E", !11, i64 0}
!43 = !{!"bool", !11, i64 0}
!44 = !{!17, !17, i64 0}
!45 = !{!6, !17, i64 168}
!46 = !{!6, !17, i64 176}
!47 = !{!6, !43, i64 184}
!48 = !{!6, !10, i64 192}
!49 = !{!36, !36, i64 0}
!50 = !{!6, !10, i64 188}
!51 = !{i64 0, i64 8, !49, i64 8, i64 8, !49, i64 16, i64 1, !52}
!52 = !{!43, !43, i64 0}
!53 = !{!54, !10, i64 180}
!54 = !{!"_ZTSN6Halide8Internal13Autoscheduler11FunctionDAG4NodeE", !17, i64 0, !55, i64 8, !58, i64 32, !59, i64 40, !63, i64 64, !67, i64 88, !43, i64 112, !71, i64 120, !75, i64 144, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !43, i64 184, !43, i64 185, !43, i64 186, !43, i64 187, !43, i64 188, !79, i64 192}
!55 = !{!"_ZTSN6Halide8Internal8FunctionE", !56, i64 0}
!56 = !{!"_ZTSN6Halide8Internal11FunctionPtrE", !57, i64 0, !17, i64 8, !10, i64 16}
!57 = !{!"_ZTSN6Halide8Internal12IntrusivePtrINS0_13FunctionGroupEEE", !17, i64 0}
!58 = !{!"double", !11, i64 0}
!59 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG16SymbolicIntervalESaIS4_EE", !60, i64 0}
!60 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG16SymbolicIntervalESaIS4_EE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG16SymbolicIntervalESaIS4_EE12_Vector_implE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG16SymbolicIntervalESaIS4_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!63 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler4SpanESaIS3_EE", !64, i64 0}
!64 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler4SpanESaIS3_EE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler4SpanESaIS3_EE12_Vector_implE", !66, i64 0}
!66 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler4SpanESaIS3_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!67 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node18RegionComputedInfoESaIS5_EE", !68, i64 0}
!68 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node18RegionComputedInfoESaIS5_EE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node18RegionComputedInfoESaIS5_EE12_Vector_implE", !70, i64 0}
!70 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node18RegionComputedInfoESaIS5_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!71 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE", !72, i64 0}
!72 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE", !73, i64 0}
!73 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE12_Vector_implE", !74, i64 0}
!74 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!75 = !{!"_ZTSSt6vectorIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE", !76, i64 0}
!76 = !{!"_ZTSSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE", !77, i64 0}
!77 = !{!"_ZTSNSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE12_Vector_implE", !78, i64 0}
!78 = !{!"_ZTSNSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!79 = !{!"_ZTSSt10unique_ptrIN6Halide8Internal13Autoscheduler13BoundContents6LayoutESt14default_deleteIS4_EE", !80, i64 0}
!80 = !{!"_ZTSSt15__uniq_ptr_dataIN6Halide8Internal13Autoscheduler13BoundContents6LayoutESt14default_deleteIS4_ELb1ELb1EE", !81, i64 0}
!81 = !{!"_ZTSSt15__uniq_ptr_implIN6Halide8Internal13Autoscheduler13BoundContents6LayoutESt14default_deleteIS4_EE", !82, i64 0}
!82 = !{!"_ZTSSt5tupleIJPN6Halide8Internal13Autoscheduler13BoundContents6LayoutESt14default_deleteIS4_EEE", !83, i64 0}
!83 = !{!"_ZTSSt11_Tuple_implILm0EJPN6Halide8Internal13Autoscheduler13BoundContents6LayoutESt14default_deleteIS4_EEE", !84, i64 0}
!84 = !{!"_ZTSSt10_Head_baseILm0EPN6Halide8Internal13Autoscheduler13BoundContents6LayoutELb0EE", !17, i64 0}
!85 = !{!86, !10, i64 44}
!86 = !{!"_ZTSN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageE", !17, i64 0, !10, i64 8, !87, i64 16, !43, i64 40, !10, i64 44, !91, i64 48, !92, i64 1200, !99, i64 1264, !10, i64 1296, !10, i64 1300, !75, i64 1304, !101, i64 1328}
!87 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE", !88, i64 0}
!88 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE", !89, i64 0}
!89 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE12_Vector_implE", !90, i64 0}
!90 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!91 = !{!"_ZTSN6Halide8Internal16PipelineFeaturesE", !11, i64 0, !11, i64 28, !11, i64 700, !11, i64 812, !11, i64 924, !11, i64 1036}
!92 = !{!"_ZTSN6Halide5StageE", !55, i64 0, !93, i64 24, !36, i64 32, !95, i64 40}
!93 = !{!"_ZTSN6Halide8Internal10DefinitionE", !94, i64 0}
!94 = !{!"_ZTSN6Halide8Internal12IntrusivePtrINS0_18DefinitionContentsEEE", !17, i64 0}
!95 = !{!"_ZTSSt6vectorIN6Halide3VarESaIS1_EE", !96, i64 0}
!96 = !{!"_ZTSSt12_Vector_baseIN6Halide3VarESaIS1_EE", !97, i64 0}
!97 = !{!"_ZTSNSt12_Vector_baseIN6Halide3VarESaIS1_EE12_Vector_implE", !98, i64 0}
!98 = !{!"_ZTSNSt12_Vector_baseIN6Halide3VarESaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!99 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !100, i64 0, !36, i64 8, !11, i64 16}
!100 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !17, i64 0}
!101 = !{!"_ZTSSt6vectorIbSaIbEE", !102, i64 0}
!102 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !103, i64 0}
!103 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !104, i64 0}
!104 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !105, i64 0, !105, i64 16, !17, i64 32}
!105 = !{!"_ZTSSt13_Bit_iterator", !106, i64 0}
!106 = !{!"_ZTSSt18_Bit_iterator_base", !17, i64 0, !10, i64 8}
!107 = distinct !{!107, !108}
!108 = !{!"llvm.loop.mustprogress"}
!109 = distinct !{!109, !108}


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