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

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.Halide::Expr" = type { %"struct.Halide::Internal::IRHandle" }
%"struct.Halide::Internal::IRHandle" = type { %"struct.Halide::Internal::IntrusivePtr.5" }
%"struct.Halide::Internal::IntrusivePtr.5" = type { ptr }
%"class.Halide::FuncRef" = type { %"class.Halide::Internal::Function", i32, i32, %"class.std::vector.6" }
%"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.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = 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 }
%"class.Halide::Stage" = type { %"class.Halide::Internal::Function", %"class.Halide::Internal::Definition", i64, %"class.std::vector" }
%"class.Halide::Internal::Definition" = type { %"struct.Halide::Internal::IntrusivePtr.1" }
%"struct.Halide::Internal::IntrusivePtr.1" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.Halide::Var" = type { %"class.std::__cxx11::basic_string" }
%"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::allocator" = type { i8 }
%"class.Halide::RDom" = type { %"class.Halide::Internal::ReductionDomain", %"class.Halide::RVar", %"class.Halide::RVar", %"class.Halide::RVar", %"class.Halide::RVar" }
%"class.Halide::Internal::ReductionDomain" = type { %"struct.Halide::Internal::IntrusivePtr.34" }
%"struct.Halide::Internal::IntrusivePtr.34" = type { ptr }
%"class.Halide::RVar" = type <{ %"class.std::__cxx11::basic_string", %"class.Halide::Internal::ReductionDomain", i32, [4 x i8] }>
%"class.Halide::Buffer.35" = type { ptr, %"struct.Halide::Internal::IntrusivePtr.11" }
%"struct.Halide::Internal::IntrusivePtr.11" = type { ptr }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.Halide::Func" = type { %"class.Halide::Internal::Function", %"class.Halide::Pipeline" }
%"class.Halide::Pipeline" = type { %"struct.Halide::Internal::IntrusivePtr.0" }
%"struct.Halide::Internal::IntrusivePtr.0" = type { ptr }
%"struct.Halide::ExternFuncArgument" = type { i32, [4 x i8], %"struct.Halide::Internal::FunctionPtr", %"class.Halide::Buffer", %"struct.Halide::Expr", %"class.Halide::Internal::Parameter" }
%"class.Halide::Buffer" = type { ptr, %"struct.Halide::Internal::IntrusivePtr.11" }
%"class.Halide::Internal::Parameter" = type { ptr, %"struct.Halide::Internal::IntrusivePtr.12" }
%"struct.Halide::Internal::IntrusivePtr.12" = type { ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::allocator.2" = type { i8 }
%"struct.Halide::Type" = type { %struct.halide_type_t, ptr }
%struct.halide_type_t = type { i8, i8, i16 }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<Halide::ExternFuncArgument, std::allocator<Halide::ExternFuncArgument>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::ExternFuncArgument, std::allocator<Halide::ExternFuncArgument>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::ExternFuncArgument, std::allocator<Halide::ExternFuncArgument>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::ExternFuncArgument, std::allocator<Halide::ExternFuncArgument>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list.18" = type { ptr, i64 }
%"class.std::allocator.15" = type { i8 }
%"class.std::vector.36" = type { %"struct.std::_Vector_base.37" }
%"struct.std::_Vector_base.37" = type { %"struct.std::_Vector_base<Halide::Type, std::allocator<Halide::Type>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Type, std::allocator<Halide::Type>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Type, std::allocator<Halide::Type>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Type, std::allocator<Halide::Type>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list.41" = type { ptr, i64 }
%"class.std::allocator.38" = type { i8 }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<Halide::Internal::Function, std::allocator<Halide::Internal::Function>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Internal::Function, std::allocator<Halide::Internal::Function>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Internal::Function, std::allocator<Halide::Internal::Function>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Internal::Function, std::allocator<Halide::Internal::Function>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Halide::Internal::Autoscheduler::FunctionDAG" = type { %"class.std::vector.24", %"class.std::vector.29" }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = 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.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = 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 }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.11 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1

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

; Function Attrs: 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

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

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

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN6Halide3VarC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 2

declare void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

declare void @_ZN6HalidemlENS_4ExprES0_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8, ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind noalias writable sret(%"struct.Halide::Expr") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind noalias writable sret(%"class.Halide::FuncRef") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

declare void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind writable sret(%"class.Halide::Stage") align 8, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) #4

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, ptr } @_ZN6Halide5FloatEii(i32 noundef, i32 noundef) #7

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind noalias writable sret(%"class.Halide::Internal::Function") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

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

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef, ptr noundef) #4

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

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

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

declare void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGC1ERKSt6vectorINS0_8FunctionESaIS4_EERKNS_13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler11FunctionDAG4dumpERSo(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z11test_matmulRKN6Halide13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.Halide::Var", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.Halide::Var", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.Halide::Var", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.Halide::RDom", align 8
  %17 = alloca %"struct.Halide::Expr", align 8
  %18 = alloca %"struct.Halide::Expr", align 8
  %19 = alloca %"class.Halide::Buffer.35", align 8
  %20 = alloca %"class.Halide::Buffer.35", align 8
  %21 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %22 = alloca %"class.Halide::Func", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca %"class.Halide::Func", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca %"struct.Halide::ExternFuncArgument", align 8
  %29 = alloca %"class.Halide::Buffer.35", align 8
  %30 = alloca %"struct.Halide::ExternFuncArgument", align 8
  %31 = alloca %"class.Halide::Buffer.35", align 8
  %32 = alloca %"class.std::vector", align 8
  %33 = alloca %"class.std::initializer_list", align 8
  %34 = alloca [2 x %"class.Halide::Var"], align 8
  %35 = alloca ptr, align 8
  %36 = alloca %"class.std::allocator.2", align 1
  %37 = alloca %"struct.Halide::Type", align 8
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::allocator", align 1
  %40 = alloca %"class.std::vector.13", align 8
  %41 = alloca %"class.std::initializer_list.18", align 8
  %42 = alloca [2 x %"struct.Halide::ExternFuncArgument"], align 8
  %43 = alloca %"class.std::allocator.15", align 1
  %44 = alloca %"class.std::vector.36", align 8
  %45 = alloca %"class.std::initializer_list.41", align 8
  %46 = alloca [2 x %"struct.Halide::Type"], align 8
  %47 = alloca %"class.std::allocator.38", align 1
  %48 = alloca %"struct.Halide::Expr", align 8
  %49 = alloca %"struct.Halide::Expr", align 8
  %50 = alloca %"struct.Halide::Expr", align 8
  %51 = alloca %"struct.Halide::Expr", align 8
  %52 = alloca %"class.Halide::RDom", align 8
  %53 = alloca %"struct.Halide::Expr", align 8
  %54 = alloca %"struct.Halide::Expr", align 8
  %55 = alloca %"class.Halide::Var", align 8
  %56 = alloca %"class.std::__cxx11::basic_string", align 8
  %57 = alloca %"class.std::allocator", align 1
  %58 = alloca %"class.Halide::Internal::Function", align 8
  %59 = alloca %"class.Halide::Stage", align 8
  %60 = alloca %"class.Halide::FuncRef", align 8
  %61 = alloca %"class.Halide::FuncRef", align 8
  %62 = alloca %"class.Halide::Var", align 8
  %63 = alloca %"struct.Halide::Expr", align 8
  %64 = alloca %"struct.Halide::Expr", align 8
  %65 = alloca %"class.Halide::Var", align 8
  %66 = alloca %"struct.Halide::Expr", align 8
  %67 = alloca %"struct.Halide::Expr", align 8
  %68 = alloca %"class.std::vector.19", align 8
  %69 = alloca %"class.Halide::Internal::Function", align 8
  %70 = alloca %"struct.Halide::Internal::Autoscheduler::FunctionDAG", align 8
  %71 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %72 = alloca %"class.Halide::Func", align 8
  %73 = alloca %"class.std::__cxx11::basic_string", align 8
  %74 = alloca %"class.std::allocator", align 1
  %75 = alloca %"class.Halide::Func", align 8
  %76 = alloca %"class.std::__cxx11::basic_string", align 8
  %77 = alloca %"class.std::allocator", align 1
  %78 = alloca %"class.Halide::Stage", align 8
  %79 = alloca %"struct.Halide::Expr", align 8
  %80 = alloca %"struct.Halide::Expr", align 8
  %81 = alloca %"struct.Halide::Expr", align 8
  %82 = alloca %"struct.Halide::Expr", align 8
  %83 = alloca %"class.Halide::RDom", align 8
  %84 = alloca %"struct.Halide::Expr", align 8
  %85 = alloca %"struct.Halide::Expr", align 8
  %86 = alloca %"class.Halide::Var", align 8
  %87 = alloca %"class.std::__cxx11::basic_string", align 8
  %88 = alloca %"class.std::allocator", align 1
  %89 = alloca %"class.Halide::FuncRef", align 8
  %90 = alloca %"class.Halide::Stage", align 8
  %91 = alloca %"class.Halide::FuncRef", align 8
  %92 = alloca %"class.Halide::FuncRef", align 8
  %93 = alloca %"class.Halide::Var", align 8
  %94 = alloca %"struct.Halide::Expr", align 8
  %95 = alloca %"struct.Halide::Expr", align 8
  %96 = alloca %"class.Halide::Var", align 8
  %97 = alloca %"struct.Halide::Expr", align 8
  %98 = alloca %"struct.Halide::Expr", align 8
  %99 = alloca %"class.std::vector.19", align 8
  %100 = alloca %"class.Halide::Internal::Function", align 8
  %101 = alloca %"struct.Halide::Internal::Autoscheduler::FunctionDAG", align 8
  %102 = alloca %"class.std::__cxx11::basic_string", align 8
  %103 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %104 unwind label %251

104:                                              ; preds = %2
  invoke void @_ZN6Halide3VarC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %105 unwind label %255

105:                                              ; preds = %104
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %106 unwind label %260

106:                                              ; preds = %105
  invoke void @_ZN6Halide3VarC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %107 unwind label %264

107:                                              ; preds = %106
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %108 unwind label %269

108:                                              ; preds = %107
  invoke void @_ZN6Halide3VarC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %109 unwind label %273

109:                                              ; preds = %108
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 200, ptr %16) #8
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 0)
          to label %110 unwind label %278

110:                                              ; preds = %109
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef 200)
          to label %111 unwind label %282

111:                                              ; preds = %110
  invoke void @_ZN6Halide4RDomC2IJEEENS_4ExprES2_DpOT_(ptr noundef nonnull align 8 dereferenceable(200) %16, ptr noundef %17, ptr noundef %18)
          to label %112 unwind label %286

112:                                              ; preds = %111
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  invoke void @_ZN6Halide6BufferIfEC2IJiEvEEiDpT_(ptr noundef nonnull align 8 dereferenceable(16) %19, i32 noundef 200, i32 noundef 200)
          to label %113 unwind label %291

113:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  invoke void @_ZN6Halide6BufferIfEC2IJiEvEEiDpT_(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef 200, i32 noundef 200)
          to label %114 unwind label %295

114:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 376, ptr %21) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %21)
          to label %115 unwind label %299

115:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %116 unwind label %303

116:                                              ; preds = %115
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %117 unwind label %307

117:                                              ; preds = %116
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %118 unwind label %312

118:                                              ; preds = %117
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %119 unwind label %316

119:                                              ; preds = %118
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr %28) #8
  call void @_ZN6Halide6BufferIfEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  invoke void @_ZN6Halide18ExternFuncArgumentC2IfEENS_6BufferIT_EE(ptr noundef nonnull align 8 dereferenceable(72) %28, ptr noundef %29)
          to label %120 unwind label %321

120:                                              ; preds = %119
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr %30) #8
  call void @_ZN6Halide6BufferIfEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  invoke void @_ZN6Halide18ExternFuncArgumentC2IfEENS_6BufferIT_EE(ptr noundef nonnull align 8 dereferenceable(72) %30, ptr noundef %31)
          to label %121 unwind label %325

121:                                              ; preds = %120
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %34) #8
  store ptr %34, ptr %35, align 8
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %122 unwind label %329

122:                                              ; preds = %121
  %123 = getelementptr inbounds %"class.Halide::Var", ptr %34, i64 1
  store ptr %123, ptr %35, align 8
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %123, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %124 unwind label %329

124:                                              ; preds = %122
  %125 = getelementptr inbounds %"class.std::initializer_list", ptr %33, i32 0, i32 0
  store ptr %34, ptr %125, align 8, !tbaa !9
  %126 = getelementptr inbounds %"class.std::initializer_list", ptr %33, i32 0, i32 1
  store i64 2, ptr %126, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #8
  call void @_ZNSaIN6Halide3VarEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #8
  %127 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8
  %129 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 1
  %130 = load i64, ptr %129, align 8
  invoke void @_ZNSt6vectorIN6Halide3VarESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr %128, i64 %130, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %131 unwind label %340

131:                                              ; preds = %124
  call void @_ZNSt15__new_allocatorIN6Halide3VarEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #8
  %132 = getelementptr inbounds [2 x %"class.Halide::Var"], ptr %34, i32 0, i32 0
  %133 = getelementptr inbounds %"class.Halide::Var", ptr %132, i64 2
  br label %134

134:                                              ; preds = %134, %131
  %135 = phi ptr [ %133, %131 ], [ %136, %134 ]
  %136 = getelementptr inbounds %"class.Halide::Var", ptr %135, i64 -1
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %136) #8
  %137 = icmp eq ptr %136, %132
  br i1 %137, label %138, label %134

138:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #8
  %139 = invoke { i64, ptr } @_ZN6Halide5FloatEii(i32 noundef 32, i32 noundef 1)
          to label %140 unwind label %352

140:                                              ; preds = %138
  %141 = getelementptr inbounds { i64, ptr }, ptr %37, i32 0, i32 0
  %142 = extractvalue { i64, ptr } %139, 0
  store i64 %142, ptr %141, align 8
  %143 = getelementptr inbounds { i64, ptr }, ptr %37, i32 0, i32 1
  %144 = extractvalue { i64, ptr } %139, 1
  store ptr %144, ptr %143, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %145 unwind label %356

145:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr %42) #8
  call void @_ZN6Halide18ExternFuncArgumentC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(72) %42, ptr noundef nonnull align 8 dereferenceable(72) %28) #8
  %146 = getelementptr inbounds %"struct.Halide::ExternFuncArgument", ptr %42, i64 1
  call void @_ZN6Halide18ExternFuncArgumentC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(72) %146, ptr noundef nonnull align 8 dereferenceable(72) %30) #8
  %147 = getelementptr inbounds %"class.std::initializer_list.18", ptr %41, i32 0, i32 0
  store ptr %42, ptr %147, align 8, !tbaa !13
  %148 = getelementptr inbounds %"class.std::initializer_list.18", ptr %41, i32 0, i32 1
  store i64 2, ptr %148, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #8
  call void @_ZNSaIN6Halide18ExternFuncArgumentEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  %149 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 0
  %150 = load ptr, ptr %149, align 8
  %151 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 1
  %152 = load i64, ptr %151, align 8
  invoke void @_ZNSt6vectorIN6Halide18ExternFuncArgumentESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr %150, i64 %152, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %153 unwind label %360

153:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %46, ptr align 8 %37, i64 16, i1 false), !tbaa.struct !16
  %154 = getelementptr inbounds %"struct.Halide::Type", ptr %46, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %154, ptr align 8 %37, i64 16, i1 false), !tbaa.struct !16
  %155 = getelementptr inbounds %"class.std::initializer_list.41", ptr %45, i32 0, i32 0
  store ptr %46, ptr %155, align 8, !tbaa !22
  %156 = getelementptr inbounds %"class.std::initializer_list.41", ptr %45, i32 0, i32 1
  store i64 2, ptr %156, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #8
  call void @_ZNSaIN6Halide4TypeEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #8
  %157 = getelementptr inbounds { ptr, i64 }, ptr %45, i32 0, i32 0
  %158 = load ptr, ptr %157, align 8
  %159 = getelementptr inbounds { ptr, i64 }, ptr %45, i32 0, i32 1
  %160 = load i64, ptr %159, align 8
  invoke void @_ZNSt6vectorIN6Halide4TypeESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr %158, i64 %160, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %161 unwind label %364

161:                                              ; preds = %153
  invoke void @_ZN6Halide4Func13define_externERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorINS_18ExternFuncArgumentESaISA_EERKS9_INS_4TypeESaISF_EERKS9_INS_3VarESaISK_EENS_12NameManglingENS_9DeviceAPIE(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(24) %32, i32 noundef 1, i32 noundef 1)
          to label %162 unwind label %368

162:                                              ; preds = %161
  call void @_ZNSt6vectorIN6Halide4TypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  call void @_ZNSt15__new_allocatorIN6Halide4TypeEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #8
  call void @_ZNSt6vectorIN6Halide18ExternFuncArgumentESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  call void @_ZNSt15__new_allocatorIN6Halide18ExternFuncArgumentEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  %163 = getelementptr inbounds [2 x %"struct.Halide::ExternFuncArgument"], ptr %42, i32 0, i32 0
  %164 = getelementptr inbounds %"struct.Halide::ExternFuncArgument", ptr %163, i64 2
  br label %165

165:                                              ; preds = %165, %162
  %166 = phi ptr [ %164, %162 ], [ %167, %165 ]
  %167 = getelementptr inbounds %"struct.Halide::ExternFuncArgument", ptr %166, i64 -1
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %167) #8
  %168 = icmp eq ptr %167, %163
  br i1 %168, label %169, label %165

169:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 144, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %51, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %170 unwind label %382

170:                                              ; preds = %169
  invoke void @_ZN6Halide4RDomC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(200) %52, ptr noundef nonnull align 8 dereferenceable(200) %16)
          to label %171 unwind label %386

171:                                              ; preds = %170
  invoke void @_ZNK6Halide6BufferIfEclIJNS_4RDomEEEENS_4ExprES4_DpT_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %50, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef %51, ptr noundef %52)
          to label %172 unwind label %390

172:                                              ; preds = %171
  invoke void @_ZNK6Halide4RDomcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %54, ptr noundef nonnull align 8 dereferenceable(200) %16)
          to label %173 unwind label %394

173:                                              ; preds = %172
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %174 unwind label %398

174:                                              ; preds = %173
  invoke void @_ZNK6Halide6BufferIfEclIJNS_3VarEEEENS_4ExprES4_DpT_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %53, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef %54, ptr noundef %55)
          to label %175 unwind label %402

175:                                              ; preds = %174
  invoke void @_ZN6HalidemlENS_4ExprES0_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %49, ptr noundef %50, ptr noundef %53)
          to label %176 unwind label %406

176:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 32, ptr %56) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %177 unwind label %410

177:                                              ; preds = %176
  invoke void @_ZN6Halide3sumENS_4ExprERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %48, ptr noundef %49, ptr noundef nonnull align 8 dereferenceable(32) %56)
          to label %178 unwind label %414

178:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 24, ptr %58) #8
  invoke void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind writable sret(%"class.Halide::Internal::Function") align 8 %58, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %179 unwind label %418

179:                                              ; preds = %178
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function28extern_definition_proxy_exprEv(ptr noundef nonnull align 8 dereferenceable(24) %58)
          to label %181 unwind label %422

181:                                              ; preds = %179
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide4ExpraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %180, ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  call void @_ZN6Halide4RDomD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %52) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %60) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %60, ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %183 unwind label %436

183:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 56, ptr %61) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %61, ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %184 unwind label %440

184:                                              ; preds = %183
  invoke void @_ZN6Halide7FuncRefaSERKS0_(ptr dead_on_unwind writable sret(%"class.Halide::Stage") align 8 %59, ptr noundef nonnull align 8 dereferenceable(56) %61, ptr noundef nonnull align 8 dereferenceable(56) %60)
          to label %185 unwind label %444

185:                                              ; preds = %184
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %59) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %61) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %61) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %60) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %60) #8
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %186 unwind label %352

186:                                              ; preds = %185
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %63, i32 noundef 0)
          to label %187 unwind label %450

187:                                              ; preds = %186
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %64, i32 noundef 200)
          to label %188 unwind label %454

188:                                              ; preds = %187
  %189 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef %62, ptr noundef %63, ptr noundef %64)
          to label %190 unwind label %458

190:                                              ; preds = %188
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %191 unwind label %458

191:                                              ; preds = %190
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %66, i32 noundef 0)
          to label %192 unwind label %462

192:                                              ; preds = %191
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %67, i32 noundef 200)
          to label %193 unwind label %466

193:                                              ; preds = %192
  %194 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %189, ptr noundef %65, ptr noundef %66, ptr noundef %67)
          to label %195 unwind label %470

195:                                              ; preds = %193
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %67) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %66) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %64) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %68) #8
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %69) #8
  invoke void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind writable sret(%"class.Halide::Internal::Function") align 8 %69, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %196 unwind label %479

196:                                              ; preds = %195
  invoke void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %68, ptr noundef nonnull align 8 dereferenceable(24) %69)
          to label %197 unwind label %483

197:                                              ; preds = %196
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %70) #8
  %198 = load ptr, ptr %3, align 8, !tbaa !5
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGC1ERKSt6vectorINS0_8FunctionESaIS4_EERKNS_13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(48) %70, ptr noundef nonnull align 8 dereferenceable(24) %68, ptr noundef nonnull align 8 dereferenceable(20) %198, ptr noundef nonnull align 8 dereferenceable(32) %199)
          to label %200 unwind label %488

200:                                              ; preds = %197
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler11FunctionDAG4dumpERSo(ptr noundef nonnull align 8 dereferenceable(48) %70, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %202 unwind label %492

202:                                              ; preds = %200
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %70) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %70) #8
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #8
  call void @_ZNSt6vectorIN6Halide3VarESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %30) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %30) #8
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %28) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %28) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 376, ptr %71) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %71)
          to label %203 unwind label %504

203:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 32, ptr %72) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %73) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %74) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %74)
          to label %204 unwind label %508

204:                                              ; preds = %203
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(32) %73)
          to label %205 unwind label %512

205:                                              ; preds = %204
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %75) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %76) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %77) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %77) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %76, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %77)
          to label %206 unwind label %517

206:                                              ; preds = %205
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef nonnull align 8 dereferenceable(32) %76)
          to label %207 unwind label %521

207:                                              ; preds = %206
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %76) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %77) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %76) #8
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %82, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %208 unwind label %526

208:                                              ; preds = %207
  invoke void @_ZN6Halide4RDomC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(200) %83, ptr noundef nonnull align 8 dereferenceable(200) %16)
          to label %209 unwind label %530

209:                                              ; preds = %208
  invoke void @_ZNK6Halide6BufferIfEclIJNS_4RDomEEEENS_4ExprES4_DpT_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %81, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef %82, ptr noundef %83)
          to label %210 unwind label %534

210:                                              ; preds = %209
  invoke void @_ZNK6Halide4RDomcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %85, ptr noundef nonnull align 8 dereferenceable(200) %16)
          to label %211 unwind label %538

211:                                              ; preds = %210
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %86, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %212 unwind label %542

212:                                              ; preds = %211
  invoke void @_ZNK6Halide6BufferIfEclIJNS_3VarEEEENS_4ExprES4_DpT_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %84, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef %85, ptr noundef %86)
          to label %213 unwind label %546

213:                                              ; preds = %212
  invoke void @_ZN6HalidemlENS_4ExprES0_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %80, ptr noundef %81, ptr noundef %84)
          to label %214 unwind label %550

214:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 32, ptr %87) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %88) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %87, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %88)
          to label %215 unwind label %554

215:                                              ; preds = %214
  invoke void @_ZN6Halide3sumENS_4ExprERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %79, ptr noundef %80, ptr noundef nonnull align 8 dereferenceable(32) %87)
          to label %216 unwind label %558

216:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 56, ptr %89) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %89, ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %217 unwind label %562

217:                                              ; preds = %216
  invoke void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind writable sret(%"class.Halide::Stage") align 8 %78, ptr noundef nonnull align 8 dereferenceable(56) %89, ptr noundef %79)
          to label %218 unwind label %566

218:                                              ; preds = %217
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %78) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %89) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %89) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %79) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %88) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %80) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %84) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %86) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %85) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %81) #8
  call void @_ZN6Halide4RDomD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %83) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %82) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %91) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %91, ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %219 unwind label %579

219:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 56, ptr %92) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %92, ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %220 unwind label %583

220:                                              ; preds = %219
  invoke void @_ZN6Halide7FuncRefaSERKS0_(ptr dead_on_unwind writable sret(%"class.Halide::Stage") align 8 %90, ptr noundef nonnull align 8 dereferenceable(56) %92, ptr noundef nonnull align 8 dereferenceable(56) %91)
          to label %221 unwind label %587

221:                                              ; preds = %220
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %90) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %92) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %92) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %91) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %91) #8
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %93, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %222 unwind label %526

222:                                              ; preds = %221
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %94, i32 noundef 0)
          to label %223 unwind label %593

223:                                              ; preds = %222
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %95, i32 noundef 200)
          to label %224 unwind label %597

224:                                              ; preds = %223
  %225 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef %93, ptr noundef %94, ptr noundef %95)
          to label %226 unwind label %601

226:                                              ; preds = %224
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %96, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %227 unwind label %601

227:                                              ; preds = %226
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %97, i32 noundef 0)
          to label %228 unwind label %605

228:                                              ; preds = %227
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %98, i32 noundef 200)
          to label %229 unwind label %609

229:                                              ; preds = %228
  %230 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %225, ptr noundef %96, ptr noundef %97, ptr noundef %98)
          to label %231 unwind label %613

231:                                              ; preds = %229
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %98) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %97) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %96) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %95) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %94) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %93) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %99) #8
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %99) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %100) #8
  invoke void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind writable sret(%"class.Halide::Internal::Function") align 8 %100, ptr noundef nonnull align 8 dereferenceable(32) %75)
          to label %232 unwind label %622

232:                                              ; preds = %231
  invoke void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %99, ptr noundef nonnull align 8 dereferenceable(24) %100)
          to label %233 unwind label %626

233:                                              ; preds = %232
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %100) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %100) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %101) #8
  %234 = load ptr, ptr %3, align 8, !tbaa !5
  %235 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGC1ERKSt6vectorINS0_8FunctionESaIS4_EERKNS_13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(48) %101, ptr noundef nonnull align 8 dereferenceable(24) %99, ptr noundef nonnull align 8 dereferenceable(20) %234, ptr noundef nonnull align 8 dereferenceable(32) %235)
          to label %236 unwind label %631

236:                                              ; preds = %233
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler11FunctionDAG4dumpERSo(ptr noundef nonnull align 8 dereferenceable(48) %101, ptr noundef nonnull align 8 dereferenceable(8) %71)
          to label %238 unwind label %635

238:                                              ; preds = %236
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %101) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %101) #8
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %99) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %99) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #8
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
          to label %240 unwind label %644

240:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 32, ptr %102) #8
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %102, ptr noundef nonnull align 8 dereferenceable(112) %21)
          to label %241 unwind label %648

241:                                              ; preds = %240
  %242 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef nonnull align 8 dereferenceable(32) %102)
          to label %243 unwind label %652

243:                                              ; preds = %241
  %244 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %242, ptr noundef @.str.12)
          to label %245 unwind label %652

245:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 32, ptr %103) #8
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %103, ptr noundef nonnull align 8 dereferenceable(112) %71)
          to label %246 unwind label %656

246:                                              ; preds = %245
  %247 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %244, ptr noundef nonnull align 8 dereferenceable(32) %103)
          to label %248 unwind label %660

248:                                              ; preds = %246
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %247, ptr noundef @.str.13)
          to label %250 unwind label %660

250:                                              ; preds = %248
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %103) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %103) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %102) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %102) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %71) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %71) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %21) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %21) #8
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @_ZN6Halide4RDomD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %16) #8
  call void @llvm.lifetime.end.p0(i64 200, ptr %16) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #8
  ret void

251:                                              ; preds = %2
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %8, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %9, align 4
  br label %259

255:                                              ; preds = %104
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %8, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  br label %259

259:                                              ; preds = %255, %251
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #8
  br label %676

260:                                              ; preds = %105
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %8, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %9, align 4
  br label %268

264:                                              ; preds = %106
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %8, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %268

268:                                              ; preds = %264, %260
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  br label %675

269:                                              ; preds = %107
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %8, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %9, align 4
  br label %277

273:                                              ; preds = %108
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %8, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  br label %277

277:                                              ; preds = %273, %269
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  br label %674

278:                                              ; preds = %109
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %8, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %9, align 4
  br label %673

282:                                              ; preds = %110
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %8, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %9, align 4
  br label %290

286:                                              ; preds = %111
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %8, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %9, align 4
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br label %290

290:                                              ; preds = %286, %282
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br label %673

291:                                              ; preds = %112
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %8, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %9, align 4
  br label %672

295:                                              ; preds = %113
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %8, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %9, align 4
  br label %671

299:                                              ; preds = %114
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %8, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %9, align 4
  br label %670

303:                                              ; preds = %115
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %8, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %9, align 4
  br label %311

307:                                              ; preds = %116
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %8, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  br label %311

311:                                              ; preds = %307, %303
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #8
  br label %503

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

316:                                              ; preds = %118
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %8, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  br label %320

320:                                              ; preds = %316, %312
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  br label %502

321:                                              ; preds = %119
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %8, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %9, align 4
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #8
  br label %501

325:                                              ; preds = %120
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %8, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %9, align 4
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #8
  br label %500

329:                                              ; preds = %122, %121
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %8, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %9, align 4
  %333 = load ptr, ptr %35, align 8
  %334 = icmp eq ptr %34, %333
  br i1 %334, label %339, label %335

335:                                              ; preds = %335, %329
  %336 = phi ptr [ %333, %329 ], [ %337, %335 ]
  %337 = getelementptr inbounds %"class.Halide::Var", ptr %336, i64 -1
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %337) #8
  %338 = icmp eq ptr %337, %34
  br i1 %338, label %339, label %335

339:                                              ; preds = %335, %329
  br label %351

340:                                              ; preds = %124
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %8, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIN6Halide3VarEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #8
  %344 = getelementptr inbounds [2 x %"class.Halide::Var"], ptr %34, i32 0, i32 0
  %345 = getelementptr inbounds %"class.Halide::Var", ptr %344, i64 2
  br label %346

346:                                              ; preds = %346, %340
  %347 = phi ptr [ %345, %340 ], [ %348, %346 ]
  %348 = getelementptr inbounds %"class.Halide::Var", ptr %347, i64 -1
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %348) #8
  %349 = icmp eq ptr %348, %344
  br i1 %349, label %350, label %346

350:                                              ; preds = %346
  br label %351

351:                                              ; preds = %350, %339
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #8
  br label %499

352:                                              ; preds = %185, %138
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %8, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %9, align 4
  br label %498

356:                                              ; preds = %140
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %8, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %9, align 4
  br label %381

360:                                              ; preds = %145
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %8, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %9, align 4
  br label %373

364:                                              ; preds = %153
  %365 = landingpad { ptr, i32 }
          cleanup
  %366 = extractvalue { ptr, i32 } %365, 0
  store ptr %366, ptr %8, align 8
  %367 = extractvalue { ptr, i32 } %365, 1
  store i32 %367, ptr %9, align 4
  br label %372

368:                                              ; preds = %161
  %369 = landingpad { ptr, i32 }
          cleanup
  %370 = extractvalue { ptr, i32 } %369, 0
  store ptr %370, ptr %8, align 8
  %371 = extractvalue { ptr, i32 } %369, 1
  store i32 %371, ptr %9, align 4
  call void @_ZNSt6vectorIN6Halide4TypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  br label %372

372:                                              ; preds = %368, %364
  call void @_ZNSt15__new_allocatorIN6Halide4TypeEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #8
  call void @_ZNSt6vectorIN6Halide18ExternFuncArgumentESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  br label %373

373:                                              ; preds = %372, %360
  call void @_ZNSt15__new_allocatorIN6Halide18ExternFuncArgumentEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  %374 = getelementptr inbounds [2 x %"struct.Halide::ExternFuncArgument"], ptr %42, i32 0, i32 0
  %375 = getelementptr inbounds %"struct.Halide::ExternFuncArgument", ptr %374, i64 2
  br label %376

376:                                              ; preds = %376, %373
  %377 = phi ptr [ %375, %373 ], [ %378, %376 ]
  %378 = getelementptr inbounds %"struct.Halide::ExternFuncArgument", ptr %377, i64 -1
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %378) #8
  %379 = icmp eq ptr %378, %374
  br i1 %379, label %380, label %376

380:                                              ; preds = %376
  call void @llvm.lifetime.end.p0(i64 144, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  br label %381

381:                                              ; preds = %380, %356
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #8
  br label %498

382:                                              ; preds = %169
  %383 = landingpad { ptr, i32 }
          cleanup
  %384 = extractvalue { ptr, i32 } %383, 0
  store ptr %384, ptr %8, align 8
  %385 = extractvalue { ptr, i32 } %383, 1
  store i32 %385, ptr %9, align 4
  br label %435

386:                                              ; preds = %170
  %387 = landingpad { ptr, i32 }
          cleanup
  %388 = extractvalue { ptr, i32 } %387, 0
  store ptr %388, ptr %8, align 8
  %389 = extractvalue { ptr, i32 } %387, 1
  store i32 %389, ptr %9, align 4
  br label %434

390:                                              ; preds = %171
  %391 = landingpad { ptr, i32 }
          cleanup
  %392 = extractvalue { ptr, i32 } %391, 0
  store ptr %392, ptr %8, align 8
  %393 = extractvalue { ptr, i32 } %391, 1
  store i32 %393, ptr %9, align 4
  br label %433

394:                                              ; preds = %172
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %8, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %9, align 4
  br label %432

398:                                              ; preds = %173
  %399 = landingpad { ptr, i32 }
          cleanup
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %8, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %9, align 4
  br label %431

402:                                              ; preds = %174
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %8, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %9, align 4
  br label %430

406:                                              ; preds = %175
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %8, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %9, align 4
  br label %429

410:                                              ; preds = %176
  %411 = landingpad { ptr, i32 }
          cleanup
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %8, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %9, align 4
  br label %428

414:                                              ; preds = %177
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %8, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %9, align 4
  br label %427

418:                                              ; preds = %178
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %8, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %9, align 4
  br label %426

422:                                              ; preds = %179
  %423 = landingpad { ptr, i32 }
          cleanup
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %8, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %9, align 4
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  br label %426

426:                                              ; preds = %422, %418
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  br label %427

427:                                              ; preds = %426, %414
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #8
  br label %428

428:                                              ; preds = %427, %410
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  br label %429

429:                                              ; preds = %428, %406
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #8
  br label %430

430:                                              ; preds = %429, %402
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  br label %431

431:                                              ; preds = %430, %398
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #8
  br label %432

432:                                              ; preds = %431, %394
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  br label %433

433:                                              ; preds = %432, %390
  call void @_ZN6Halide4RDomD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %52) #8
  br label %434

434:                                              ; preds = %433, %386
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  br label %435

435:                                              ; preds = %434, %382
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %498

436:                                              ; preds = %181
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %8, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %9, align 4
  br label %449

440:                                              ; preds = %183
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %8, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %9, align 4
  br label %448

444:                                              ; preds = %184
  %445 = landingpad { ptr, i32 }
          cleanup
  %446 = extractvalue { ptr, i32 } %445, 0
  store ptr %446, ptr %8, align 8
  %447 = extractvalue { ptr, i32 } %445, 1
  store i32 %447, ptr %9, align 4
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %61) #8
  br label %448

448:                                              ; preds = %444, %440
  call void @llvm.lifetime.end.p0(i64 56, ptr %61) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %60) #8
  br label %449

449:                                              ; preds = %448, %436
  call void @llvm.lifetime.end.p0(i64 56, ptr %60) #8
  br label %498

450:                                              ; preds = %186
  %451 = landingpad { ptr, i32 }
          cleanup
  %452 = extractvalue { ptr, i32 } %451, 0
  store ptr %452, ptr %8, align 8
  %453 = extractvalue { ptr, i32 } %451, 1
  store i32 %453, ptr %9, align 4
  br label %478

454:                                              ; preds = %187
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %8, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %9, align 4
  br label %477

458:                                              ; preds = %190, %188
  %459 = landingpad { ptr, i32 }
          cleanup
  %460 = extractvalue { ptr, i32 } %459, 0
  store ptr %460, ptr %8, align 8
  %461 = extractvalue { ptr, i32 } %459, 1
  store i32 %461, ptr %9, align 4
  br label %476

462:                                              ; preds = %191
  %463 = landingpad { ptr, i32 }
          cleanup
  %464 = extractvalue { ptr, i32 } %463, 0
  store ptr %464, ptr %8, align 8
  %465 = extractvalue { ptr, i32 } %463, 1
  store i32 %465, ptr %9, align 4
  br label %475

466:                                              ; preds = %192
  %467 = landingpad { ptr, i32 }
          cleanup
  %468 = extractvalue { ptr, i32 } %467, 0
  store ptr %468, ptr %8, align 8
  %469 = extractvalue { ptr, i32 } %467, 1
  store i32 %469, ptr %9, align 4
  br label %474

470:                                              ; preds = %193
  %471 = landingpad { ptr, i32 }
          cleanup
  %472 = extractvalue { ptr, i32 } %471, 0
  store ptr %472, ptr %8, align 8
  %473 = extractvalue { ptr, i32 } %471, 1
  store i32 %473, ptr %9, align 4
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %67) #8
  br label %474

474:                                              ; preds = %470, %466
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %66) #8
  br label %475

475:                                              ; preds = %474, %462
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #8
  br label %476

476:                                              ; preds = %475, %458
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %64) #8
  br label %477

477:                                              ; preds = %476, %454
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  br label %478

478:                                              ; preds = %477, %450
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #8
  br label %498

479:                                              ; preds = %195
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %8, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %9, align 4
  br label %487

483:                                              ; preds = %196
  %484 = landingpad { ptr, i32 }
          cleanup
  %485 = extractvalue { ptr, i32 } %484, 0
  store ptr %485, ptr %8, align 8
  %486 = extractvalue { ptr, i32 } %484, 1
  store i32 %486, ptr %9, align 4
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  br label %487

487:                                              ; preds = %483, %479
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #8
  br label %497

488:                                              ; preds = %197
  %489 = landingpad { ptr, i32 }
          cleanup
  %490 = extractvalue { ptr, i32 } %489, 0
  store ptr %490, ptr %8, align 8
  %491 = extractvalue { ptr, i32 } %489, 1
  store i32 %491, ptr %9, align 4
  br label %496

492:                                              ; preds = %200
  %493 = landingpad { ptr, i32 }
          cleanup
  %494 = extractvalue { ptr, i32 } %493, 0
  store ptr %494, ptr %8, align 8
  %495 = extractvalue { ptr, i32 } %493, 1
  store i32 %495, ptr %9, align 4
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %70) #8
  br label %496

496:                                              ; preds = %492, %488
  call void @llvm.lifetime.end.p0(i64 48, ptr %70) #8
  br label %497

497:                                              ; preds = %496, %487
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %68) #8
  br label %498

498:                                              ; preds = %497, %478, %449, %435, %381, %352
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #8
  call void @_ZNSt6vectorIN6Halide3VarESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  br label %499

499:                                              ; preds = %498, %351
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %30) #8
  br label %500

500:                                              ; preds = %499, %325
  call void @llvm.lifetime.end.p0(i64 72, ptr %30) #8
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %28) #8
  br label %501

501:                                              ; preds = %500, %321
  call void @llvm.lifetime.end.p0(i64 72, ptr %28) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  br label %502

502:                                              ; preds = %501, %320
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  br label %503

503:                                              ; preds = %502, %311
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #8
  br label %669

504:                                              ; preds = %202
  %505 = landingpad { ptr, i32 }
          cleanup
  %506 = extractvalue { ptr, i32 } %505, 0
  store ptr %506, ptr %8, align 8
  %507 = extractvalue { ptr, i32 } %505, 1
  store i32 %507, ptr %9, align 4
  br label %668

508:                                              ; preds = %203
  %509 = landingpad { ptr, i32 }
          cleanup
  %510 = extractvalue { ptr, i32 } %509, 0
  store ptr %510, ptr %8, align 8
  %511 = extractvalue { ptr, i32 } %509, 1
  store i32 %511, ptr %9, align 4
  br label %516

512:                                              ; preds = %204
  %513 = landingpad { ptr, i32 }
          cleanup
  %514 = extractvalue { ptr, i32 } %513, 0
  store ptr %514, ptr %8, align 8
  %515 = extractvalue { ptr, i32 } %513, 1
  store i32 %515, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #8
  br label %516

516:                                              ; preds = %512, %508
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #8
  br label %643

517:                                              ; preds = %205
  %518 = landingpad { ptr, i32 }
          cleanup
  %519 = extractvalue { ptr, i32 } %518, 0
  store ptr %519, ptr %8, align 8
  %520 = extractvalue { ptr, i32 } %518, 1
  store i32 %520, ptr %9, align 4
  br label %525

521:                                              ; preds = %206
  %522 = landingpad { ptr, i32 }
          cleanup
  %523 = extractvalue { ptr, i32 } %522, 0
  store ptr %523, ptr %8, align 8
  %524 = extractvalue { ptr, i32 } %522, 1
  store i32 %524, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %76) #8
  br label %525

525:                                              ; preds = %521, %517
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %77) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %76) #8
  br label %642

526:                                              ; preds = %221, %207
  %527 = landingpad { ptr, i32 }
          cleanup
  %528 = extractvalue { ptr, i32 } %527, 0
  store ptr %528, ptr %8, align 8
  %529 = extractvalue { ptr, i32 } %527, 1
  store i32 %529, ptr %9, align 4
  br label %641

530:                                              ; preds = %208
  %531 = landingpad { ptr, i32 }
          cleanup
  %532 = extractvalue { ptr, i32 } %531, 0
  store ptr %532, ptr %8, align 8
  %533 = extractvalue { ptr, i32 } %531, 1
  store i32 %533, ptr %9, align 4
  br label %578

534:                                              ; preds = %209
  %535 = landingpad { ptr, i32 }
          cleanup
  %536 = extractvalue { ptr, i32 } %535, 0
  store ptr %536, ptr %8, align 8
  %537 = extractvalue { ptr, i32 } %535, 1
  store i32 %537, ptr %9, align 4
  br label %577

538:                                              ; preds = %210
  %539 = landingpad { ptr, i32 }
          cleanup
  %540 = extractvalue { ptr, i32 } %539, 0
  store ptr %540, ptr %8, align 8
  %541 = extractvalue { ptr, i32 } %539, 1
  store i32 %541, ptr %9, align 4
  br label %576

542:                                              ; preds = %211
  %543 = landingpad { ptr, i32 }
          cleanup
  %544 = extractvalue { ptr, i32 } %543, 0
  store ptr %544, ptr %8, align 8
  %545 = extractvalue { ptr, i32 } %543, 1
  store i32 %545, ptr %9, align 4
  br label %575

546:                                              ; preds = %212
  %547 = landingpad { ptr, i32 }
          cleanup
  %548 = extractvalue { ptr, i32 } %547, 0
  store ptr %548, ptr %8, align 8
  %549 = extractvalue { ptr, i32 } %547, 1
  store i32 %549, ptr %9, align 4
  br label %574

550:                                              ; preds = %213
  %551 = landingpad { ptr, i32 }
          cleanup
  %552 = extractvalue { ptr, i32 } %551, 0
  store ptr %552, ptr %8, align 8
  %553 = extractvalue { ptr, i32 } %551, 1
  store i32 %553, ptr %9, align 4
  br label %573

554:                                              ; preds = %214
  %555 = landingpad { ptr, i32 }
          cleanup
  %556 = extractvalue { ptr, i32 } %555, 0
  store ptr %556, ptr %8, align 8
  %557 = extractvalue { ptr, i32 } %555, 1
  store i32 %557, ptr %9, align 4
  br label %572

558:                                              ; preds = %215
  %559 = landingpad { ptr, i32 }
          cleanup
  %560 = extractvalue { ptr, i32 } %559, 0
  store ptr %560, ptr %8, align 8
  %561 = extractvalue { ptr, i32 } %559, 1
  store i32 %561, ptr %9, align 4
  br label %571

562:                                              ; preds = %216
  %563 = landingpad { ptr, i32 }
          cleanup
  %564 = extractvalue { ptr, i32 } %563, 0
  store ptr %564, ptr %8, align 8
  %565 = extractvalue { ptr, i32 } %563, 1
  store i32 %565, ptr %9, align 4
  br label %570

566:                                              ; preds = %217
  %567 = landingpad { ptr, i32 }
          cleanup
  %568 = extractvalue { ptr, i32 } %567, 0
  store ptr %568, ptr %8, align 8
  %569 = extractvalue { ptr, i32 } %567, 1
  store i32 %569, ptr %9, align 4
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %89) #8
  br label %570

570:                                              ; preds = %566, %562
  call void @llvm.lifetime.end.p0(i64 56, ptr %89) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %79) #8
  br label %571

571:                                              ; preds = %570, %558
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #8
  br label %572

572:                                              ; preds = %571, %554
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %88) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %80) #8
  br label %573

573:                                              ; preds = %572, %550
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %84) #8
  br label %574

574:                                              ; preds = %573, %546
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %86) #8
  br label %575

575:                                              ; preds = %574, %542
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %85) #8
  br label %576

576:                                              ; preds = %575, %538
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %81) #8
  br label %577

577:                                              ; preds = %576, %534
  call void @_ZN6Halide4RDomD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %83) #8
  br label %578

578:                                              ; preds = %577, %530
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %82) #8
  br label %641

579:                                              ; preds = %218
  %580 = landingpad { ptr, i32 }
          cleanup
  %581 = extractvalue { ptr, i32 } %580, 0
  store ptr %581, ptr %8, align 8
  %582 = extractvalue { ptr, i32 } %580, 1
  store i32 %582, ptr %9, align 4
  br label %592

583:                                              ; preds = %219
  %584 = landingpad { ptr, i32 }
          cleanup
  %585 = extractvalue { ptr, i32 } %584, 0
  store ptr %585, ptr %8, align 8
  %586 = extractvalue { ptr, i32 } %584, 1
  store i32 %586, ptr %9, align 4
  br label %591

587:                                              ; preds = %220
  %588 = landingpad { ptr, i32 }
          cleanup
  %589 = extractvalue { ptr, i32 } %588, 0
  store ptr %589, ptr %8, align 8
  %590 = extractvalue { ptr, i32 } %588, 1
  store i32 %590, ptr %9, align 4
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %92) #8
  br label %591

591:                                              ; preds = %587, %583
  call void @llvm.lifetime.end.p0(i64 56, ptr %92) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %91) #8
  br label %592

592:                                              ; preds = %591, %579
  call void @llvm.lifetime.end.p0(i64 56, ptr %91) #8
  br label %641

593:                                              ; preds = %222
  %594 = landingpad { ptr, i32 }
          cleanup
  %595 = extractvalue { ptr, i32 } %594, 0
  store ptr %595, ptr %8, align 8
  %596 = extractvalue { ptr, i32 } %594, 1
  store i32 %596, ptr %9, align 4
  br label %621

597:                                              ; preds = %223
  %598 = landingpad { ptr, i32 }
          cleanup
  %599 = extractvalue { ptr, i32 } %598, 0
  store ptr %599, ptr %8, align 8
  %600 = extractvalue { ptr, i32 } %598, 1
  store i32 %600, ptr %9, align 4
  br label %620

601:                                              ; preds = %226, %224
  %602 = landingpad { ptr, i32 }
          cleanup
  %603 = extractvalue { ptr, i32 } %602, 0
  store ptr %603, ptr %8, align 8
  %604 = extractvalue { ptr, i32 } %602, 1
  store i32 %604, ptr %9, align 4
  br label %619

605:                                              ; preds = %227
  %606 = landingpad { ptr, i32 }
          cleanup
  %607 = extractvalue { ptr, i32 } %606, 0
  store ptr %607, ptr %8, align 8
  %608 = extractvalue { ptr, i32 } %606, 1
  store i32 %608, ptr %9, align 4
  br label %618

609:                                              ; preds = %228
  %610 = landingpad { ptr, i32 }
          cleanup
  %611 = extractvalue { ptr, i32 } %610, 0
  store ptr %611, ptr %8, align 8
  %612 = extractvalue { ptr, i32 } %610, 1
  store i32 %612, ptr %9, align 4
  br label %617

613:                                              ; preds = %229
  %614 = landingpad { ptr, i32 }
          cleanup
  %615 = extractvalue { ptr, i32 } %614, 0
  store ptr %615, ptr %8, align 8
  %616 = extractvalue { ptr, i32 } %614, 1
  store i32 %616, ptr %9, align 4
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %98) #8
  br label %617

617:                                              ; preds = %613, %609
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %97) #8
  br label %618

618:                                              ; preds = %617, %605
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %96) #8
  br label %619

619:                                              ; preds = %618, %601
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %95) #8
  br label %620

620:                                              ; preds = %619, %597
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %94) #8
  br label %621

621:                                              ; preds = %620, %593
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %93) #8
  br label %641

622:                                              ; preds = %231
  %623 = landingpad { ptr, i32 }
          cleanup
  %624 = extractvalue { ptr, i32 } %623, 0
  store ptr %624, ptr %8, align 8
  %625 = extractvalue { ptr, i32 } %623, 1
  store i32 %625, ptr %9, align 4
  br label %630

626:                                              ; preds = %232
  %627 = landingpad { ptr, i32 }
          cleanup
  %628 = extractvalue { ptr, i32 } %627, 0
  store ptr %628, ptr %8, align 8
  %629 = extractvalue { ptr, i32 } %627, 1
  store i32 %629, ptr %9, align 4
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %100) #8
  br label %630

630:                                              ; preds = %626, %622
  call void @llvm.lifetime.end.p0(i64 24, ptr %100) #8
  br label %640

631:                                              ; preds = %233
  %632 = landingpad { ptr, i32 }
          cleanup
  %633 = extractvalue { ptr, i32 } %632, 0
  store ptr %633, ptr %8, align 8
  %634 = extractvalue { ptr, i32 } %632, 1
  store i32 %634, ptr %9, align 4
  br label %639

635:                                              ; preds = %236
  %636 = landingpad { ptr, i32 }
          cleanup
  %637 = extractvalue { ptr, i32 } %636, 0
  store ptr %637, ptr %8, align 8
  %638 = extractvalue { ptr, i32 } %636, 1
  store i32 %638, ptr %9, align 4
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %101) #8
  br label %639

639:                                              ; preds = %635, %631
  call void @llvm.lifetime.end.p0(i64 48, ptr %101) #8
  br label %640

640:                                              ; preds = %639, %630
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %99) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %99) #8
  br label %641

641:                                              ; preds = %640, %621, %592, %578, %526
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #8
  br label %642

642:                                              ; preds = %641, %525
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #8
  br label %643

643:                                              ; preds = %642, %516
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #8
  br label %667

644:                                              ; preds = %238
  %645 = landingpad { ptr, i32 }
          cleanup
  %646 = extractvalue { ptr, i32 } %645, 0
  store ptr %646, ptr %8, align 8
  %647 = extractvalue { ptr, i32 } %645, 1
  store i32 %647, ptr %9, align 4
  br label %667

648:                                              ; preds = %240
  %649 = landingpad { ptr, i32 }
          cleanup
  %650 = extractvalue { ptr, i32 } %649, 0
  store ptr %650, ptr %8, align 8
  %651 = extractvalue { ptr, i32 } %649, 1
  store i32 %651, ptr %9, align 4
  br label %666

652:                                              ; preds = %243, %241
  %653 = landingpad { ptr, i32 }
          cleanup
  %654 = extractvalue { ptr, i32 } %653, 0
  store ptr %654, ptr %8, align 8
  %655 = extractvalue { ptr, i32 } %653, 1
  store i32 %655, ptr %9, align 4
  br label %665

656:                                              ; preds = %245
  %657 = landingpad { ptr, i32 }
          cleanup
  %658 = extractvalue { ptr, i32 } %657, 0
  store ptr %658, ptr %8, align 8
  %659 = extractvalue { ptr, i32 } %657, 1
  store i32 %659, ptr %9, align 4
  br label %664

660:                                              ; preds = %248, %246
  %661 = landingpad { ptr, i32 }
          cleanup
  %662 = extractvalue { ptr, i32 } %661, 0
  store ptr %662, ptr %8, align 8
  %663 = extractvalue { ptr, i32 } %661, 1
  store i32 %663, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %103) #8
  br label %664

664:                                              ; preds = %660, %656
  call void @llvm.lifetime.end.p0(i64 32, ptr %103) #8
  br label %665

665:                                              ; preds = %664, %652
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %102) #8
  br label %666

666:                                              ; preds = %665, %648
  call void @llvm.lifetime.end.p0(i64 32, ptr %102) #8
  br label %667

667:                                              ; preds = %666, %644, %643
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %71) #8
  br label %668

668:                                              ; preds = %667, %504
  call void @llvm.lifetime.end.p0(i64 376, ptr %71) #8
  br label %669

669:                                              ; preds = %668, %503
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %21) #8
  br label %670

670:                                              ; preds = %669, %299
  call void @llvm.lifetime.end.p0(i64 376, ptr %21) #8
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  br label %671

671:                                              ; preds = %670, %295
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  br label %672

672:                                              ; preds = %671, %291
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @_ZN6Halide4RDomD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %16) #8
  br label %673

673:                                              ; preds = %672, %290, %278
  call void @llvm.lifetime.end.p0(i64 200, ptr %16) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  br label %674

674:                                              ; preds = %673, %277
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %675

675:                                              ; preds = %674, %268
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  br label %676

676:                                              ; preds = %675, %259
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #8
  br label %677

677:                                              ; preds = %676
  %678 = load ptr, ptr %8, align 8
  %679 = load i32, ptr %9, align 4
  %680 = insertvalue { ptr, i32 } poison, ptr %678, 0
  %681 = insertvalue { ptr, i32 } %680, i32 %679, 1
  resume { ptr, i32 } %681
}

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_ZN6Halide4RDomC2IJEEENS_4ExprES2_DpOT_(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef, ptr noundef) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Halide6BufferIfEC2IJiEvEEiDpT_(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Halide18ExternFuncArgumentC2IfEENS_6BufferIT_EE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) unnamed_addr #3 align 2

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

declare void @_ZN6Halide4Func13define_externERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorINS_18ExternFuncArgumentESaISA_EERKS9_INS_4TypeESaISF_EERKS9_INS_3VarESaISK_EENS_12NameManglingENS_9DeviceAPIE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) #4

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

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

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

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

declare void @_ZN6Halide3sumENS_4ExprERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6Halide6BufferIfEclIJNS_4RDomEEEENS_4ExprES4_DpT_(ptr dead_on_unwind noalias writable sret(%"struct.Halide::Expr") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6Halide6BufferIfEclIJNS_3VarEEEENS_4ExprES4_DpT_(ptr dead_on_unwind noalias writable sret(%"struct.Halide::Expr") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) #3 align 2

declare void @_ZNK6Halide4RDomcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8, ptr noundef nonnull align 8 dereferenceable(200)) #4

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

declare void @_ZN6Halide7FuncRefaSERKS0_(ptr dead_on_unwind writable sret(%"class.Halide::Stage") align 8, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #7

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(112)) #3 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSSt16initializer_listIN6Halide3VarEE", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSSt16initializer_listIN6Halide18ExternFuncArgumentEE", !6, i64 0, !11, i64 8}
!15 = !{!14, !11, i64 8}
!16 = !{i64 0, i64 1, !17, i64 1, i64 1, !19, i64 2, i64 2, !20, i64 8, i64 8, !5}
!17 = !{!18, !18, i64 0}
!18 = !{!"_ZTS18halide_type_code_t", !7, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"short", !7, i64 0}
!22 = !{!23, !6, i64 0}
!23 = !{!"_ZTSSt16initializer_listIN6Halide4TypeEE", !6, i64 0, !11, i64 8}
!24 = !{!23, !11, i64 8}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.Halide::Expr" = type { %"struct.Halide::Internal::IRHandle" }
%"struct.Halide::Internal::IRHandle" = type { %"struct.Halide::Internal::IntrusivePtr.5" }
%"struct.Halide::Internal::IntrusivePtr.5" = type { ptr }
%"class.Halide::FuncRef" = type { %"class.Halide::Internal::Function", i32, i32, %"class.std::vector.6" }
%"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.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = 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 }
%"class.Halide::Stage" = type { %"class.Halide::Internal::Function", %"class.Halide::Internal::Definition", i64, %"class.std::vector" }
%"class.Halide::Internal::Definition" = type { %"struct.Halide::Internal::IntrusivePtr.1" }
%"struct.Halide::Internal::IntrusivePtr.1" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.Halide::Var" = type { %"class.std::__cxx11::basic_string" }
%"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::allocator" = type { i8 }
%"class.Halide::RDom" = type { %"class.Halide::Internal::ReductionDomain", %"class.Halide::RVar", %"class.Halide::RVar", %"class.Halide::RVar", %"class.Halide::RVar" }
%"class.Halide::Internal::ReductionDomain" = type { %"struct.Halide::Internal::IntrusivePtr.34" }
%"struct.Halide::Internal::IntrusivePtr.34" = type { ptr }
%"class.Halide::RVar" = type <{ %"class.std::__cxx11::basic_string", %"class.Halide::Internal::ReductionDomain", i32, [4 x i8] }>
%"class.Halide::Buffer.35" = type { ptr, %"struct.Halide::Internal::IntrusivePtr.11" }
%"struct.Halide::Internal::IntrusivePtr.11" = type { ptr }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.Halide::Func" = type { %"class.Halide::Internal::Function", %"class.Halide::Pipeline" }
%"class.Halide::Pipeline" = type { %"struct.Halide::Internal::IntrusivePtr.0" }
%"struct.Halide::Internal::IntrusivePtr.0" = type { ptr }
%"struct.Halide::ExternFuncArgument" = type { i32, [4 x i8], %"struct.Halide::Internal::FunctionPtr", %"class.Halide::Buffer", %"struct.Halide::Expr", %"class.Halide::Internal::Parameter" }
%"class.Halide::Buffer" = type { ptr, %"struct.Halide::Internal::IntrusivePtr.11" }
%"class.Halide::Internal::Parameter" = type { ptr, %"struct.Halide::Internal::IntrusivePtr.12" }
%"struct.Halide::Internal::IntrusivePtr.12" = type { ptr }
%"class.std::allocator.2" = type { i8 }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<Halide::ExternFuncArgument, std::allocator<Halide::ExternFuncArgument>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::ExternFuncArgument, std::allocator<Halide::ExternFuncArgument>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::ExternFuncArgument, std::allocator<Halide::ExternFuncArgument>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::ExternFuncArgument, std::allocator<Halide::ExternFuncArgument>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.15" = type { i8 }
%"class.std::vector.36" = type { %"struct.std::_Vector_base.37" }
%"struct.std::_Vector_base.37" = type { %"struct.std::_Vector_base<Halide::Type, std::allocator<Halide::Type>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Type, std::allocator<Halide::Type>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Type, std::allocator<Halide::Type>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Type, std::allocator<Halide::Type>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Halide::Type" = type { %struct.halide_type_t, ptr }
%struct.halide_type_t = type { i8, i8, i16 }
%"class.std::allocator.38" = type { i8 }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<Halide::Internal::Function, std::allocator<Halide::Internal::Function>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Internal::Function, std::allocator<Halide::Internal::Function>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Internal::Function, std::allocator<Halide::Internal::Function>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Internal::Function, std::allocator<Halide::Internal::Function>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Halide::Internal::Autoscheduler::FunctionDAG" = type { %"class.std::vector.24", %"class.std::vector.29" }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = 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.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = 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 }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.11 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN6Halide3VarC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3

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

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

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

declare void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3

declare void @_ZN6HalidemlENS_4ExprES0_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind noalias writable sret(%"struct.Halide::Expr") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind noalias writable sret(%"class.Halide::FuncRef") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

declare void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind writable sret(%"class.Halide::Stage") align 8, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) local_unnamed_addr #3

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, ptr } @_ZN6Halide5FloatEii(i32 noundef, i32 noundef) local_unnamed_addr #6

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind noalias writable sret(%"class.Halide::Internal::Function") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 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: 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 #5 align 2

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

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

declare void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGC1ERKSt6vectorINS0_8FunctionESaIS4_EERKNS_13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler11FunctionDAG4dumpERSo(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z11test_matmulRKN6Halide13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.Halide::Var", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca %"class.Halide::Var", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.Halide::Var", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca %"class.Halide::RDom", align 8
  %13 = alloca %"struct.Halide::Expr", align 8
  %14 = alloca %"struct.Halide::Expr", align 8
  %15 = alloca %"class.Halide::Buffer.35", align 8
  %16 = alloca %"class.Halide::Buffer.35", align 8
  %17 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %18 = alloca %"class.Halide::Func", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.Halide::Func", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator", align 1
  %24 = alloca %"struct.Halide::ExternFuncArgument", align 8
  %25 = alloca %"class.Halide::Buffer.35", align 8
  %26 = alloca %"struct.Halide::ExternFuncArgument", align 8
  %27 = alloca %"class.Halide::Buffer.35", align 8
  %28 = alloca %"class.std::vector", align 8
  %29 = alloca [2 x %"class.Halide::Var"], align 8
  %30 = alloca %"class.std::allocator.2", align 1
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator", align 1
  %33 = alloca %"class.std::vector.13", align 8
  %34 = alloca [2 x %"struct.Halide::ExternFuncArgument"], align 8
  %35 = alloca %"class.std::allocator.15", align 1
  %36 = alloca %"class.std::vector.36", align 8
  %37 = alloca [2 x %"struct.Halide::Type"], align 8
  %38 = alloca %"class.std::allocator.38", align 1
  %39 = alloca %"struct.Halide::Expr", align 8
  %40 = alloca %"struct.Halide::Expr", align 8
  %41 = alloca %"struct.Halide::Expr", align 8
  %42 = alloca %"struct.Halide::Expr", align 8
  %43 = alloca %"class.Halide::RDom", align 8
  %44 = alloca %"struct.Halide::Expr", align 8
  %45 = alloca %"struct.Halide::Expr", align 8
  %46 = alloca %"class.Halide::Var", align 8
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::allocator", align 1
  %49 = alloca %"class.Halide::Internal::Function", align 8
  %50 = alloca %"class.Halide::Stage", align 8
  %51 = alloca %"class.Halide::FuncRef", align 8
  %52 = alloca %"class.Halide::FuncRef", align 8
  %53 = alloca %"class.Halide::Var", align 8
  %54 = alloca %"struct.Halide::Expr", align 8
  %55 = alloca %"struct.Halide::Expr", align 8
  %56 = alloca %"class.Halide::Var", align 8
  %57 = alloca %"struct.Halide::Expr", align 8
  %58 = alloca %"struct.Halide::Expr", align 8
  %59 = alloca %"class.std::vector.19", align 8
  %60 = alloca %"class.Halide::Internal::Function", align 8
  %61 = alloca %"struct.Halide::Internal::Autoscheduler::FunctionDAG", align 8
  %62 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %63 = alloca %"class.Halide::Func", align 8
  %64 = alloca %"class.std::__cxx11::basic_string", align 8
  %65 = alloca %"class.std::allocator", align 1
  %66 = alloca %"class.Halide::Func", align 8
  %67 = alloca %"class.std::__cxx11::basic_string", align 8
  %68 = alloca %"class.std::allocator", align 1
  %69 = alloca %"class.Halide::Stage", align 8
  %70 = alloca %"struct.Halide::Expr", align 8
  %71 = alloca %"struct.Halide::Expr", align 8
  %72 = alloca %"struct.Halide::Expr", align 8
  %73 = alloca %"struct.Halide::Expr", align 8
  %74 = alloca %"class.Halide::RDom", align 8
  %75 = alloca %"struct.Halide::Expr", align 8
  %76 = alloca %"struct.Halide::Expr", align 8
  %77 = alloca %"class.Halide::Var", align 8
  %78 = alloca %"class.std::__cxx11::basic_string", align 8
  %79 = alloca %"class.std::allocator", align 1
  %80 = alloca %"class.Halide::FuncRef", align 8
  %81 = alloca %"class.Halide::Stage", align 8
  %82 = alloca %"class.Halide::FuncRef", align 8
  %83 = alloca %"class.Halide::FuncRef", align 8
  %84 = alloca %"class.Halide::Var", align 8
  %85 = alloca %"struct.Halide::Expr", align 8
  %86 = alloca %"struct.Halide::Expr", align 8
  %87 = alloca %"class.Halide::Var", align 8
  %88 = alloca %"struct.Halide::Expr", align 8
  %89 = alloca %"struct.Halide::Expr", align 8
  %90 = alloca %"class.std::vector.19", align 8
  %91 = alloca %"class.Halide::Internal::Function", align 8
  %92 = alloca %"struct.Halide::Internal::Autoscheduler::FunctionDAG", align 8
  %93 = alloca %"class.std::__cxx11::basic_string", align 8
  %94 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %95 unwind label %204

95:                                               ; preds = %2
  invoke void @_ZN6Halide3VarC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %96 unwind label %206

96:                                               ; preds = %95
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %97 unwind label %209

97:                                               ; preds = %96
  invoke void @_ZN6Halide3VarC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %98 unwind label %211

98:                                               ; preds = %97
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %99 unwind label %214

99:                                               ; preds = %98
  invoke void @_ZN6Halide3VarC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %100 unwind label %216

100:                                              ; preds = %99
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %12) #7
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 0)
          to label %101 unwind label %219

101:                                              ; preds = %100
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %14, i32 noundef 200)
          to label %102 unwind label %221

102:                                              ; preds = %101
  invoke void @_ZN6Halide4RDomC2IJEEENS_4ExprES2_DpOT_(ptr noundef nonnull align 8 dereferenceable(200) %12, ptr noundef nonnull %13, ptr noundef nonnull %14)
          to label %103 unwind label %223

103:                                              ; preds = %102
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  invoke void @_ZN6Halide6BufferIfEC2IJiEvEEiDpT_(ptr noundef nonnull align 8 dereferenceable(16) %15, i32 noundef 200, i32 noundef 200)
          to label %104 unwind label %226

104:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  invoke void @_ZN6Halide6BufferIfEC2IJiEvEEiDpT_(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 200, i32 noundef 200)
          to label %105 unwind label %228

105:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %17) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %17)
          to label %106 unwind label %230

106:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %107 unwind label %232

107:                                              ; preds = %106
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %108 unwind label %234

108:                                              ; preds = %107
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %109 unwind label %237

109:                                              ; preds = %108
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %110 unwind label %239

110:                                              ; preds = %109
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %24) #7
  call void @_ZN6Halide6BufferIfEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  invoke void @_ZN6Halide18ExternFuncArgumentC2IfEENS_6BufferIT_EE(ptr noundef nonnull align 8 dereferenceable(72) %24, ptr noundef nonnull %25)
          to label %111 unwind label %242

111:                                              ; preds = %110
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %26) #7
  call void @_ZN6Halide6BufferIfEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  invoke void @_ZN6Halide18ExternFuncArgumentC2IfEENS_6BufferIT_EE(ptr noundef nonnull align 8 dereferenceable(72) %26, ptr noundef nonnull %27)
          to label %112 unwind label %244

112:                                              ; preds = %111
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %29) #7
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %114 unwind label %.thread

.thread:                                          ; preds = %112
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

114:                                              ; preds = %112
  %115 = getelementptr inbounds i8, ptr %29, i64 32
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %115, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %116 unwind label %.loopexit.loopexit178

116:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #7
  call void @_ZNSaIN6Halide3VarEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #7
  invoke void @_ZNSt6vectorIN6Halide3VarESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr nonnull %29, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %117 unwind label %.loopexit.loopexit

117:                                              ; preds = %116
  call void @_ZNSt15__new_allocatorIN6Halide3VarEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #7
  %118 = getelementptr inbounds i8, ptr %29, i64 32
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %118) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %29) #7
  %119 = invoke { i64, ptr } @_ZN6Halide5FloatEii(i32 noundef 32, i32 noundef 1)
          to label %120 unwind label %249

120:                                              ; preds = %117
  %121 = extractvalue { i64, ptr } %119, 0
  %122 = extractvalue { i64, ptr } %119, 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %123 unwind label %251

123:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %34) #7
  call void @_ZN6Halide18ExternFuncArgumentC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(72) %34, ptr noundef nonnull align 8 dereferenceable(72) %24) #7
  %124 = getelementptr inbounds i8, ptr %34, i64 72
  call void @_ZN6Halide18ExternFuncArgumentC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(72) %124, ptr noundef nonnull align 8 dereferenceable(72) %26) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #7
  call void @_ZNSaIN6Halide18ExternFuncArgumentEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  invoke void @_ZNSt6vectorIN6Halide18ExternFuncArgumentESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr nonnull %34, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %125 unwind label %253

125:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #7
  store i64 %121, ptr %37, align 8
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 8
  store ptr %122, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %37, i64 16
  store i64 %121, ptr %126, align 8
  %.sroa.6.0..sroa_idx5 = getelementptr inbounds i8, ptr %37, i64 24
  store ptr %122, ptr %.sroa.6.0..sroa_idx5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #7
  call void @_ZNSaIN6Halide4TypeEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  invoke void @_ZNSt6vectorIN6Halide4TypeESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr nonnull %37, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %127 unwind label %255

127:                                              ; preds = %125
  invoke void @_ZN6Halide4Func13define_externERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorINS_18ExternFuncArgumentESaISA_EERKS9_INS_4TypeESaISF_EERKS9_INS_3VarESaISK_EENS_12NameManglingENS_9DeviceAPIE(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef 1, i32 noundef 1)
          to label %128 unwind label %257

128:                                              ; preds = %127
  call void @_ZNSt6vectorIN6Halide4TypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  call void @_ZNSt15__new_allocatorIN6Halide4TypeEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #7
  call void @_ZNSt6vectorIN6Halide18ExternFuncArgumentESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  call void @_ZNSt15__new_allocatorIN6Halide18ExternFuncArgumentEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #7
  %129 = getelementptr inbounds i8, ptr %34, i64 72
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %129) #7
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %34) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #7
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %42, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %130 unwind label %263

130:                                              ; preds = %128
  invoke void @_ZN6Halide4RDomC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(200) %43, ptr noundef nonnull align 8 dereferenceable(200) %12)
          to label %131 unwind label %265

131:                                              ; preds = %130
  invoke void @_ZNK6Halide6BufferIfEclIJNS_4RDomEEEENS_4ExprES4_DpT_(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %41, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull %42, ptr noundef nonnull %43)
          to label %132 unwind label %267

132:                                              ; preds = %131
  invoke void @_ZNK6Halide4RDomcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %45, ptr noundef nonnull align 8 dereferenceable(200) %12)
          to label %133 unwind label %269

133:                                              ; preds = %132
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %134 unwind label %271

134:                                              ; preds = %133
  invoke void @_ZNK6Halide6BufferIfEclIJNS_3VarEEEENS_4ExprES4_DpT_(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %44, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull %45, ptr noundef nonnull %46)
          to label %135 unwind label %273

135:                                              ; preds = %134
  invoke void @_ZN6HalidemlENS_4ExprES0_(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %40, ptr noundef nonnull %41, ptr noundef nonnull %44)
          to label %136 unwind label %275

136:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %47) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %48) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %137 unwind label %277

137:                                              ; preds = %136
  invoke void @_ZN6Halide3sumENS_4ExprERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %39, ptr noundef nonnull %40, ptr noundef nonnull align 8 dereferenceable(32) %47)
          to label %138 unwind label %279

138:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %49) #7
  call void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Internal::Function") align 8 %49, ptr noundef nonnull align 8 dereferenceable(32) %18)
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function28extern_definition_proxy_exprEv(ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %140 unwind label %281

140:                                              ; preds = %138
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide4ExpraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %44) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %45) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #7
  call void @_ZN6Halide4RDomD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %43) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %51) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %51, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %142 unwind label %292

142:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %52) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %52, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %143 unwind label %294

143:                                              ; preds = %142
  invoke void @_ZN6Halide7FuncRefaSERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Stage") align 8 %50, ptr noundef nonnull align 8 dereferenceable(56) %52, ptr noundef nonnull align 8 dereferenceable(56) %51)
          to label %144 unwind label %296

144:                                              ; preds = %143
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %50) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %52) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %52) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %51) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %51) #7
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %145 unwind label %249

145:                                              ; preds = %144
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %54, i32 noundef 0)
          to label %146 unwind label %300

146:                                              ; preds = %145
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %55, i32 noundef 200)
          to label %147 unwind label %302

147:                                              ; preds = %146
  %148 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull %53, ptr noundef nonnull %54, ptr noundef nonnull %55)
          to label %149 unwind label %304

149:                                              ; preds = %147
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %150 unwind label %304

150:                                              ; preds = %149
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %57, i32 noundef 0)
          to label %151 unwind label %306

151:                                              ; preds = %150
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %58, i32 noundef 200)
          to label %152 unwind label %308

152:                                              ; preds = %151
  %153 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %148, ptr noundef nonnull %56, ptr noundef nonnull %57, ptr noundef nonnull %58)
          to label %154 unwind label %310

154:                                              ; preds = %152
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %58) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %57) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %55) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %59) #7
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %60) #7
  call void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Internal::Function") align 8 %60, ptr noundef nonnull align 8 dereferenceable(32) %21)
  invoke void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 8 dereferenceable(24) %60)
          to label %155 unwind label %317

155:                                              ; preds = %154
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %60) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %61) #7
  invoke void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGC1ERKSt6vectorINS0_8FunctionESaIS4_EERKNS_13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(48) %61, ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %156 unwind label %319

156:                                              ; preds = %155
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler11FunctionDAG4dumpERSo(ptr noundef nonnull align 8 dereferenceable(48) %61, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %158 unwind label %321

158:                                              ; preds = %156
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %61) #7
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %59) #7
  call void @_ZNSt6vectorIN6Halide3VarESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #7
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %26) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %26) #7
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %24) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %24) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %62) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %62)
          to label %159 unwind label %331

159:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %63) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %64) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %65) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %65)
          to label %160 unwind label %333

160:                                              ; preds = %159
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull align 8 dereferenceable(32) %64)
          to label %161 unwind label %335

161:                                              ; preds = %160
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %65) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %64) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %66) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %67) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %68) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %68)
          to label %162 unwind label %338

162:                                              ; preds = %161
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull align 8 dereferenceable(32) %67)
          to label %163 unwind label %340

163:                                              ; preds = %162
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %68) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #7
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %73, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %164 unwind label %343

164:                                              ; preds = %163
  invoke void @_ZN6Halide4RDomC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(200) %74, ptr noundef nonnull align 8 dereferenceable(200) %12)
          to label %165 unwind label %345

165:                                              ; preds = %164
  invoke void @_ZNK6Halide6BufferIfEclIJNS_4RDomEEEENS_4ExprES4_DpT_(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %72, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull %73, ptr noundef nonnull %74)
          to label %166 unwind label %347

166:                                              ; preds = %165
  invoke void @_ZNK6Halide4RDomcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %76, ptr noundef nonnull align 8 dereferenceable(200) %12)
          to label %167 unwind label %349

167:                                              ; preds = %166
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %168 unwind label %351

168:                                              ; preds = %167
  invoke void @_ZNK6Halide6BufferIfEclIJNS_3VarEEEENS_4ExprES4_DpT_(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %75, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull %76, ptr noundef nonnull %77)
          to label %169 unwind label %353

169:                                              ; preds = %168
  invoke void @_ZN6HalidemlENS_4ExprES0_(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %71, ptr noundef nonnull %72, ptr noundef nonnull %75)
          to label %170 unwind label %355

170:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %78) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %79) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %79)
          to label %171 unwind label %357

171:                                              ; preds = %170
  invoke void @_ZN6Halide3sumENS_4ExprERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %70, ptr noundef nonnull %71, ptr noundef nonnull align 8 dereferenceable(32) %78)
          to label %172 unwind label %359

172:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %80) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %80, ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %173 unwind label %361

173:                                              ; preds = %172
  invoke void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Stage") align 8 %69, ptr noundef nonnull align 8 dereferenceable(56) %80, ptr noundef nonnull %70)
          to label %174 unwind label %363

174:                                              ; preds = %173
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %69) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %80) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %80) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %70) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %79) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %71) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %75) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %76) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #7
  call void @_ZN6Halide4RDomD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %74) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %73) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %82) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %82, ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %175 unwind label %374

175:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %83) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %83, ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %176 unwind label %376

176:                                              ; preds = %175
  invoke void @_ZN6Halide7FuncRefaSERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Stage") align 8 %81, ptr noundef nonnull align 8 dereferenceable(56) %83, ptr noundef nonnull align 8 dereferenceable(56) %82)
          to label %177 unwind label %378

177:                                              ; preds = %176
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %81) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %83) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %83) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %82) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %82) #7
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %84, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %178 unwind label %343

178:                                              ; preds = %177
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %85, i32 noundef 0)
          to label %179 unwind label %382

179:                                              ; preds = %178
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %86, i32 noundef 200)
          to label %180 unwind label %384

180:                                              ; preds = %179
  %181 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull %84, ptr noundef nonnull %85, ptr noundef nonnull %86)
          to label %182 unwind label %386

182:                                              ; preds = %180
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %87, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %183 unwind label %386

183:                                              ; preds = %182
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %88, i32 noundef 0)
          to label %184 unwind label %388

184:                                              ; preds = %183
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %89, i32 noundef 200)
          to label %185 unwind label %390

185:                                              ; preds = %184
  %186 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %181, ptr noundef nonnull %87, ptr noundef nonnull %88, ptr noundef nonnull %89)
          to label %187 unwind label %392

187:                                              ; preds = %185
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %89) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %88) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %86) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %85) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %90) #7
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %90) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %91) #7
  call void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Internal::Function") align 8 %91, ptr noundef nonnull align 8 dereferenceable(32) %66)
  invoke void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %90, ptr noundef nonnull align 8 dereferenceable(24) %91)
          to label %188 unwind label %399

188:                                              ; preds = %187
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %91) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %91) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %92) #7
  invoke void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGC1ERKSt6vectorINS0_8FunctionESaIS4_EERKNS_13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(48) %92, ptr noundef nonnull align 8 dereferenceable(24) %90, ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %189 unwind label %401

189:                                              ; preds = %188
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler11FunctionDAG4dumpERSo(ptr noundef nonnull align 8 dereferenceable(48) %92, ptr noundef nonnull align 8 dereferenceable(8) %62)
          to label %191 unwind label %403

191:                                              ; preds = %189
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %92) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %92) #7
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %90) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %90) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #7
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.11)
          to label %193 unwind label %410

193:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %93) #7
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %93, ptr noundef nonnull align 8 dereferenceable(112) %17)
          to label %194 unwind label %412

194:                                              ; preds = %193
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef nonnull align 8 dereferenceable(32) %93)
          to label %196 unwind label %414

196:                                              ; preds = %194
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %195, ptr noundef nonnull @.str.12)
          to label %198 unwind label %414

198:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %94) #7
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %94, ptr noundef nonnull align 8 dereferenceable(112) %62)
          to label %199 unwind label %416

199:                                              ; preds = %198
  %200 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %197, ptr noundef nonnull align 8 dereferenceable(32) %94)
          to label %201 unwind label %418

201:                                              ; preds = %199
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %200, ptr noundef nonnull @.str.13)
          to label %203 unwind label %418

203:                                              ; preds = %201
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %94) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %94) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %93) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %93) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %62) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %62) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %17) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %17) #7
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @_ZN6Halide4RDomD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %12) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %12) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  ret void

204:                                              ; preds = %2
  %205 = landingpad { ptr, i32 }
          cleanup
  br label %208

206:                                              ; preds = %95
  %207 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  br label %208

208:                                              ; preds = %206, %204
  %.pn = phi { ptr, i32 } [ %207, %206 ], [ %205, %204 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  br label %432

209:                                              ; preds = %96
  %210 = landingpad { ptr, i32 }
          cleanup
  br label %213

211:                                              ; preds = %97
  %212 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  br label %213

213:                                              ; preds = %211, %209
  %.pn89 = phi { ptr, i32 } [ %212, %211 ], [ %210, %209 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  br label %431

214:                                              ; preds = %98
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %218

216:                                              ; preds = %99
  %217 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %218

218:                                              ; preds = %216, %214
  %.pn91 = phi { ptr, i32 } [ %217, %216 ], [ %215, %214 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %430

219:                                              ; preds = %100
  %220 = landingpad { ptr, i32 }
          cleanup
  br label %429

221:                                              ; preds = %101
  %222 = landingpad { ptr, i32 }
          cleanup
  br label %225

223:                                              ; preds = %102
  %224 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br label %225

225:                                              ; preds = %223, %221
  %.pn93 = phi { ptr, i32 } [ %224, %223 ], [ %222, %221 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br label %429

226:                                              ; preds = %103
  %227 = landingpad { ptr, i32 }
          cleanup
  br label %428

228:                                              ; preds = %104
  %229 = landingpad { ptr, i32 }
          cleanup
  br label %427

230:                                              ; preds = %105
  %231 = landingpad { ptr, i32 }
          cleanup
  br label %426

232:                                              ; preds = %106
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %236

234:                                              ; preds = %107
  %235 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  br label %236

236:                                              ; preds = %234, %232
  %.pn95 = phi { ptr, i32 } [ %235, %234 ], [ %233, %232 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #7
  br label %330

237:                                              ; preds = %108
  %238 = landingpad { ptr, i32 }
          cleanup
  br label %241

239:                                              ; preds = %109
  %240 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  br label %241

241:                                              ; preds = %239, %237
  %.pn97 = phi { ptr, i32 } [ %240, %239 ], [ %238, %237 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #7
  br label %329

242:                                              ; preds = %110
  %243 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #7
  br label %328

244:                                              ; preds = %111
  %245 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #7
  br label %327

.loopexit.loopexit178:                            ; preds = %114
  %246 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  br label %.loopexit

.loopexit.loopexit:                               ; preds = %116
  %247 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN6Halide3VarEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #7
  %248 = getelementptr inbounds i8, ptr %29, i64 32
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %248) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit178, %.loopexit.loopexit, %.thread
  %.pn99 = phi { ptr, i32 } [ %113, %.thread ], [ %247, %.loopexit.loopexit ], [ %246, %.loopexit.loopexit178 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %29) #7
  br label %326

249:                                              ; preds = %144, %117
  %250 = landingpad { ptr, i32 }
          cleanup
  br label %325

251:                                              ; preds = %120
  %252 = landingpad { ptr, i32 }
          cleanup
  br label %262

253:                                              ; preds = %123
  %254 = landingpad { ptr, i32 }
          cleanup
  br label %260

255:                                              ; preds = %125
  %256 = landingpad { ptr, i32 }
          cleanup
  br label %259

257:                                              ; preds = %127
  %258 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN6Halide4TypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  br label %259

259:                                              ; preds = %257, %255
  %.pn101 = phi { ptr, i32 } [ %258, %257 ], [ %256, %255 ]
  call void @_ZNSt15__new_allocatorIN6Halide4TypeEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #7
  call void @_ZNSt6vectorIN6Halide18ExternFuncArgumentESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  br label %260

260:                                              ; preds = %259, %253
  %.pn101.pn = phi { ptr, i32 } [ %.pn101, %259 ], [ %254, %253 ]
  call void @_ZNSt15__new_allocatorIN6Halide18ExternFuncArgumentEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #7
  %261 = getelementptr inbounds i8, ptr %34, i64 72
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %261) #7
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %34) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #7
  br label %262

262:                                              ; preds = %260, %251
  %.pn101.pn.pn = phi { ptr, i32 } [ %.pn101.pn, %260 ], [ %252, %251 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #7
  br label %325

263:                                              ; preds = %128
  %264 = landingpad { ptr, i32 }
          cleanup
  br label %291

265:                                              ; preds = %130
  %266 = landingpad { ptr, i32 }
          cleanup
  br label %290

267:                                              ; preds = %131
  %268 = landingpad { ptr, i32 }
          cleanup
  br label %289

269:                                              ; preds = %132
  %270 = landingpad { ptr, i32 }
          cleanup
  br label %288

271:                                              ; preds = %133
  %272 = landingpad { ptr, i32 }
          cleanup
  br label %287

273:                                              ; preds = %134
  %274 = landingpad { ptr, i32 }
          cleanup
  br label %286

275:                                              ; preds = %135
  %276 = landingpad { ptr, i32 }
          cleanup
  br label %285

277:                                              ; preds = %136
  %278 = landingpad { ptr, i32 }
          cleanup
  br label %284

279:                                              ; preds = %137
  %280 = landingpad { ptr, i32 }
          cleanup
  br label %283

281:                                              ; preds = %138
  %282 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  br label %283

283:                                              ; preds = %281, %279
  %.pn105 = phi { ptr, i32 } [ %282, %281 ], [ %280, %279 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  br label %284

284:                                              ; preds = %283, %277
  %.pn105.pn = phi { ptr, i32 } [ %.pn105, %283 ], [ %278, %277 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  br label %285

285:                                              ; preds = %284, %275
  %.pn105.pn.pn = phi { ptr, i32 } [ %.pn105.pn, %284 ], [ %276, %275 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %44) #7
  br label %286

286:                                              ; preds = %285, %273
  %.pn105.pn.pn.pn = phi { ptr, i32 } [ %.pn105.pn.pn, %285 ], [ %274, %273 ]
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #7
  br label %287

287:                                              ; preds = %286, %271
  %.pn105.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn105.pn.pn.pn, %286 ], [ %272, %271 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %45) #7
  br label %288

288:                                              ; preds = %287, %269
  %.pn105.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn105.pn.pn.pn.pn, %287 ], [ %270, %269 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #7
  br label %289

289:                                              ; preds = %288, %267
  %.pn105.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn105.pn.pn.pn.pn.pn, %288 ], [ %268, %267 ]
  call void @_ZN6Halide4RDomD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %43) #7
  br label %290

290:                                              ; preds = %289, %265
  %.pn105.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn105.pn.pn.pn.pn.pn.pn, %289 ], [ %266, %265 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  br label %291

291:                                              ; preds = %290, %263
  %.pn105.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn105.pn.pn.pn.pn.pn.pn.pn, %290 ], [ %264, %263 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #7
  br label %325

292:                                              ; preds = %140
  %293 = landingpad { ptr, i32 }
          cleanup
  br label %299

294:                                              ; preds = %142
  %295 = landingpad { ptr, i32 }
          cleanup
  br label %298

296:                                              ; preds = %143
  %297 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %52) #7
  br label %298

298:                                              ; preds = %296, %294
  %.pn115 = phi { ptr, i32 } [ %297, %296 ], [ %295, %294 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %52) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %51) #7
  br label %299

299:                                              ; preds = %298, %292
  %.pn115.pn = phi { ptr, i32 } [ %.pn115, %298 ], [ %293, %292 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %51) #7
  br label %325

300:                                              ; preds = %145
  %301 = landingpad { ptr, i32 }
          cleanup
  br label %316

302:                                              ; preds = %146
  %303 = landingpad { ptr, i32 }
          cleanup
  br label %315

304:                                              ; preds = %149, %147
  %305 = landingpad { ptr, i32 }
          cleanup
  br label %314

306:                                              ; preds = %150
  %307 = landingpad { ptr, i32 }
          cleanup
  br label %313

308:                                              ; preds = %151
  %309 = landingpad { ptr, i32 }
          cleanup
  br label %312

310:                                              ; preds = %152
  %311 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %58) #7
  br label %312

312:                                              ; preds = %310, %308
  %.pn118 = phi { ptr, i32 } [ %311, %310 ], [ %309, %308 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %57) #7
  br label %313

313:                                              ; preds = %312, %306
  %.pn118.pn = phi { ptr, i32 } [ %.pn118, %312 ], [ %307, %306 ]
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #7
  br label %314

314:                                              ; preds = %313, %304
  %.pn118.pn.pn = phi { ptr, i32 } [ %.pn118.pn, %313 ], [ %305, %304 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %55) #7
  br label %315

315:                                              ; preds = %314, %302
  %.pn118.pn.pn.pn = phi { ptr, i32 } [ %.pn118.pn.pn, %314 ], [ %303, %302 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #7
  br label %316

316:                                              ; preds = %315, %300
  %.pn118.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn118.pn.pn.pn, %315 ], [ %301, %300 ]
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #7
  br label %325

317:                                              ; preds = %154
  %318 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %60) #7
  br label %324

319:                                              ; preds = %155
  %320 = landingpad { ptr, i32 }
          cleanup
  br label %323

321:                                              ; preds = %156
  %322 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #7
  br label %323

323:                                              ; preds = %321, %319
  %.pn124 = phi { ptr, i32 } [ %322, %321 ], [ %320, %319 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %61) #7
  br label %324

324:                                              ; preds = %323, %317
  %.pn124.pn = phi { ptr, i32 } [ %.pn124, %323 ], [ %318, %317 ]
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %59) #7
  br label %325

325:                                              ; preds = %324, %316, %299, %291, %262, %249
  %.pn124.pn.pn = phi { ptr, i32 } [ %.pn124.pn, %324 ], [ %.pn118.pn.pn.pn.pn, %316 ], [ %250, %249 ], [ %.pn115.pn, %299 ], [ %.pn105.pn.pn.pn.pn.pn.pn.pn.pn, %291 ], [ %.pn101.pn.pn, %262 ]
  call void @_ZNSt6vectorIN6Halide3VarESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  br label %326

326:                                              ; preds = %325, %.loopexit
  %.pn124.pn.pn.pn = phi { ptr, i32 } [ %.pn124.pn.pn, %325 ], [ %.pn99, %.loopexit ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #7
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %26) #7
  br label %327

327:                                              ; preds = %326, %244
  %.pn124.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn124.pn.pn.pn, %326 ], [ %245, %244 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %26) #7
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %24) #7
  br label %328

328:                                              ; preds = %327, %242
  %.pn124.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn124.pn.pn.pn.pn, %327 ], [ %243, %242 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %24) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %329

329:                                              ; preds = %328, %241
  %.pn124.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn124.pn.pn.pn.pn.pn, %328 ], [ %.pn97, %241 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %330

330:                                              ; preds = %329, %236
  %.pn124.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn124.pn.pn.pn.pn.pn.pn, %329 ], [ %.pn95, %236 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  br label %425

331:                                              ; preds = %158
  %332 = landingpad { ptr, i32 }
          cleanup
  br label %424

333:                                              ; preds = %159
  %334 = landingpad { ptr, i32 }
          cleanup
  br label %337

335:                                              ; preds = %160
  %336 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #7
  br label %337

337:                                              ; preds = %335, %333
  %.pn133 = phi { ptr, i32 } [ %336, %335 ], [ %334, %333 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %65) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %64) #7
  br label %409

338:                                              ; preds = %161
  %339 = landingpad { ptr, i32 }
          cleanup
  br label %342

340:                                              ; preds = %162
  %341 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #7
  br label %342

342:                                              ; preds = %340, %338
  %.pn135 = phi { ptr, i32 } [ %341, %340 ], [ %339, %338 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %68) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #7
  br label %408

343:                                              ; preds = %177, %163
  %344 = landingpad { ptr, i32 }
          cleanup
  br label %407

345:                                              ; preds = %164
  %346 = landingpad { ptr, i32 }
          cleanup
  br label %373

347:                                              ; preds = %165
  %348 = landingpad { ptr, i32 }
          cleanup
  br label %372

349:                                              ; preds = %166
  %350 = landingpad { ptr, i32 }
          cleanup
  br label %371

351:                                              ; preds = %167
  %352 = landingpad { ptr, i32 }
          cleanup
  br label %370

353:                                              ; preds = %168
  %354 = landingpad { ptr, i32 }
          cleanup
  br label %369

355:                                              ; preds = %169
  %356 = landingpad { ptr, i32 }
          cleanup
  br label %368

357:                                              ; preds = %170
  %358 = landingpad { ptr, i32 }
          cleanup
  br label %367

359:                                              ; preds = %171
  %360 = landingpad { ptr, i32 }
          cleanup
  br label %366

361:                                              ; preds = %172
  %362 = landingpad { ptr, i32 }
          cleanup
  br label %365

363:                                              ; preds = %173
  %364 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %80) #7
  br label %365

365:                                              ; preds = %363, %361
  %.pn137 = phi { ptr, i32 } [ %364, %363 ], [ %362, %361 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %80) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %70) #7
  br label %366

366:                                              ; preds = %365, %359
  %.pn137.pn = phi { ptr, i32 } [ %.pn137, %365 ], [ %360, %359 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #7
  br label %367

367:                                              ; preds = %366, %357
  %.pn137.pn.pn = phi { ptr, i32 } [ %.pn137.pn, %366 ], [ %358, %357 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %79) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %71) #7
  br label %368

368:                                              ; preds = %367, %355
  %.pn137.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn, %367 ], [ %356, %355 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %75) #7
  br label %369

369:                                              ; preds = %368, %353
  %.pn137.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn.pn, %368 ], [ %354, %353 ]
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #7
  br label %370

370:                                              ; preds = %369, %351
  %.pn137.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn.pn.pn, %369 ], [ %352, %351 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %76) #7
  br label %371

371:                                              ; preds = %370, %349
  %.pn137.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn.pn.pn.pn, %370 ], [ %350, %349 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #7
  br label %372

372:                                              ; preds = %371, %347
  %.pn137.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn.pn.pn.pn.pn, %371 ], [ %348, %347 ]
  call void @_ZN6Halide4RDomD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %74) #7
  br label %373

373:                                              ; preds = %372, %345
  %.pn137.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn.pn.pn.pn.pn.pn, %372 ], [ %346, %345 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %73) #7
  br label %407

374:                                              ; preds = %174
  %375 = landingpad { ptr, i32 }
          cleanup
  br label %381

376:                                              ; preds = %175
  %377 = landingpad { ptr, i32 }
          cleanup
  br label %380

378:                                              ; preds = %176
  %379 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %83) #7
  br label %380

380:                                              ; preds = %378, %376
  %.pn147 = phi { ptr, i32 } [ %379, %378 ], [ %377, %376 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %83) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %82) #7
  br label %381

381:                                              ; preds = %380, %374
  %.pn147.pn = phi { ptr, i32 } [ %.pn147, %380 ], [ %375, %374 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %82) #7
  br label %407

382:                                              ; preds = %178
  %383 = landingpad { ptr, i32 }
          cleanup
  br label %398

384:                                              ; preds = %179
  %385 = landingpad { ptr, i32 }
          cleanup
  br label %397

386:                                              ; preds = %182, %180
  %387 = landingpad { ptr, i32 }
          cleanup
  br label %396

388:                                              ; preds = %183
  %389 = landingpad { ptr, i32 }
          cleanup
  br label %395

390:                                              ; preds = %184
  %391 = landingpad { ptr, i32 }
          cleanup
  br label %394

392:                                              ; preds = %185
  %393 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %89) #7
  br label %394

394:                                              ; preds = %392, %390
  %.pn150 = phi { ptr, i32 } [ %393, %392 ], [ %391, %390 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %88) #7
  br label %395

395:                                              ; preds = %394, %388
  %.pn150.pn = phi { ptr, i32 } [ %.pn150, %394 ], [ %389, %388 ]
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #7
  br label %396

396:                                              ; preds = %395, %386
  %.pn150.pn.pn = phi { ptr, i32 } [ %.pn150.pn, %395 ], [ %387, %386 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %86) #7
  br label %397

397:                                              ; preds = %396, %384
  %.pn150.pn.pn.pn = phi { ptr, i32 } [ %.pn150.pn.pn, %396 ], [ %385, %384 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %85) #7
  br label %398

398:                                              ; preds = %397, %382
  %.pn150.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn150.pn.pn.pn, %397 ], [ %383, %382 ]
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #7
  br label %407

399:                                              ; preds = %187
  %400 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %91) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %91) #7
  br label %406

401:                                              ; preds = %188
  %402 = landingpad { ptr, i32 }
          cleanup
  br label %405

403:                                              ; preds = %189
  %404 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %92) #7
  br label %405

405:                                              ; preds = %403, %401
  %.pn156 = phi { ptr, i32 } [ %404, %403 ], [ %402, %401 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %92) #7
  br label %406

406:                                              ; preds = %405, %399
  %.pn156.pn = phi { ptr, i32 } [ %.pn156, %405 ], [ %400, %399 ]
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %90) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %90) #7
  br label %407

407:                                              ; preds = %406, %398, %381, %373, %343
  %.pn156.pn.pn = phi { ptr, i32 } [ %.pn156.pn, %406 ], [ %.pn150.pn.pn.pn.pn, %398 ], [ %344, %343 ], [ %.pn147.pn, %381 ], [ %.pn137.pn.pn.pn.pn.pn.pn.pn.pn, %373 ]
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #7
  br label %408

408:                                              ; preds = %407, %342
  %.pn156.pn.pn.pn = phi { ptr, i32 } [ %.pn156.pn.pn, %407 ], [ %.pn135, %342 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #7
  br label %409

409:                                              ; preds = %408, %337
  %.pn156.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn156.pn.pn.pn, %408 ], [ %.pn133, %337 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #7
  br label %423

410:                                              ; preds = %191
  %411 = landingpad { ptr, i32 }
          cleanup
  br label %423

412:                                              ; preds = %193
  %413 = landingpad { ptr, i32 }
          cleanup
  br label %422

414:                                              ; preds = %196, %194
  %415 = landingpad { ptr, i32 }
          cleanup
  br label %421

416:                                              ; preds = %198
  %417 = landingpad { ptr, i32 }
          cleanup
  br label %420

418:                                              ; preds = %201, %199
  %419 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %94) #7
  br label %420

420:                                              ; preds = %418, %416
  %.pn162 = phi { ptr, i32 } [ %419, %418 ], [ %417, %416 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %94) #7
  br label %421

421:                                              ; preds = %420, %414
  %.pn162.pn = phi { ptr, i32 } [ %.pn162, %420 ], [ %415, %414 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %93) #7
  br label %422

422:                                              ; preds = %421, %412
  %.pn162.pn.pn = phi { ptr, i32 } [ %.pn162.pn, %421 ], [ %413, %412 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %93) #7
  br label %423

423:                                              ; preds = %422, %410, %409
  %.pn162.pn.pn.pn = phi { ptr, i32 } [ %.pn162.pn.pn, %422 ], [ %411, %410 ], [ %.pn156.pn.pn.pn.pn, %409 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %62) #7
  br label %424

424:                                              ; preds = %423, %331
  %.pn162.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn162.pn.pn.pn, %423 ], [ %332, %331 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %62) #7
  br label %425

425:                                              ; preds = %424, %330
  %.pn162.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn162.pn.pn.pn.pn, %424 ], [ %.pn124.pn.pn.pn.pn.pn.pn.pn, %330 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %17) #7
  br label %426

426:                                              ; preds = %425, %230
  %.pn162.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn162.pn.pn.pn.pn.pn, %425 ], [ %231, %230 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %17) #7
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br label %427

427:                                              ; preds = %426, %228
  %.pn162.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn162.pn.pn.pn.pn.pn.pn, %426 ], [ %229, %228 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  call void @_ZN6Halide6BufferIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %428

428:                                              ; preds = %427, %226
  %.pn162.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn162.pn.pn.pn.pn.pn.pn.pn, %427 ], [ %227, %226 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @_ZN6Halide4RDomD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %12) #7
  br label %429

429:                                              ; preds = %428, %225, %219
  %.pn162.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn162.pn.pn.pn.pn.pn.pn.pn.pn, %428 ], [ %.pn93, %225 ], [ %220, %219 ]
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %12) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %430

430:                                              ; preds = %429, %218
  %.pn162.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn162.pn.pn.pn.pn.pn.pn.pn.pn.pn, %429 ], [ %.pn91, %218 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %431

431:                                              ; preds = %430, %213
  %.pn162.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn162.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %430 ], [ %.pn89, %213 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  br label %432

432:                                              ; preds = %431, %208
  %.pn162.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn162.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %431 ], [ %.pn, %208 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn162.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

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

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

declare void @_ZN6Halide4Func13define_externERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorINS_18ExternFuncArgumentESaISA_EERKS9_INS_4TypeESaISF_EERKS9_INS_3VarESaISK_EENS_12NameManglingENS_9DeviceAPIE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6Halide6BufferIfEclIJNS_4RDomEEEENS_4ExprES4_DpT_(ptr dead_on_unwind noalias writable sret(%"struct.Halide::Expr") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6Halide6BufferIfEclIJNS_3VarEEEENS_4ExprES4_DpT_(ptr dead_on_unwind noalias writable sret(%"struct.Halide::Expr") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

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

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

declare void @_ZN6Halide7FuncRefaSERKS0_(ptr dead_on_unwind writable sret(%"class.Halide::Stage") align 8, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #2 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,SROAPass,SimplifyCFGPass