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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.Halide::Expr" = type { %"struct.Halide::Internal::IRHandle" }
%"struct.Halide::Internal::IRHandle" = type { %"struct.Halide::Internal::IntrusivePtr.64" }
%"struct.Halide::Internal::IntrusivePtr.64" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.201" = type { ptr }
%"class.Halide::Internal::Autoscheduler::(anonymous namespace)::Featurizer" = type { %"class.Halide::Internal::IRVisitor", ptr, ptr, %"class.Halide::Internal::Scope.204", %"class.Halide::Internal::Scope.210" }
%"class.Halide::Internal::IRVisitor" = type { ptr }
%"class.Halide::Internal::Scope.204" = type { %"class.std::map.205", ptr }
%"class.std::map.205" = type { %"class.std::_Rb_tree.206" }
%"class.std::_Rb_tree.206" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Expr>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Expr>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Expr>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Expr>>>, std::less<std::__cxx11::basic_string<char>>>::_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.Halide::Internal::Scope.210" = type { %"class.std::map.211", ptr }
%"class.std::map.211" = type { %"class.std::_Rb_tree.212" }
%"class.std::_Rb_tree.212" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Internal::Autoscheduler::OptionalRational>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Internal::Autoscheduler::OptionalRational>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Internal::Autoscheduler::OptionalRational>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Internal::Autoscheduler::OptionalRational>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.Halide::Internal::Definition" = type { %"struct.Halide::Internal::IntrusivePtr.51" }
%"struct.Halide::Internal::IntrusivePtr.51" = type { 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.__gnu_cxx::__normal_iterator.160" = type { ptr }
%"struct.Halide::Type" = type { %struct.halide_type_t, ptr }
%struct.halide_type_t = type { i8, i8, i16 }
%"class.std::vector.143" = type { %"struct.std::_Vector_base.144" }
%"struct.std::_Vector_base.144" = type { %"struct.std::_Vector_base<Halide::Expr, std::allocator<Halide::Expr>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Expr, std::allocator<Halide::Expr>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Expr, std::allocator<Halide::Expr>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Expr, std::allocator<Halide::Expr>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Halide::Internal::Autoscheduler::FunctionDAG" = type { %"class.std::vector.93", %"class.std::vector.98" }
%"class.std::vector.93" = type { %"struct.std::_Vector_base.94" }
%"struct.std::_Vector_base.94" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Internal::Autoscheduler::FunctionDAG::Node, std::allocator<Halide::Internal::Autoscheduler::FunctionDAG::Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.98" = type { %"struct.std::_Vector_base.99" }
%"struct.std::_Vector_base.99" = 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 }
%"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node" = type { ptr, %"class.Halide::Internal::Function", double, %"class.std::vector.19", %"class.std::vector.24", %"class.std::vector.29", i8, %"class.std::vector.34", %"class.std::vector.39", 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.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = 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.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = 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.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = 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.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = 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.39" = type { %"struct.std::_Vector_base.40" }
%"struct.std::_Vector_base.40" = 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.45" }
%"struct.std::_Head_base.45" = type { ptr }
%"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage" = type { ptr, i32, %"class.std::vector.46", i8, i32, %"struct.Halide::Internal::PipelineFeatures", %"class.Halide::Stage", %"class.std::__cxx11::basic_string", i32, i32, %"class.std::vector.39", %"class.std::vector.57" }
%"class.std::vector.46" = type { %"struct.std::_Vector_base.47" }
%"struct.std::_Vector_base.47" = 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 }
%"class.Halide::Stage" = type { %"class.Halide::Internal::Function", %"class.Halide::Internal::Definition", i64, %"class.std::vector.52" }
%"class.std::vector.52" = type { %"struct.std::_Vector_base.53" }
%"struct.std::_Vector_base.53" = 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.57" = 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 }>

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

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

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN6Halide8Internal8simplifyENS_4ExprEbRKNS0_5ScopeINS0_8IntervalEEERKNS2_INS0_16ModulusRemainderEEE(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8, ptr noundef, i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) #3

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

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

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Halide8Internal8Function7updatesEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function10definitionEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { i64, ptr } @_ZNK6Halide4Expr4typeEv(ptr noundef nonnull align 8 dereferenceable(8)) #7 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Halide8Internal13Autoscheduler11FunctionDAG9featurizeEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.201", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.201", align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.Halide::Internal::Autoscheduler::(anonymous namespace)::Featurizer", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"struct.Halide::Expr", align 8
  %14 = alloca %"struct.Halide::Expr", align 8
  %15 = alloca %"struct.Halide::Expr", align 8
  %16 = alloca %"class.Halide::Internal::Definition", align 8
  %17 = alloca %"struct.Halide::Internal::PipelineFeatures", align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.160", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.160", align 8
  %21 = alloca %"struct.Halide::Expr", align 8
  %22 = alloca %"struct.Halide::Type", align 8
  %23 = alloca %"class.std::vector.143", align 8
  %24 = alloca %"struct.Halide::Expr", align 8
  %25 = alloca %"struct.Halide::Expr", align 8
  %26 = alloca %"struct.Halide::Expr", align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.160", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.160", align 8
  %30 = alloca %"struct.Halide::Expr", align 8
  %31 = alloca %"struct.Halide::Expr", align 8
  %32 = alloca %"struct.Halide::Expr", align 8
  %33 = alloca %"struct.Halide::Expr", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %34 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  %35 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG", ptr %34, i32 0, i32 0
  store ptr %35, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #10
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = call ptr @_ZNSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #10
  %38 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.201", ptr %4, i32 0, i32 0
  store ptr %37, ptr %38, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #10
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = call ptr @_ZNSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #10
  %41 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.201", ptr %5, i32 0, i32 0
  store ptr %40, ptr %41, align 8
  br label %42

42:                                               ; preds = %248, %1
  %43 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #10
  br i1 %43, label %45, label %44

44:                                               ; preds = %42
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  br label %250

45:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  %46 = call noundef nonnull align 8 dereferenceable(200) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  store ptr %46, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  store i64 0, ptr %8, align 8, !tbaa !9
  br label %47

47:                                               ; preds = %243, %45
  %48 = load i64, ptr %8, align 8, !tbaa !9
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %49, i32 0, i32 7
  %51 = call noundef i64 @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #10
  %52 = icmp ult i64 %48, %51
  br i1 %52, label %54, label %53

53:                                               ; preds = %47
  store i32 4, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  br label %247

54:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %55, i32 0, i32 7
  %57 = load i64, ptr %8, align 8, !tbaa !9
  %58 = call noundef nonnull align 8 dereferenceable(1368) ptr @_ZNSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %57) #10
  store ptr %58, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 136, ptr %10) #10
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %59, i32 0, i32 1
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN6Halide8Internal13Autoscheduler12_GLOBAL__N_110FeaturizerC2ERNS0_8FunctionERNS1_11FunctionDAG4Node5StageE(ptr noundef nonnull align 8 dereferenceable(136) %10, ptr noundef nonnull align 8 dereferenceable(24) %60, ptr noundef nonnull align 8 dereferenceable(1368) %61)
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %62, i32 0, i32 1
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function28extern_definition_proxy_exprEv(ptr noundef nonnull align 8 dereferenceable(24) %63)
          to label %65 unwind label %82

65:                                               ; preds = %54
  %66 = invoke noundef ptr @_ZNK6Halide4Expr3getEv(ptr noundef nonnull align 8 dereferenceable(8) %64)
          to label %67 unwind label %82

67:                                               ; preds = %65
  %68 = icmp ne ptr %66, null
  br i1 %68, label %69, label %104

69:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %70, i32 0, i32 1
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function28extern_definition_proxy_exprEv(ptr noundef nonnull align 8 dereferenceable(24) %71)
          to label %73 unwind label %86

73:                                               ; preds = %69
  call void @_ZN6Halide4ExprC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %72) #10
  %74 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN6Halide8Internal5ScopeINS0_8IntervalEE11empty_scopeEv()
          to label %75 unwind label %90

75:                                               ; preds = %73
  %76 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN6Halide8Internal5ScopeINS0_16ModulusRemainderEE11empty_scopeEv()
          to label %77 unwind label %90

77:                                               ; preds = %75
  invoke void @_ZN6Halide8Internal8simplifyENS_4ExprEbRKNS0_5ScopeINS0_8IntervalEEERKNS2_INS0_16ModulusRemainderEEE(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %13, ptr noundef %14, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(56) %74, ptr noundef nonnull align 8 dereferenceable(56) %76)
          to label %78 unwind label %90

78:                                               ; preds = %77
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  invoke void @_ZN6Halide8Internal32common_subexpression_eliminationERKNS_4ExprEb(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %15, ptr noundef nonnull align 8 dereferenceable(8) %13, i1 noundef zeroext false)
          to label %79 unwind label %94

79:                                               ; preds = %78
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide4ExpraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  invoke void @_ZNK6Halide8Internal8IRHandle6acceptEPNS0_9IRVisitorE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef %10)
          to label %81 unwind label %98

81:                                               ; preds = %79
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  br label %242

82:                                               ; preds = %65, %54
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %11, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %12, align 4
  br label %246

86:                                               ; preds = %69
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %11, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %12, align 4
  br label %103

90:                                               ; preds = %77, %75, %73
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %11, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %12, align 4
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  br label %103

94:                                               ; preds = %78
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %11, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  br label %102

98:                                               ; preds = %79
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %11, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %12, align 4
  br label %102

102:                                              ; preds = %98, %94
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  br label %103

103:                                              ; preds = %102, %90, %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  br label %246

104:                                              ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %105, i32 0, i32 1
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function10definitionEv(ptr noundef nonnull align 8 dereferenceable(24) %106)
          to label %108 unwind label %121

108:                                              ; preds = %104
  call void @_ZN6Halide8Internal10DefinitionC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %107) #10
  %109 = load i64, ptr %8, align 8, !tbaa !9
  %110 = icmp ugt i64 %109, 0
  br i1 %110, label %111, label %129

111:                                              ; preds = %108
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %112, i32 0, i32 1
  %114 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Halide8Internal8Function7updatesEv(ptr noundef nonnull align 8 dereferenceable(24) %113)
          to label %115 unwind label %125

115:                                              ; preds = %111
  %116 = load i64, ptr %8, align 8, !tbaa !9
  %117 = sub i64 %116, 1
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIN6Halide8Internal10DefinitionESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %117) #10
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal10DefinitionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %118)
          to label %120 unwind label %125

120:                                              ; preds = %115
  br label %129

121:                                              ; preds = %104
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %11, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %12, align 4
  br label %241

125:                                              ; preds = %115, %111
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %11, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %12, align 4
  br label %240

129:                                              ; preds = %120, %108
  call void @llvm.lifetime.start.p0(i64 1148, ptr %17) #10
  call void @llvm.memset.p0.i64(ptr align 4 %17, i8 0, i64 1148, i1 false)
  call void @_ZN6Halide8Internal16PipelineFeaturesC2Ev(ptr noundef nonnull align 4 dereferenceable(1148) %17) #10
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node::Stage", ptr %130, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %131, ptr align 4 %17, i64 1148, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 1148, ptr %17) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %132 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6Halide8Internal10Definition6valuesEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %133 unwind label %143

133:                                              ; preds = %129
  store ptr %132, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %134 = load ptr, ptr %18, align 8, !tbaa !5
  %135 = call ptr @_ZNSt6vectorIN6Halide4ExprESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %134) #10
  %136 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.160", ptr %19, i32 0, i32 0
  store ptr %135, ptr %136, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  %137 = load ptr, ptr %18, align 8, !tbaa !5
  %138 = call ptr @_ZNSt6vectorIN6Halide4ExprESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #10
  %139 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.160", ptr %20, i32 0, i32 0
  store ptr %138, ptr %139, align 8
  br label %140

140:                                              ; preds = %175, %133
  %141 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #10
  br i1 %141, label %147, label %142

142:                                              ; preds = %140
  store i32 7, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %196

143:                                              ; preds = %129
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %11, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %12, align 4
  br label %195

147:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  call void @_ZN6Halide4ExprC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %148) #10
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::FunctionDAG::Node", ptr %149, i32 0, i32 1
  %151 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Halide8Internal8Function4nameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(24) %150)
          to label %152 unwind label %177

152:                                              ; preds = %147
  %153 = invoke { i64, ptr } @_ZNK6Halide4Expr4typeEv(ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %154 unwind label %177

154:                                              ; preds = %152
  %155 = getelementptr inbounds { i64, ptr }, ptr %22, i32 0, i32 0
  %156 = extractvalue { i64, ptr } %153, 0
  store i64 %156, ptr %155, align 8
  %157 = getelementptr inbounds { i64, ptr }, ptr %22, i32 0, i32 1
  %158 = extractvalue { i64, ptr } %153, 1
  store ptr %158, ptr %157, align 8
  %159 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6Halide8Internal10Definition4argsEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %160 unwind label %177

160:                                              ; preds = %154
  invoke void @_ZNSt6vectorIN6Halide4ExprESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %159)
          to label %161 unwind label %177

161:                                              ; preds = %160
  %162 = getelementptr inbounds { i64, ptr }, ptr %22, i32 0, i32 0
  %163 = load i64, ptr %162, align 8
  %164 = getelementptr inbounds { i64, ptr }, ptr %22, i32 0, i32 1
  %165 = load ptr, ptr %164, align 8
  invoke void @_ZN6Halide8Internal13Autoscheduler12_GLOBAL__N_110Featurizer16visit_store_argsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4TypeESt6vectorINS_4ExprESaISE_EE(ptr noundef nonnull align 8 dereferenceable(136) %10, ptr noundef nonnull align 8 dereferenceable(32) %151, i64 %163, ptr %165, ptr noundef %23)
          to label %166 unwind label %181

166:                                              ; preds = %161
  call void @_ZNSt6vectorIN6Halide4ExprESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  call void @_ZN6Halide4ExprC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %21) #10
  %167 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN6Halide8Internal5ScopeINS0_8IntervalEE11empty_scopeEv()
          to label %168 unwind label %185

168:                                              ; preds = %166
  %169 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN6Halide8Internal5ScopeINS0_16ModulusRemainderEE11empty_scopeEv()
          to label %170 unwind label %185

170:                                              ; preds = %168
  invoke void @_ZN6Halide8Internal8simplifyENS_4ExprEbRKNS0_5ScopeINS0_8IntervalEEERKNS2_INS0_16ModulusRemainderEEE(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %25, ptr noundef %26, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(56) %167, ptr noundef nonnull align 8 dereferenceable(56) %169)
          to label %171 unwind label %185

171:                                              ; preds = %170
  invoke void @_ZN6Halide8Internal32common_subexpression_eliminationERKNS_4ExprEb(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %24, ptr noundef nonnull align 8 dereferenceable(8) %25, i1 noundef zeroext false)
          to label %172 unwind label %189

172:                                              ; preds = %171
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide4ExpraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %24) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  invoke void @_ZNK6Halide8Internal8IRHandle6acceptEPNS0_9IRVisitorE(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef %10)
          to label %174 unwind label %177

174:                                              ; preds = %172
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %175

175:                                              ; preds = %174
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  br label %140

177:                                              ; preds = %172, %160, %154, %152, %147
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %11, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %12, align 4
  br label %194

181:                                              ; preds = %161
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %11, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %12, align 4
  call void @_ZNSt6vectorIN6Halide4ExprESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #10
  br label %194

185:                                              ; preds = %170, %168, %166
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %11, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %12, align 4
  br label %193

189:                                              ; preds = %171
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %11, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %12, align 4
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #10
  br label %193

193:                                              ; preds = %189, %185
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  br label %194

194:                                              ; preds = %193, %181, %177
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  br label %195

195:                                              ; preds = %194, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %240

196:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  %197 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6Halide8Internal10Definition4argsEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %198 unwind label %208

198:                                              ; preds = %196
  store ptr %197, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  %199 = load ptr, ptr %27, align 8, !tbaa !5
  %200 = call ptr @_ZNSt6vectorIN6Halide4ExprESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %199) #10
  %201 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.160", ptr %28, i32 0, i32 0
  store ptr %200, ptr %201, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #10
  %202 = load ptr, ptr %27, align 8, !tbaa !5
  %203 = call ptr @_ZNSt6vectorIN6Halide4ExprESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %202) #10
  %204 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.160", ptr %29, i32 0, i32 0
  store ptr %203, ptr %204, align 8
  br label %205

205:                                              ; preds = %222, %198
  %206 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #10
  br i1 %206, label %212, label %207

207:                                              ; preds = %205
  store i32 9, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  br label %239

208:                                              ; preds = %196
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %11, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %12, align 4
  br label %238

212:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #10
  call void @_ZN6Halide4ExprC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %213) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  call void @_ZN6Halide4ExprC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %30) #10
  %214 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN6Halide8Internal5ScopeINS0_8IntervalEE11empty_scopeEv()
          to label %215 unwind label %224

215:                                              ; preds = %212
  %216 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN6Halide8Internal5ScopeINS0_16ModulusRemainderEE11empty_scopeEv()
          to label %217 unwind label %224

217:                                              ; preds = %215
  invoke void @_ZN6Halide8Internal8simplifyENS_4ExprEbRKNS0_5ScopeINS0_8IntervalEEERKNS2_INS0_16ModulusRemainderEEE(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %32, ptr noundef %33, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(56) %214, ptr noundef nonnull align 8 dereferenceable(56) %216)
          to label %218 unwind label %224

218:                                              ; preds = %217
  invoke void @_ZN6Halide8Internal32common_subexpression_eliminationERKNS_4ExprEb(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %31, ptr noundef nonnull align 8 dereferenceable(8) %32, i1 noundef zeroext false)
          to label %219 unwind label %228

219:                                              ; preds = %218
  %220 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide4ExpraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  invoke void @_ZNK6Halide8Internal8IRHandle6acceptEPNS0_9IRVisitorE(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef %10)
          to label %221 unwind label %233

221:                                              ; preds = %219
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  br label %222

222:                                              ; preds = %221
  %223 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #10
  br label %205

224:                                              ; preds = %217, %215, %212
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %11, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %12, align 4
  br label %232

228:                                              ; preds = %218
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %11, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %12, align 4
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #10
  br label %232

232:                                              ; preds = %228, %224
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %237

233:                                              ; preds = %219
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %11, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %12, align 4
  br label %237

237:                                              ; preds = %233, %232
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  br label %238

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

239:                                              ; preds = %207
  call void @_ZN6Halide8Internal10DefinitionD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %242

240:                                              ; preds = %238, %195, %125
  call void @_ZN6Halide8Internal10DefinitionD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  br label %241

241:                                              ; preds = %240, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %246

242:                                              ; preds = %239, %81
  call void @_ZN6Halide8Internal13Autoscheduler12_GLOBAL__N_110FeaturizerD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %10) #10
  call void @llvm.lifetime.end.p0(i64 136, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  br label %243

243:                                              ; preds = %242
  %244 = load i64, ptr %8, align 8, !tbaa !9
  %245 = add i64 %244, 1
  store i64 %245, ptr %8, align 8, !tbaa !9
  br label %47, !llvm.loop !13

246:                                              ; preds = %241, %103, %82
  call void @_ZN6Halide8Internal13Autoscheduler12_GLOBAL__N_110FeaturizerD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %10) #10
  call void @llvm.lifetime.end.p0(i64 136, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  br label %251

247:                                              ; preds = %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  br label %248

248:                                              ; preds = %247
  %249 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  br label %42

250:                                              ; preds = %44
  ret void

251:                                              ; preds = %246
  %252 = load ptr, ptr %11, align 8
  %253 = load i32, ptr %12, align 4
  %254 = insertvalue { ptr, i32 } poison, ptr %252, 0
  %255 = insertvalue { ptr, i32 } %254, i32 %253, 1
  resume { ptr, i32 } %255
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN6Halide8Internal13Autoscheduler12_GLOBAL__N_110FeaturizerC2ERNS0_8FunctionERNS1_11FunctionDAG4Node5StageE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(1368)) unnamed_addr #4 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function28extern_definition_proxy_exprEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

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

declare void @_ZN6Halide8Internal32common_subexpression_eliminationERKNS_4ExprEb(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8, ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) #3

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

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN6Halide8Internal10Definition6valuesEv(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN6Halide8Internal13Autoscheduler12_GLOBAL__N_110Featurizer16visit_store_argsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4TypeESt6vectorINS_4ExprESaISE_EE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(32), i64, ptr, ptr noundef) #4 align 2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN6Halide8Internal10Definition4argsEv(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{i64 0, i64 28, !12, i64 28, i64 672, !12, i64 700, i64 112, !12, i64 812, i64 112, !12, i64 924, i64 112, !12, i64 1036, i64 112, !12}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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

%"struct.Halide::Expr" = type { %"struct.Halide::Internal::IRHandle" }
%"struct.Halide::Internal::IRHandle" = type { %"struct.Halide::Internal::IntrusivePtr.64" }
%"struct.Halide::Internal::IntrusivePtr.64" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.201" = type { ptr }
%"class.Halide::Internal::Autoscheduler::(anonymous namespace)::Featurizer" = type { %"class.Halide::Internal::IRVisitor", ptr, ptr, %"class.Halide::Internal::Scope.204", %"class.Halide::Internal::Scope.210" }
%"class.Halide::Internal::IRVisitor" = type { ptr }
%"class.Halide::Internal::Scope.204" = type { %"class.std::map.205", ptr }
%"class.std::map.205" = type { %"class.std::_Rb_tree.206" }
%"class.std::_Rb_tree.206" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Expr>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Expr>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Expr>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Expr>>>, std::less<std::__cxx11::basic_string<char>>>::_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.Halide::Internal::Scope.210" = type { %"class.std::map.211", ptr }
%"class.std::map.211" = type { %"class.std::_Rb_tree.212" }
%"class.std::_Rb_tree.212" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Internal::Autoscheduler::OptionalRational>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Internal::Autoscheduler::OptionalRational>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Internal::Autoscheduler::OptionalRational>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Halide::Internal::SmallStack<Halide::Internal::Autoscheduler::OptionalRational>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.Halide::Internal::Definition" = type { %"struct.Halide::Internal::IntrusivePtr.51" }
%"struct.Halide::Internal::IntrusivePtr.51" = type { 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.__gnu_cxx::__normal_iterator.160" = type { ptr }
%"class.std::vector.143" = type { %"struct.std::_Vector_base.144" }
%"struct.std::_Vector_base.144" = type { %"struct.std::_Vector_base<Halide::Expr, std::allocator<Halide::Expr>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Expr, std::allocator<Halide::Expr>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Expr, std::allocator<Halide::Expr>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Expr, std::allocator<Halide::Expr>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN6Halide8Internal8simplifyENS_4ExprEbRKNS0_5ScopeINS0_8IntervalEEERKNS2_INS0_16ModulusRemainderEEE(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8, ptr noundef, i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3

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

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

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Halide8Internal8Function7updatesEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function10definitionEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { i64, ptr } @_ZNK6Halide4Expr4typeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #7 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Halide8Internal13Autoscheduler11FunctionDAG9featurizeEv(ptr noundef nonnull align 8 dereferenceable(48) %0) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.__gnu_cxx::__normal_iterator.201", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.201", align 8
  %4 = alloca %"class.Halide::Internal::Autoscheduler::(anonymous namespace)::Featurizer", align 8
  %5 = alloca %"struct.Halide::Expr", align 8
  %6 = alloca %"struct.Halide::Expr", align 8
  %7 = alloca %"struct.Halide::Expr", align 8
  %8 = alloca %"class.Halide::Internal::Definition", align 8
  %9 = alloca %"struct.Halide::Internal::PipelineFeatures", align 4
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.160", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.160", align 8
  %12 = alloca %"struct.Halide::Expr", align 8
  %13 = alloca %"class.std::vector.143", align 8
  %14 = alloca %"struct.Halide::Expr", align 8
  %15 = alloca %"struct.Halide::Expr", align 8
  %16 = alloca %"struct.Halide::Expr", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.160", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.160", align 8
  %19 = alloca %"struct.Halide::Expr", align 8
  %20 = alloca %"struct.Halide::Expr", align 8
  %21 = alloca %"struct.Halide::Expr", align 8
  %22 = alloca %"struct.Halide::Expr", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #10
  %23 = tail call ptr @_ZNSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #10
  store ptr %23, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #10
  %24 = tail call ptr @_ZNSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #10
  store ptr %24, ptr %3, align 8
  %25 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  br i1 %25, label %.lr.ph60, label %._crit_edge61

._crit_edge61:                                    ; preds = %._crit_edge58, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  ret void

.lr.ph60:                                         ; preds = %1, %._crit_edge58
  %26 = call noundef nonnull align 8 dereferenceable(200) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  %27 = getelementptr inbounds i8, ptr %26, i64 120
  %28 = call noundef i64 @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #10
  %.not62 = icmp eq i64 %28, 0
  br i1 %.not62, label %._crit_edge58, label %.lr.ph57

.lr.ph57:                                         ; preds = %.lr.ph60
  %29 = getelementptr inbounds i8, ptr %26, i64 8
  br label %32

._crit_edge58:                                    ; preds = %141, %.lr.ph60
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  %31 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  br i1 %31, label %.lr.ph60, label %._crit_edge61

32:                                               ; preds = %.lr.ph57, %141
  %.054 = phi i64 [ 0, %.lr.ph57 ], [ %142, %141 ]
  %33 = call noundef nonnull align 8 dereferenceable(1368) ptr @_ZNSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %.054) #10
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %4) #10
  call void @_ZN6Halide8Internal13Autoscheduler12_GLOBAL__N_110FeaturizerC2ERNS0_8FunctionERNS1_11FunctionDAG4Node5StageE(ptr noundef nonnull align 8 dereferenceable(136) %4, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(1368) %33)
  %34 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function28extern_definition_proxy_exprEv(ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %35 unwind label %48

35:                                               ; preds = %32
  %36 = call noundef ptr @_ZNK6Halide4Expr3getEv(ptr noundef nonnull align 8 dereferenceable(8) %34)
  %.not = icmp eq ptr %36, null
  br i1 %.not, label %60, label %37

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  %38 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function28extern_definition_proxy_exprEv(ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %39 unwind label %50

39:                                               ; preds = %37
  call void @_ZN6Halide4ExprC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %38) #10
  %40 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN6Halide8Internal5ScopeINS0_8IntervalEE11empty_scopeEv()
          to label %41 unwind label %52

41:                                               ; preds = %39
  %42 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN6Halide8Internal5ScopeINS0_16ModulusRemainderEE11empty_scopeEv()
          to label %43 unwind label %52

43:                                               ; preds = %41
  invoke void @_ZN6Halide8Internal8simplifyENS_4ExprEbRKNS0_5ScopeINS0_8IntervalEEERKNS2_INS0_16ModulusRemainderEEE(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %5, ptr noundef nonnull %6, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(56) %40, ptr noundef nonnull align 8 dereferenceable(56) %42)
          to label %44 unwind label %52

44:                                               ; preds = %43
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  invoke void @_ZN6Halide8Internal32common_subexpression_eliminationERKNS_4ExprEb(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %5, i1 noundef zeroext false)
          to label %45 unwind label %54

45:                                               ; preds = %44
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide4ExpraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  invoke void @_ZNK6Halide8Internal8IRHandle6acceptEPNS0_9IRVisitorE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull %4)
          to label %47 unwind label %56

47:                                               ; preds = %45
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  br label %141

48:                                               ; preds = %32
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %145

50:                                               ; preds = %37
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %59

52:                                               ; preds = %43, %41, %39
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  br label %59

54:                                               ; preds = %44
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  br label %58

56:                                               ; preds = %45
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %58

58:                                               ; preds = %56, %54
  %.pn47 = phi { ptr, i32 } [ %57, %56 ], [ %55, %54 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #10
  br label %59

59:                                               ; preds = %58, %52, %50
  %.pn47.pn = phi { ptr, i32 } [ %.pn47, %58 ], [ %53, %52 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  br label %145

60:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #10
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function10definitionEv(ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %62 unwind label %69

62:                                               ; preds = %60
  call void @_ZN6Halide8Internal10DefinitionC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %61) #10
  %.not35 = icmp eq i64 %.054, 0
  br i1 %.not35, label %73, label %63

63:                                               ; preds = %62
  %64 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Halide8Internal8Function7updatesEv(ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %65 unwind label %71

65:                                               ; preds = %63
  %66 = add i64 %.054, -1
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIN6Halide8Internal10DefinitionESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %66) #10
  %68 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal10DefinitionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %67)
          to label %73 unwind label %71

69:                                               ; preds = %60
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %140

71:                                               ; preds = %65, %63
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %139

73:                                               ; preds = %65, %62
  call void @llvm.lifetime.start.p0(i64 1148, ptr nonnull %9) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1148) %9, i8 0, i64 1148, i1 false)
  call void @_ZN6Halide8Internal16PipelineFeaturesC2Ev(ptr noundef nonnull align 4 dereferenceable(1148) %9) #10
  %74 = getelementptr inbounds i8, ptr %33, i64 48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(1148) %74, ptr noundef nonnull align 4 dereferenceable(1148) %9, i64 1148, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 1148, ptr nonnull %9) #10
  %75 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6Halide8Internal10Definition6valuesEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %76 unwind label %81

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  %77 = call ptr @_ZNSt6vectorIN6Halide4ExprESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #10
  store ptr %77, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  %78 = call ptr @_ZNSt6vectorIN6Halide4ExprESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #10
  store ptr %78, ptr %11, align 8
  %79 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  br i1 %79, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %101, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  %80 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6Halide8Internal10Definition4argsEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %114 unwind label %118

81:                                               ; preds = %73
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %139

.lr.ph:                                           ; preds = %76, %101
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  call void @_ZN6Halide4ExprC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %83) #10
  %84 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Halide8Internal8Function4nameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %85 unwind label %104

85:                                               ; preds = %.lr.ph
  %86 = invoke { i64, ptr } @_ZNK6Halide4Expr4typeEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %87 unwind label %104

87:                                               ; preds = %85
  %88 = extractvalue { i64, ptr } %86, 0
  %89 = extractvalue { i64, ptr } %86, 1
  %90 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6Halide8Internal10Definition4argsEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %91 unwind label %104

91:                                               ; preds = %87
  invoke void @_ZNSt6vectorIN6Halide4ExprESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %90)
          to label %92 unwind label %104

92:                                               ; preds = %91
  invoke void @_ZN6Halide8Internal13Autoscheduler12_GLOBAL__N_110Featurizer16visit_store_argsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4TypeESt6vectorINS_4ExprESaISE_EE(ptr noundef nonnull align 8 dereferenceable(136) %4, ptr noundef nonnull align 8 dereferenceable(32) %84, i64 %88, ptr %89, ptr noundef nonnull %13)
          to label %93 unwind label %106

93:                                               ; preds = %92
  call void @_ZNSt6vectorIN6Halide4ExprESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  call void @_ZN6Halide4ExprC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  %94 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN6Halide8Internal5ScopeINS0_8IntervalEE11empty_scopeEv()
          to label %95 unwind label %108

95:                                               ; preds = %93
  %96 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN6Halide8Internal5ScopeINS0_16ModulusRemainderEE11empty_scopeEv()
          to label %97 unwind label %108

97:                                               ; preds = %95
  invoke void @_ZN6Halide8Internal8simplifyENS_4ExprEbRKNS0_5ScopeINS0_8IntervalEEERKNS2_INS0_16ModulusRemainderEEE(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %15, ptr noundef nonnull %16, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(56) %94, ptr noundef nonnull align 8 dereferenceable(56) %96)
          to label %98 unwind label %108

98:                                               ; preds = %97
  invoke void @_ZN6Halide8Internal32common_subexpression_eliminationERKNS_4ExprEb(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %15, i1 noundef zeroext false)
          to label %99 unwind label %110

99:                                               ; preds = %98
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide4ExpraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  invoke void @_ZNK6Halide8Internal8IRHandle6acceptEPNS0_9IRVisitorE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull %4)
          to label %101 unwind label %104

101:                                              ; preds = %99
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  %103 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  br i1 %103, label %.lr.ph, label %._crit_edge

104:                                              ; preds = %99, %91, %87, %85, %.lr.ph
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %113

106:                                              ; preds = %92
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN6Halide4ExprESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #10
  br label %113

108:                                              ; preds = %97, %95, %93
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %112

110:                                              ; preds = %98
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  br label %112

112:                                              ; preds = %110, %108
  %.pn40 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  br label %113

113:                                              ; preds = %112, %106, %104
  %.pn42 = phi { ptr, i32 } [ %105, %104 ], [ %.pn40, %112 ], [ %107, %106 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  br label %139

114:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #10
  %115 = call ptr @_ZNSt6vectorIN6Halide4ExprESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #10
  store ptr %115, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  %116 = call ptr @_ZNSt6vectorIN6Halide4ExprESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #10
  store ptr %116, ptr %18, align 8
  %117 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  br i1 %117, label %.lr.ph52, label %._crit_edge53

._crit_edge53:                                    ; preds = %128, %114
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  call void @_ZN6Halide8Internal10DefinitionD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  br label %141

118:                                              ; preds = %._crit_edge
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %139

.lr.ph52:                                         ; preds = %114, %128
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #10
  call void @_ZN6Halide4ExprC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %120) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #10
  call void @_ZN6Halide4ExprC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  %121 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN6Halide8Internal5ScopeINS0_8IntervalEE11empty_scopeEv()
          to label %122 unwind label %131

122:                                              ; preds = %.lr.ph52
  %123 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN6Halide8Internal5ScopeINS0_16ModulusRemainderEE11empty_scopeEv()
          to label %124 unwind label %131

124:                                              ; preds = %122
  invoke void @_ZN6Halide8Internal8simplifyENS_4ExprEbRKNS0_5ScopeINS0_8IntervalEEERKNS2_INS0_16ModulusRemainderEEE(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %21, ptr noundef nonnull %22, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(56) %121, ptr noundef nonnull align 8 dereferenceable(56) %123)
          to label %125 unwind label %131

125:                                              ; preds = %124
  invoke void @_ZN6Halide8Internal32common_subexpression_eliminationERKNS_4ExprEb(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %20, ptr noundef nonnull align 8 dereferenceable(8) %21, i1 noundef zeroext false)
          to label %126 unwind label %133

126:                                              ; preds = %125
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide4ExpraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #10
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #10
  invoke void @_ZNK6Halide8Internal8IRHandle6acceptEPNS0_9IRVisitorE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull %4)
          to label %128 unwind label %136

128:                                              ; preds = %126
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #10
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #10
  %130 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Halide4ExprESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  br i1 %130, label %.lr.ph52, label %._crit_edge53

131:                                              ; preds = %124, %122, %.lr.ph52
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %135

133:                                              ; preds = %125
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #10
  br label %135

135:                                              ; preds = %133, %131
  %.pn = phi { ptr, i32 } [ %134, %133 ], [ %132, %131 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #10
  br label %138

136:                                              ; preds = %126
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %138

138:                                              ; preds = %136, %135
  %.pn37 = phi { ptr, i32 } [ %137, %136 ], [ %.pn, %135 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  br label %139

139:                                              ; preds = %118, %138, %81, %113, %71
  %.pn42.pn.pn = phi { ptr, i32 } [ %72, %71 ], [ %.pn42, %113 ], [ %82, %81 ], [ %.pn37, %138 ], [ %119, %118 ]
  call void @_ZN6Halide8Internal10DefinitionD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  br label %140

140:                                              ; preds = %139, %69
  %.pn42.pn.pn.pn = phi { ptr, i32 } [ %.pn42.pn.pn, %139 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  br label %145

141:                                              ; preds = %._crit_edge53, %47
  call void @_ZN6Halide8Internal13Autoscheduler12_GLOBAL__N_110FeaturizerD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %4) #10
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %4) #10
  %142 = add nuw i64 %.054, 1
  %143 = call noundef i64 @_ZNKSt6vectorIN6Halide8Internal13Autoscheduler11FunctionDAG4Node5StageESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #10
  %144 = icmp ult i64 %142, %143
  br i1 %144, label %32, label %._crit_edge58, !llvm.loop !9

145:                                              ; preds = %140, %59, %48
  %.pn47.pn.pn = phi { ptr, i32 } [ %.pn47.pn, %59 ], [ %.pn42.pn.pn.pn, %140 ], [ %49, %48 ]
  call void @_ZN6Halide8Internal13Autoscheduler12_GLOBAL__N_110FeaturizerD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %4) #10
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  resume { ptr, i32 } %.pn47.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN6Halide8Internal13Autoscheduler12_GLOBAL__N_110FeaturizerC2ERNS0_8FunctionERNS1_11FunctionDAG4Node5StageE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(1368)) unnamed_addr #4 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function28extern_definition_proxy_exprEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

declare void @_ZN6Halide8Internal32common_subexpression_eliminationERKNS_4ExprEb(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8, ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #3

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

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN6Halide8Internal10Definition6valuesEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN6Halide8Internal13Autoscheduler12_GLOBAL__N_110Featurizer16visit_store_argsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4TypeESt6vectorINS_4ExprESaISE_EE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(32), i64, ptr, ptr noundef) local_unnamed_addr #4 align 2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN6Halide8Internal10Definition4argsEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { alwaysinline 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 #8 = { 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 #9 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { 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 = !{i64 0, i64 28, !6, i64 28, i64 672, !6, i64 700, i64 112, !6, i64 812, i64 112, !6, i64 924, i64 112, !6, i64 1036, i64 112, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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