; 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::Voidifier" = type { i8 }
%"struct.Halide::Internal::ErrorReport" = type <{ %"class.std::__cxx11::basic_ostringstream", i32, [4 x i8] }>
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.Halide::Internal::aslog" = type { i8 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.PerfectHashMap<Halide::Internal::Autoscheduler::FunctionDAG::Node, long>::const_iterator" = type { ptr, ptr }
%"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 }>

@.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.26 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [10 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: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { ptr, ptr } @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE3endEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK6Halide8Internal13Autoscheduler8LoopNest4dumpENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKS2_(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef %1, ptr noundef %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.Halide::Internal::Voidifier", align 1
  %8 = alloca %"struct.Halide::Internal::ErrorReport", align 8
  %9 = alloca i1, align 1
  %10 = alloca i1, align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.Halide::Internal::aslog", align 1
  %14 = alloca i64, align 8
  %15 = alloca %"class.Halide::Internal::aslog", align 1
  %16 = alloca %"class.Halide::Internal::aslog", align 1
  %17 = alloca %"class.Halide::Internal::aslog", align 1
  %18 = alloca %"class.Halide::Internal::aslog", align 1
  %19 = alloca %"class.Halide::Internal::aslog", align 1
  %20 = alloca %"class.Halide::Internal::aslog", align 1
  %21 = alloca %"class.Halide::Internal::aslog", align 1
  %22 = alloca %"class.Halide::Internal::aslog", align 1
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %25 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.Halide::Internal::aslog", align 1
  %28 = alloca i64, align 8
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"struct.PerfectHashMap<Halide::Internal::Autoscheduler::FunctionDAG::Node, long>::const_iterator", align 8
  %31 = alloca %"struct.PerfectHashMap<Halide::Internal::Autoscheduler::FunctionDAG::Node, long>::const_iterator", align 8
  %32 = alloca %"class.Halide::Internal::aslog", align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %33 = load ptr, ptr %4, align 8
  %34 = call noundef zeroext i1 @_ZNK6Halide8Internal13Autoscheduler8LoopNest7is_rootEv(ptr noundef nonnull align 8 dereferenceable(196) %33)
  br i1 %34, label %119, label %35

35:                                               ; preds = %3
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = icmp ne ptr %36, null
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  store i1 false, ptr %9, align 1
  store i1 false, ptr %10, align 1
  br i1 %37, label %38, label %39

38:                                               ; preds = %35
  br label %43

39:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 384, ptr %8) #6
  store i1 true, ptr %9, align 1
  call void @_ZN6Halide8Internal11ErrorReportC1EPKciS3_i(ptr noundef nonnull align 8 dereferenceable(380) %8, ptr noundef @.str.3, i32 noundef 1007, ptr noundef @.str.26, i32 noundef 0)
  store i1 true, ptr %10, align 1
  %40 = invoke noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReport3refEv(ptr noundef nonnull align 8 dereferenceable(380) %8)
          to label %41 unwind label %63

41:                                               ; preds = %39
  invoke void @_ZN6Halide8Internal9VoidifieranERNS0_11ErrorReportE(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef nonnull align 8 dereferenceable(380) %40)
          to label %42 unwind label %63

42:                                               ; preds = %41
  br label %43

43:                                               ; preds = %42, %38
  %44 = load i1, ptr %10, align 1
  br i1 %44, label %45, label %46

45:                                               ; preds = %43
  call void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380) %8)
  br label %46

46:                                               ; preds = %45, %43
  %47 = load i1, ptr %9, align 1
  br i1 %47, label %48, label %49

48:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 384, ptr %8) #6
  br label %49

49:                                               ; preds = %48, %46
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %13, i32 noundef 0)
  %50 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %13, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %51 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 7
  %52 = load ptr, ptr %51, align 8, !tbaa !9
  %53 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %52, i32 0, i32 1
  %54 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Halide8Internal8Function4nameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(24) %53)
  %55 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %50, ptr noundef nonnull align 8 dereferenceable(32) %54)
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  %56 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef @.str.13)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store i64 0, ptr %14, align 8, !tbaa !45
  br label %57

57:                                               ; preds = %108, %49
  %58 = load i64, ptr %14, align 8, !tbaa !45
  %59 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 2
  %60 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #6
  %61 = icmp ult i64 %58, %60
  br i1 %61, label %74, label %62

62:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %111

63:                                               ; preds = %41, %39
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %11, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %12, align 4
  %67 = load i1, ptr %10, align 1
  br i1 %67, label %68, label %70

68:                                               ; preds = %63
  invoke void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380) %8)
          to label %69 unwind label %218

69:                                               ; preds = %68
  br label %70

70:                                               ; preds = %69, %63
  %71 = load i1, ptr %9, align 1
  br i1 %71, label %72, label %73

72:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 384, ptr %8) #6
  br label %73

73:                                               ; preds = %72, %70
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  br label %213

74:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %15, i32 noundef 0)
  %75 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %15, ptr noundef nonnull align 1 dereferenceable(2) @.str.13)
  %76 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 2
  %77 = load i64, ptr %14, align 8, !tbaa !45
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %77) #6
  %79 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKlEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %75, ptr noundef nonnull align 8 dereferenceable(8) %78)
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  %80 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 9
  %81 = load i8, ptr %80, align 8, !tbaa !46, !range !47, !noundef !48
  %82 = trunc i8 %81 to i1
  br i1 %82, label %83, label %91

83:                                               ; preds = %74
  %84 = load i64, ptr %14, align 8, !tbaa !45
  %85 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 14
  %86 = load i32, ptr %85, align 8, !tbaa !49
  %87 = sext i32 %86 to i64
  %88 = icmp eq i64 %84, %87
  br i1 %88, label %89, label %91

89:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %16, i32 noundef 0)
  %90 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef nonnull align 1 dereferenceable(2) @.str.27)
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  br label %91

91:                                               ; preds = %89, %83, %74
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 7
  %94 = load ptr, ptr %93, align 8, !tbaa !9
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10get_boundsEPKNS1_11FunctionDAG4NodeE(ptr noundef nonnull align 8 dereferenceable(196) %92, ptr noundef %94)
  %96 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %95)
  %97 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 8
  %98 = load ptr, ptr %97, align 8, !tbaa !50
  %99 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage", ptr %98, i32 0, i32 1
  %100 = load i32, ptr %99, align 8, !tbaa !51
  %101 = load i64, ptr %14, align 8, !tbaa !45
  %102 = trunc i64 %101 to i32
  %103 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNK6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %96, i32 noundef %100, i32 noundef %102)
  %104 = call noundef zeroext i1 @_ZNK6Halide8Internal13Autoscheduler4Span15constant_extentEv(ptr noundef nonnull align 8 dereferenceable(17) %103)
  br i1 %104, label %105, label %107

105:                                              ; preds = %91
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %17, i32 noundef 0)
  %106 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %17, ptr noundef nonnull align 1 dereferenceable(2) @.str.28)
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  br label %107

107:                                              ; preds = %105, %91
  br label %108

108:                                              ; preds = %107
  %109 = load i64, ptr %14, align 8, !tbaa !45
  %110 = add i64 %109, 1
  store i64 %110, ptr %14, align 8, !tbaa !45
  br label %57, !llvm.loop !80

111:                                              ; preds = %62
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %18, i32 noundef 0)
  %112 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA3_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %18, ptr noundef nonnull align 1 dereferenceable(3) @.str.29)
  %113 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 14
  %114 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKiEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %112, ptr noundef nonnull align 4 dereferenceable(4) %113)
  %115 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA3_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %114, ptr noundef nonnull align 1 dereferenceable(3) @.str.30)
  %116 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 13
  %117 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKiEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %115, ptr noundef nonnull align 4 dereferenceable(4) %116)
  %118 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %117, ptr noundef nonnull align 1 dereferenceable(2) @.str.31)
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %119

119:                                              ; preds = %111, %3
  %120 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 10
  %121 = load i8, ptr %120, align 1, !tbaa !82, !range !47, !noundef !48
  %122 = trunc i8 %121 to i1
  br i1 %122, label %123, label %125

123:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %19, i32 noundef 0)
  %124 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA3_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %19, ptr noundef nonnull align 1 dereferenceable(3) @.str.32)
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  br label %125

125:                                              ; preds = %123, %119
  %126 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 9
  %127 = load i8, ptr %126, align 8, !tbaa !46, !range !47, !noundef !48
  %128 = trunc i8 %127 to i1
  br i1 %128, label %129, label %131

129:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %20, i32 noundef 0)
  %130 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA4_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %20, ptr noundef nonnull align 1 dereferenceable(4) @.str.33)
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  br label %140

131:                                              ; preds = %125
  %132 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 11
  %133 = load i8, ptr %132, align 2, !tbaa !83, !range !47, !noundef !48
  %134 = trunc i8 %133 to i1
  br i1 %134, label %135, label %137

135:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %21, i32 noundef 0)
  %136 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA4_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %21, ptr noundef nonnull align 1 dereferenceable(4) @.str.34)
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  br label %139

137:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %22, i32 noundef 0)
  %138 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %22, ptr noundef nonnull align 1 dereferenceable(2) @.str.9)
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  br label %139

139:                                              ; preds = %137, %135
  br label %140

140:                                              ; preds = %139, %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %141 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 5
  store ptr %141, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %142 = load ptr, ptr %23, align 8, !tbaa !5
  %143 = call ptr @_ZNKSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %142) #6
  %144 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %24, i32 0, i32 0
  store ptr %143, ptr %144, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %145 = load ptr, ptr %23, align 8, !tbaa !5
  %146 = call ptr @_ZNKSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %145) #6
  %147 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %25, i32 0, i32 0
  store ptr %146, ptr %147, align 8
  br label %148

148:                                              ; preds = %161, %140
  %149 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEES9_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  br i1 %149, label %151, label %150

150:                                              ; preds = %148
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %163

151:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  store ptr %153, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #6
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %27, i32 noundef 0)
  %154 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %27, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %155 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA10_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %154, ptr noundef nonnull align 1 dereferenceable(10) @.str.35)
  %156 = load ptr, ptr %26, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %156, i32 0, i32 1
  %158 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Halide8Internal8Function4nameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(24) %157)
  %159 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %155, ptr noundef nonnull align 8 dereferenceable(32) %158)
  %160 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %159, ptr noundef nonnull align 1 dereferenceable(2) @.str.9)
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %161

161:                                              ; preds = %151
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  br label %148

163:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %164 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 3
  %165 = call noundef i64 @_ZNKSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %164) #6
  store i64 %165, ptr %28, align 8, !tbaa !45
  br label %166

166:                                              ; preds = %177, %163
  %167 = load i64, ptr %28, align 8, !tbaa !45
  %168 = icmp ugt i64 %167, 0
  br i1 %168, label %170, label %169

169:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %184

170:                                              ; preds = %166
  %171 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 3
  %172 = load i64, ptr %28, align 8, !tbaa !45
  %173 = sub i64 %172, 1
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %171, i64 noundef %173) #6
  %175 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler8LoopNestEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %174)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %1)
  invoke void @_ZNK6Halide8Internal13Autoscheduler8LoopNest4dumpENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKS2_(ptr noundef nonnull align 8 dereferenceable(196) %175, ptr noundef %29, ptr noundef %33)
          to label %176 unwind label %180

176:                                              ; preds = %170
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  br label %177

177:                                              ; preds = %176
  %178 = load i64, ptr %28, align 8, !tbaa !45
  %179 = add i64 %178, -1
  store i64 %179, ptr %28, align 8, !tbaa !45
  br label %166, !llvm.loop !84

180:                                              ; preds = %170
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %11, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %213

184:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #6
  %185 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 4
  %186 = call { ptr, ptr } @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %185)
  %187 = getelementptr inbounds { ptr, ptr }, ptr %30, i32 0, i32 0
  %188 = extractvalue { ptr, ptr } %186, 0
  store ptr %188, ptr %187, align 8
  %189 = getelementptr inbounds { ptr, ptr }, ptr %30, i32 0, i32 1
  %190 = extractvalue { ptr, ptr } %186, 1
  store ptr %190, ptr %189, align 8
  br label %191

191:                                              ; preds = %211, %184
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #6
  %192 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %33, i32 0, i32 4
  %193 = call { ptr, ptr } @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %192)
  %194 = getelementptr inbounds { ptr, ptr }, ptr %31, i32 0, i32 0
  %195 = extractvalue { ptr, ptr } %193, 0
  store ptr %195, ptr %194, align 8
  %196 = getelementptr inbounds { ptr, ptr }, ptr %31, i32 0, i32 1
  %197 = extractvalue { ptr, ptr } %193, 1
  store ptr %197, ptr %196, align 8
  %198 = call noundef zeroext i1 @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE14const_iteratorneERKS7_(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(16) %31)
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #6
  br i1 %198, label %200, label %199

199:                                              ; preds = %191
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  br label %212

200:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #6
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %32, i32 noundef 0)
  %201 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %32, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %202 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA10_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %201, ptr noundef nonnull align 1 dereferenceable(10) @.str.36)
  %203 = call noundef ptr @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE14const_iterator3keyEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
  %204 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %203, i32 0, i32 1
  %205 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Halide8Internal8Function4nameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(24) %204)
  %206 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %202, ptr noundef nonnull align 8 dereferenceable(32) %205)
  %207 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %206, ptr noundef nonnull align 1 dereferenceable(2) @.str.13)
  %208 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE14const_iterator5valueEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
  %209 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKlEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %207, ptr noundef nonnull align 8 dereferenceable(8) %208)
  %210 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %209, ptr noundef nonnull align 1 dereferenceable(2) @.str.9)
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #6
  br label %211

211:                                              ; preds = %200
  call void @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE14const_iteratorppEi(ptr noundef nonnull align 8 dereferenceable(16) %30, i32 noundef 0)
  br label %191, !llvm.loop !85

212:                                              ; preds = %199
  ret void

213:                                              ; preds = %180, %73
  %214 = load ptr, ptr %11, align 8
  %215 = load i32, ptr %12, align 4
  %216 = insertvalue { ptr, i32 } poison, ptr %214, 0
  %217 = insertvalue { ptr, i32 } %216, i32 %215, 1
  resume { ptr, i32 } %217

218:                                              ; preds = %68
  %219 = landingpad { ptr, i32 }
          catch ptr null
  %220 = extractvalue { ptr, i32 } %219, 0
  call void @__clang_call_terminate(ptr %220) #7
  unreachable
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


; 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::Voidifier" = type { i8 }
%"struct.Halide::Internal::ErrorReport" = type <{ %"class.std::__cxx11::basic_ostringstream", i32, [4 x i8] }>
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.Halide::Internal::aslog" = type { i8 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.PerfectHashMap<Halide::Internal::Autoscheduler::FunctionDAG::Node, long>::const_iterator" = type { ptr, 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.26 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [10 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 nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK6Halide8Internal13Autoscheduler8LoopNest4dumpENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKS2_(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.Halide::Internal::Voidifier", align 1
  %5 = alloca %"struct.Halide::Internal::ErrorReport", align 8
  %6 = alloca %"class.Halide::Internal::aslog", align 1
  %7 = alloca %"class.Halide::Internal::aslog", align 1
  %8 = alloca %"class.Halide::Internal::aslog", align 1
  %9 = alloca %"class.Halide::Internal::aslog", align 1
  %10 = alloca %"class.Halide::Internal::aslog", align 1
  %11 = alloca %"class.Halide::Internal::aslog", align 1
  %12 = alloca %"class.Halide::Internal::aslog", align 1
  %13 = alloca %"class.Halide::Internal::aslog", align 1
  %14 = alloca %"class.Halide::Internal::aslog", align 1
  %15 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %16 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %17 = alloca %"class.Halide::Internal::aslog", align 1
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"struct.PerfectHashMap<Halide::Internal::Autoscheduler::FunctionDAG::Node, long>::const_iterator", align 8
  %20 = alloca %"struct.PerfectHashMap<Halide::Internal::Autoscheduler::FunctionDAG::Node, long>::const_iterator", align 8
  %21 = alloca %"class.Halide::Internal::aslog", align 1
  %22 = tail call noundef zeroext i1 @_ZNK6Halide8Internal13Autoscheduler8LoopNest7is_rootEv(ptr noundef nonnull align 8 dereferenceable(196) %0)
  br i1 %22, label %71, label %23

23:                                               ; preds = %3
  %.not = icmp eq ptr %2, null
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #5
  br i1 %.not, label %.critedge, label %.critedge21

.critedge:                                        ; preds = %23
  call void @llvm.lifetime.start.p0(i64 384, ptr nonnull %5) #5
  call void @_ZN6Halide8Internal11ErrorReportC1EPKciS3_i(ptr noundef nonnull align 8 dereferenceable(380) %5, ptr noundef nonnull @.str.3, i32 noundef 1007, ptr noundef nonnull @.str.26, i32 noundef 0)
  %24 = call noundef nonnull align 8 dereferenceable(380) ptr @_ZN6Halide8Internal11ErrorReport3refEv(ptr noundef nonnull align 8 dereferenceable(380) %5)
  call void @_ZN6Halide8Internal9VoidifieranERNS0_11ErrorReportE(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 8 dereferenceable(380) %24)
  call void @_ZN6Halide8Internal11ErrorReportD1Ev(ptr noundef nonnull align 8 dereferenceable(380) %5)
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %5) #5
  br label %.critedge21

.critedge21:                                      ; preds = %23, %.critedge
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #5
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %6, i32 noundef 0)
  %25 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %26 = getelementptr inbounds i8, ptr %0, i64 168
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %27, i64 8
  %29 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Halide8Internal8Function4nameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(24) %28)
  %30 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %25, ptr noundef nonnull align 8 dereferenceable(32) %29)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  %31 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.13)
  %32 = getelementptr inbounds i8, ptr %0, i64 8
  %33 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  %.not37 = icmp eq i64 %33, 0
  br i1 %.not37, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.critedge21
  %34 = getelementptr inbounds i8, ptr %0, i64 184
  %35 = getelementptr inbounds i8, ptr %0, i64 192
  %36 = getelementptr inbounds i8, ptr %0, i64 176
  br label %44

._crit_edge:                                      ; preds = %67, %.critedge21
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #5
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %10, i32 noundef 0)
  %37 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA3_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 1 dereferenceable(3) @.str.29)
  %38 = getelementptr inbounds i8, ptr %0, i64 192
  %39 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKiEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %37, ptr noundef nonnull align 4 dereferenceable(4) %38)
  %40 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA3_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %39, ptr noundef nonnull align 1 dereferenceable(3) @.str.30)
  %41 = getelementptr inbounds i8, ptr %0, i64 188
  %42 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKiEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %40, ptr noundef nonnull align 4 dereferenceable(4) %41)
  %43 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %42, ptr noundef nonnull align 1 dereferenceable(2) @.str.31)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  br label %71

44:                                               ; preds = %.lr.ph, %67
  %.01925 = phi i64 [ 0, %.lr.ph ], [ %68, %67 ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %7, i32 noundef 0)
  %45 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef nonnull align 1 dereferenceable(2) @.str.13)
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %.01925) #5
  %47 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKlEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %45, ptr noundef nonnull align 8 dereferenceable(8) %46)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  %48 = load i8, ptr %34, align 8, !tbaa !44, !range !45, !noundef !46
  %49 = trunc nuw i8 %48 to i1
  %50 = load i32, ptr %35, align 8
  %51 = sext i32 %50 to i64
  %52 = icmp eq i64 %.01925, %51
  %or.cond = select i1 %49, i1 %52, i1 false
  br i1 %or.cond, label %53, label %55

53:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %8, i32 noundef 0)
  %54 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 1 dereferenceable(2) @.str.27)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  br label %55

55:                                               ; preds = %53, %44
  %56 = load ptr, ptr %26, align 8, !tbaa !5
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler8LoopNest10get_boundsEPKNS1_11FunctionDAG4NodeE(ptr noundef nonnull align 8 dereferenceable(196) %2, ptr noundef %56)
  %58 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler13BoundContentsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %57)
  %59 = load ptr, ptr %36, align 8, !tbaa !47
  %60 = getelementptr inbounds i8, ptr %59, i64 8
  %61 = load i32, ptr %60, align 8, !tbaa !48
  %62 = trunc i64 %.01925 to i32
  %63 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNK6Halide8Internal13Autoscheduler13BoundContents5loopsEii(ptr noundef nonnull align 8 dereferenceable(16) %58, i32 noundef %61, i32 noundef %62)
  %64 = call noundef zeroext i1 @_ZNK6Halide8Internal13Autoscheduler4Span15constant_extentEv(ptr noundef nonnull align 8 dereferenceable(17) %63)
  br i1 %64, label %65, label %67

65:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #5
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 0)
  %66 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %9, ptr noundef nonnull align 1 dereferenceable(2) @.str.28)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  br label %67

67:                                               ; preds = %55, %65
  %68 = add nuw i64 %.01925, 1
  %69 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  %70 = icmp ult i64 %68, %69
  br i1 %70, label %44, label %._crit_edge, !llvm.loop !77

71:                                               ; preds = %._crit_edge, %3
  %72 = getelementptr inbounds i8, ptr %0, i64 185
  %73 = load i8, ptr %72, align 1, !tbaa !79, !range !45, !noundef !46
  %74 = trunc nuw i8 %73 to i1
  br i1 %74, label %75, label %77

75:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %11, i32 noundef 0)
  %76 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA3_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 1 dereferenceable(3) @.str.32)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  br label %77

77:                                               ; preds = %75, %71
  %78 = getelementptr inbounds i8, ptr %0, i64 184
  %79 = load i8, ptr %78, align 8, !tbaa !44, !range !45, !noundef !46
  %80 = trunc nuw i8 %79 to i1
  br i1 %80, label %81, label %83

81:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #5
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %12, i32 noundef 0)
  %82 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA4_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef nonnull align 1 dereferenceable(4) @.str.33)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  br label %91

83:                                               ; preds = %77
  %84 = getelementptr inbounds i8, ptr %0, i64 186
  %85 = load i8, ptr %84, align 2, !tbaa !80, !range !45, !noundef !46
  %86 = trunc nuw i8 %85 to i1
  br i1 %86, label %87, label %89

87:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #5
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %13, i32 noundef 0)
  %88 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA4_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %13, ptr noundef nonnull align 1 dereferenceable(4) @.str.34)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  br label %91

89:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %14, i32 noundef 0)
  %90 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 1 dereferenceable(2) @.str.9)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  br label %91

91:                                               ; preds = %87, %89, %81
  %92 = getelementptr inbounds i8, ptr %0, i64 88
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %93 = call ptr @_ZNKSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %92) #5
  store ptr %93, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %94 = call ptr @_ZNKSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %92) #5
  store ptr %94, ptr %16, align 8
  %95 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEES9_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  br i1 %95, label %.lr.ph27, label %._crit_edge28

._crit_edge28:                                    ; preds = %.lr.ph27, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  %96 = getelementptr inbounds i8, ptr %0, i64 32
  %97 = call noundef i64 @_ZNKSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %96) #5
  %.not2029 = icmp eq i64 %97, 0
  br i1 %.not2029, label %._crit_edge33, label %.lr.ph32

.lr.ph27:                                         ; preds = %91, %.lr.ph27
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %99 = load ptr, ptr %98, align 8, !tbaa !81
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #5
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %17, i32 noundef 0)
  %100 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %17, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %101 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA10_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %100, ptr noundef nonnull align 1 dereferenceable(10) @.str.35)
  %102 = getelementptr inbounds i8, ptr %99, i64 8
  %103 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Halide8Internal8Function4nameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(24) %102)
  %104 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %101, ptr noundef nonnull align 8 dereferenceable(32) %103)
  %105 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %104, ptr noundef nonnull align 1 dereferenceable(2) @.str.9)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #5
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %107 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEES9_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  br i1 %107, label %.lr.ph27, label %._crit_edge28

._crit_edge33:                                    ; preds = %121, %._crit_edge28
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #5
  %108 = getelementptr inbounds i8, ptr %0, i64 56
  %109 = call { ptr, ptr } @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %108)
  %110 = extractvalue { ptr, ptr } %109, 0
  store ptr %110, ptr %19, align 8
  %111 = getelementptr inbounds i8, ptr %19, i64 8
  %112 = extractvalue { ptr, ptr } %109, 1
  store ptr %112, ptr %111, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #5
  %113 = call { ptr, ptr } @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %108)
  %114 = extractvalue { ptr, ptr } %113, 0
  store ptr %114, ptr %20, align 8
  %115 = getelementptr inbounds i8, ptr %20, i64 8
  %116 = extractvalue { ptr, ptr } %113, 1
  store ptr %116, ptr %115, align 8
  %117 = call noundef zeroext i1 @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE14const_iteratorneERKS7_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %20)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  br i1 %117, label %.lr.ph35, label %._crit_edge36

.lr.ph32:                                         ; preds = %._crit_edge28, %121
  %.030 = phi i64 [ %118, %121 ], [ %97, %._crit_edge28 ]
  %118 = add i64 %.030, -1
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %118) #5
  %120 = call noundef ptr @_ZNK6Halide8Internal12IntrusivePtrIKNS0_13Autoscheduler8LoopNestEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %119)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %1)
  invoke void @_ZNK6Halide8Internal13Autoscheduler8LoopNest4dumpENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKS2_(ptr noundef nonnull align 8 dereferenceable(196) %120, ptr noundef nonnull %18, ptr noundef nonnull %0)
          to label %121 unwind label %122

121:                                              ; preds = %.lr.ph32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  %.not20 = icmp eq i64 %118, 0
  br i1 %.not20, label %._crit_edge33, label %.lr.ph32, !llvm.loop !82

122:                                              ; preds = %.lr.ph32
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  resume { ptr, i32 } %123

._crit_edge36:                                    ; preds = %.lr.ph35, %._crit_edge33
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #5
  ret void

.lr.ph35:                                         ; preds = %._crit_edge33, %.lr.ph35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #5
  call void @_ZN6Halide8Internal5aslogC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %21, i32 noundef 0)
  %124 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %21, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %125 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA10_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %124, ptr noundef nonnull align 1 dereferenceable(10) @.str.36)
  %126 = call noundef ptr @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE14const_iterator3keyEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
  %127 = getelementptr inbounds i8, ptr %126, i64 8
  %128 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Halide8Internal8Function4nameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(24) %127)
  %129 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %125, ptr noundef nonnull align 8 dereferenceable(32) %128)
  %130 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %129, ptr noundef nonnull align 1 dereferenceable(2) @.str.13)
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE14const_iterator5valueEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
  %132 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRKlEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %130, ptr noundef nonnull align 8 dereferenceable(8) %131)
  %133 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6Halide8Internal5asloglsIRA2_KcEERS1_OT_(ptr noundef nonnull align 1 dereferenceable(1) %132, ptr noundef nonnull align 1 dereferenceable(2) @.str.9)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  call void @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE14const_iteratorppEi(ptr noundef nonnull align 8 dereferenceable(16) %19, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #5
  %134 = call { ptr, ptr } @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %108)
  %135 = extractvalue { ptr, ptr } %134, 0
  store ptr %135, ptr %20, align 8
  %136 = extractvalue { ptr, ptr } %134, 1
  store ptr %136, ptr %115, align 8
  %137 = call noundef zeroext i1 @_ZNK14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE14const_iteratorneERKS7_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %20)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  br i1 %137, label %.lr.ph35, label %._crit_edge36, !llvm.loop !83
}

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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, !17, i64 168}
!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 = !{!6, !43, i64 184}
!45 = !{i8 0, i8 2}
!46 = !{}
!47 = !{!6, !17, i64 176}
!48 = !{!49, !10, i64 8}
!49 = !{!"_ZTSN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageE", !17, i64 0, !10, i64 8, !50, i64 16, !43, i64 40, !10, i64 44, !54, i64 48, !55, i64 1200, !65, i64 1264, !10, i64 1296, !10, i64 1300, !67, i64 1304, !71, i64 1328}
!50 = !{!"_ZTSSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal13Autoscheduler11FunctionDAG4Node4LoopESaIS5_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!54 = !{!"_ZTSN6Halide8Internal16PipelineFeaturesE", !11, i64 0, !11, i64 28, !11, i64 700, !11, i64 812, !11, i64 924, !11, i64 1036}
!55 = !{!"_ZTSN6Halide5StageE", !56, i64 0, !59, i64 24, !36, i64 32, !61, i64 40}
!56 = !{!"_ZTSN6Halide8Internal8FunctionE", !57, i64 0}
!57 = !{!"_ZTSN6Halide8Internal11FunctionPtrE", !58, i64 0, !17, i64 8, !10, i64 16}
!58 = !{!"_ZTSN6Halide8Internal12IntrusivePtrINS0_13FunctionGroupEEE", !17, i64 0}
!59 = !{!"_ZTSN6Halide8Internal10DefinitionE", !60, i64 0}
!60 = !{!"_ZTSN6Halide8Internal12IntrusivePtrINS0_18DefinitionContentsEEE", !17, i64 0}
!61 = !{!"_ZTSSt6vectorIN6Halide3VarESaIS1_EE", !62, i64 0}
!62 = !{!"_ZTSSt12_Vector_baseIN6Halide3VarESaIS1_EE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseIN6Halide3VarESaIS1_EE12_Vector_implE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseIN6Halide3VarESaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!65 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !66, i64 0, !36, i64 8, !11, i64 16}
!66 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !17, i64 0}
!67 = !{!"_ZTSSt6vectorIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE", !68, i64 0}
!68 = !{!"_ZTSSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE12_Vector_implE", !70, i64 0}
!70 = !{!"_ZTSNSt12_Vector_baseIPN6Halide8Internal13Autoscheduler11FunctionDAG4EdgeESaIS5_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!71 = !{!"_ZTSSt6vectorIbSaIbEE", !72, i64 0}
!72 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !73, i64 0}
!73 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !74, i64 0}
!74 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !75, i64 0, !75, i64 16, !17, i64 32}
!75 = !{!"_ZTSSt13_Bit_iterator", !76, i64 0}
!76 = !{!"_ZTSSt18_Bit_iterator_base", !17, i64 0, !10, i64 8}
!77 = distinct !{!77, !78}
!78 = !{!"llvm.loop.mustprogress"}
!79 = !{!6, !43, i64 185}
!80 = !{!6, !43, i64 186}
!81 = !{!17, !17, i64 0}
!82 = distinct !{!82, !78}
!83 = distinct !{!83, !78}


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