; LLVM IR from jrl-umi3218/tvm :: tests/Mockup.ll (ZN11RobotMockupC2Ev)

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

%"class.std::initializer_list" = type { ptr, i64 }
%class.RobotMockup = type <{ %"class.tvm::graph::abstract::Node", [4 x i8], i32, i32, i32, i32, [4 x i8] }>
%"class.tvm::graph::abstract::Node" = type { %"class.tvm::graph::internal::AbstractNode" }
%"class.tvm::graph::internal::AbstractNode" = type { %"class.tvm::graph::internal::Inputs", %"class.tvm::graph::abstract::Outputs.base", %"class.std::map", %"class.std::map.24", %"class.std::map.24", %"class.std::map.29", %"class.std::map.34" }
%"class.tvm::graph::internal::Inputs" = type { ptr, %"class.std::unordered_map", %"class.std::unordered_set" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.2" }
%"class.std::_Hashtable.2" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.tvm::graph::abstract::Outputs.base" = type <{ ptr, i8 }>
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::function<void (tvm::graph::internal::AbstractNode &)>>, std::_Select1st<std::pair<const int, std::function<void (tvm::graph::internal::AbstractNode &)>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::function<void (tvm::graph::internal::AbstractNode &)>>, std::_Select1st<std::pair<const int, std::function<void (tvm::graph::internal::AbstractNode &)>>>, std::less<int>>::_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.24" = type { %"class.std::_Rb_tree.25" }
%"class.std::_Rb_tree.25" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::vector<int>>, std::_Select1st<std::pair<const int, std::vector<int>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::vector<int>>, std::_Select1st<std::pair<const int, std::vector<int>>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.29" = type { %"class.std::_Rb_tree.30" }
%"class.std::_Rb_tree.30" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::map<tvm::graph::abstract::Outputs *, std::set<int>>>, std::_Select1st<std::pair<const int, std::map<tvm::graph::abstract::Outputs *, std::set<int>>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::map<tvm::graph::abstract::Outputs *, std::set<int>>>, std::_Select1st<std::pair<const int, std::map<tvm::graph::abstract::Outputs *, std::set<int>>>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.34" = type { %"class.std::_Rb_tree.35" }
%"class.std::_Rb_tree.35" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::pair<tvm::graph::abstract::Outputs *, int>>, std::_Select1st<std::pair<const int, std::pair<tvm::graph::abstract::Outputs *, int>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::pair<tvm::graph::abstract::Outputs *, int>>, std::_Select1st<std::pair<const int, std::pair<tvm::graph::abstract::Outputs *, int>>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

@_ZTV11RobotMockup = external dso_local unnamed_addr constant { [6 x ptr], [6 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11RobotMockupC2Ev(ptr noundef nonnull align 8 dereferenceable(396) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca { i64, i64 }, align 8
  %6 = alloca { i64, i64 }, align 8
  %7 = alloca { i64, i64 }, align 8
  %8 = alloca { i64, i64 }, align 8
  %9 = alloca %"class.std::initializer_list", align 8
  %10 = alloca [3 x i32], align 4
  %11 = alloca %"class.std::initializer_list", align 8
  %12 = alloca [2 x i32], align 4
  %13 = alloca %"class.std::initializer_list", align 8
  %14 = alloca [2 x i32], align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %15 = load ptr, ptr %2, align 8
  call void @_ZN3tvm5graph8abstract4NodeI11RobotMockupEC2Ev(ptr noundef nonnull align 8 dereferenceable(376) %15)
  store ptr getelementptr inbounds inrange(-16, 32) ({ [6 x ptr], [6 x ptr] }, ptr @_ZTV11RobotMockup, i32 0, i32 0, i32 2), ptr %15, align 8, !tbaa !9
  %16 = getelementptr inbounds i8, ptr %15, i64 120
  store ptr getelementptr inbounds inrange(-16, 32) ({ [6 x ptr], [6 x ptr] }, ptr @_ZTV11RobotMockup, i32 0, i32 1, i32 2), ptr %16, align 8, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %15, i64 376
  invoke void @_ZN14VariableMockupC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %18 unwind label %57

18:                                               ; preds = %1
  %19 = getelementptr inbounds %class.RobotMockup, ptr %15, i32 0, i32 2
  store i32 0, ptr %19, align 4, !tbaa !11
  %20 = getelementptr inbounds %class.RobotMockup, ptr %15, i32 0, i32 3
  store i32 0, ptr %20, align 8, !tbaa !45
  %21 = getelementptr inbounds %class.RobotMockup, ptr %15, i32 0, i32 4
  store i32 0, ptr %21, align 4, !tbaa !46
  %22 = getelementptr inbounds %class.RobotMockup, ptr %15, i32 0, i32 5
  store i32 0, ptr %22, align 8, !tbaa !47
  store { i64, i64 } { i64 ptrtoint (ptr @_ZN11RobotMockup7updateKEv to i64), i64 0 }, ptr %5, align 8, !tbaa !48
  %23 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 0
  %24 = load i64, ptr %23, align 8
  %25 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 1
  %26 = load i64, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #4
  store { i64, i64 } { i64 ptrtoint (ptr @_ZN11RobotMockup7updateVEv to i64), i64 0 }, ptr %6, align 8, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #4
  store { i64, i64 } { i64 ptrtoint (ptr @_ZN11RobotMockup7updateDEv to i64), i64 0 }, ptr %7, align 8, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #4
  store { i64, i64 } { i64 ptrtoint (ptr @_ZN11RobotMockup7updateAEv to i64), i64 0 }, ptr %8, align 8, !tbaa !48
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE15registerUpdatesINS3_7Update_ES3_JS6_MS3_FvvES6_S8_S6_S8_EEEvT_MT0_FvvEDpT1_(ptr noundef nonnull align 8 dereferenceable(376) %15, i32 noundef 0, i64 %24, i64 %26, i32 noundef 1, ptr noundef byval({ i64, i64 }) align 8 %6, i32 noundef 2, ptr noundef byval({ i64, i64 }) align 8 %7, i32 noundef 3, ptr noundef byval({ i64, i64 }) align 8 %8)
          to label %27 unwind label %57

27:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !49
  %28 = getelementptr inbounds i32, ptr %10, i64 1
  store i32 1, ptr %28, align 4, !tbaa !49
  %29 = getelementptr inbounds i32, ptr %10, i64 2
  store i32 2, ptr %29, align 4, !tbaa !49
  %30 = getelementptr inbounds %"class.std::initializer_list", ptr %9, i32 0, i32 0
  store ptr %10, ptr %30, align 8, !tbaa !51
  %31 = getelementptr inbounds %"class.std::initializer_list", ptr %9, i32 0, i32 1
  store i64 3, ptr %31, align 8, !tbaa !53
  %32 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 0
  %33 = load ptr, ptr %32, align 8
  %34 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 1
  %35 = load i64, ptr %34, align 8
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE19addOutputDependencyIS3_NS3_7Output_ENS3_7Update_EEEvSt16initializer_listIT0_ET1_(ptr noundef nonnull align 8 dereferenceable(376) %15, ptr %33, i64 %35, i32 noundef 0)
          to label %36 unwind label %61

36:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store i32 3, ptr %12, align 4, !tbaa !49
  %37 = getelementptr inbounds i32, ptr %12, i64 1
  store i32 4, ptr %37, align 4, !tbaa !49
  %38 = getelementptr inbounds %"class.std::initializer_list", ptr %11, i32 0, i32 0
  store ptr %12, ptr %38, align 8, !tbaa !51
  %39 = getelementptr inbounds %"class.std::initializer_list", ptr %11, i32 0, i32 1
  store i64 2, ptr %39, align 8, !tbaa !53
  %40 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8
  %42 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %43 = load i64, ptr %42, align 8
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE19addOutputDependencyIS3_NS3_7Output_ENS3_7Update_EEEvSt16initializer_listIT0_ET1_(ptr noundef nonnull align 8 dereferenceable(376) %15, ptr %41, i64 %43, i32 noundef 1)
          to label %44 unwind label %65

44:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store i32 5, ptr %14, align 4, !tbaa !49
  %45 = getelementptr inbounds i32, ptr %14, i64 1
  store i32 6, ptr %45, align 4, !tbaa !49
  %46 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 0
  store ptr %14, ptr %46, align 8, !tbaa !51
  %47 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 1
  store i64 2, ptr %47, align 8, !tbaa !53
  %48 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %49 = load ptr, ptr %48, align 8
  %50 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %51 = load i64, ptr %50, align 8
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE19addOutputDependencyIS3_NS3_7Output_ENS3_7Update_EEEvSt16initializer_listIT0_ET1_(ptr noundef nonnull align 8 dereferenceable(376) %15, ptr %49, i64 %51, i32 noundef 2)
          to label %52 unwind label %69

52:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE19addOutputDependencyIS3_NS3_7Output_ENS3_7Update_EEEvT0_T1_(ptr noundef nonnull align 8 dereferenceable(376) %15, i32 noundef 7, i32 noundef 3)
          to label %53 unwind label %57

53:                                               ; preds = %52
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE21addInternalDependencyIS3_NS3_7Update_ES6_EEvT0_T1_(ptr noundef nonnull align 8 dereferenceable(376) %15, i32 noundef 1, i32 noundef 0)
          to label %54 unwind label %57

54:                                               ; preds = %53
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE21addInternalDependencyIS3_NS3_7Update_ES6_EEvT0_T1_(ptr noundef nonnull align 8 dereferenceable(376) %15, i32 noundef 2, i32 noundef 1)
          to label %55 unwind label %57

55:                                               ; preds = %54
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE21addInternalDependencyIS3_NS3_7Update_ES6_EEvT0_T1_(ptr noundef nonnull align 8 dereferenceable(376) %15, i32 noundef 3, i32 noundef 1)
          to label %56 unwind label %57

56:                                               ; preds = %55
  ret void

57:                                               ; preds = %55, %54, %53, %52, %18, %1
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %3, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %4, align 4
  br label %73

61:                                               ; preds = %27
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %3, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #4
  br label %73

65:                                               ; preds = %36
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %3, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %73

69:                                               ; preds = %44
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %3, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %73

73:                                               ; preds = %69, %65, %61, %57
  call void @_ZN3tvm5graph8internal12AbstractNodeD2Ev(ptr noundef nonnull align 8 dereferenceable(376) %15) #4
  br label %74

74:                                               ; preds = %73
  %75 = load ptr, ptr %3, align 8
  %76 = load i32, ptr %4, align 4
  %77 = insertvalue { ptr, i32 } poison, ptr %75, 0
  %78 = insertvalue { ptr, i32 } %77, i32 %76, 1
  resume { ptr, i32 } %78
}

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE15registerUpdatesINS3_7Update_ES3_JS6_MS3_FvvES6_S8_S6_S8_EEEvT_MT0_FvvEDpT1_(ptr noundef nonnull align 8 dereferenceable(376), i32 noundef, i64, i64, i32 noundef, ptr noundef byval({ i64, i64 }) align 8, i32 noundef, ptr noundef byval({ i64, i64 }) align 8, i32 noundef, ptr noundef byval({ i64, i64 }) align 8) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11RobotMockup7updateKEv(ptr noundef nonnull align 8 dereferenceable(396)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11RobotMockup7updateVEv(ptr noundef nonnull align 8 dereferenceable(396)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11RobotMockup7updateDEv(ptr noundef nonnull align 8 dereferenceable(396)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11RobotMockup7updateAEv(ptr noundef nonnull align 8 dereferenceable(396)) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE19addOutputDependencyIS3_NS3_7Output_ENS3_7Update_EEEvSt16initializer_listIT0_ET1_(ptr noundef nonnull align 8 dereferenceable(376), ptr, i64, i32 noundef) #0 align 2

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !44, i64 380}
!12 = !{!"_ZTS11RobotMockup", !13, i64 0, !43, i64 376, !44, i64 380, !44, i64 384, !44, i64 388, !44, i64 392}
!13 = !{!"_ZTSN3tvm5graph8abstract4NodeI11RobotMockupEE", !14, i64 0}
!14 = !{!"_ZTSN3tvm5graph8internal12AbstractNodeE", !15, i64 0, !24, i64 120, !26, i64 136, !34, i64 184, !34, i64 232, !37, i64 280, !40, i64 328}
!15 = !{!"_ZTSN3tvm5graph8internal6InputsE", !16, i64 8, !22, i64 64}
!16 = !{!"_ZTSSt13unordered_mapIPN3tvm5graph8abstract7OutputsESt3setIiSt4lessIiESaIiEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S9_EEE", !17, i64 0}
!17 = !{!"_ZTSSt10_HashtableIPN3tvm5graph8abstract7OutputsESt4pairIKS4_St3setIiSt4lessIiESaIiEEESaISC_ENSt8__detail10_Select1stESt8equal_toIS4_ESt4hashIS4_ENSE_18_Mod_range_hashingENSE_20_Default_ranged_hashENSE_20_Prime_rehash_policyENSE_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !18, i64 8, !19, i64 16, !18, i64 24, !20, i64 32, !6, i64 48}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!20 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !21, i64 0, !18, i64 8}
!21 = !{!"float", !7, i64 0}
!22 = !{!"_ZTSSt13unordered_setISt10shared_ptrIN3tvm5graph8abstract7OutputsEESt4hashIS5_ESt8equal_toIS5_ESaIS5_EE", !23, i64 0}
!23 = !{!"_ZTSSt10_HashtableISt10shared_ptrIN3tvm5graph8abstract7OutputsEES5_SaIS5_ENSt8__detail9_IdentityESt8equal_toIS5_ESt4hashIS5_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !18, i64 8, !19, i64 16, !18, i64 24, !20, i64 32, !6, i64 48}
!24 = !{!"_ZTSN3tvm5graph8abstract7OutputsE", !25, i64 8}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTSSt3mapIiSt8functionIFvRN3tvm5graph8internal12AbstractNodeEEESt4lessIiESaISt4pairIKiS7_EEE", !27, i64 0}
!27 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiSt8functionIFvRN3tvm5graph8internal12AbstractNodeEEEESt10_Select1stISA_ESt4lessIiESaISA_EE", !28, i64 0}
!28 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiSt8functionIFvRN3tvm5graph8internal12AbstractNodeEEEESt10_Select1stISA_ESt4lessIiESaISA_EE13_Rb_tree_implISE_Lb1EEE", !29, i64 0, !31, i64 8}
!29 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !30, i64 0}
!30 = !{!"_ZTSSt4lessIiE"}
!31 = !{!"_ZTSSt15_Rb_tree_header", !32, i64 0, !18, i64 32}
!32 = !{!"_ZTSSt18_Rb_tree_node_base", !33, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!33 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!34 = !{!"_ZTSSt3mapIiSt6vectorIiSaIiEESt4lessIiESaISt4pairIKiS2_EEE", !35, i64 0}
!35 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiSt6vectorIiSaIiEEESt10_Select1stIS5_ESt4lessIiESaIS5_EE", !36, i64 0}
!36 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiSt6vectorIiSaIiEEESt10_Select1stIS5_ESt4lessIiESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !29, i64 0, !31, i64 8}
!37 = !{!"_ZTSSt3mapIiS_IPN3tvm5graph8abstract7OutputsESt3setIiSt4lessIiESaIiEES6_IS4_ESaISt4pairIKS4_S9_EEES7_SaISB_IKiSF_EEE", !38, i64 0}
!38 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiSt3mapIPN3tvm5graph8abstract7OutputsESt3setIiSt4lessIiESaIiEES9_IS7_ESaIS0_IKS7_SC_EEEESt10_Select1stISI_ESA_SaISI_EE", !39, i64 0}
!39 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiSt3mapIPN3tvm5graph8abstract7OutputsESt3setIiSt4lessIiESaIiEES9_IS7_ESaIS0_IKS7_SC_EEEESt10_Select1stISI_ESA_SaISI_EE13_Rb_tree_implISA_Lb1EEE", !29, i64 0, !31, i64 8}
!40 = !{!"_ZTSSt3mapIiSt4pairIPN3tvm5graph8abstract7OutputsEiESt4lessIiESaIS0_IKiS6_EEE", !41, i64 0}
!41 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiS0_IPN3tvm5graph8abstract7OutputsEiEESt10_Select1stIS8_ESt4lessIiESaIS8_EE", !42, i64 0}
!42 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiS0_IPN3tvm5graph8abstract7OutputsEiEESt10_Select1stIS8_ESt4lessIiESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !29, i64 0, !31, i64 8}
!43 = !{!"_ZTS14VariableMockup"}
!44 = !{!"int", !7, i64 0}
!45 = !{!12, !44, i64 384}
!46 = !{!12, !44, i64 388}
!47 = !{!12, !44, i64 392}
!48 = !{!7, !7, i64 0}
!49 = !{!50, !50, i64 0}
!50 = !{!"_ZTSN11RobotMockup7Output_E", !7, i64 0}
!51 = !{!52, !6, i64 0}
!52 = !{!"_ZTSSt16initializer_listIN11RobotMockup7Output_EE", !6, i64 0, !18, i64 8}
!53 = !{!52, !18, i64 8}


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

@_ZTV11RobotMockup = external dso_local unnamed_addr constant { [6 x ptr], [6 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11RobotMockupC2Ev(ptr noundef nonnull align 8 dereferenceable(396) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca { i64, i64 }, align 8
  %3 = alloca { i64, i64 }, align 8
  %4 = alloca { i64, i64 }, align 8
  %5 = alloca [3 x i32], align 4
  %6 = alloca [2 x i32], align 4
  %7 = alloca [2 x i32], align 4
  tail call void @_ZN3tvm5graph8abstract4NodeI11RobotMockupEC2Ev(ptr noundef nonnull align 8 dereferenceable(376) %0)
  store ptr getelementptr inbounds inrange(-16, 32) (i8, ptr @_ZTV11RobotMockup, i64 16), ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 120
  store ptr getelementptr inbounds inrange(-16, 32) (i8, ptr @_ZTV11RobotMockup, i64 64), ptr %8, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 376
  tail call void @_ZN14VariableMockupC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9)
  %10 = getelementptr inbounds i8, ptr %0, i64 380
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %10, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  store i64 ptrtoint (ptr @_ZN11RobotMockup7updateVEv to i64), ptr %2, align 8, !tbaa !8
  %.fca.1.gep8 = getelementptr inbounds i8, ptr %2, i64 8
  store i64 0, ptr %.fca.1.gep8, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  store i64 ptrtoint (ptr @_ZN11RobotMockup7updateDEv to i64), ptr %3, align 8, !tbaa !8
  %.fca.1.gep6 = getelementptr inbounds i8, ptr %3, i64 8
  store i64 0, ptr %.fca.1.gep6, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  store i64 ptrtoint (ptr @_ZN11RobotMockup7updateAEv to i64), ptr %4, align 8, !tbaa !8
  %.fca.1.gep = getelementptr inbounds i8, ptr %4, i64 8
  store i64 0, ptr %.fca.1.gep, align 8, !tbaa !8
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE15registerUpdatesINS3_7Update_ES3_JS6_MS3_FvvES6_S8_S6_S8_EEEvT_MT0_FvvEDpT1_(ptr noundef nonnull align 8 dereferenceable(376) %0, i32 noundef 0, i64 ptrtoint (ptr @_ZN11RobotMockup7updateKEv to i64), i64 0, i32 noundef 1, ptr noundef nonnull byval({ i64, i64 }) align 8 %2, i32 noundef 2, ptr noundef nonnull byval({ i64, i64 }) align 8 %3, i32 noundef 3, ptr noundef nonnull byval({ i64, i64 }) align 8 %4)
          to label %11 unwind label %23

11:                                               ; preds = %1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #5
  store i32 0, ptr %5, align 4, !tbaa !10
  %12 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 1, ptr %12, align 4, !tbaa !10
  %13 = getelementptr inbounds i8, ptr %5, i64 8
  store i32 2, ptr %13, align 4, !tbaa !10
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE19addOutputDependencyIS3_NS3_7Output_ENS3_7Update_EEEvSt16initializer_listIT0_ET1_(ptr noundef nonnull align 8 dereferenceable(376) %0, ptr nonnull %5, i64 3, i32 noundef 0)
          to label %14 unwind label %25

14:                                               ; preds = %11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  store i32 3, ptr %6, align 4, !tbaa !10
  %15 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 4, ptr %15, align 4, !tbaa !10
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE19addOutputDependencyIS3_NS3_7Output_ENS3_7Update_EEEvSt16initializer_listIT0_ET1_(ptr noundef nonnull align 8 dereferenceable(376) %0, ptr nonnull %6, i64 2, i32 noundef 1)
          to label %16 unwind label %27

16:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  store i32 5, ptr %7, align 4, !tbaa !10
  %17 = getelementptr inbounds i8, ptr %7, i64 4
  store i32 6, ptr %17, align 4, !tbaa !10
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE19addOutputDependencyIS3_NS3_7Output_ENS3_7Update_EEEvSt16initializer_listIT0_ET1_(ptr noundef nonnull align 8 dereferenceable(376) %0, ptr nonnull %7, i64 2, i32 noundef 2)
          to label %18 unwind label %29

18:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE19addOutputDependencyIS3_NS3_7Output_ENS3_7Update_EEEvT0_T1_(ptr noundef nonnull align 8 dereferenceable(376) %0, i32 noundef 7, i32 noundef 3)
          to label %19 unwind label %23

19:                                               ; preds = %18
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE21addInternalDependencyIS3_NS3_7Update_ES6_EEvT0_T1_(ptr noundef nonnull align 8 dereferenceable(376) %0, i32 noundef 1, i32 noundef 0)
          to label %20 unwind label %23

20:                                               ; preds = %19
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE21addInternalDependencyIS3_NS3_7Update_ES6_EEvT0_T1_(ptr noundef nonnull align 8 dereferenceable(376) %0, i32 noundef 2, i32 noundef 1)
          to label %21 unwind label %23

21:                                               ; preds = %20
  invoke void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE21addInternalDependencyIS3_NS3_7Update_ES6_EEvT0_T1_(ptr noundef nonnull align 8 dereferenceable(376) %0, i32 noundef 3, i32 noundef 1)
          to label %22 unwind label %23

22:                                               ; preds = %21
  ret void

23:                                               ; preds = %21, %20, %19, %18, %1
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %31

25:                                               ; preds = %11
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #5
  br label %31

27:                                               ; preds = %14
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %31

29:                                               ; preds = %16
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %31

31:                                               ; preds = %29, %27, %25, %23
  %.pn = phi { ptr, i32 } [ %24, %23 ], [ %30, %29 ], [ %28, %27 ], [ %26, %25 ]
  call void @_ZN3tvm5graph8internal12AbstractNodeD2Ev(ptr noundef nonnull align 8 dereferenceable(376) %0) #5
  resume { ptr, i32 } %.pn
}

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE15registerUpdatesINS3_7Update_ES3_JS6_MS3_FvvES6_S8_S6_S8_EEEvT_MT0_FvvEDpT1_(ptr noundef nonnull align 8 dereferenceable(376), i32 noundef, i64, i64, i32 noundef, ptr noundef byval({ i64, i64 }) align 8, i32 noundef, ptr noundef byval({ i64, i64 }) align 8, i32 noundef, ptr noundef byval({ i64, i64 }) align 8) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11RobotMockup7updateKEv(ptr noundef nonnull align 8 dereferenceable(396)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11RobotMockup7updateVEv(ptr noundef nonnull align 8 dereferenceable(396)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11RobotMockup7updateDEv(ptr noundef nonnull align 8 dereferenceable(396)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11RobotMockup7updateAEv(ptr noundef nonnull align 8 dereferenceable(396)) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE19addOutputDependencyIS3_NS3_7Output_ENS3_7Update_EEEvSt16initializer_listIT0_ET1_(ptr noundef nonnull align 8 dereferenceable(376), ptr, i64, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE19addOutputDependencyIS3_NS3_7Output_ENS3_7Update_EEEvT0_T1_(ptr noundef nonnull align 8 dereferenceable(376), i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tvm5graph8abstract4NodeI11RobotMockupE21addInternalDependencyIS3_NS3_7Update_ES6_EEvT0_T1_(ptr noundef nonnull align 8 dereferenceable(376), i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

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

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass