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

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

%"struct.Halide::Internal::Autoscheduler::LoopNest" = type <{ %"class.Halide::Internal::RefCount", [4 x i8], %"class.std::vector.3", %"class.std::vector.8", %class.PerfectHashMap, %"class.std::set", %class.PerfectHashMap.21, ptr, ptr, i8, i8, i8, i8, i32, i32, [4 x i8] }>
%"class.Halide::Internal::RefCount" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>, std::allocator<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>>>::_Vector_impl" }
%"struct.std::_Vector_base<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>, std::allocator<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>, std::allocator<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>, std::allocator<Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::LoopNest>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.PerfectHashMap = type { %"class.std::vector.13", i32, i32 }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, const Halide::Internal::Autoscheduler::FunctionDAG::Node *, std::_Identity<const Halide::Internal::Autoscheduler::FunctionDAG::Node *>, std::less<const Halide::Internal::Autoscheduler::FunctionDAG::Node *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, const Halide::Internal::Autoscheduler::FunctionDAG::Node *, std::_Identity<const Halide::Internal::Autoscheduler::FunctionDAG::Node *>, std::less<const Halide::Internal::Autoscheduler::FunctionDAG::Node *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%class.PerfectHashMap.21 = type { %"class.std::vector.22", i32, i32 }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>, std::allocator<std::pair<const Halide::Internal::Autoscheduler::FunctionDAG::Node *, Halide::Internal::IntrusivePtr<const Halide::Internal::Autoscheduler::BoundContents>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Halide8Internal13Autoscheduler8LoopNest9copy_fromERKS2_(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 8 dereferenceable(196) %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %5 = load ptr, ptr %3, align 8
  %6 = load ptr, ptr %4, align 8, !tbaa !5
  %7 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %6, i32 0, i32 2
  %8 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %5, i32 0, i32 2
  %9 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIlSaIlEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %7)
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %10, i32 0, i32 3
  %12 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %5, i32 0, i32 3
  %13 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EEaSERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %11)
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %14, i32 0, i32 4
  %16 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %5, i32 0, i32 4
  %17 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %15)
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %18, i32 0, i32 5
  %20 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %5, i32 0, i32 5
  %21 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EEaSERKSA_(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull align 8 dereferenceable(48) %19)
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %22, i32 0, i32 6
  %24 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %5, i32 0, i32 6
  %25 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterEaSERKSA_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %23)
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %26, i32 0, i32 7
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %5, i32 0, i32 7
  store ptr %28, ptr %29, align 8, !tbaa !9
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %30, i32 0, i32 8
  %32 = load ptr, ptr %31, align 8, !tbaa !45
  %33 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %5, i32 0, i32 8
  store ptr %32, ptr %33, align 8, !tbaa !45
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %34, i32 0, i32 9
  %36 = load i8, ptr %35, align 8, !tbaa !46, !range !47, !noundef !48
  %37 = trunc i8 %36 to i1
  %38 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %5, i32 0, i32 9
  %39 = zext i1 %37 to i8
  store i8 %39, ptr %38, align 8, !tbaa !46
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %40, i32 0, i32 10
  %42 = load i8, ptr %41, align 1, !tbaa !49, !range !47, !noundef !48
  %43 = trunc i8 %42 to i1
  %44 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %5, i32 0, i32 10
  %45 = zext i1 %43 to i8
  store i8 %45, ptr %44, align 1, !tbaa !49
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %46, i32 0, i32 11
  %48 = load i8, ptr %47, align 2, !tbaa !50, !range !47, !noundef !48
  %49 = trunc i8 %48 to i1
  %50 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %5, i32 0, i32 11
  %51 = zext i1 %49 to i8
  store i8 %51, ptr %50, align 2, !tbaa !50
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %52, i32 0, i32 13
  %54 = load i32, ptr %53, align 4, !tbaa !51
  %55 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %5, i32 0, i32 13
  store i32 %54, ptr %55, align 4, !tbaa !51
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %56, i32 0, i32 14
  %58 = load i32, ptr %57, align 8, !tbaa !52
  %59 = getelementptr inbounds %"struct.Halide::Internal::Autoscheduler::LoopNest", ptr %5, i32 0, i32 14
  store i32 %58, ptr %59, align 8, !tbaa !52
  ret void
}

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

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

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

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

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

attributes #0 = { 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 #1 = { 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" }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 168}
!10 = !{!"_ZTSN6Halide8Internal13Autoscheduler8LoopNestE", !11, i64 0, !15, i64 8, !19, i64 32, !23, i64 56, !29, i64 88, !38, i64 136, !6, i64 168, !6, i64 176, !44, i64 184, !44, i64 185, !44, i64 186, !14, i64 188, !14, i64 192}
!11 = !{!"_ZTSN6Halide8Internal8RefCountE", !12, i64 0}
!12 = !{!"_ZTSSt6atomicIiE", !13, i64 0}
!13 = !{!"_ZTSSt13__atomic_baseIiE", !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSSt6vectorIlSaIlEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTS14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE", !24, i64 0, !14, i64 24, !28, i64 28}
!24 = !{!"_ZTSSt6vectorISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterEUt_E", !7, i64 0}
!29 = !{!"_ZTSSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EE", !30, i64 0}
!30 = !{!"_ZTSSt8_Rb_treeIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeES6_St9_IdentityIS6_ESt4lessIS6_ESaIS6_EE", !31, i64 0}
!31 = !{!"_ZTSNSt8_Rb_treeIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeES6_St9_IdentityIS6_ESt4lessIS6_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !32, i64 0, !34, i64 8}
!32 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEEE", !33, i64 0}
!33 = !{!"_ZTSSt4lessIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEE"}
!34 = !{!"_ZTSSt15_Rb_tree_header", !35, i64 0, !37, i64 32}
!35 = !{!"_ZTSSt18_Rb_tree_node_base", !36, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!36 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!37 = !{!"long", !7, i64 0}
!38 = !{!"_ZTS14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterE", !39, i64 0, !14, i64 24, !43, i64 28}
!39 = !{!"_ZTSSt6vectorISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTSN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterEUt_E", !7, i64 0}
!44 = !{!"bool", !7, i64 0}
!45 = !{!10, !6, i64 176}
!46 = !{!10, !44, i64 184}
!47 = !{i8 0, i8 2}
!48 = !{}
!49 = !{!10, !44, i64 185}
!50 = !{!10, !44, i64 186}
!51 = !{!10, !14, i64 188}
!52 = !{!10, !14, i64 192}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Halide8Internal13Autoscheduler8LoopNest9copy_fromERKS2_(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 8 dereferenceable(196) %1) local_unnamed_addr #0 align 2 {
  %3 = getelementptr inbounds i8, ptr %1, i64 8
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIlSaIlEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %3)
  %6 = getelementptr inbounds i8, ptr %1, i64 32
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  %8 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EEaSERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %6)
  %9 = getelementptr inbounds i8, ptr %1, i64 56
  %10 = getelementptr inbounds i8, ptr %0, i64 56
  %11 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %9)
  %12 = getelementptr inbounds i8, ptr %1, i64 88
  %13 = getelementptr inbounds i8, ptr %0, i64 88
  %14 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EEaSERKSA_(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull align 8 dereferenceable(48) %12)
  %15 = getelementptr inbounds i8, ptr %1, i64 136
  %16 = getelementptr inbounds i8, ptr %0, i64 136
  %17 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterEaSERKSA_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %15)
  %18 = getelementptr inbounds i8, ptr %1, i64 168
  %19 = getelementptr inbounds i8, ptr %0, i64 168
  %20 = load <2 x ptr>, ptr %18, align 8, !tbaa !5
  store <2 x ptr> %20, ptr %19, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %1, i64 184
  %22 = load i8, ptr %21, align 8, !tbaa !9, !range !45, !noundef !46
  %23 = getelementptr inbounds i8, ptr %0, i64 184
  store i8 %22, ptr %23, align 8, !tbaa !9
  %24 = getelementptr inbounds i8, ptr %1, i64 185
  %25 = load i8, ptr %24, align 1, !tbaa !47, !range !45, !noundef !46
  %26 = getelementptr inbounds i8, ptr %0, i64 185
  store i8 %25, ptr %26, align 1, !tbaa !47
  %27 = getelementptr inbounds i8, ptr %1, i64 186
  %28 = load i8, ptr %27, align 2, !tbaa !48, !range !45, !noundef !46
  %29 = getelementptr inbounds i8, ptr %0, i64 186
  store i8 %28, ptr %29, align 2, !tbaa !48
  %30 = getelementptr inbounds i8, ptr %1, i64 188
  %31 = getelementptr inbounds i8, ptr %0, i64 188
  %32 = load <2 x i32>, ptr %30, align 4, !tbaa !49
  store <2 x i32> %32, ptr %31, align 4, !tbaa !49
  ret void
}

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

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

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

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

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

attributes #0 = { 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 #1 = { 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" }

!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, !44, i64 184}
!10 = !{!"_ZTSN6Halide8Internal13Autoscheduler8LoopNestE", !11, i64 0, !15, i64 8, !19, i64 32, !23, i64 56, !29, i64 88, !38, i64 136, !6, i64 168, !6, i64 176, !44, i64 184, !44, i64 185, !44, i64 186, !14, i64 188, !14, i64 192}
!11 = !{!"_ZTSN6Halide8Internal8RefCountE", !12, i64 0}
!12 = !{!"_ZTSSt6atomicIiE", !13, i64 0}
!13 = !{!"_ZTSSt13__atomic_baseIiE", !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSSt6vectorIlSaIlEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN6Halide8Internal12IntrusivePtrIKNS1_13Autoscheduler8LoopNestEEESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTS14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterE", !24, i64 0, !14, i64 24, !28, i64 28}
!24 = !{!"_ZTSSt6vectorISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElESaIS8_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeElLi4E22PerfectHashMapAsserterEUt_E", !7, i64 0}
!29 = !{!"_ZTSSt3setIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeESt4lessIS6_ESaIS6_EE", !30, i64 0}
!30 = !{!"_ZTSSt8_Rb_treeIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeES6_St9_IdentityIS6_ESt4lessIS6_ESaIS6_EE", !31, i64 0}
!31 = !{!"_ZTSNSt8_Rb_treeIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeES6_St9_IdentityIS6_ESt4lessIS6_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !32, i64 0, !34, i64 8}
!32 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEEE", !33, i64 0}
!33 = !{!"_ZTSSt4lessIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeEE"}
!34 = !{!"_ZTSSt15_Rb_tree_header", !35, i64 0, !37, i64 32}
!35 = !{!"_ZTSSt18_Rb_tree_node_base", !36, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!36 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!37 = !{!"long", !7, i64 0}
!38 = !{!"_ZTS14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterE", !39, i64 0, !14, i64 24, !43, i64 28}
!39 = !{!"_ZTSSt6vectorISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS2_12IntrusivePtrIKNS3_13BoundContentsEEEESaISC_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTSN14PerfectHashMapIN6Halide8Internal13Autoscheduler11FunctionDAG4NodeENS1_12IntrusivePtrIKNS2_13BoundContentsEEELi4E22PerfectHashMapAsserterEUt_E", !7, i64 0}
!44 = !{!"bool", !7, i64 0}
!45 = !{i8 0, i8 2}
!46 = !{}
!47 = !{!10, !44, i64 185}
!48 = !{!10, !44, i64 186}
!49 = !{!14, !14, i64 0}


; Effective O3 passes: GlobalOptPass,IPSCCPPass,InstCombinePass,SLPVectorizerPass,SROAPass,TailCallElimPass