; 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.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.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.Halide::Func" = type { %"class.Halide::Internal::Function", %"class.Halide::Pipeline" }
%"class.Halide::Internal::Function" = type { %"struct.Halide::Internal::FunctionPtr" }
%"struct.Halide::Internal::FunctionPtr" = type <{ %"struct.Halide::Internal::IntrusivePtr", ptr, i32, [4 x i8] }>
%"struct.Halide::Internal::IntrusivePtr" = type { ptr }
%"class.Halide::Pipeline" = type { %"struct.Halide::Internal::IntrusivePtr.0" }
%"struct.Halide::Internal::IntrusivePtr.0" = type { 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 }
%"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.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 }
%"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" }
%"struct.Halide::Internal::IntrusivePtr.11" = type { ptr }
%"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.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.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 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 uwtable
define dso_local void @_Z15test_coeff_wiseRKN6Halide13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #2 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.std::__cxx11::basic_ostringstream", align 8
  %14 = alloca %"class.Halide::Func", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"class.Halide::Func", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator", align 1
  %20 = alloca %"class.Halide::Func", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca %"class.Halide::Stage", align 8
  %24 = alloca %"struct.Halide::Expr", align 8
  %25 = alloca %"struct.Halide::Expr", align 8
  %26 = alloca %"struct.Halide::Expr", align 8
  %27 = alloca %"struct.Halide::Expr", align 8
  %28 = alloca %"struct.Halide::Expr", align 8
  %29 = alloca %"struct.Halide::Expr", align 8
  %30 = alloca %"struct.Halide::Expr", align 8
  %31 = alloca %"class.Halide::FuncRef", align 8
  %32 = alloca %"struct.Halide::ExternFuncArgument", align 8
  %33 = alloca %"class.std::vector", align 8
  %34 = alloca %"class.std::initializer_list", align 8
  %35 = alloca [2 x %"class.Halide::Var"], align 8
  %36 = alloca ptr, align 8
  %37 = alloca %"class.std::allocator.2", align 1
  %38 = alloca %"struct.Halide::Type", align 8
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::allocator", align 1
  %41 = alloca %"class.std::vector.13", align 8
  %42 = alloca %"class.std::initializer_list.18", align 8
  %43 = alloca [1 x %"struct.Halide::ExternFuncArgument"], align 8
  %44 = alloca %"class.std::allocator.15", align 1
  %45 = alloca %"struct.Halide::Type", align 8
  %46 = alloca %"struct.Halide::Expr", align 8
  %47 = alloca %"struct.Halide::Expr", align 8
  %48 = alloca %"class.Halide::FuncRef", align 8
  %49 = alloca %"class.Halide::Internal::Function", align 8
  %50 = alloca %"class.Halide::Stage", align 8
  %51 = alloca %"struct.Halide::Expr", align 8
  %52 = alloca %"struct.Halide::Expr", align 8
  %53 = alloca %"struct.Halide::Expr", align 8
  %54 = alloca %"class.Halide::FuncRef", align 8
  %55 = alloca %"class.Halide::FuncRef", 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.Halide::Var", align 8
  %60 = alloca %"struct.Halide::Expr", align 8
  %61 = alloca %"struct.Halide::Expr", align 8
  %62 = alloca %"class.std::vector.19", align 8
  %63 = alloca %"class.Halide::Internal::Function", align 8
  %64 = alloca %"struct.Halide::Internal::Autoscheduler::FunctionDAG", align 8
  %65 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %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::Func", align 8
  %70 = alloca %"class.std::__cxx11::basic_string", align 8
  %71 = alloca %"class.std::allocator", align 1
  %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::Stage", align 8
  %76 = alloca %"struct.Halide::Expr", align 8
  %77 = alloca %"struct.Halide::Expr", align 8
  %78 = alloca %"struct.Halide::Expr", 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::FuncRef", align 8
  %84 = alloca %"class.Halide::Stage", align 8
  %85 = alloca %"struct.Halide::Expr", align 8
  %86 = alloca %"struct.Halide::Expr", align 8
  %87 = alloca %"class.Halide::FuncRef", align 8
  %88 = alloca %"class.Halide::FuncRef", align 8
  %89 = alloca %"class.Halide::Stage", align 8
  %90 = alloca %"struct.Halide::Expr", align 8
  %91 = alloca %"struct.Halide::Expr", align 8
  %92 = alloca %"struct.Halide::Expr", align 8
  %93 = alloca %"class.Halide::FuncRef", align 8
  %94 = alloca %"class.Halide::FuncRef", align 8
  %95 = alloca %"class.Halide::Var", align 8
  %96 = alloca %"struct.Halide::Expr", align 8
  %97 = alloca %"struct.Halide::Expr", align 8
  %98 = alloca %"class.Halide::Var", align 8
  %99 = alloca %"struct.Halide::Expr", align 8
  %100 = alloca %"struct.Halide::Expr", align 8
  %101 = alloca %"class.std::vector.19", align 8
  %102 = alloca %"class.Halide::Internal::Function", align 8
  %103 = alloca %"struct.Halide::Internal::Autoscheduler::FunctionDAG", 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 %242

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 %246

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 %251

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 %255

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 376, ptr %13) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13)
          to label %108 unwind label %260

108:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %109 unwind label %264

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

110:                                              ; preds = %109
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %111 unwind label %273

111:                                              ; preds = %110
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %112 unwind label %277

112:                                              ; preds = %111
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %113 unwind label %282

113:                                              ; preds = %112
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %114 unwind label %286

114:                                              ; preds = %113
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %26, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %115 unwind label %291

115:                                              ; preds = %114
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %27, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %116 unwind label %295

116:                                              ; preds = %115
  invoke void @_ZN6HalideplENS_4ExprES0_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %25, ptr noundef %26, ptr noundef %27)
          to label %117 unwind label %299

117:                                              ; preds = %116
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %29, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %118 unwind label %303

118:                                              ; preds = %117
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %30, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %119 unwind label %307

119:                                              ; preds = %118
  invoke void @_ZN6HalideplENS_4ExprES0_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %28, ptr noundef %29, ptr noundef %30)
          to label %120 unwind label %311

120:                                              ; preds = %119
  invoke void @_ZN6HalidemlENS_4ExprES0_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %24, ptr noundef %25, ptr noundef %28)
          to label %121 unwind label %315

121:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 56, ptr %31) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %31, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %122 unwind label %319

122:                                              ; preds = %121
  invoke void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind writable sret(%"class.Halide::Stage") align 8 %23, ptr noundef nonnull align 8 dereferenceable(56) %31, ptr noundef %24)
          to label %123 unwind label %323

123:                                              ; preds = %122
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %23) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %31) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %31) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr %32) #8
  invoke void @_ZNK6Halide4FunccvNS_18ExternFuncArgumentEEv(ptr dead_on_unwind writable sret(%"struct.Halide::ExternFuncArgument") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %124 unwind label %334

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %35) #8
  store ptr %35, ptr %36, align 8
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %125 unwind label %338

125:                                              ; preds = %124
  %126 = getelementptr inbounds %"class.Halide::Var", ptr %35, i64 1
  store ptr %126, ptr %36, align 8
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %126, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %127 unwind label %338

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

134:                                              ; preds = %127
  call void @_ZNSt15__new_allocatorIN6Halide3VarEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #8
  %135 = getelementptr inbounds [2 x %"class.Halide::Var"], ptr %35, i32 0, i32 0
  %136 = getelementptr inbounds %"class.Halide::Var", ptr %135, i64 2
  br label %137

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

141:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 64, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #8
  %142 = invoke { i64, ptr } @_ZN6Halide5FloatEii(i32 noundef 32, i32 noundef 1)
          to label %143 unwind label %361

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

148:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr %43) #8
  call void @_ZN6Halide18ExternFuncArgumentC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(72) %43, ptr noundef nonnull align 8 dereferenceable(72) %32) #8
  %149 = getelementptr inbounds %"class.std::initializer_list.18", ptr %42, i32 0, i32 0
  store ptr %43, ptr %149, align 8, !tbaa !13
  %150 = getelementptr inbounds %"class.std::initializer_list.18", ptr %42, i32 0, i32 1
  store i64 1, ptr %150, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #8
  call void @_ZNSaIN6Halide18ExternFuncArgumentEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  %151 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 0
  %152 = load ptr, ptr %151, align 8
  %153 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 1
  %154 = load i64, ptr %153, align 8
  invoke void @_ZNSt6vectorIN6Halide18ExternFuncArgumentESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr %152, i64 %154, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %155 unwind label %369

155:                                              ; preds = %148
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %45, ptr align 8 %38, i64 16, i1 false), !tbaa.struct !16
  %156 = getelementptr inbounds { i64, ptr }, ptr %45, i32 0, i32 0
  %157 = load i64, ptr %156, align 8
  %158 = getelementptr inbounds { i64, ptr }, ptr %45, i32 0, i32 1
  %159 = load ptr, ptr %158, align 8
  invoke void @_ZN6Halide4Func13define_externERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorINS_18ExternFuncArgumentESaISA_EENS_4TypeERKS9_INS_3VarESaISG_EENS_12NameManglingENS_9DeviceAPIE(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(24) %41, i64 %157, ptr %159, ptr noundef nonnull align 8 dereferenceable(24) %33, i32 noundef 1, i32 noundef 1)
          to label %160 unwind label %373

160:                                              ; preds = %155
  call void @_ZNSt6vectorIN6Halide18ExternFuncArgumentESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  call void @_ZNSt15__new_allocatorIN6Halide18ExternFuncArgumentEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #8
  %161 = getelementptr inbounds [1 x %"struct.Halide::ExternFuncArgument"], ptr %43, i32 0, i32 0
  %162 = getelementptr inbounds %"struct.Halide::ExternFuncArgument", ptr %161, i64 1
  br label %163

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

167:                                              ; preds = %163
  call void @llvm.lifetime.end.p0(i64 72, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %48) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %48, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %168 unwind label %386

168:                                              ; preds = %167
  invoke void @_ZNK6Halide7FuncRefcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %47, ptr noundef nonnull align 8 dereferenceable(56) %48)
          to label %169 unwind label %390

169:                                              ; preds = %168
  invoke void @_ZN6HalidemlENS_4ExprEf(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %46, ptr noundef %47, float noundef 2.000000e+00)
          to label %170 unwind label %394

170:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #8
  invoke void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind writable sret(%"class.Halide::Internal::Function") align 8 %49, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %171 unwind label %398

171:                                              ; preds = %170
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function28extern_definition_proxy_exprEv(ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %173 unwind label %402

173:                                              ; preds = %171
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide4ExpraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %172, ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %48) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %54) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %54, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %175 unwind label %410

175:                                              ; preds = %173
  invoke void @_ZNK6Halide7FuncRefcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %53, ptr noundef nonnull align 8 dereferenceable(56) %54)
          to label %176 unwind label %414

176:                                              ; preds = %175
  invoke void @_ZN6HalidemlERKNS_4ExprEi(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %52, ptr noundef nonnull align 8 dereferenceable(8) %53, i32 noundef 2)
          to label %177 unwind label %418

177:                                              ; preds = %176
  invoke void @_ZN6HalideplENS_4ExprEi(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %51, ptr noundef %52, i32 noundef 1)
          to label %178 unwind label %422

178:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 56, ptr %55) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %55, ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %179 unwind label %426

179:                                              ; preds = %178
  invoke void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind writable sret(%"class.Halide::Stage") align 8 %50, ptr noundef nonnull align 8 dereferenceable(56) %55, ptr noundef %51)
          to label %180 unwind label %430

180:                                              ; preds = %179
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %50) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %55) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %55) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %54) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %181 unwind label %361

181:                                              ; preds = %180
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %57, i32 noundef 0)
          to label %182 unwind label %439

182:                                              ; preds = %181
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %58, i32 noundef 1000)
          to label %183 unwind label %443

183:                                              ; preds = %182
  %184 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef %56, ptr noundef %57, ptr noundef %58)
          to label %185 unwind label %447

185:                                              ; preds = %183
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %186 unwind label %447

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

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

188:                                              ; preds = %187
  %189 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %184, ptr noundef %59, ptr noundef %60, ptr noundef %61)
          to label %190 unwind label %459

190:                                              ; preds = %188
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %61) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %60) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %58) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %57) #8
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %62) #8
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %63) #8
  invoke void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind writable sret(%"class.Halide::Internal::Function") align 8 %63, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %191 unwind label %468

191:                                              ; preds = %190
  invoke void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef nonnull align 8 dereferenceable(24) %63)
          to label %192 unwind label %472

192:                                              ; preds = %191
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %64) #8
  %193 = load ptr, ptr %3, align 8, !tbaa !5
  %194 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGC1ERKSt6vectorINS0_8FunctionESaIS4_EERKNS_13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(48) %64, ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef nonnull align 8 dereferenceable(20) %193, ptr noundef nonnull align 8 dereferenceable(32) %194)
          to label %195 unwind label %477

195:                                              ; preds = %192
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler11FunctionDAG4dumpERSo(ptr noundef nonnull align 8 dereferenceable(48) %64, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %197 unwind label %481

197:                                              ; preds = %195
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %64) #8
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #8
  call void @_ZNSt6vectorIN6Halide3VarESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #8
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %32) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %32) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 376, ptr %65) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %65)
          to label %198 unwind label %494

198:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 32, ptr %66) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %67) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %68) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %68)
          to label %199 unwind label %498

199:                                              ; preds = %198
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull align 8 dereferenceable(32) %67)
          to label %200 unwind label %502

200:                                              ; preds = %199
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %69) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %70) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %71) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %71)
          to label %201 unwind label %507

201:                                              ; preds = %200
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull align 8 dereferenceable(32) %70)
          to label %202 unwind label %511

202:                                              ; preds = %201
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %71) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #8
  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.5, ptr noundef nonnull align 1 dereferenceable(1) %74)
          to label %203 unwind label %516

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

204:                                              ; preds = %203
  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
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %78, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %205 unwind label %525

205:                                              ; preds = %204
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %79, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %206 unwind label %529

206:                                              ; preds = %205
  invoke void @_ZN6HalideplENS_4ExprES0_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %77, ptr noundef %78, ptr noundef %79)
          to label %207 unwind label %533

207:                                              ; preds = %206
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %81, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %208 unwind label %537

208:                                              ; preds = %207
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %82, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %209 unwind label %541

209:                                              ; preds = %208
  invoke void @_ZN6HalideplENS_4ExprES0_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %80, ptr noundef %81, ptr noundef %82)
          to label %210 unwind label %545

210:                                              ; preds = %209
  invoke void @_ZN6HalidemlENS_4ExprES0_(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %76, ptr noundef %77, ptr noundef %80)
          to label %211 unwind label %549

211:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 56, ptr %83) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %83, ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %212 unwind label %553

212:                                              ; preds = %211
  invoke void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind writable sret(%"class.Halide::Stage") align 8 %75, ptr noundef nonnull align 8 dereferenceable(56) %83, ptr noundef %76)
          to label %213 unwind label %557

213:                                              ; preds = %212
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %75) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %83) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %83) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %76) #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) %82) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %81) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %77) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %79) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %78) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %87) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %87, ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %214 unwind label %568

214:                                              ; preds = %213
  invoke void @_ZNK6Halide7FuncRefcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %86, ptr noundef nonnull align 8 dereferenceable(56) %87)
          to label %215 unwind label %572

215:                                              ; preds = %214
  invoke void @_ZN6HalidemlENS_4ExprEf(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %85, ptr noundef %86, float noundef 2.000000e+00)
          to label %216 unwind label %576

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

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

218:                                              ; preds = %217
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %84) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %88) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %88) #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) %86) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %87) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %87) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %93) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %93, ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %219 unwind label %592

219:                                              ; preds = %218
  invoke void @_ZNK6Halide7FuncRefcvNS_4ExprEEv(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %92, ptr noundef nonnull align 8 dereferenceable(56) %93)
          to label %220 unwind label %596

220:                                              ; preds = %219
  invoke void @_ZN6HalidemlERKNS_4ExprEi(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %91, ptr noundef nonnull align 8 dereferenceable(8) %92, i32 noundef 2)
          to label %221 unwind label %600

221:                                              ; preds = %220
  invoke void @_ZN6HalideplENS_4ExprEi(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8 %90, ptr noundef %91, i32 noundef 1)
          to label %222 unwind label %604

222:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 56, ptr %94) #8
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind writable sret(%"class.Halide::FuncRef") align 8 %94, 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 %223 unwind label %608

223:                                              ; preds = %222
  invoke void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind writable sret(%"class.Halide::Stage") align 8 %89, ptr noundef nonnull align 8 dereferenceable(56) %94, ptr noundef %90)
          to label %224 unwind label %612

224:                                              ; preds = %223
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %89) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %94) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %94) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %90) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %91) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %92) #8
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %93) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %93) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #8
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %95, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %225 unwind label %525

225:                                              ; preds = %224
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %96, i32 noundef 0)
          to label %226 unwind label %621

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

227:                                              ; preds = %226
  %228 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef %95, ptr noundef %96, ptr noundef %97)
          to label %229 unwind label %629

229:                                              ; preds = %227
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %98, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %230 unwind label %629

230:                                              ; preds = %229
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %99, i32 noundef 0)
          to label %231 unwind label %633

231:                                              ; preds = %230
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %100, i32 noundef 1000)
          to label %232 unwind label %637

232:                                              ; preds = %231
  %233 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %228, ptr noundef %98, ptr noundef %99, ptr noundef %100)
          to label %234 unwind label %641

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

235:                                              ; preds = %234
  invoke void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %101, ptr noundef nonnull align 8 dereferenceable(24) %102)
          to label %236 unwind label %654

236:                                              ; preds = %235
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %102) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %102) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %103) #8
  %237 = load ptr, ptr %3, align 8, !tbaa !5
  %238 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGC1ERKSt6vectorINS0_8FunctionESaIS4_EERKNS_13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(48) %103, ptr noundef nonnull align 8 dereferenceable(24) %101, ptr noundef nonnull align 8 dereferenceable(20) %237, ptr noundef nonnull align 8 dereferenceable(32) %238)
          to label %239 unwind label %659

239:                                              ; preds = %236
  %240 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler11FunctionDAG4dumpERSo(ptr noundef nonnull align 8 dereferenceable(48) %103, ptr noundef nonnull align 8 dereferenceable(8) %65)
          to label %241 unwind label %663

241:                                              ; preds = %239
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %103) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %103) #8
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %101) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %101) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %65) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %65) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #8
  call void @llvm.lifetime.end.p0(i64 376, 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

242:                                              ; preds = %2
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %8, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %9, align 4
  br label %250

246:                                              ; preds = %104
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %8, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  br label %250

250:                                              ; preds = %246, %242
  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 %677

251:                                              ; preds = %105
  %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 = %106
  %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) %11) #8
  br label %259

259:                                              ; preds = %255, %251
  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 %676

260:                                              ; preds = %107
  %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 %675

264:                                              ; preds = %108
  %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
  br label %272

268:                                              ; preds = %109
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %8, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  br label %272

272:                                              ; preds = %268, %264
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #8
  br label %493

273:                                              ; preds = %110
  %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
  br label %281

277:                                              ; preds = %111
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %8, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %281

281:                                              ; preds = %277, %273
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #8
  br label %492

282:                                              ; preds = %112
  %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 = %113
  %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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  br label %290

290:                                              ; preds = %286, %282
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  br label %491

291:                                              ; preds = %114
  %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 %490

295:                                              ; preds = %115
  %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 %333

299:                                              ; preds = %116
  %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 %332

303:                                              ; preds = %117
  %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 %331

307:                                              ; preds = %118
  %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
  br label %330

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

315:                                              ; preds = %120
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %8, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %9, align 4
  br label %328

319:                                              ; preds = %121
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %8, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %9, align 4
  br label %327

323:                                              ; preds = %122
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %8, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %9, align 4
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %31) #8
  br label %327

327:                                              ; preds = %323, %319
  call void @llvm.lifetime.end.p0(i64 56, ptr %31) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  br label %328

328:                                              ; preds = %327, %315
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  br label %329

329:                                              ; preds = %328, %311
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  br label %330

330:                                              ; preds = %329, %307
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  br label %331

331:                                              ; preds = %330, %303
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  br label %332

332:                                              ; preds = %331, %299
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  br label %333

333:                                              ; preds = %332, %295
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  br label %490

334:                                              ; preds = %123
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %8, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %9, align 4
  br label %489

338:                                              ; preds = %125, %124
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %8, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %9, align 4
  %342 = load ptr, ptr %36, align 8
  %343 = icmp eq ptr %35, %342
  br i1 %343, label %348, label %344

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

348:                                              ; preds = %344, %338
  br label %360

349:                                              ; preds = %127
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %8, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIN6Halide3VarEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #8
  %353 = getelementptr inbounds [2 x %"class.Halide::Var"], ptr %35, i32 0, i32 0
  %354 = getelementptr inbounds %"class.Halide::Var", ptr %353, i64 2
  br label %355

355:                                              ; preds = %355, %349
  %356 = phi ptr [ %354, %349 ], [ %357, %355 ]
  %357 = getelementptr inbounds %"class.Halide::Var", ptr %356, i64 -1
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %357) #8
  %358 = icmp eq ptr %357, %353
  br i1 %358, label %359, label %355

359:                                              ; preds = %355
  br label %360

360:                                              ; preds = %359, %348
  call void @llvm.lifetime.end.p0(i64 64, ptr %35) #8
  br label %488

361:                                              ; preds = %180, %141
  %362 = landingpad { ptr, i32 }
          cleanup
  %363 = extractvalue { ptr, i32 } %362, 0
  store ptr %363, ptr %8, align 8
  %364 = extractvalue { ptr, i32 } %362, 1
  store i32 %364, ptr %9, align 4
  br label %487

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

369:                                              ; preds = %148
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %8, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %9, align 4
  br label %377

373:                                              ; preds = %155
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %8, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %9, align 4
  call void @_ZNSt6vectorIN6Halide18ExternFuncArgumentESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  br label %377

377:                                              ; preds = %373, %369
  call void @_ZNSt15__new_allocatorIN6Halide18ExternFuncArgumentEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #8
  %378 = getelementptr inbounds [1 x %"struct.Halide::ExternFuncArgument"], ptr %43, i32 0, i32 0
  %379 = getelementptr inbounds %"struct.Halide::ExternFuncArgument", ptr %378, i64 1
  br label %380

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

384:                                              ; preds = %380
  call void @llvm.lifetime.end.p0(i64 72, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #8
  br label %385

385:                                              ; preds = %384, %365
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #8
  br label %487

386:                                              ; preds = %167
  %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 %409

390:                                              ; preds = %168
  %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 %408

394:                                              ; preds = %169
  %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 %407

398:                                              ; preds = %170
  %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 %406

402:                                              ; preds = %171
  %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
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  br label %406

406:                                              ; preds = %402, %398
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  br label %407

407:                                              ; preds = %406, %394
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  br label %408

408:                                              ; preds = %407, %390
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %48) #8
  br label %409

409:                                              ; preds = %408, %386
  call void @llvm.lifetime.end.p0(i64 56, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br label %487

410:                                              ; preds = %173
  %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 %438

414:                                              ; preds = %175
  %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 %437

418:                                              ; preds = %176
  %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 %436

422:                                              ; preds = %177
  %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
  br label %435

426:                                              ; preds = %178
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %8, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %9, align 4
  br label %434

430:                                              ; preds = %179
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %8, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %9, align 4
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %55) #8
  br label %434

434:                                              ; preds = %430, %426
  call void @llvm.lifetime.end.p0(i64 56, ptr %55) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  br label %435

435:                                              ; preds = %434, %422
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #8
  br label %436

436:                                              ; preds = %435, %418
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #8
  br label %437

437:                                              ; preds = %436, %414
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %54) #8
  br label %438

438:                                              ; preds = %437, %410
  call void @llvm.lifetime.end.p0(i64 56, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  br label %487

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

443:                                              ; preds = %182
  %444 = landingpad { ptr, i32 }
          cleanup
  %445 = extractvalue { ptr, i32 } %444, 0
  store ptr %445, ptr %8, align 8
  %446 = extractvalue { ptr, i32 } %444, 1
  store i32 %446, ptr %9, align 4
  br label %466

447:                                              ; preds = %185, %183
  %448 = landingpad { ptr, i32 }
          cleanup
  %449 = extractvalue { ptr, i32 } %448, 0
  store ptr %449, ptr %8, align 8
  %450 = extractvalue { ptr, i32 } %448, 1
  store i32 %450, ptr %9, align 4
  br label %465

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

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

459:                                              ; preds = %188
  %460 = landingpad { ptr, i32 }
          cleanup
  %461 = extractvalue { ptr, i32 } %460, 0
  store ptr %461, ptr %8, align 8
  %462 = extractvalue { ptr, i32 } %460, 1
  store i32 %462, ptr %9, align 4
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %61) #8
  br label %463

463:                                              ; preds = %459, %455
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %60) #8
  br label %464

464:                                              ; preds = %463, %451
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  br label %465

465:                                              ; preds = %464, %447
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %58) #8
  br label %466

466:                                              ; preds = %465, %443
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %57) #8
  br label %467

467:                                              ; preds = %466, %439
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #8
  br label %487

468:                                              ; preds = %190
  %469 = landingpad { ptr, i32 }
          cleanup
  %470 = extractvalue { ptr, i32 } %469, 0
  store ptr %470, ptr %8, align 8
  %471 = extractvalue { ptr, i32 } %469, 1
  store i32 %471, ptr %9, align 4
  br label %476

472:                                              ; preds = %191
  %473 = landingpad { ptr, i32 }
          cleanup
  %474 = extractvalue { ptr, i32 } %473, 0
  store ptr %474, ptr %8, align 8
  %475 = extractvalue { ptr, i32 } %473, 1
  store i32 %475, ptr %9, align 4
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #8
  br label %476

476:                                              ; preds = %472, %468
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #8
  br label %486

477:                                              ; preds = %192
  %478 = landingpad { ptr, i32 }
          cleanup
  %479 = extractvalue { ptr, i32 } %478, 0
  store ptr %479, ptr %8, align 8
  %480 = extractvalue { ptr, i32 } %478, 1
  store i32 %480, ptr %9, align 4
  br label %485

481:                                              ; preds = %195
  %482 = landingpad { ptr, i32 }
          cleanup
  %483 = extractvalue { ptr, i32 } %482, 0
  store ptr %483, ptr %8, align 8
  %484 = extractvalue { ptr, i32 } %482, 1
  store i32 %484, ptr %9, align 4
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #8
  br label %485

485:                                              ; preds = %481, %477
  call void @llvm.lifetime.end.p0(i64 48, ptr %64) #8
  br label %486

486:                                              ; preds = %485, %476
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %62) #8
  br label %487

487:                                              ; preds = %486, %467, %438, %409, %385, %361
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #8
  call void @_ZNSt6vectorIN6Halide3VarESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  br label %488

488:                                              ; preds = %487, %360
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #8
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %32) #8
  br label %489

489:                                              ; preds = %488, %334
  call void @llvm.lifetime.end.p0(i64 72, ptr %32) #8
  br label %490

490:                                              ; preds = %489, %333, %291
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  br label %491

491:                                              ; preds = %490, %290
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  br label %492

492:                                              ; preds = %491, %281
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  br label %493

493:                                              ; preds = %492, %272
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  br label %674

494:                                              ; preds = %197
  %495 = landingpad { ptr, i32 }
          cleanup
  %496 = extractvalue { ptr, i32 } %495, 0
  store ptr %496, ptr %8, align 8
  %497 = extractvalue { ptr, i32 } %495, 1
  store i32 %497, ptr %9, align 4
  br label %673

498:                                              ; preds = %198
  %499 = landingpad { ptr, i32 }
          cleanup
  %500 = extractvalue { ptr, i32 } %499, 0
  store ptr %500, ptr %8, align 8
  %501 = extractvalue { ptr, i32 } %499, 1
  store i32 %501, ptr %9, align 4
  br label %506

502:                                              ; preds = %199
  %503 = landingpad { ptr, i32 }
          cleanup
  %504 = extractvalue { ptr, i32 } %503, 0
  store ptr %504, ptr %8, align 8
  %505 = extractvalue { ptr, i32 } %503, 1
  store i32 %505, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #8
  br label %506

506:                                              ; preds = %502, %498
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #8
  br label %672

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

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

515:                                              ; preds = %511, %507
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %71) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #8
  br label %671

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

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

524:                                              ; preds = %520, %516
  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 %670

525:                                              ; preds = %224, %204
  %526 = landingpad { ptr, i32 }
          cleanup
  %527 = extractvalue { ptr, i32 } %526, 0
  store ptr %527, ptr %8, align 8
  %528 = extractvalue { ptr, i32 } %526, 1
  store i32 %528, ptr %9, align 4
  br label %669

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

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

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

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

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

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

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

557:                                              ; preds = %212
  %558 = landingpad { ptr, i32 }
          cleanup
  %559 = extractvalue { ptr, i32 } %558, 0
  store ptr %559, ptr %8, align 8
  %560 = extractvalue { ptr, i32 } %558, 1
  store i32 %560, ptr %9, align 4
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %83) #8
  br label %561

561:                                              ; preds = %557, %553
  call void @llvm.lifetime.end.p0(i64 56, ptr %83) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %76) #8
  br label %562

562:                                              ; preds = %561, %549
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %80) #8
  br label %563

563:                                              ; preds = %562, %545
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %82) #8
  br label %564

564:                                              ; preds = %563, %541
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %81) #8
  br label %565

565:                                              ; preds = %564, %537
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %77) #8
  br label %566

566:                                              ; preds = %565, %533
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %79) #8
  br label %567

567:                                              ; preds = %566, %529
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %78) #8
  br label %669

568:                                              ; preds = %213
  %569 = landingpad { ptr, i32 }
          cleanup
  %570 = extractvalue { ptr, i32 } %569, 0
  store ptr %570, ptr %8, align 8
  %571 = extractvalue { ptr, i32 } %569, 1
  store i32 %571, ptr %9, align 4
  br label %591

572:                                              ; preds = %214
  %573 = landingpad { ptr, i32 }
          cleanup
  %574 = extractvalue { ptr, i32 } %573, 0
  store ptr %574, ptr %8, align 8
  %575 = extractvalue { ptr, i32 } %573, 1
  store i32 %575, ptr %9, align 4
  br label %590

576:                                              ; preds = %215
  %577 = landingpad { ptr, i32 }
          cleanup
  %578 = extractvalue { ptr, i32 } %577, 0
  store ptr %578, ptr %8, align 8
  %579 = extractvalue { ptr, i32 } %577, 1
  store i32 %579, ptr %9, align 4
  br label %589

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

584:                                              ; preds = %217
  %585 = landingpad { ptr, i32 }
          cleanup
  %586 = extractvalue { ptr, i32 } %585, 0
  store ptr %586, ptr %8, align 8
  %587 = extractvalue { ptr, i32 } %585, 1
  store i32 %587, ptr %9, align 4
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %88) #8
  br label %588

588:                                              ; preds = %584, %580
  call void @llvm.lifetime.end.p0(i64 56, ptr %88) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %85) #8
  br label %589

589:                                              ; preds = %588, %576
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %86) #8
  br label %590

590:                                              ; preds = %589, %572
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %87) #8
  br label %591

591:                                              ; preds = %590, %568
  call void @llvm.lifetime.end.p0(i64 56, ptr %87) #8
  br label %669

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

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

600:                                              ; preds = %220
  %601 = landingpad { ptr, i32 }
          cleanup
  %602 = extractvalue { ptr, i32 } %601, 0
  store ptr %602, ptr %8, align 8
  %603 = extractvalue { ptr, i32 } %601, 1
  store i32 %603, ptr %9, align 4
  br label %618

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

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

612:                                              ; preds = %223
  %613 = landingpad { ptr, i32 }
          cleanup
  %614 = extractvalue { ptr, i32 } %613, 0
  store ptr %614, ptr %8, align 8
  %615 = extractvalue { ptr, i32 } %613, 1
  store i32 %615, ptr %9, align 4
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %94) #8
  br label %616

616:                                              ; preds = %612, %608
  call void @llvm.lifetime.end.p0(i64 56, ptr %94) #8
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %90) #8
  br label %617

617:                                              ; preds = %616, %604
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %91) #8
  br label %618

618:                                              ; preds = %617, %600
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %92) #8
  br label %619

619:                                              ; preds = %618, %596
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %93) #8
  br label %620

620:                                              ; preds = %619, %592
  call void @llvm.lifetime.end.p0(i64 56, ptr %93) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #8
  br label %669

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

625:                                              ; preds = %226
  %626 = landingpad { ptr, i32 }
          cleanup
  %627 = extractvalue { ptr, i32 } %626, 0
  store ptr %627, ptr %8, align 8
  %628 = extractvalue { ptr, i32 } %626, 1
  store i32 %628, ptr %9, align 4
  br label %648

629:                                              ; preds = %229, %227
  %630 = landingpad { ptr, i32 }
          cleanup
  %631 = extractvalue { ptr, i32 } %630, 0
  store ptr %631, ptr %8, align 8
  %632 = extractvalue { ptr, i32 } %630, 1
  store i32 %632, ptr %9, align 4
  br label %647

633:                                              ; preds = %230
  %634 = landingpad { ptr, i32 }
          cleanup
  %635 = extractvalue { ptr, i32 } %634, 0
  store ptr %635, ptr %8, align 8
  %636 = extractvalue { ptr, i32 } %634, 1
  store i32 %636, ptr %9, align 4
  br label %646

637:                                              ; preds = %231
  %638 = landingpad { ptr, i32 }
          cleanup
  %639 = extractvalue { ptr, i32 } %638, 0
  store ptr %639, ptr %8, align 8
  %640 = extractvalue { ptr, i32 } %638, 1
  store i32 %640, ptr %9, align 4
  br label %645

641:                                              ; preds = %232
  %642 = landingpad { ptr, i32 }
          cleanup
  %643 = extractvalue { ptr, i32 } %642, 0
  store ptr %643, ptr %8, align 8
  %644 = extractvalue { ptr, i32 } %642, 1
  store i32 %644, ptr %9, align 4
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %100) #8
  br label %645

645:                                              ; preds = %641, %637
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %99) #8
  br label %646

646:                                              ; preds = %645, %633
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %98) #8
  br label %647

647:                                              ; preds = %646, %629
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %97) #8
  br label %648

648:                                              ; preds = %647, %625
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %96) #8
  br label %649

649:                                              ; preds = %648, %621
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %95) #8
  br label %669

650:                                              ; preds = %234
  %651 = landingpad { ptr, i32 }
          cleanup
  %652 = extractvalue { ptr, i32 } %651, 0
  store ptr %652, ptr %8, align 8
  %653 = extractvalue { ptr, i32 } %651, 1
  store i32 %653, ptr %9, align 4
  br label %658

654:                                              ; preds = %235
  %655 = landingpad { ptr, i32 }
          cleanup
  %656 = extractvalue { ptr, i32 } %655, 0
  store ptr %656, ptr %8, align 8
  %657 = extractvalue { ptr, i32 } %655, 1
  store i32 %657, ptr %9, align 4
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %102) #8
  br label %658

658:                                              ; preds = %654, %650
  call void @llvm.lifetime.end.p0(i64 24, ptr %102) #8
  br label %668

659:                                              ; preds = %236
  %660 = landingpad { ptr, i32 }
          cleanup
  %661 = extractvalue { ptr, i32 } %660, 0
  store ptr %661, ptr %8, align 8
  %662 = extractvalue { ptr, i32 } %660, 1
  store i32 %662, ptr %9, align 4
  br label %667

663:                                              ; preds = %239
  %664 = landingpad { ptr, i32 }
          cleanup
  %665 = extractvalue { ptr, i32 } %664, 0
  store ptr %665, ptr %8, align 8
  %666 = extractvalue { ptr, i32 } %664, 1
  store i32 %666, ptr %9, align 4
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %103) #8
  br label %667

667:                                              ; preds = %663, %659
  call void @llvm.lifetime.end.p0(i64 48, ptr %103) #8
  br label %668

668:                                              ; preds = %667, %658
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %101) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %101) #8
  br label %669

669:                                              ; preds = %668, %649, %620, %591, %567, %525
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #8
  br label %670

670:                                              ; preds = %669, %524
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #8
  br label %671

671:                                              ; preds = %670, %515
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #8
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #8
  br label %672

672:                                              ; preds = %671, %506
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %65) #8
  br label %673

673:                                              ; preds = %672, %494
  call void @llvm.lifetime.end.p0(i64 376, ptr %65) #8
  br label %674

674:                                              ; preds = %673, %493
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #8
  br label %675

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

676:                                              ; preds = %675, %259
  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 %677

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 #4

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

declare void @_ZN6HalideplENS_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)) #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)) #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 #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6Halide4FunccvNS_18ExternFuncArgumentEEv(ptr dead_on_unwind noalias writable sret(%"struct.Halide::ExternFuncArgument") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #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 #3 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) #7

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

; 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 #3 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 #3 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN6HalidemlENS_4ExprEf(ptr dead_on_unwind noalias writable sret(%"struct.Halide::Expr") align 8, ptr noundef, float noundef) #7

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

; 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)) #3 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 void @_ZN6HalideplENS_4ExprEi(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8, ptr noundef, i32 noundef) #4

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

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

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

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

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

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

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


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

%"class.Halide::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.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.Halide::Func" = type { %"class.Halide::Internal::Function", %"class.Halide::Pipeline" }
%"class.Halide::Internal::Function" = type { %"struct.Halide::Internal::FunctionPtr" }
%"struct.Halide::Internal::FunctionPtr" = type <{ %"struct.Halide::Internal::IntrusivePtr", ptr, i32, [4 x i8] }>
%"struct.Halide::Internal::IntrusivePtr" = type { ptr }
%"class.Halide::Pipeline" = type { %"struct.Halide::Internal::IntrusivePtr.0" }
%"struct.Halide::Internal::IntrusivePtr.0" = type { 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 }
%"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.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 }
%"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" }
%"struct.Halide::Internal::IntrusivePtr.11" = type { ptr }
%"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.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.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 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 uwtable
define dso_local void @_Z15test_coeff_wiseRKN6Halide13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #1 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.std::__cxx11::basic_ostringstream", align 8
  %10 = alloca %"class.Halide::Func", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.Halide::Func", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.Halide::Func", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %"class.Halide::Stage", align 8
  %20 = alloca %"struct.Halide::Expr", align 8
  %21 = alloca %"struct.Halide::Expr", align 8
  %22 = alloca %"struct.Halide::Expr", align 8
  %23 = alloca %"struct.Halide::Expr", align 8
  %24 = alloca %"struct.Halide::Expr", align 8
  %25 = alloca %"struct.Halide::Expr", align 8
  %26 = alloca %"struct.Halide::Expr", align 8
  %27 = alloca %"class.Halide::FuncRef", align 8
  %28 = alloca %"struct.Halide::ExternFuncArgument", align 8
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca [2 x %"class.Halide::Var"], align 8
  %31 = alloca %"class.std::allocator.2", align 1
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator", align 1
  %34 = alloca %"class.std::vector.13", align 8
  %35 = alloca [1 x %"struct.Halide::ExternFuncArgument"], align 8
  %36 = alloca %"class.std::allocator.15", align 1
  %37 = alloca %"struct.Halide::Expr", align 8
  %38 = alloca %"struct.Halide::Expr", align 8
  %39 = alloca %"class.Halide::FuncRef", align 8
  %40 = alloca %"class.Halide::Internal::Function", align 8
  %41 = alloca %"class.Halide::Stage", align 8
  %42 = alloca %"struct.Halide::Expr", align 8
  %43 = alloca %"struct.Halide::Expr", align 8
  %44 = alloca %"struct.Halide::Expr", align 8
  %45 = alloca %"class.Halide::FuncRef", align 8
  %46 = alloca %"class.Halide::FuncRef", align 8
  %47 = alloca %"class.Halide::Var", align 8
  %48 = alloca %"struct.Halide::Expr", align 8
  %49 = alloca %"struct.Halide::Expr", align 8
  %50 = alloca %"class.Halide::Var", align 8
  %51 = alloca %"struct.Halide::Expr", align 8
  %52 = alloca %"struct.Halide::Expr", align 8
  %53 = alloca %"class.std::vector.19", align 8
  %54 = alloca %"class.Halide::Internal::Function", align 8
  %55 = alloca %"struct.Halide::Internal::Autoscheduler::FunctionDAG", align 8
  %56 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %57 = alloca %"class.Halide::Func", align 8
  %58 = alloca %"class.std::__cxx11::basic_string", align 8
  %59 = alloca %"class.std::allocator", align 1
  %60 = alloca %"class.Halide::Func", align 8
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = alloca %"class.std::allocator", align 1
  %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::Stage", align 8
  %67 = alloca %"struct.Halide::Expr", align 8
  %68 = alloca %"struct.Halide::Expr", align 8
  %69 = alloca %"struct.Halide::Expr", 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::FuncRef", align 8
  %75 = alloca %"class.Halide::Stage", align 8
  %76 = alloca %"struct.Halide::Expr", align 8
  %77 = alloca %"struct.Halide::Expr", align 8
  %78 = alloca %"class.Halide::FuncRef", align 8
  %79 = alloca %"class.Halide::FuncRef", align 8
  %80 = alloca %"class.Halide::Stage", align 8
  %81 = alloca %"struct.Halide::Expr", align 8
  %82 = alloca %"struct.Halide::Expr", align 8
  %83 = alloca %"struct.Halide::Expr", align 8
  %84 = alloca %"class.Halide::FuncRef", align 8
  %85 = alloca %"class.Halide::FuncRef", align 8
  %86 = alloca %"class.Halide::Var", align 8
  %87 = alloca %"struct.Halide::Expr", align 8
  %88 = alloca %"struct.Halide::Expr", align 8
  %89 = alloca %"class.Halide::Var", align 8
  %90 = alloca %"struct.Halide::Expr", align 8
  %91 = alloca %"struct.Halide::Expr", align 8
  %92 = alloca %"class.std::vector.19", align 8
  %93 = alloca %"class.Halide::Internal::Function", align 8
  %94 = alloca %"struct.Halide::Internal::Autoscheduler::FunctionDAG", 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 %196

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 %198

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 %201

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 %203

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 376, ptr nonnull %9) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %9)
          to label %99 unwind label %206

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %100 unwind label %208

100:                                              ; preds = %99
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %101 unwind label %210

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

102:                                              ; preds = %101
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %103 unwind label %215

103:                                              ; preds = %102
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %104 unwind label %218

104:                                              ; preds = %103
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %105 unwind label %220

105:                                              ; preds = %104
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #7
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %22, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %106 unwind label %223

106:                                              ; preds = %105
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %23, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %107 unwind label %225

107:                                              ; preds = %106
  invoke void @_ZN6HalideplENS_4ExprES0_(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %21, ptr noundef nonnull %22, ptr noundef nonnull %23)
          to label %108 unwind label %227

108:                                              ; preds = %107
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %25, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %109 unwind label %229

109:                                              ; preds = %108
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %26, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %110 unwind label %231

110:                                              ; preds = %109
  invoke void @_ZN6HalideplENS_4ExprES0_(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %24, ptr noundef nonnull %25, ptr noundef nonnull %26)
          to label %111 unwind label %233

111:                                              ; preds = %110
  invoke void @_ZN6HalidemlENS_4ExprES0_(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %20, ptr noundef nonnull %21, ptr noundef nonnull %24)
          to label %112 unwind label %235

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %27) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %27, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %113 unwind label %237

113:                                              ; preds = %112
  invoke void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Stage") align 8 %19, ptr noundef nonnull align 8 dereferenceable(56) %27, ptr noundef nonnull %20)
          to label %114 unwind label %239

114:                                              ; preds = %113
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %19) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %27) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %27) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %28) #7
  invoke void @_ZNK6Halide4FunccvNS_18ExternFuncArgumentEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::ExternFuncArgument") align 8 %28, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %115 unwind label %248

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

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

117:                                              ; preds = %115
  %118 = getelementptr inbounds i8, ptr %30, i64 32
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %118, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %119 unwind label %.loopexit.loopexit180

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

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

123:                                              ; preds = %120
  %124 = extractvalue { i64, ptr } %122, 0
  %125 = extractvalue { i64, ptr } %122, 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %33) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %126 unwind label %255

126:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %35) #7
  call void @_ZN6Halide18ExternFuncArgumentC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(72) %35, ptr noundef nonnull align 8 dereferenceable(72) %28) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %36) #7
  call void @_ZNSaIN6Halide18ExternFuncArgumentEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  invoke void @_ZNSt6vectorIN6Halide18ExternFuncArgumentESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr nonnull %35, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %127 unwind label %257

127:                                              ; preds = %126
  invoke void @_ZN6Halide4Func13define_externERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorINS_18ExternFuncArgumentESaISA_EENS_4TypeERKS9_INS_3VarESaISG_EENS_12NameManglingENS_9DeviceAPIE(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(24) %34, i64 %124, ptr %125, ptr noundef nonnull align 8 dereferenceable(24) %29, i32 noundef 1, i32 noundef 1)
          to label %128 unwind label %259

128:                                              ; preds = %127
  call void @_ZNSt6vectorIN6Halide18ExternFuncArgumentESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  call void @_ZNSt15__new_allocatorIN6Halide18ExternFuncArgumentEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #7
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %35) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %39) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %39, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %129 unwind label %263

129:                                              ; preds = %128
  invoke void @_ZNK6Halide7FuncRefcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %38, ptr noundef nonnull align 8 dereferenceable(56) %39)
          to label %130 unwind label %265

130:                                              ; preds = %129
  invoke void @_ZN6HalidemlENS_4ExprEf(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %37, ptr noundef nonnull %38, float noundef 2.000000e+00)
          to label %131 unwind label %267

131:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %40) #7
  call void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Internal::Function") align 8 %40, ptr noundef nonnull align 8 dereferenceable(32) %13)
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide8Internal8Function28extern_definition_proxy_exprEv(ptr noundef nonnull align 8 dereferenceable(24) %40)
          to label %133 unwind label %269

133:                                              ; preds = %131
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6Halide4ExpraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %39) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %45) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %45, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %135 unwind label %274

135:                                              ; preds = %133
  invoke void @_ZNK6Halide7FuncRefcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %44, ptr noundef nonnull align 8 dereferenceable(56) %45)
          to label %136 unwind label %276

136:                                              ; preds = %135
  invoke void @_ZN6HalidemlERKNS_4ExprEi(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %43, ptr noundef nonnull align 8 dereferenceable(8) %44, i32 noundef 2)
          to label %137 unwind label %278

137:                                              ; preds = %136
  invoke void @_ZN6HalideplENS_4ExprEi(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %42, ptr noundef nonnull %43, i32 noundef 1)
          to label %138 unwind label %280

138:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %46) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %46, ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %139 unwind label %282

139:                                              ; preds = %138
  invoke void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Stage") align 8 %41, ptr noundef nonnull align 8 dereferenceable(56) %46, ptr noundef nonnull %42)
          to label %140 unwind label %284

140:                                              ; preds = %139
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %41) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %46) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %46) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %44) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %45) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #7
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %141 unwind label %253

141:                                              ; preds = %140
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %48, i32 noundef 0)
          to label %142 unwind label %291

142:                                              ; preds = %141
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %49, i32 noundef 1000)
          to label %143 unwind label %293

143:                                              ; preds = %142
  %144 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull %47, ptr noundef nonnull %48, ptr noundef nonnull %49)
          to label %145 unwind label %295

145:                                              ; preds = %143
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %146 unwind label %295

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

147:                                              ; preds = %146
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %52, i32 noundef 1000)
          to label %148 unwind label %299

148:                                              ; preds = %147
  %149 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %144, ptr noundef nonnull %50, ptr noundef nonnull %51, ptr noundef nonnull %52)
          to label %150 unwind label %301

150:                                              ; preds = %148
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %53) #7
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %54) #7
  call void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Internal::Function") align 8 %54, ptr noundef nonnull align 8 dereferenceable(32) %16)
  invoke void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(24) %54)
          to label %151 unwind label %308

151:                                              ; preds = %150
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %54) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %55) #7
  invoke void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGC1ERKSt6vectorINS0_8FunctionESaIS4_EERKNS_13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(48) %55, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %152 unwind label %310

152:                                              ; preds = %151
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler11FunctionDAG4dumpERSo(ptr noundef nonnull align 8 dereferenceable(48) %55, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %154 unwind label %312

154:                                              ; preds = %152
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %55) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %55) #7
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %53) #7
  call void @_ZNSt6vectorIN6Halide3VarESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #7
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %28) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %28) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %56) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %56)
          to label %155 unwind label %323

155:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %57) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %58) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %59) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %59)
          to label %156 unwind label %325

156:                                              ; preds = %155
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(32) %58)
          to label %157 unwind label %327

157:                                              ; preds = %156
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %59) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %60) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %61) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %62) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %158 unwind label %330

158:                                              ; preds = %157
  invoke void @_ZN6Halide4FuncC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(32) %61)
          to label %159 unwind label %332

159:                                              ; preds = %158
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %62) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #7
  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.5, ptr noundef nonnull align 1 dereferenceable(1) %65)
          to label %160 unwind label %335

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 %337

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
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %69, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %162 unwind label %340

162:                                              ; preds = %161
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %70, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %163 unwind label %342

163:                                              ; preds = %162
  invoke void @_ZN6HalideplENS_4ExprES0_(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %68, ptr noundef nonnull %69, ptr noundef nonnull %70)
          to label %164 unwind label %344

164:                                              ; preds = %163
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %72, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %165 unwind label %346

165:                                              ; preds = %164
  invoke void @_ZNK6Halide3VarcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %73, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %166 unwind label %348

166:                                              ; preds = %165
  invoke void @_ZN6HalideplENS_4ExprES0_(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %71, ptr noundef nonnull %72, ptr noundef nonnull %73)
          to label %167 unwind label %350

167:                                              ; preds = %166
  invoke void @_ZN6HalidemlENS_4ExprES0_(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %67, ptr noundef nonnull %68, ptr noundef nonnull %71)
          to label %168 unwind label %352

168:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %74) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %74, ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %169 unwind label %354

169:                                              ; preds = %168
  invoke void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Stage") align 8 %66, ptr noundef nonnull align 8 dereferenceable(56) %74, ptr noundef nonnull %67)
          to label %170 unwind label %356

170:                                              ; preds = %169
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %66) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %74) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %74) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %67) #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) %73) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %68) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %70) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %69) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %78) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %78, ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %171 unwind label %365

171:                                              ; preds = %170
  invoke void @_ZNK6Halide7FuncRefcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %77, ptr noundef nonnull align 8 dereferenceable(56) %78)
          to label %172 unwind label %367

172:                                              ; preds = %171
  invoke void @_ZN6HalidemlENS_4ExprEf(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %76, ptr noundef nonnull %77, float noundef 2.000000e+00)
          to label %173 unwind label %369

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

174:                                              ; preds = %173
  invoke void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Stage") align 8 %75, ptr noundef nonnull align 8 dereferenceable(56) %79, ptr noundef nonnull %76)
          to label %175 unwind label %373

175:                                              ; preds = %174
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %75) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %79) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %79) #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) %77) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %78) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %78) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %83) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %84) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %84, ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %176 unwind label %379

176:                                              ; preds = %175
  invoke void @_ZNK6Halide7FuncRefcvNS_4ExprEEv(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %83, ptr noundef nonnull align 8 dereferenceable(56) %84)
          to label %177 unwind label %381

177:                                              ; preds = %176
  invoke void @_ZN6HalidemlERKNS_4ExprEi(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %82, ptr noundef nonnull align 8 dereferenceable(8) %83, i32 noundef 2)
          to label %178 unwind label %383

178:                                              ; preds = %177
  invoke void @_ZN6HalideplENS_4ExprEi(ptr dead_on_unwind nonnull writable sret(%"struct.Halide::Expr") align 8 %81, ptr noundef nonnull %82, i32 noundef 1)
          to label %179 unwind label %385

179:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %85) #7
  invoke void @_ZNK6Halide4FuncclIJRNS_3VarES3_EEENSt9enable_ifIXsr8Internal19all_are_convertibleIS2_DpT_EE5valueENS_7FuncRefEE4typeEDpOS5_(ptr dead_on_unwind nonnull writable sret(%"class.Halide::FuncRef") align 8 %85, 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 %180 unwind label %387

180:                                              ; preds = %179
  invoke void @_ZN6Halide7FuncRefaSENS_4ExprE(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Stage") align 8 %80, ptr noundef nonnull align 8 dereferenceable(56) %85, ptr noundef nonnull %81)
          to label %181 unwind label %389

181:                                              ; preds = %180
  call void @_ZN6Halide5StageD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %80) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %85) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %85) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %81) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %82) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %83) #7
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %84) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %84) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %83) #7
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %86, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %182 unwind label %340

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

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

184:                                              ; preds = %183
  %185 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull %86, ptr noundef nonnull %87, ptr noundef nonnull %88)
          to label %186 unwind label %400

186:                                              ; preds = %184
  invoke void @_ZN6Halide3VarC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %89, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %187 unwind label %400

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

188:                                              ; preds = %187
  invoke void @_ZN6Halide4ExprC2Ei(ptr noundef nonnull align 8 dereferenceable(8) %91, i32 noundef 1000)
          to label %189 unwind label %404

189:                                              ; preds = %188
  %190 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Halide4Func12set_estimateENS_3VarENS_4ExprES2_(ptr noundef nonnull align 8 dereferenceable(32) %185, ptr noundef nonnull %89, ptr noundef nonnull %90, ptr noundef nonnull %91)
          to label %191 unwind label %406

191:                                              ; preds = %189
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %91) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %90) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %88) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %87) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %86) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %92) #7
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %92) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %93) #7
  call void @_ZNK6Halide4Func8functionEv(ptr dead_on_unwind nonnull writable sret(%"class.Halide::Internal::Function") align 8 %93, ptr noundef nonnull align 8 dereferenceable(32) %63)
  invoke void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %92, ptr noundef nonnull align 8 dereferenceable(24) %93)
          to label %192 unwind label %413

192:                                              ; preds = %191
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %93) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %93) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %94) #7
  invoke void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGC1ERKSt6vectorINS0_8FunctionESaIS4_EERKNS_13MachineParamsERKNS_6TargetE(ptr noundef nonnull align 8 dereferenceable(48) %94, ptr noundef nonnull align 8 dereferenceable(24) %92, ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %193 unwind label %415

193:                                              ; preds = %192
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6Halide8Internal13Autoscheduler11FunctionDAG4dumpERSo(ptr noundef nonnull align 8 dereferenceable(48) %94, ptr noundef nonnull align 8 dereferenceable(8) %56)
          to label %195 unwind label %417

195:                                              ; preds = %193
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %94) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %94) #7
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %92) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %92) #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
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %56) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %56) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %9) #7
  call void @llvm.lifetime.end.p0(i64 376, 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

196:                                              ; preds = %2
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %200

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

200:                                              ; preds = %198, %196
  %.pn = phi { ptr, i32 } [ %199, %198 ], [ %197, %196 ]
  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 %429

201:                                              ; preds = %96
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %205

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

205:                                              ; preds = %203, %201
  %.pn88 = phi { ptr, i32 } [ %204, %203 ], [ %202, %201 ]
  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 %428

206:                                              ; preds = %98
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %427

208:                                              ; preds = %99
  %209 = landingpad { ptr, i32 }
          cleanup
  br label %212

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

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

213:                                              ; preds = %101
  %214 = landingpad { ptr, i32 }
          cleanup
  br label %217

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

217:                                              ; preds = %215, %213
  %.pn92 = phi { ptr, i32 } [ %216, %215 ], [ %214, %213 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  br label %321

218:                                              ; preds = %103
  %219 = landingpad { ptr, i32 }
          cleanup
  br label %222

220:                                              ; preds = %104
  %221 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %222

222:                                              ; preds = %220, %218
  %.pn94 = phi { ptr, i32 } [ %221, %220 ], [ %219, %218 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #7
  br label %320

223:                                              ; preds = %105
  %224 = landingpad { ptr, i32 }
          cleanup
  br label %319

225:                                              ; preds = %106
  %226 = landingpad { ptr, i32 }
          cleanup
  br label %247

227:                                              ; preds = %107
  %228 = landingpad { ptr, i32 }
          cleanup
  br label %246

229:                                              ; preds = %108
  %230 = landingpad { ptr, i32 }
          cleanup
  br label %245

231:                                              ; preds = %109
  %232 = landingpad { ptr, i32 }
          cleanup
  br label %244

233:                                              ; preds = %110
  %234 = landingpad { ptr, i32 }
          cleanup
  br label %243

235:                                              ; preds = %111
  %236 = landingpad { ptr, i32 }
          cleanup
  br label %242

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

239:                                              ; preds = %113
  %240 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %27) #7
  br label %241

241:                                              ; preds = %239, %237
  %.pn96 = phi { ptr, i32 } [ %240, %239 ], [ %238, %237 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %27) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br label %242

242:                                              ; preds = %241, %235
  %.pn96.pn = phi { ptr, i32 } [ %.pn96, %241 ], [ %236, %235 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  br label %243

243:                                              ; preds = %242, %233
  %.pn96.pn.pn = phi { ptr, i32 } [ %.pn96.pn, %242 ], [ %234, %233 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br label %244

244:                                              ; preds = %243, %231
  %.pn96.pn.pn.pn = phi { ptr, i32 } [ %.pn96.pn.pn, %243 ], [ %232, %231 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  br label %245

245:                                              ; preds = %244, %229
  %.pn96.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn96.pn.pn.pn, %244 ], [ %230, %229 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br label %246

246:                                              ; preds = %245, %227
  %.pn96.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn96.pn.pn.pn.pn, %245 ], [ %228, %227 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  br label %247

247:                                              ; preds = %246, %225
  %.pn96.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn96.pn.pn.pn.pn.pn, %246 ], [ %226, %225 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br label %319

248:                                              ; preds = %114
  %249 = landingpad { ptr, i32 }
          cleanup
  br label %318

.loopexit.loopexit180:                            ; preds = %117
  %250 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  br label %.loopexit

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

.loopexit:                                        ; preds = %.loopexit.loopexit180, %.loopexit.loopexit, %.thread
  %.pn104 = phi { ptr, i32 } [ %116, %.thread ], [ %251, %.loopexit.loopexit ], [ %250, %.loopexit.loopexit180 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #7
  br label %317

253:                                              ; preds = %140, %120
  %254 = landingpad { ptr, i32 }
          cleanup
  br label %316

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

257:                                              ; preds = %126
  %258 = landingpad { ptr, i32 }
          cleanup
  br label %261

259:                                              ; preds = %127
  %260 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN6Halide18ExternFuncArgumentESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  br label %261

261:                                              ; preds = %259, %257
  %.pn106 = phi { ptr, i32 } [ %260, %259 ], [ %258, %257 ]
  call void @_ZNSt15__new_allocatorIN6Halide18ExternFuncArgumentEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #7
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %35) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  br label %262

262:                                              ; preds = %261, %255
  %.pn106.pn = phi { ptr, i32 } [ %.pn106, %261 ], [ %256, %255 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #7
  br label %316

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

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

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

269:                                              ; preds = %131
  %270 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  br label %271

271:                                              ; preds = %269, %267
  %.pn109 = phi { ptr, i32 } [ %270, %269 ], [ %268, %267 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #7
  br label %272

272:                                              ; preds = %271, %265
  %.pn109.pn = phi { ptr, i32 } [ %.pn109, %271 ], [ %266, %265 ]
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %39) #7
  br label %273

273:                                              ; preds = %272, %263
  %.pn109.pn.pn = phi { ptr, i32 } [ %.pn109.pn, %272 ], [ %264, %263 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #7
  br label %316

274:                                              ; preds = %133
  %275 = landingpad { ptr, i32 }
          cleanup
  br label %290

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

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

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

282:                                              ; preds = %138
  %283 = landingpad { ptr, i32 }
          cleanup
  br label %286

284:                                              ; preds = %139
  %285 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %46) #7
  br label %286

286:                                              ; preds = %284, %282
  %.pn113 = phi { ptr, i32 } [ %285, %284 ], [ %283, %282 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %46) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  br label %287

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

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

289:                                              ; preds = %288, %276
  %.pn113.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn, %288 ], [ %277, %276 ]
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %45) #7
  br label %290

290:                                              ; preds = %289, %274
  %.pn113.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn.pn, %289 ], [ %275, %274 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #7
  br label %316

291:                                              ; preds = %141
  %292 = landingpad { ptr, i32 }
          cleanup
  br label %307

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

295:                                              ; preds = %145, %143
  %296 = landingpad { ptr, i32 }
          cleanup
  br label %305

297:                                              ; preds = %146
  %298 = landingpad { ptr, i32 }
          cleanup
  br label %304

299:                                              ; preds = %147
  %300 = landingpad { ptr, i32 }
          cleanup
  br label %303

301:                                              ; preds = %148
  %302 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #7
  br label %303

303:                                              ; preds = %301, %299
  %.pn119 = phi { ptr, i32 } [ %302, %301 ], [ %300, %299 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #7
  br label %304

304:                                              ; preds = %303, %297
  %.pn119.pn = phi { ptr, i32 } [ %.pn119, %303 ], [ %298, %297 ]
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #7
  br label %305

305:                                              ; preds = %304, %295
  %.pn119.pn.pn = phi { ptr, i32 } [ %.pn119.pn, %304 ], [ %296, %295 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #7
  br label %306

306:                                              ; preds = %305, %293
  %.pn119.pn.pn.pn = phi { ptr, i32 } [ %.pn119.pn.pn, %305 ], [ %294, %293 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  br label %307

307:                                              ; preds = %306, %291
  %.pn119.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn119.pn.pn.pn, %306 ], [ %292, %291 ]
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  br label %316

308:                                              ; preds = %150
  %309 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %54) #7
  br label %315

310:                                              ; preds = %151
  %311 = landingpad { ptr, i32 }
          cleanup
  br label %314

312:                                              ; preds = %152
  %313 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %55) #7
  br label %314

314:                                              ; preds = %312, %310
  %.pn125 = phi { ptr, i32 } [ %313, %312 ], [ %311, %310 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %55) #7
  br label %315

315:                                              ; preds = %314, %308
  %.pn125.pn = phi { ptr, i32 } [ %.pn125, %314 ], [ %309, %308 ]
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %53) #7
  br label %316

316:                                              ; preds = %315, %307, %290, %273, %262, %253
  %.pn125.pn.pn = phi { ptr, i32 } [ %.pn125.pn, %315 ], [ %.pn119.pn.pn.pn.pn, %307 ], [ %254, %253 ], [ %.pn113.pn.pn.pn.pn, %290 ], [ %.pn109.pn.pn, %273 ], [ %.pn106.pn, %262 ]
  call void @_ZNSt6vectorIN6Halide3VarESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  br label %317

317:                                              ; preds = %316, %.loopexit
  %.pn125.pn.pn.pn = phi { ptr, i32 } [ %.pn125.pn.pn, %316 ], [ %.pn104, %.loopexit ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #7
  call void @_ZN6Halide18ExternFuncArgumentD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %28) #7
  br label %318

318:                                              ; preds = %317, %248
  %.pn125.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn125.pn.pn.pn, %317 ], [ %249, %248 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %28) #7
  br label %319

319:                                              ; preds = %318, %247, %223
  %.pn125.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn125.pn.pn.pn.pn, %318 ], [ %.pn96.pn.pn.pn.pn.pn.pn, %247 ], [ %224, %223 ]
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %320

320:                                              ; preds = %319, %222
  %.pn125.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn125.pn.pn.pn.pn.pn, %319 ], [ %.pn94, %222 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %321

321:                                              ; preds = %320, %217
  %.pn125.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn125.pn.pn.pn.pn.pn.pn, %320 ], [ %.pn92, %217 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %322

322:                                              ; preds = %321, %212
  %.pn125.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn125.pn.pn.pn.pn.pn.pn.pn, %321 ], [ %.pn90, %212 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %426

323:                                              ; preds = %154
  %324 = landingpad { ptr, i32 }
          cleanup
  br label %425

325:                                              ; preds = %155
  %326 = landingpad { ptr, i32 }
          cleanup
  br label %329

327:                                              ; preds = %156
  %328 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #7
  br label %329

329:                                              ; preds = %327, %325
  %.pn135 = phi { ptr, i32 } [ %328, %327 ], [ %326, %325 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %59) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #7
  br label %424

330:                                              ; preds = %157
  %331 = landingpad { ptr, i32 }
          cleanup
  br label %334

332:                                              ; preds = %158
  %333 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #7
  br label %334

334:                                              ; preds = %332, %330
  %.pn137 = phi { ptr, i32 } [ %333, %332 ], [ %331, %330 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %62) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #7
  br label %423

335:                                              ; preds = %159
  %336 = landingpad { ptr, i32 }
          cleanup
  br label %339

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

339:                                              ; preds = %337, %335
  %.pn139 = phi { ptr, i32 } [ %338, %337 ], [ %336, %335 ]
  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 %422

340:                                              ; preds = %181, %161
  %341 = landingpad { ptr, i32 }
          cleanup
  br label %421

342:                                              ; preds = %162
  %343 = landingpad { ptr, i32 }
          cleanup
  br label %364

344:                                              ; preds = %163
  %345 = landingpad { ptr, i32 }
          cleanup
  br label %363

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

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

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

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

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

356:                                              ; preds = %169
  %357 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %74) #7
  br label %358

358:                                              ; preds = %356, %354
  %.pn141 = phi { ptr, i32 } [ %357, %356 ], [ %355, %354 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %74) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %67) #7
  br label %359

359:                                              ; preds = %358, %352
  %.pn141.pn = phi { ptr, i32 } [ %.pn141, %358 ], [ %353, %352 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %71) #7
  br label %360

360:                                              ; preds = %359, %350
  %.pn141.pn.pn = phi { ptr, i32 } [ %.pn141.pn, %359 ], [ %351, %350 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %73) #7
  br label %361

361:                                              ; preds = %360, %348
  %.pn141.pn.pn.pn = phi { ptr, i32 } [ %.pn141.pn.pn, %360 ], [ %349, %348 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #7
  br label %362

362:                                              ; preds = %361, %346
  %.pn141.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn141.pn.pn.pn, %361 ], [ %347, %346 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %68) #7
  br label %363

363:                                              ; preds = %362, %344
  %.pn141.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn141.pn.pn.pn.pn, %362 ], [ %345, %344 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %70) #7
  br label %364

364:                                              ; preds = %363, %342
  %.pn141.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn141.pn.pn.pn.pn.pn, %363 ], [ %343, %342 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %69) #7
  br label %421

365:                                              ; preds = %170
  %366 = landingpad { ptr, i32 }
          cleanup
  br label %378

367:                                              ; preds = %171
  %368 = landingpad { ptr, i32 }
          cleanup
  br label %377

369:                                              ; preds = %172
  %370 = landingpad { ptr, i32 }
          cleanup
  br label %376

371:                                              ; preds = %173
  %372 = landingpad { ptr, i32 }
          cleanup
  br label %375

373:                                              ; preds = %174
  %374 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %79) #7
  br label %375

375:                                              ; preds = %373, %371
  %.pn149 = phi { ptr, i32 } [ %374, %373 ], [ %372, %371 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %79) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %76) #7
  br label %376

376:                                              ; preds = %375, %369
  %.pn149.pn = phi { ptr, i32 } [ %.pn149, %375 ], [ %370, %369 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %77) #7
  br label %377

377:                                              ; preds = %376, %367
  %.pn149.pn.pn = phi { ptr, i32 } [ %.pn149.pn, %376 ], [ %368, %367 ]
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %78) #7
  br label %378

378:                                              ; preds = %377, %365
  %.pn149.pn.pn.pn = phi { ptr, i32 } [ %.pn149.pn.pn, %377 ], [ %366, %365 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %78) #7
  br label %421

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

381:                                              ; preds = %176
  %382 = landingpad { ptr, i32 }
          cleanup
  br label %394

383:                                              ; preds = %177
  %384 = landingpad { ptr, i32 }
          cleanup
  br label %393

385:                                              ; preds = %178
  %386 = landingpad { ptr, i32 }
          cleanup
  br label %392

387:                                              ; preds = %179
  %388 = landingpad { ptr, i32 }
          cleanup
  br label %391

389:                                              ; preds = %180
  %390 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %85) #7
  br label %391

391:                                              ; preds = %389, %387
  %.pn154 = phi { ptr, i32 } [ %390, %389 ], [ %388, %387 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %85) #7
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %81) #7
  br label %392

392:                                              ; preds = %391, %385
  %.pn154.pn = phi { ptr, i32 } [ %.pn154, %391 ], [ %386, %385 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %82) #7
  br label %393

393:                                              ; preds = %392, %383
  %.pn154.pn.pn = phi { ptr, i32 } [ %.pn154.pn, %392 ], [ %384, %383 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %83) #7
  br label %394

394:                                              ; preds = %393, %381
  %.pn154.pn.pn.pn = phi { ptr, i32 } [ %.pn154.pn.pn, %393 ], [ %382, %381 ]
  call void @_ZN6Halide7FuncRefD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %84) #7
  br label %395

395:                                              ; preds = %394, %379
  %.pn154.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn154.pn.pn.pn, %394 ], [ %380, %379 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %84) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %83) #7
  br label %421

396:                                              ; preds = %182
  %397 = landingpad { ptr, i32 }
          cleanup
  br label %412

398:                                              ; preds = %183
  %399 = landingpad { ptr, i32 }
          cleanup
  br label %411

400:                                              ; preds = %186, %184
  %401 = landingpad { ptr, i32 }
          cleanup
  br label %410

402:                                              ; preds = %187
  %403 = landingpad { ptr, i32 }
          cleanup
  br label %409

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

406:                                              ; preds = %189
  %407 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %91) #7
  br label %408

408:                                              ; preds = %406, %404
  %.pn160 = phi { ptr, i32 } [ %407, %406 ], [ %405, %404 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %90) #7
  br label %409

409:                                              ; preds = %408, %402
  %.pn160.pn = phi { ptr, i32 } [ %.pn160, %408 ], [ %403, %402 ]
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #7
  br label %410

410:                                              ; preds = %409, %400
  %.pn160.pn.pn = phi { ptr, i32 } [ %.pn160.pn, %409 ], [ %401, %400 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %88) #7
  br label %411

411:                                              ; preds = %410, %398
  %.pn160.pn.pn.pn = phi { ptr, i32 } [ %.pn160.pn.pn, %410 ], [ %399, %398 ]
  call void @_ZN6Halide8Internal12IntrusivePtrIKNS0_6IRNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %87) #7
  br label %412

412:                                              ; preds = %411, %396
  %.pn160.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn160.pn.pn.pn, %411 ], [ %397, %396 ]
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %86) #7
  br label %421

413:                                              ; preds = %191
  %414 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal8FunctionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %93) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %93) #7
  br label %420

415:                                              ; preds = %192
  %416 = landingpad { ptr, i32 }
          cleanup
  br label %419

417:                                              ; preds = %193
  %418 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Halide8Internal13Autoscheduler11FunctionDAGD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %94) #7
  br label %419

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

420:                                              ; preds = %419, %413
  %.pn166.pn = phi { ptr, i32 } [ %.pn166, %419 ], [ %414, %413 ]
  call void @_ZNSt6vectorIN6Halide8Internal8FunctionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %92) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %92) #7
  br label %421

421:                                              ; preds = %420, %412, %395, %378, %364, %340
  %.pn166.pn.pn = phi { ptr, i32 } [ %.pn166.pn, %420 ], [ %.pn160.pn.pn.pn.pn, %412 ], [ %341, %340 ], [ %.pn154.pn.pn.pn.pn, %395 ], [ %.pn149.pn.pn.pn, %378 ], [ %.pn141.pn.pn.pn.pn.pn.pn, %364 ]
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #7
  br label %422

422:                                              ; preds = %421, %339
  %.pn166.pn.pn.pn = phi { ptr, i32 } [ %.pn166.pn.pn, %421 ], [ %.pn139, %339 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #7
  br label %423

423:                                              ; preds = %422, %334
  %.pn166.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn166.pn.pn.pn, %422 ], [ %.pn137, %334 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #7
  call void @_ZN6Halide4FuncD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #7
  br label %424

424:                                              ; preds = %423, %329
  %.pn166.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn166.pn.pn.pn.pn, %423 ], [ %.pn135, %329 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %56) #7
  br label %425

425:                                              ; preds = %424, %323
  %.pn166.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn166.pn.pn.pn.pn.pn, %424 ], [ %324, %323 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %56) #7
  br label %426

426:                                              ; preds = %425, %322
  %.pn166.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn166.pn.pn.pn.pn.pn.pn, %425 ], [ %.pn125.pn.pn.pn.pn.pn.pn.pn.pn, %322 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %9) #7
  br label %427

427:                                              ; preds = %426, %206
  %.pn166.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn166.pn.pn.pn.pn.pn.pn.pn, %426 ], [ %207, %206 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %9) #7
  call void @_ZN6Halide3VarD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %428

428:                                              ; preds = %427, %205
  %.pn166.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn166.pn.pn.pn.pn.pn.pn.pn.pn, %427 ], [ %.pn88, %205 ]
  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 %429

429:                                              ; preds = %428, %200
  %.pn166.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn166.pn.pn.pn.pn.pn.pn.pn.pn.pn, %428 ], [ %.pn, %200 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn166.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

; 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 #1 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 #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 #1 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

declare void @_ZN6HalideplENS_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 #1 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 #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6Halide4FunccvNS_18ExternFuncArgumentEEv(ptr dead_on_unwind noalias writable sret(%"struct.Halide::ExternFuncArgument") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_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 #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 #1 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6HalidemlENS_4ExprEf(ptr dead_on_unwind noalias writable sret(%"struct.Halide::Expr") align 8, ptr noundef, float noundef) local_unnamed_addr #6

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

; 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 #2 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 void @_ZN6HalideplENS_4ExprEi(ptr dead_on_unwind writable sret(%"struct.Halide::Expr") align 8, ptr noundef, i32 noundef) local_unnamed_addr #3

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

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


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