; LLVM IR from jrl-umi3218/tvm :: src/graph (Log)

; 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.std::pair" = type { %"class.std::vector", %"class.std::vector.0" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::Output, std::allocator<tvm::graph::internal::Log::Output>>::_Vector_impl" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::Output, std::allocator<tvm::graph::internal::Log::Output>>::_Vector_impl" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::Output, std::allocator<tvm::graph::internal::Log::Output>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::Output, std::allocator<tvm::graph::internal::Log::Output>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::Update, std::allocator<tvm::graph::internal::Log::Update>>::_Vector_impl" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::Update, std::allocator<tvm::graph::internal::Log::Update>>::_Vector_impl" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::Update, std::allocator<tvm::graph::internal::Log::Update>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::Update, std::allocator<tvm::graph::internal::Log::Update>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.106" = type { %"class.std::_Rb_tree.107" }
%"class.std::_Rb_tree.107" = type { %"struct.std::_Rb_tree<tvm::graph::internal::Log::Output, std::pair<const tvm::graph::internal::Log::Output, bool>, std::_Select1st<std::pair<const tvm::graph::internal::Log::Output, bool>>, std::less<tvm::graph::internal::Log::Output>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tvm::graph::internal::Log::Output, std::pair<const tvm::graph::internal::Log::Output, bool>, std::_Select1st<std::pair<const tvm::graph::internal::Log::Output, bool>>, std::less<tvm::graph::internal::Log::Output>>::_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.std::map.111" = type { %"class.std::_Rb_tree.112" }
%"class.std::_Rb_tree.112" = type { %"struct.std::_Rb_tree<tvm::graph::internal::Log::Update, std::pair<const tvm::graph::internal::Log::Update, bool>, std::_Select1st<std::pair<const tvm::graph::internal::Log::Update, bool>>, std::less<tvm::graph::internal::Log::Update>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tvm::graph::internal::Log::Update, std::pair<const tvm::graph::internal::Log::Update, bool>, std::_Select1st<std::pair<const tvm::graph::internal::Log::Update, bool>>, std::less<tvm::graph::internal::Log::Update>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.tvm::graph::internal::Log::Output" = type { %"struct.tvm::graph::internal::Log::EnumValue", %"class.std::__cxx11::basic_string", %"struct.tvm::graph::internal::Log::Pointer" }
%"struct.tvm::graph::internal::Log::EnumValue" = type <{ %"struct.std::type_index", i32, [4 x i8] }>
%"struct.std::type_index" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.tvm::graph::internal::Log::Pointer" = type { %"struct.std::type_index", i64 }
%"class.__gnu_cxx::__normal_iterator.88" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.90" = type { ptr }
%"struct.tvm::graph::internal::Log::Input" = type { %"struct.tvm::graph::internal::Log::EnumValue", %"class.std::__cxx11::basic_string", %"struct.tvm::graph::internal::Log::Pointer", %"struct.tvm::graph::internal::Log::Pointer" }
%"struct.tvm::graph::internal::Log::Update" = type { %"struct.tvm::graph::internal::Log::EnumValue", %"class.std::__cxx11::basic_string", i64, %"struct.tvm::graph::internal::Log::Pointer" }
%"class.__gnu_cxx::__normal_iterator.87" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.89" = type { ptr }
%"class.tvm::graph::internal::Log" = type { %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector", %"class.std::vector.10", %"class.std::vector.15", %"class.std::vector.20", %"class.std::vector.25", %"class.std::map", %"class.std::map.33" }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::Input, std::allocator<tvm::graph::internal::Log::Input>>::_Vector_impl" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::Input, std::allocator<tvm::graph::internal::Log::Input>>::_Vector_impl" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::Input, std::allocator<tvm::graph::internal::Log::Input>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::Input, std::allocator<tvm::graph::internal::Log::Input>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::InputDependency, std::allocator<tvm::graph::internal::Log::InputDependency>>::_Vector_impl" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::InputDependency, std::allocator<tvm::graph::internal::Log::InputDependency>>::_Vector_impl" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::InputDependency, std::allocator<tvm::graph::internal::Log::InputDependency>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::InputDependency, std::allocator<tvm::graph::internal::Log::InputDependency>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::OutputDependency, std::allocator<tvm::graph::internal::Log::OutputDependency>>::_Vector_impl" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::OutputDependency, std::allocator<tvm::graph::internal::Log::OutputDependency>>::_Vector_impl" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::OutputDependency, std::allocator<tvm::graph::internal::Log::OutputDependency>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::OutputDependency, std::allocator<tvm::graph::internal::Log::OutputDependency>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::InternalDependency, std::allocator<tvm::graph::internal::Log::InternalDependency>>::_Vector_impl" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::InternalDependency, std::allocator<tvm::graph::internal::Log::InternalDependency>>::_Vector_impl" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::InternalDependency, std::allocator<tvm::graph::internal::Log::InternalDependency>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::InternalDependency, std::allocator<tvm::graph::internal::Log::InternalDependency>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::DirectDependency, std::allocator<tvm::graph::internal::Log::DirectDependency>>::_Vector_impl" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::DirectDependency, std::allocator<tvm::graph::internal::Log::DirectDependency>>::_Vector_impl" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::DirectDependency, std::allocator<tvm::graph::internal::Log::DirectDependency>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::DirectDependency, std::allocator<tvm::graph::internal::Log::DirectDependency>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<tvm::graph::internal::Log::Pointer, std::pair<const tvm::graph::internal::Log::Pointer, std::vector<tvm::graph::internal::Log::Pointer>>, std::_Select1st<std::pair<const tvm::graph::internal::Log::Pointer, std::vector<tvm::graph::internal::Log::Pointer>>>, std::less<tvm::graph::internal::Log::Pointer>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tvm::graph::internal::Log::Pointer, std::pair<const tvm::graph::internal::Log::Pointer, std::vector<tvm::graph::internal::Log::Pointer>>, std::_Select1st<std::pair<const tvm::graph::internal::Log::Pointer, std::vector<tvm::graph::internal::Log::Pointer>>>, std::less<tvm::graph::internal::Log::Pointer>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.33" = type { %"class.std::_Rb_tree.34" }
%"class.std::_Rb_tree.34" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, std::vector<std::type_index>>, std::_Select1st<std::pair<const unsigned long, std::vector<std::type_index>>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, std::vector<std::type_index>>, std::_Select1st<std::pair<const unsigned long, std::vector<std::type_index>>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.tvm::graph::internal::Log::OutputDependency" = type { %"struct.tvm::graph::internal::Log::EnumValue", %"struct.tvm::graph::internal::Log::EnumValue", %"struct.tvm::graph::internal::Log::Pointer" }
%"struct.tvm::graph::internal::Log::DirectDependency" = type { %"struct.tvm::graph::internal::Log::EnumValue", %"struct.tvm::graph::internal::Log::EnumValue", %"struct.tvm::graph::internal::Log::Pointer", %"struct.tvm::graph::internal::Log::Pointer" }
%"struct.tvm::graph::internal::Log::InputDependency" = type { %"struct.tvm::graph::internal::Log::EnumValue", %"struct.tvm::graph::internal::Log::EnumValue", %"struct.tvm::graph::internal::Log::Pointer", %"struct.tvm::graph::internal::Log::Pointer" }
%"struct.tvm::graph::internal::Log::InternalDependency" = type { %"struct.tvm::graph::internal::Log::EnumValue", %"struct.tvm::graph::internal::Log::EnumValue", %"struct.tvm::graph::internal::Log::Pointer" }

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(64) ptr @_ZN12_GLOBAL__N_110findOutputERKSt6vectorIN3tvm5graph8internal3Log6OutputESaIS5_EERKNS4_5InputE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(80)) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3tvm5graph8internal3Log18followUpDependencyERKSt6vectorINS2_6OutputESaIS4_EES8_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8 %0, ptr noundef nonnull align 8 dereferenceable(264) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::vector.0", align 8
  %11 = alloca %"class.std::map.106", align 8
  %12 = alloca %"class.std::map.111", align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::vector.0", align 8
  %17 = alloca %"struct.tvm::graph::internal::Log::Output", align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.88", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.88", align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.90", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.90", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"struct.tvm::graph::internal::Log::Input", align 8
  %27 = alloca %"struct.tvm::graph::internal::Log::Update", align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.87", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.87", align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"struct.tvm::graph::internal::Log::Input", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.89", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.89", align 8
  %36 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %37 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #5
  call void @_ZNSt3mapIN3tvm5graph8internal3Log6OutputEbSt4lessIS4_ESaISt4pairIKS4_bEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #5
  call void @_ZNSt3mapIN3tvm5graph8internal3Log6UpdateEbSt4lessIS4_ESaISt4pairIKS4_bEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #5
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %38)
          to label %39 unwind label %68

39:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  br label %40

40:                                               ; preds = %275, %39
  %41 = call noundef zeroext i1 @_ZNKSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  br i1 %41, label %42, label %45

42:                                               ; preds = %40
  %43 = call noundef zeroext i1 @_ZNKSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  %44 = xor i1 %43, true
  br label %45

45:                                               ; preds = %42, %40
  %46 = phi i1 [ true, %40 ], [ %44, %42 ]
  br i1 %46, label %47, label %276

47:                                               ; preds = %45
  %48 = call noundef zeroext i1 @_ZNKSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  br i1 %48, label %163, label %49

49:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #5
  %50 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  invoke void @_ZN3tvm5graph8internal3Log6OutputC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(64) %17, ptr noundef nonnull align 8 dereferenceable(64) %50)
          to label %51 unwind label %72

51:                                               ; preds = %49
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  %52 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN3tvm5graph8internal3Log6OutputEbSt4lessIS4_ESaISt4pairIKS4_bEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(64) %17)
          to label %53 unwind label %76

53:                                               ; preds = %51
  %54 = load i8, ptr %52, align 1, !tbaa !9, !range !11, !noundef !12
  %55 = trunc i8 %54 to i1
  br i1 %55, label %160, label %56

56:                                               ; preds = %53
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(64) %17)
          to label %57 unwind label %76

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %58 = getelementptr inbounds %"class.tvm::graph::internal::Log", ptr %37, i32 0, i32 4
  store ptr %58, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %59 = load ptr, ptr %18, align 8, !tbaa !5
  %60 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log16OutputDependencyESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #5
  %61 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.88", ptr %19, i32 0, i32 0
  store ptr %60, ptr %61, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %62 = load ptr, ptr %18, align 8, !tbaa !5
  %63 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log16OutputDependencyESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #5
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.88", ptr %20, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  br label %65

65:                                               ; preds = %104, %57
  %66 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3tvm5graph8internal3Log16OutputDependencyESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  br i1 %66, label %80, label %67

67:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %106

68:                                               ; preds = %4
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %14, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %15, align 4
  br label %283

72:                                               ; preds = %49
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %14, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %15, align 4
  br label %162

76:                                               ; preds = %157, %56, %51
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %14, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %15, align 4
  br label %161

80:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %81 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log16OutputDependencyESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  store ptr %81, ptr %21, align 8, !tbaa !5
  %82 = load ptr, ptr %21, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.tvm::graph::internal::Log::OutputDependency", ptr %82, i32 0, i32 2
  %84 = getelementptr inbounds %"struct.tvm::graph::internal::Log::Output", ptr %17, i32 0, i32 2
  %85 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log7PointereqERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %83, ptr noundef nonnull align 8 dereferenceable(16) %84)
          to label %86 unwind label %99

86:                                               ; preds = %80
  br i1 %85, label %87, label %103

87:                                               ; preds = %86
  %88 = load ptr, ptr %21, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.tvm::graph::internal::Log::OutputDependency", ptr %88, i32 0, i32 1
  %90 = getelementptr inbounds %"struct.tvm::graph::internal::Log::Output", ptr %17, i32 0, i32 0
  %91 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log9EnumValueeqERKS3_(ptr noundef nonnull align 8 dereferenceable(12) %89, ptr noundef nonnull align 8 dereferenceable(12) %90)
          to label %92 unwind label %99

92:                                               ; preds = %87
  br i1 %91, label %93, label %103

93:                                               ; preds = %92
  %94 = getelementptr inbounds %"class.tvm::graph::internal::Log", ptr %37, i32 0, i32 0
  %95 = load ptr, ptr %21, align 8, !tbaa !5
  %96 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN12_GLOBAL__N_110findUpdateISt6vectorIN3tvm5graph8internal3Log6UpdateESaIS6_EEEERKS6_RKT_RKNS5_16OutputDependencyE(ptr noundef nonnull align 8 dereferenceable(24) %94, ptr noundef nonnull align 8 dereferenceable(48) %95)
          to label %97 unwind label %99

97:                                               ; preds = %93
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(72) %96)
          to label %98 unwind label %99

98:                                               ; preds = %97
  br label %103

99:                                               ; preds = %97, %93, %87, %80
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %14, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %161

103:                                              ; preds = %98, %92, %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %104

104:                                              ; preds = %103
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log16OutputDependencyESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  br label %65

106:                                              ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %107 = getelementptr inbounds %"class.tvm::graph::internal::Log", ptr %37, i32 0, i32 6
  store ptr %107, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %108 = load ptr, ptr %22, align 8, !tbaa !5
  %109 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log16DirectDependencyESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #5
  %110 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.90", ptr %23, i32 0, i32 0
  store ptr %109, ptr %110, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %111 = load ptr, ptr %22, align 8, !tbaa !5
  %112 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log16DirectDependencyESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #5
  %113 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.90", ptr %24, i32 0, i32 0
  store ptr %112, ptr %113, align 8
  br label %114

114:                                              ; preds = %154, %106
  %115 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3tvm5graph8internal3Log16DirectDependencyESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  br i1 %115, label %117, label %116

116:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %157

117:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %118 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log16DirectDependencyESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  store ptr %118, ptr %25, align 8, !tbaa !5
  %119 = load ptr, ptr %25, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.tvm::graph::internal::Log::DirectDependency", ptr %119, i32 0, i32 3
  %121 = getelementptr inbounds %"struct.tvm::graph::internal::Log::Output", ptr %17, i32 0, i32 2
  %122 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log7PointereqERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %120, ptr noundef nonnull align 8 dereferenceable(16) %121)
          to label %123 unwind label %140

123:                                              ; preds = %117
  br i1 %122, label %124, label %153

124:                                              ; preds = %123
  %125 = load ptr, ptr %25, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.tvm::graph::internal::Log::DirectDependency", ptr %125, i32 0, i32 1
  %127 = getelementptr inbounds %"struct.tvm::graph::internal::Log::Output", ptr %17, i32 0, i32 0
  %128 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log9EnumValueeqERKS3_(ptr noundef nonnull align 8 dereferenceable(12) %126, ptr noundef nonnull align 8 dereferenceable(12) %127)
          to label %129 unwind label %140

129:                                              ; preds = %124
  br i1 %128, label %130, label %153

130:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 80, ptr %26) #5
  %131 = getelementptr inbounds %"class.tvm::graph::internal::Log", ptr %37, i32 0, i32 1
  %132 = load ptr, ptr %25, align 8, !tbaa !5
  %133 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN12_GLOBAL__N_19findInputISt6vectorIN3tvm5graph8internal3Log5InputESaIS6_EEEERKS6_RKT_RKNS5_16DirectDependencyE(ptr noundef nonnull align 8 dereferenceable(24) %131, ptr noundef nonnull align 8 dereferenceable(64) %132)
          to label %134 unwind label %144

134:                                              ; preds = %130
  invoke void @_ZN3tvm5graph8internal3Log5InputC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(80) %26, ptr noundef nonnull align 8 dereferenceable(80) %133)
          to label %135 unwind label %144

135:                                              ; preds = %134
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN12_GLOBAL__N_110findOutputERKSt6vectorIN3tvm5graph8internal3Log6OutputESaIS5_EERKNS4_5InputE(ptr noundef nonnull align 8 dereferenceable(24) %136, ptr noundef nonnull align 8 dereferenceable(80) %26)
          to label %138 unwind label %148

138:                                              ; preds = %135
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(64) %137)
          to label %139 unwind label %148

139:                                              ; preds = %138
  call void @_ZN3tvm5graph8internal3Log5InputD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %26) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %26) #5
  br label %153

140:                                              ; preds = %124, %117
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %14, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %15, align 4
  br label %156

144:                                              ; preds = %134, %130
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %14, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %15, align 4
  br label %152

148:                                              ; preds = %138, %135
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %14, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %15, align 4
  call void @_ZN3tvm5graph8internal3Log5InputD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %26) #5
  br label %152

152:                                              ; preds = %148, %144
  call void @llvm.lifetime.end.p0(i64 80, ptr %26) #5
  br label %156

153:                                              ; preds = %139, %129, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %154

154:                                              ; preds = %153
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log16DirectDependencyESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  br label %114

156:                                              ; preds = %152, %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %161

157:                                              ; preds = %116
  %158 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN3tvm5graph8internal3Log6OutputEbSt4lessIS4_ESaISt4pairIKS4_bEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(64) %17)
          to label %159 unwind label %76

159:                                              ; preds = %157
  store i8 1, ptr %158, align 1, !tbaa !9
  br label %160

160:                                              ; preds = %159, %53
  call void @_ZN3tvm5graph8internal3Log6OutputD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #5
  br label %163

161:                                              ; preds = %156, %99, %76
  call void @_ZN3tvm5graph8internal3Log6OutputD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #5
  br label %162

162:                                              ; preds = %161, %72
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #5
  br label %282

163:                                              ; preds = %160, %47
  %164 = call noundef zeroext i1 @_ZNKSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  br i1 %164, label %275, label %165

165:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 72, ptr %27) #5
  %166 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  invoke void @_ZN3tvm5graph8internal3Log6UpdateC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(72) %27, ptr noundef nonnull align 8 dereferenceable(72) %166)
          to label %167 unwind label %184

167:                                              ; preds = %165
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  %168 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN3tvm5graph8internal3Log6UpdateEbSt4lessIS4_ESaISt4pairIKS4_bEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(72) %27)
          to label %169 unwind label %188

169:                                              ; preds = %167
  %170 = load i8, ptr %168, align 1, !tbaa !9, !range !11, !noundef !12
  %171 = trunc i8 %170 to i1
  br i1 %171, label %272, label %172

172:                                              ; preds = %169
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(72) %27)
          to label %173 unwind label %188

173:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %174 = getelementptr inbounds %"class.tvm::graph::internal::Log", ptr %37, i32 0, i32 3
  store ptr %174, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %175 = load ptr, ptr %28, align 8, !tbaa !5
  %176 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log15InputDependencyESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %175) #5
  %177 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.87", ptr %29, i32 0, i32 0
  store ptr %176, ptr %177, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %178 = load ptr, ptr %28, align 8, !tbaa !5
  %179 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log15InputDependencyESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %178) #5
  %180 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.87", ptr %30, i32 0, i32 0
  store ptr %179, ptr %180, align 8
  br label %181

181:                                              ; preds = %229, %173
  %182 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3tvm5graph8internal3Log15InputDependencyESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #5
  br i1 %182, label %192, label %183

183:                                              ; preds = %181
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %232

184:                                              ; preds = %165
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %14, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %15, align 4
  br label %274

188:                                              ; preds = %269, %172, %167
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %14, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %15, align 4
  br label %273

192:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %193 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log15InputDependencyESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #5
  store ptr %193, ptr %31, align 8, !tbaa !5
  %194 = load ptr, ptr %31, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.tvm::graph::internal::Log::InputDependency", ptr %194, i32 0, i32 3
  %196 = getelementptr inbounds %"struct.tvm::graph::internal::Log::Update", ptr %27, i32 0, i32 3
  %197 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log7PointereqERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %195, ptr noundef nonnull align 8 dereferenceable(16) %196)
          to label %198 unwind label %215

198:                                              ; preds = %192
  br i1 %197, label %199, label %228

199:                                              ; preds = %198
  %200 = load ptr, ptr %31, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.tvm::graph::internal::Log::InputDependency", ptr %200, i32 0, i32 1
  %202 = getelementptr inbounds %"struct.tvm::graph::internal::Log::Update", ptr %27, i32 0, i32 0
  %203 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log9EnumValueeqERKS3_(ptr noundef nonnull align 8 dereferenceable(12) %201, ptr noundef nonnull align 8 dereferenceable(12) %202)
          to label %204 unwind label %215

204:                                              ; preds = %199
  br i1 %203, label %205, label %228

205:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 80, ptr %32) #5
  %206 = getelementptr inbounds %"class.tvm::graph::internal::Log", ptr %37, i32 0, i32 1
  %207 = load ptr, ptr %31, align 8, !tbaa !5
  %208 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN12_GLOBAL__N_19findInputISt6vectorIN3tvm5graph8internal3Log5InputESaIS6_EEEERKS6_RKT_RKNS5_15InputDependencyE(ptr noundef nonnull align 8 dereferenceable(24) %206, ptr noundef nonnull align 8 dereferenceable(64) %207)
          to label %209 unwind label %219

209:                                              ; preds = %205
  invoke void @_ZN3tvm5graph8internal3Log5InputC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(80) %32, ptr noundef nonnull align 8 dereferenceable(80) %208)
          to label %210 unwind label %219

210:                                              ; preds = %209
  %211 = load ptr, ptr %7, align 8, !tbaa !5
  %212 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN12_GLOBAL__N_110findOutputERKSt6vectorIN3tvm5graph8internal3Log6OutputESaIS5_EERKNS4_5InputE(ptr noundef nonnull align 8 dereferenceable(24) %211, ptr noundef nonnull align 8 dereferenceable(80) %32)
          to label %213 unwind label %223

213:                                              ; preds = %210
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(64) %212)
          to label %214 unwind label %223

214:                                              ; preds = %213
  call void @_ZN3tvm5graph8internal3Log5InputD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %32) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %32) #5
  br label %228

215:                                              ; preds = %199, %192
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %14, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %15, align 4
  br label %231

219:                                              ; preds = %209, %205
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %14, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %15, align 4
  br label %227

223:                                              ; preds = %213, %210
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %14, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %15, align 4
  call void @_ZN3tvm5graph8internal3Log5InputD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %32) #5
  br label %227

227:                                              ; preds = %223, %219
  call void @llvm.lifetime.end.p0(i64 80, ptr %32) #5
  br label %231

228:                                              ; preds = %214, %204, %198
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %229

229:                                              ; preds = %228
  %230 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log15InputDependencyESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #5
  br label %181

231:                                              ; preds = %227, %215
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %273

232:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %233 = getelementptr inbounds %"class.tvm::graph::internal::Log", ptr %37, i32 0, i32 5
  store ptr %233, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %234 = load ptr, ptr %33, align 8, !tbaa !5
  %235 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log18InternalDependencyESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %234) #5
  %236 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.89", ptr %34, i32 0, i32 0
  store ptr %235, ptr %236, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %237 = load ptr, ptr %33, align 8, !tbaa !5
  %238 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log18InternalDependencyESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %237) #5
  %239 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.89", ptr %35, i32 0, i32 0
  store ptr %238, ptr %239, align 8
  br label %240

240:                                              ; preds = %267, %232
  %241 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3tvm5graph8internal3Log18InternalDependencyESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #5
  br i1 %241, label %243, label %242

242:                                              ; preds = %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %269

243:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %244 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log18InternalDependencyESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  store ptr %244, ptr %36, align 8, !tbaa !5
  %245 = load ptr, ptr %36, align 8, !tbaa !5
  %246 = getelementptr inbounds %"struct.tvm::graph::internal::Log::InternalDependency", ptr %245, i32 0, i32 2
  %247 = getelementptr inbounds %"struct.tvm::graph::internal::Log::Update", ptr %27, i32 0, i32 3
  %248 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log7PointereqERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %246, ptr noundef nonnull align 8 dereferenceable(16) %247)
          to label %249 unwind label %262

249:                                              ; preds = %243
  br i1 %248, label %250, label %266

250:                                              ; preds = %249
  %251 = load ptr, ptr %36, align 8, !tbaa !5
  %252 = getelementptr inbounds %"struct.tvm::graph::internal::Log::InternalDependency", ptr %251, i32 0, i32 1
  %253 = getelementptr inbounds %"struct.tvm::graph::internal::Log::Update", ptr %27, i32 0, i32 0
  %254 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log9EnumValueeqERKS3_(ptr noundef nonnull align 8 dereferenceable(12) %252, ptr noundef nonnull align 8 dereferenceable(12) %253)
          to label %255 unwind label %262

255:                                              ; preds = %250
  br i1 %254, label %256, label %266

256:                                              ; preds = %255
  %257 = getelementptr inbounds %"class.tvm::graph::internal::Log", ptr %37, i32 0, i32 0
  %258 = load ptr, ptr %36, align 8, !tbaa !5
  %259 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN12_GLOBAL__N_114findFromUpdateISt6vectorIN3tvm5graph8internal3Log6UpdateESaIS6_EEEERKS6_RKT_RKNS5_18InternalDependencyE(ptr noundef nonnull align 8 dereferenceable(24) %257, ptr noundef nonnull align 8 dereferenceable(48) %258)
          to label %260 unwind label %262

260:                                              ; preds = %256
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(72) %259)
          to label %261 unwind label %262

261:                                              ; preds = %260
  br label %266

262:                                              ; preds = %260, %256, %250, %243
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %14, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %273

266:                                              ; preds = %261, %255, %249
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  br label %267

267:                                              ; preds = %266
  %268 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log18InternalDependencyESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  br label %240

269:                                              ; preds = %242
  %270 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN3tvm5graph8internal3Log6UpdateEbSt4lessIS4_ESaISt4pairIKS4_bEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(72) %27)
          to label %271 unwind label %188

271:                                              ; preds = %269
  store i8 1, ptr %270, align 1, !tbaa !9
  br label %272

272:                                              ; preds = %271, %169
  call void @_ZN3tvm5graph8internal3Log6UpdateD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %27) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %27) #5
  br label %275

273:                                              ; preds = %262, %231, %188
  call void @_ZN3tvm5graph8internal3Log6UpdateD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %27) #5
  br label %274

274:                                              ; preds = %273, %184
  call void @llvm.lifetime.end.p0(i64 72, ptr %27) #5
  br label %282

275:                                              ; preds = %272, %163
  br label %40, !llvm.loop !13

276:                                              ; preds = %45
  invoke void @_ZNSt4pairISt6vectorIN3tvm5graph8internal3Log6OutputESaIS5_EES0_INS4_6UpdateESaIS8_EEEC2IRS7_RSA_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %277 unwind label %278

277:                                              ; preds = %276
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  call void @_ZNSt3mapIN3tvm5graph8internal3Log6UpdateEbSt4lessIS4_ESaISt4pairIKS4_bEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #5
  call void @_ZNSt3mapIN3tvm5graph8internal3Log6OutputEbSt4lessIS4_ESaISt4pairIKS4_bEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #5
  ret void

278:                                              ; preds = %276
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %14, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %15, align 4
  br label %282

282:                                              ; preds = %278, %274, %162
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  br label %283

283:                                              ; preds = %282, %68
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  call void @_ZNSt3mapIN3tvm5graph8internal3Log6UpdateEbSt4lessIS4_ESaISt4pairIKS4_bEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #5
  call void @_ZNSt3mapIN3tvm5graph8internal3Log6OutputEbSt4lessIS4_ESaISt4pairIKS4_bEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #5
  br label %284

284:                                              ; preds = %283
  %285 = load ptr, ptr %14, align 8
  %286 = load i32, ptr %15, align 4
  %287 = insertvalue { ptr, i32 } poison, ptr %285, 0
  %288 = insertvalue { ptr, i32 } %287, i32 %286, 1
  resume { ptr, i32 } %288
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(72) ptr @_ZN12_GLOBAL__N_110findUpdateISt6vectorIN3tvm5graph8internal3Log6UpdateESaIS6_EEEERKS6_RKT_RKNS5_16OutputDependencyE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(48)) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(80) ptr @_ZN12_GLOBAL__N_19findInputISt6vectorIN3tvm5graph8internal3Log5InputESaIS6_EEEERKS6_RKT_RKNS5_16DirectDependencyE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64)) #2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(80) ptr @_ZN12_GLOBAL__N_19findInputISt6vectorIN3tvm5graph8internal3Log5InputESaIS6_EEEERKS6_RKT_RKNS5_15InputDependencyE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64)) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(72) ptr @_ZN12_GLOBAL__N_114findFromUpdateISt6vectorIN3tvm5graph8internal3Log6UpdateESaIS6_EEEERKS6_RKT_RKNS5_18InternalDependencyE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(48)) #2

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

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

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

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


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

%"struct.std::pair" = type { %"class.std::vector", %"class.std::vector.0" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::Output, std::allocator<tvm::graph::internal::Log::Output>>::_Vector_impl" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::Output, std::allocator<tvm::graph::internal::Log::Output>>::_Vector_impl" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::Output, std::allocator<tvm::graph::internal::Log::Output>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::Output, std::allocator<tvm::graph::internal::Log::Output>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::Update, std::allocator<tvm::graph::internal::Log::Update>>::_Vector_impl" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::Update, std::allocator<tvm::graph::internal::Log::Update>>::_Vector_impl" = type { %"struct.std::_Vector_base<tvm::graph::internal::Log::Update, std::allocator<tvm::graph::internal::Log::Update>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tvm::graph::internal::Log::Update, std::allocator<tvm::graph::internal::Log::Update>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.106" = type { %"class.std::_Rb_tree.107" }
%"class.std::_Rb_tree.107" = type { %"struct.std::_Rb_tree<tvm::graph::internal::Log::Output, std::pair<const tvm::graph::internal::Log::Output, bool>, std::_Select1st<std::pair<const tvm::graph::internal::Log::Output, bool>>, std::less<tvm::graph::internal::Log::Output>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tvm::graph::internal::Log::Output, std::pair<const tvm::graph::internal::Log::Output, bool>, std::_Select1st<std::pair<const tvm::graph::internal::Log::Output, bool>>, std::less<tvm::graph::internal::Log::Output>>::_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.std::map.111" = type { %"class.std::_Rb_tree.112" }
%"class.std::_Rb_tree.112" = type { %"struct.std::_Rb_tree<tvm::graph::internal::Log::Update, std::pair<const tvm::graph::internal::Log::Update, bool>, std::_Select1st<std::pair<const tvm::graph::internal::Log::Update, bool>>, std::less<tvm::graph::internal::Log::Update>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tvm::graph::internal::Log::Update, std::pair<const tvm::graph::internal::Log::Update, bool>, std::_Select1st<std::pair<const tvm::graph::internal::Log::Update, bool>>, std::less<tvm::graph::internal::Log::Update>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.tvm::graph::internal::Log::Output" = type { %"struct.tvm::graph::internal::Log::EnumValue", %"class.std::__cxx11::basic_string", %"struct.tvm::graph::internal::Log::Pointer" }
%"struct.tvm::graph::internal::Log::EnumValue" = type <{ %"struct.std::type_index", i32, [4 x i8] }>
%"struct.std::type_index" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.tvm::graph::internal::Log::Pointer" = type { %"struct.std::type_index", i64 }
%"class.__gnu_cxx::__normal_iterator.88" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.90" = type { ptr }
%"struct.tvm::graph::internal::Log::Input" = type { %"struct.tvm::graph::internal::Log::EnumValue", %"class.std::__cxx11::basic_string", %"struct.tvm::graph::internal::Log::Pointer", %"struct.tvm::graph::internal::Log::Pointer" }
%"struct.tvm::graph::internal::Log::Update" = type { %"struct.tvm::graph::internal::Log::EnumValue", %"class.std::__cxx11::basic_string", i64, %"struct.tvm::graph::internal::Log::Pointer" }
%"class.__gnu_cxx::__normal_iterator.87" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.89" = type { ptr }

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(64) ptr @_ZN12_GLOBAL__N_110findOutputERKSt6vectorIN3tvm5graph8internal3Log6OutputESaIS5_EERKNS4_5InputE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3tvm5graph8internal3Log18followUpDependencyERKSt6vectorINS2_6OutputESaIS4_EES8_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8 %0, ptr noundef nonnull align 8 dereferenceable(264) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::vector.0", align 8
  %7 = alloca %"class.std::map.106", align 8
  %8 = alloca %"class.std::map.111", align 8
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::vector.0", align 8
  %11 = alloca %"struct.tvm::graph::internal::Log::Output", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.88", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.88", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.90", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.90", align 8
  %16 = alloca %"struct.tvm::graph::internal::Log::Input", align 8
  %17 = alloca %"struct.tvm::graph::internal::Log::Update", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.87", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.87", align 8
  %20 = alloca %"struct.tvm::graph::internal::Log::Input", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.89", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.89", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #5
  call void @_ZNSt3mapIN3tvm5graph8internal3Log6OutputEbSt4lessIS4_ESaISt4pairIKS4_bEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #5
  call void @_ZNSt3mapIN3tvm5graph8internal3Log6UpdateEbSt4lessIS4_ESaISt4pairIKS4_bEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %23 unwind label %51

23:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  %24 = getelementptr inbounds i8, ptr %1, i64 96
  %25 = getelementptr inbounds i8, ptr %11, i64 48
  %26 = getelementptr inbounds i8, ptr %1, i64 144
  %27 = getelementptr inbounds i8, ptr %1, i64 24
  %28 = getelementptr inbounds i8, ptr %1, i64 72
  %29 = getelementptr inbounds i8, ptr %17, i64 56
  %30 = getelementptr inbounds i8, ptr %1, i64 120
  br label %31

31:                                               ; preds = %.backedge, %23
  %32 = call noundef zeroext i1 @_ZNKSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  br i1 %32, label %33, label %.critedge

33:                                               ; preds = %31
  %34 = call noundef zeroext i1 @_ZNKSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br i1 %34, label %172, label %.critedge

.critedge:                                        ; preds = %31, %33
  %35 = call noundef zeroext i1 @_ZNKSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  br i1 %35, label %104, label %36

36:                                               ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #5
  %37 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  invoke void @_ZN3tvm5graph8internal3Log6OutputC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 8 dereferenceable(64) %37)
          to label %38 unwind label %53

38:                                               ; preds = %36
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %39 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN3tvm5graph8internal3Log6OutputEbSt4lessIS4_ESaISt4pairIKS4_bEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(64) %11)
          to label %40 unwind label %55

40:                                               ; preds = %38
  %41 = load i8, ptr %39, align 1, !tbaa !5, !range !9, !noundef !10
  %42 = trunc nuw i8 %41 to i1
  br i1 %42, label %101, label %43

43:                                               ; preds = %40
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(64) %11)
          to label %44 unwind label %55

44:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %45 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log16OutputDependencyESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  store ptr %45, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %46 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log16OutputDependencyESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  store ptr %46, ptr %13, align 8
  %47 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3tvm5graph8internal3Log16OutputDependencyESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br i1 %47, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %70, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %48 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log16DirectDependencyESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  store ptr %48, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %49 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log16DirectDependencyESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  store ptr %49, ptr %15, align 8
  %50 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3tvm5graph8internal3Log16DirectDependencyESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br i1 %50, label %.lr.ph48, label %._crit_edge49

51:                                               ; preds = %4
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %177

53:                                               ; preds = %36
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %103

55:                                               ; preds = %._crit_edge49, %43, %38
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %102

.lr.ph:                                           ; preds = %44, %70
  %57 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log16OutputDependencyESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %58 = getelementptr inbounds i8, ptr %57, i64 32
  %59 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log7PointereqERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %60 unwind label %68

60:                                               ; preds = %.lr.ph
  br i1 %59, label %61, label %70

61:                                               ; preds = %60
  %62 = getelementptr inbounds i8, ptr %57, i64 16
  %63 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log9EnumValueeqERKS3_(ptr noundef nonnull align 8 dereferenceable(12) %62, ptr noundef nonnull align 8 dereferenceable(12) %11)
          to label %64 unwind label %68

64:                                               ; preds = %61
  br i1 %63, label %65, label %70

65:                                               ; preds = %64
  %66 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN12_GLOBAL__N_110findUpdateISt6vectorIN3tvm5graph8internal3Log6UpdateESaIS6_EEEERKS6_RKT_RKNS5_16OutputDependencyE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(48) %57)
          to label %67 unwind label %68

67:                                               ; preds = %65
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(72) %66)
          to label %70 unwind label %68

68:                                               ; preds = %67, %65, %61, %.lr.ph
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %102

70:                                               ; preds = %67, %64, %60
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log16OutputDependencyESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %72 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3tvm5graph8internal3Log16OutputDependencyESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br i1 %72, label %.lr.ph, label %._crit_edge

._crit_edge49:                                    ; preds = %96, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  %73 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN3tvm5graph8internal3Log6OutputEbSt4lessIS4_ESaISt4pairIKS4_bEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(64) %11)
          to label %100 unwind label %55

.lr.ph48:                                         ; preds = %._crit_edge, %96
  %74 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log16DirectDependencyESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  %75 = getelementptr inbounds i8, ptr %74, i64 48
  %76 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log7PointereqERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %75, ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %77 unwind label %89

77:                                               ; preds = %.lr.ph48
  br i1 %76, label %78, label %96

78:                                               ; preds = %77
  %79 = getelementptr inbounds i8, ptr %74, i64 16
  %80 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log9EnumValueeqERKS3_(ptr noundef nonnull align 8 dereferenceable(12) %79, ptr noundef nonnull align 8 dereferenceable(12) %11)
          to label %81 unwind label %89

81:                                               ; preds = %78
  br i1 %80, label %82, label %96

82:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %16) #5
  %83 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN12_GLOBAL__N_19findInputISt6vectorIN3tvm5graph8internal3Log5InputESaIS6_EEEERKS6_RKT_RKNS5_16DirectDependencyE(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(64) %74)
          to label %84 unwind label %91

84:                                               ; preds = %82
  invoke void @_ZN3tvm5graph8internal3Log5InputC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(80) %16, ptr noundef nonnull align 8 dereferenceable(80) %83)
          to label %85 unwind label %91

85:                                               ; preds = %84
  %86 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN12_GLOBAL__N_110findOutputERKSt6vectorIN3tvm5graph8internal3Log6OutputESaIS5_EERKNS4_5InputE(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(80) %16)
          to label %87 unwind label %93

87:                                               ; preds = %85
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(64) %86)
          to label %88 unwind label %93

88:                                               ; preds = %87
  call void @_ZN3tvm5graph8internal3Log5InputD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %16) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %16) #5
  br label %96

89:                                               ; preds = %78, %.lr.ph48
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %99

91:                                               ; preds = %84, %82
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %95

93:                                               ; preds = %87, %85
  %94 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3tvm5graph8internal3Log5InputD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %16) #5
  br label %95

95:                                               ; preds = %93, %91
  %.pn = phi { ptr, i32 } [ %94, %93 ], [ %92, %91 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %16) #5
  br label %99

96:                                               ; preds = %88, %81, %77
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log16DirectDependencyESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  %98 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3tvm5graph8internal3Log16DirectDependencyESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br i1 %98, label %.lr.ph48, label %._crit_edge49

99:                                               ; preds = %95, %89
  %.pn.pn = phi { ptr, i32 } [ %.pn, %95 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  br label %102

100:                                              ; preds = %._crit_edge49
  store i8 1, ptr %73, align 1, !tbaa !5
  br label %101

101:                                              ; preds = %100, %40
  call void @_ZN3tvm5graph8internal3Log6OutputD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #5
  br label %104

102:                                              ; preds = %99, %68, %55
  %.pn37 = phi { ptr, i32 } [ %69, %68 ], [ %.pn.pn, %99 ], [ %56, %55 ]
  call void @_ZN3tvm5graph8internal3Log6OutputD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11) #5
  br label %103

103:                                              ; preds = %102, %53
  %.pn37.pn = phi { ptr, i32 } [ %.pn37, %102 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #5
  br label %176

104:                                              ; preds = %101, %.critedge
  %105 = call noundef zeroext i1 @_ZNKSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br i1 %105, label %.backedge, label %106

106:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %17) #5
  %107 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  invoke void @_ZN3tvm5graph8internal3Log6UpdateC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(72) %17, ptr noundef nonnull align 8 dereferenceable(72) %107)
          to label %108 unwind label %121

108:                                              ; preds = %106
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  %109 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN3tvm5graph8internal3Log6UpdateEbSt4lessIS4_ESaISt4pairIKS4_bEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(72) %17)
          to label %110 unwind label %123

110:                                              ; preds = %108
  %111 = load i8, ptr %109, align 1, !tbaa !5, !range !9, !noundef !10
  %112 = trunc nuw i8 %111 to i1
  br i1 %112, label %169, label %113

113:                                              ; preds = %110
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(72) %17)
          to label %114 unwind label %123

114:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %115 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log15InputDependencyESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  store ptr %115, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  %116 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log15InputDependencyESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  store ptr %116, ptr %19, align 8
  %117 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3tvm5graph8internal3Log15InputDependencyESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  br i1 %117, label %.lr.ph51, label %._crit_edge52

._crit_edge52:                                    ; preds = %147, %114
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #5
  %118 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log18InternalDependencyESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  store ptr %118, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  %119 = call ptr @_ZNKSt6vectorIN3tvm5graph8internal3Log18InternalDependencyESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  store ptr %119, ptr %22, align 8
  %120 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3tvm5graph8internal3Log18InternalDependencyESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  br i1 %120, label %.lr.ph54, label %._crit_edge55

121:                                              ; preds = %106
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %171

123:                                              ; preds = %._crit_edge55, %113, %108
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %170

.lr.ph51:                                         ; preds = %114, %147
  %125 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log15InputDependencyESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  %126 = getelementptr inbounds i8, ptr %125, i64 48
  %127 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log7PointereqERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %126, ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %128 unwind label %140

128:                                              ; preds = %.lr.ph51
  br i1 %127, label %129, label %147

129:                                              ; preds = %128
  %130 = getelementptr inbounds i8, ptr %125, i64 16
  %131 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log9EnumValueeqERKS3_(ptr noundef nonnull align 8 dereferenceable(12) %130, ptr noundef nonnull align 8 dereferenceable(12) %17)
          to label %132 unwind label %140

132:                                              ; preds = %129
  br i1 %131, label %133, label %147

133:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %20) #5
  %134 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN12_GLOBAL__N_19findInputISt6vectorIN3tvm5graph8internal3Log5InputESaIS6_EEEERKS6_RKT_RKNS5_15InputDependencyE(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(64) %125)
          to label %135 unwind label %142

135:                                              ; preds = %133
  invoke void @_ZN3tvm5graph8internal3Log5InputC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(80) %20, ptr noundef nonnull align 8 dereferenceable(80) %134)
          to label %136 unwind label %142

136:                                              ; preds = %135
  %137 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN12_GLOBAL__N_110findOutputERKSt6vectorIN3tvm5graph8internal3Log6OutputESaIS5_EERKNS4_5InputE(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(80) %20)
          to label %138 unwind label %144

138:                                              ; preds = %136
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(64) %137)
          to label %139 unwind label %144

139:                                              ; preds = %138
  call void @_ZN3tvm5graph8internal3Log5InputD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %20) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %20) #5
  br label %147

140:                                              ; preds = %129, %.lr.ph51
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %150

142:                                              ; preds = %135, %133
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %146

144:                                              ; preds = %138, %136
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3tvm5graph8internal3Log5InputD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %20) #5
  br label %146

146:                                              ; preds = %144, %142
  %.pn40 = phi { ptr, i32 } [ %145, %144 ], [ %143, %142 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %20) #5
  br label %150

147:                                              ; preds = %139, %132, %128
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log15InputDependencyESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  %149 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3tvm5graph8internal3Log15InputDependencyESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  br i1 %149, label %.lr.ph51, label %._crit_edge52

150:                                              ; preds = %146, %140
  %.pn40.pn = phi { ptr, i32 } [ %.pn40, %146 ], [ %141, %140 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  br label %170

._crit_edge55:                                    ; preds = %165, %._crit_edge52
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  %151 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN3tvm5graph8internal3Log6UpdateEbSt4lessIS4_ESaISt4pairIKS4_bEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(72) %17)
          to label %168 unwind label %123

.lr.ph54:                                         ; preds = %._crit_edge52, %165
  %152 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log18InternalDependencyESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  %153 = getelementptr inbounds i8, ptr %152, i64 32
  %154 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log7PointereqERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %153, ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %155 unwind label %163

155:                                              ; preds = %.lr.ph54
  br i1 %154, label %156, label %165

156:                                              ; preds = %155
  %157 = getelementptr inbounds i8, ptr %152, i64 16
  %158 = invoke noundef zeroext i1 @_ZNK3tvm5graph8internal3Log9EnumValueeqERKS3_(ptr noundef nonnull align 8 dereferenceable(12) %157, ptr noundef nonnull align 8 dereferenceable(12) %17)
          to label %159 unwind label %163

159:                                              ; preds = %156
  br i1 %158, label %160, label %165

160:                                              ; preds = %159
  %161 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN12_GLOBAL__N_114findFromUpdateISt6vectorIN3tvm5graph8internal3Log6UpdateESaIS6_EEEERKS6_RKT_RKNS5_18InternalDependencyE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(48) %152)
          to label %162 unwind label %163

162:                                              ; preds = %160
  invoke void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(72) %161)
          to label %165 unwind label %163

163:                                              ; preds = %162, %160, %156, %.lr.ph54
  %164 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  br label %170

165:                                              ; preds = %162, %159, %155
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3tvm5graph8internal3Log18InternalDependencyESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  %167 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3tvm5graph8internal3Log18InternalDependencyESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  br i1 %167, label %.lr.ph54, label %._crit_edge55

168:                                              ; preds = %._crit_edge55
  store i8 1, ptr %151, align 1, !tbaa !5
  br label %169

169:                                              ; preds = %168, %110
  call void @_ZN3tvm5graph8internal3Log6UpdateD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %17) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %17) #5
  br label %.backedge

.backedge:                                        ; preds = %169, %104
  br label %31, !llvm.loop !11

170:                                              ; preds = %163, %150, %123
  %.pn40.pn.pn = phi { ptr, i32 } [ %.pn40.pn, %150 ], [ %164, %163 ], [ %124, %123 ]
  call void @_ZN3tvm5graph8internal3Log6UpdateD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %17) #5
  br label %171

171:                                              ; preds = %170, %121
  %.pn40.pn.pn.pn = phi { ptr, i32 } [ %.pn40.pn.pn, %170 ], [ %122, %121 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %17) #5
  br label %176

172:                                              ; preds = %33
  invoke void @_ZNSt4pairISt6vectorIN3tvm5graph8internal3Log6OutputESaIS5_EES0_INS4_6UpdateESaIS8_EEEC2IRS7_RSA_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %173 unwind label %174

173:                                              ; preds = %172
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @_ZNSt3mapIN3tvm5graph8internal3Log6UpdateEbSt4lessIS4_ESaISt4pairIKS4_bEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  call void @_ZNSt3mapIN3tvm5graph8internal3Log6OutputEbSt4lessIS4_ESaISt4pairIKS4_bEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  ret void

174:                                              ; preds = %172
  %175 = landingpad { ptr, i32 }
          cleanup
  br label %176

176:                                              ; preds = %174, %171, %103
  %.pn40.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn40.pn.pn.pn, %171 ], [ %.pn37.pn, %103 ], [ %175, %174 ]
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  br label %177

177:                                              ; preds = %176, %51
  %.pn40.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn40.pn.pn.pn.pn, %176 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @_ZNSt3mapIN3tvm5graph8internal3Log6UpdateEbSt4lessIS4_ESaISt4pairIKS4_bEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  call void @_ZNSt3mapIN3tvm5graph8internal3Log6OutputEbSt4lessIS4_ESaISt4pairIKS4_bEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6UpdateESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorIN3tvm5graph8internal3Log6OutputESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  resume { ptr, i32 } %.pn40.pn.pn.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(72) ptr @_ZN12_GLOBAL__N_110findUpdateISt6vectorIN3tvm5graph8internal3Log6UpdateESaIS6_EEEERKS6_RKT_RKNS5_16OutputDependencyE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(80) ptr @_ZN12_GLOBAL__N_19findInputISt6vectorIN3tvm5graph8internal3Log5InputESaIS6_EEEERKS6_RKT_RKNS5_16DirectDependencyE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(80) ptr @_ZN12_GLOBAL__N_19findInputISt6vectorIN3tvm5graph8internal3Log5InputESaIS6_EEEERKS6_RKT_RKNS5_15InputDependencyE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(72) ptr @_ZN12_GLOBAL__N_114findFromUpdateISt6vectorIN3tvm5graph8internal3Log6UpdateESaIS6_EEEERKS6_RKT_RKNS5_18InternalDependencyE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

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

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

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

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


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