; LLVM IR from marcinlos/iga-ads :: examples/tumor/vasculature (vasculature)

; 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::array" = type { [2 x i32] }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<tumor::vasc::vasculature::node *, std::allocator<tumor::vasc::vasculature::node *>>::_Deque_impl" }
%"struct.std::_Deque_base<tumor::vasc::vasculature::node *, std::allocator<tumor::vasc::vasculature::node *>>::_Deque_impl" = type { %"struct.std::_Deque_base<tumor::vasc::vasculature::node *, std::allocator<tumor::vasc::vasculature::node *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<tumor::vasc::vasculature::node *, std::allocator<tumor::vasc::vasculature::node *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.26" = type { ptr }
%"struct.std::pair.27" = type <{ %"struct.std::_Rb_tree_const_iterator.29", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator.29" = type { ptr }
%"class.tumor::vasc::vasculature" = type { %"struct.tumor::vasc::config", %"struct.ads::lin::tensor", %"struct.ads::lin::tensor", %"class.std::vector", %"class.std::set", %"class.std::set.10", %"class.std::mersenne_twister_engine", %"class.std::vector.16", %"class.std::set" }
%"struct.tumor::vasc::config" = type { double, double, double, double, double, double, double, double, double, double, double, double }
%"struct.ads::lin::tensor" = type { %"struct.ads::lin::tensor_base", %"class.std::vector.2" }
%"struct.ads::lin::tensor_base" = type { %"struct.ads::multi_array_base" }
%"struct.ads::multi_array_base" = type { %"struct.ads::reverse_ordering" }
%"struct.ads::reverse_ordering" = type { %"struct.ads::impl::reverse_ordering_indexer_" }
%"struct.ads::impl::reverse_ordering_indexer_" = type { %"struct.ads::impl::reverse_ordering_indexer_.0" }
%"struct.ads::impl::reverse_ordering_indexer_.0" = type { %"struct.ads::impl::reverse_ordering_indexer_.1" }
%"struct.ads::impl::reverse_ordering_indexer_.1" = type { %"struct.std::array" }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<tumor::vasc::vasculature::node *, std::allocator<tumor::vasc::vasculature::node *>>::_Vector_impl" }
%"struct.std::_Vector_base<tumor::vasc::vasculature::node *, std::allocator<tumor::vasc::vasculature::node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<tumor::vasc::vasculature::node *, std::allocator<tumor::vasc::vasculature::node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tumor::vasc::vasculature::node *, std::allocator<tumor::vasc::vasculature::node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set.10" = type { %"class.std::_Rb_tree.11" }
%"class.std::_Rb_tree.11" = type { %"struct.std::_Rb_tree<tumor::vasc::vasculature::segment *, tumor::vasc::vasculature::segment *, std::_Identity<tumor::vasc::vasculature::segment *>, std::less<tumor::vasc::vasculature::segment *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tumor::vasc::vasculature::segment *, tumor::vasc::vasculature::segment *, std::_Identity<tumor::vasc::vasculature::segment *>, std::less<tumor::vasc::vasculature::segment *>>::_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::mersenne_twister_engine" = type { [624 x i64], i64 }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<tumor::vasc::vasculature::sprout, std::allocator<tumor::vasc::vasculature::sprout>>::_Vector_impl" }
%"struct.std::_Vector_base<tumor::vasc::vasculature::sprout, std::allocator<tumor::vasc::vasculature::sprout>>::_Vector_impl" = type { %"struct.std::_Vector_base<tumor::vasc::vasculature::sprout, std::allocator<tumor::vasc::vasculature::sprout>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tumor::vasc::vasculature::sprout, std::allocator<tumor::vasc::vasculature::sprout>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<tumor::vasc::vasculature::node *, tumor::vasc::vasculature::node *, std::_Identity<tumor::vasc::vasculature::node *>, std::less<tumor::vasc::vasculature::node *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tumor::vasc::vasculature::node *, tumor::vasc::vasculature::node *, std::_Identity<tumor::vasc::vasculature::node *>, std::less<tumor::vasc::vasculature::node *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.tumor::vasc::vasculature::node" = type { %"struct.ads::math::vec", %"class.std::vector.21" }
%"struct.ads::math::vec" = type { double, double }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<tumor::vasc::vasculature::segment *, std::allocator<tumor::vasc::vasculature::segment *>>::_Vector_impl" }
%"struct.std::_Vector_base<tumor::vasc::vasculature::segment *, std::allocator<tumor::vasc::vasculature::segment *>>::_Vector_impl" = type { %"struct.std::_Vector_base<tumor::vasc::vasculature::segment *, std::allocator<tumor::vasc::vasculature::segment *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tumor::vasc::vasculature::segment *, std::allocator<tumor::vasc::vasculature::segment *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.tumor::vasc::vasculature::segment" = type { ptr, ptr, double }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5tumor4vasc11vasculatureC2ESt6vectorIPNS1_4nodeESaIS4_EERKNS0_6configE(ptr noundef nonnull align 8 dereferenceable(5352) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(96) %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.std::array", align 4
  %8 = alloca %"struct.std::array", align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::queue", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.std::pair", align 8
  %18 = alloca { ptr, i8 }, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"struct.std::pair.27", align 8
  %24 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %25 = load ptr, ptr %4, align 8
  %26 = getelementptr inbounds %"class.tumor::vasc::vasculature", ptr %25, i32 0, i32 0
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %27, i64 96, i1 false), !tbaa.struct !9
  %28 = getelementptr inbounds %"class.tumor::vasc::vasculature", ptr %25, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %29 = getelementptr inbounds %"struct.std::array", ptr %7, i32 0, i32 0
  store i32 501, ptr %29, align 4, !tbaa !12
  %30 = getelementptr inbounds i32, ptr %29, i64 1
  store i32 501, ptr %30, align 4, !tbaa !12
  call void @_ZN3ads3lin6tensorIdLm2EEC2ERKSt5arrayIiLm2EE(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  %31 = getelementptr inbounds %"class.tumor::vasc::vasculature", ptr %25, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %32 = getelementptr inbounds %"struct.std::array", ptr %8, i32 0, i32 0
  store i32 501, ptr %32, align 4, !tbaa !12
  %33 = getelementptr inbounds i32, ptr %32, i64 1
  store i32 501, ptr %33, align 4, !tbaa !12
  invoke void @_ZN3ads3lin6tensorIdLm2EEC2ERKSt5arrayIiLm2EE(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 4 dereferenceable(8) %8)
          to label %34 unwind label %53

34:                                               ; preds = %3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %35 = getelementptr inbounds %"class.tumor::vasc::vasculature", ptr %25, i32 0, i32 3
  call void @_ZNSt6vectorIPN5tumor4vasc11vasculature4nodeESaIS4_EEC2EOS6_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %36 = getelementptr inbounds %"class.tumor::vasc::vasculature", ptr %25, i32 0, i32 4
  call void @_ZNSt3setIPN5tumor4vasc11vasculature4nodeESt4lessIS4_ESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #5
  %37 = getelementptr inbounds %"class.tumor::vasc::vasculature", ptr %25, i32 0, i32 5
  call void @_ZNSt3setIPN5tumor4vasc11vasculature7segmentESt4lessIS4_ESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #5
  %38 = getelementptr inbounds %"class.tumor::vasc::vasculature", ptr %25, i32 0, i32 6
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %38)
          to label %39 unwind label %57

39:                                               ; preds = %34
  %40 = getelementptr inbounds %"class.tumor::vasc::vasculature", ptr %25, i32 0, i32 7
  call void @_ZNSt6vectorIN5tumor4vasc11vasculature6sproutESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  %41 = getelementptr inbounds %"class.tumor::vasc::vasculature", ptr %25, i32 0, i32 8
  call void @_ZNSt3setIPN5tumor4vasc11vasculature4nodeESt4lessIS4_ESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %11) #5
  invoke void @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEEC2IS7_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %42 unwind label %61

42:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %43 = getelementptr inbounds %"class.tumor::vasc::vasculature", ptr %25, i32 0, i32 3
  store ptr %43, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = call ptr @_ZNSt6vectorIPN5tumor4vasc11vasculature4nodeESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  %46 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %45, ptr %46, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = call ptr @_ZNSt6vectorIPN5tumor4vasc11vasculature4nodeESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  %49 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %48, ptr %49, align 8
  br label %50

50:                                               ; preds = %69, %42
  %51 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5tumor4vasc11vasculature4nodeESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %51, label %65, label %52

52:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %75

53:                                               ; preds = %3
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %9, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %160

57:                                               ; preds = %34
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %9, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %10, align 4
  br label %159

61:                                               ; preds = %39
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %9, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %10, align 4
  br label %158

65:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN5tumor4vasc11vasculature4nodeESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  store ptr %67, ptr %15, align 8, !tbaa !5
  invoke void @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE4pushERKS4_(ptr noundef nonnull align 8 dereferenceable(80) %11, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %68 unwind label %71

68:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %69

69:                                               ; preds = %68
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN5tumor4vasc11vasculature4nodeESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br label %50

71:                                               ; preds = %65
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %9, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %157

75:                                               ; preds = %52
  br label %76

76:                                               ; preds = %153, %75
  %77 = invoke noundef zeroext i1 @_ZNKSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %78 unwind label %103

78:                                               ; preds = %76
  %79 = xor i1 %77, true
  br i1 %79, label %80, label %156

80:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %82 unwind label %107

82:                                               ; preds = %80
  %83 = load ptr, ptr %81, align 8, !tbaa !5
  store ptr %83, ptr %16, align 8, !tbaa !5
  invoke void @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %84 unwind label %107

84:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  %85 = getelementptr inbounds %"class.tumor::vasc::vasculature", ptr %25, i32 0, i32 4
  %86 = invoke { ptr, i8 } @_ZNSt3setIPN5tumor4vasc11vasculature4nodeESt4lessIS4_ESaIS4_EE6insertERKS4_(ptr noundef nonnull align 8 dereferenceable(48) %85, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %87 unwind label %111

87:                                               ; preds = %84
  store { ptr, i8 } %86, ptr %18, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %18, i64 9, i1 false)
  %88 = getelementptr inbounds %"struct.std::pair", ptr %17, i32 0, i32 1
  %89 = load i8, ptr %88, align 8, !tbaa !14, !range !18, !noundef !19
  %90 = trunc i8 %89 to i1
  br i1 %90, label %91, label %153

91:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %92 = load ptr, ptr %16, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.tumor::vasc::vasculature::node", ptr %92, i32 0, i32 1
  store ptr %93, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %94 = load ptr, ptr %19, align 8, !tbaa !5
  %95 = call ptr @_ZNSt6vectorIPN5tumor4vasc11vasculature7segmentESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %94) #5
  %96 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %20, i32 0, i32 0
  store ptr %95, ptr %96, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %97 = load ptr, ptr %19, align 8, !tbaa !5
  %98 = call ptr @_ZNSt6vectorIPN5tumor4vasc11vasculature7segmentESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %97) #5
  %99 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %21, i32 0, i32 0
  store ptr %98, ptr %99, align 8
  br label %100

100:                                              ; preds = %141, %91
  %101 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5tumor4vasc11vasculature7segmentESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  br i1 %101, label %115, label %102

102:                                              ; preds = %100
  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
  br label %152

103:                                              ; preds = %76
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %9, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %10, align 4
  br label %157

107:                                              ; preds = %82, %80
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %9, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %10, align 4
  br label %155

111:                                              ; preds = %84
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %9, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %10, align 4
  br label %154

115:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN5tumor4vasc11vasculature7segmentESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  %117 = load ptr, ptr %116, align 8, !tbaa !5
  store ptr %117, ptr %22, align 8, !tbaa !5
  %118 = getelementptr inbounds %"class.tumor::vasc::vasculature", ptr %25, i32 0, i32 5
  %119 = invoke { ptr, i8 } @_ZNSt3setIPN5tumor4vasc11vasculature7segmentESt4lessIS4_ESaIS4_EE6insertERKS4_(ptr noundef nonnull align 8 dereferenceable(48) %118, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %120 unwind label %143

120:                                              ; preds = %115
  %121 = getelementptr inbounds { ptr, i8 }, ptr %23, i32 0, i32 0
  %122 = extractvalue { ptr, i8 } %119, 0
  store ptr %122, ptr %121, align 8
  %123 = getelementptr inbounds { ptr, i8 }, ptr %23, i32 0, i32 1
  %124 = extractvalue { ptr, i8 } %119, 1
  store i8 %124, ptr %123, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %125 = load ptr, ptr %22, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.tumor::vasc::vasculature::segment", ptr %125, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8, !tbaa !20
  %128 = load ptr, ptr %16, align 8, !tbaa !5
  %129 = icmp ne ptr %127, %128
  br i1 %129, label %130, label %134

130:                                              ; preds = %120
  %131 = load ptr, ptr %22, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.tumor::vasc::vasculature::segment", ptr %131, i32 0, i32 0
  %133 = load ptr, ptr %132, align 8, !tbaa !20
  br label %138

134:                                              ; preds = %120
  %135 = load ptr, ptr %22, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.tumor::vasc::vasculature::segment", ptr %135, i32 0, i32 1
  %137 = load ptr, ptr %136, align 8, !tbaa !22
  br label %138

138:                                              ; preds = %134, %130
  %139 = phi ptr [ %133, %130 ], [ %137, %134 ]
  store ptr %139, ptr %24, align 8, !tbaa !5
  invoke void @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE4pushERKS4_(ptr noundef nonnull align 8 dereferenceable(80) %11, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %140 unwind label %147

140:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %141

141:                                              ; preds = %140
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN5tumor4vasc11vasculature7segmentESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  br label %100

143:                                              ; preds = %115
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %9, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %10, align 4
  br label %151

147:                                              ; preds = %138
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %9, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %151

151:                                              ; preds = %147, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  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
  br label %154

152:                                              ; preds = %102
  br label %153

153:                                              ; preds = %152, %87
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %76, !llvm.loop !23

154:                                              ; preds = %151, %111
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  br label %155

155:                                              ; preds = %154, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %157

156:                                              ; preds = %78
  call void @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %11) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %11) #5
  ret void

157:                                              ; preds = %155, %103, %71
  call void @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %11) #5
  br label %158

158:                                              ; preds = %157, %61
  call void @llvm.lifetime.end.p0(i64 80, ptr %11) #5
  call void @_ZNSt3setIPN5tumor4vasc11vasculature4nodeESt4lessIS4_ESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #5
  call void @_ZNSt6vectorIN5tumor4vasc11vasculature6sproutESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  br label %159

159:                                              ; preds = %158, %57
  call void @_ZNSt3setIPN5tumor4vasc11vasculature7segmentESt4lessIS4_ESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #5
  call void @_ZNSt3setIPN5tumor4vasc11vasculature4nodeESt4lessIS4_ESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #5
  call void @_ZNSt6vectorIPN5tumor4vasc11vasculature4nodeESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  call void @_ZN3ads3lin6tensorIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #5
  br label %160

160:                                              ; preds = %159, %53
  call void @_ZN3ads3lin6tensorIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  br label %161

161:                                              ; preds = %160
  %162 = load ptr, ptr %9, align 8
  %163 = load i32, ptr %10, align 4
  %164 = insertvalue { ptr, i32 } poison, ptr %162, 0
  %165 = insertvalue { ptr, i32 } %164, i32 %163, 1
  resume { ptr, i32 } %165
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) #3 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3ads3lin6tensorIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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 = !{i64 0, i64 8, !10, i64 8, i64 8, !10, i64 16, i64 8, !10, i64 24, i64 8, !10, i64 32, i64 8, !10, i64 40, i64 8, !10, i64 48, i64 8, !10, i64 56, i64 8, !10, i64 64, i64 8, !10, i64 72, i64 8, !10, i64 80, i64 8, !10, i64 88, i64 8, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"double", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !17, i64 8}
!15 = !{!"_ZTSSt4pairISt23_Rb_tree_const_iteratorIPN5tumor4vasc11vasculature4nodeEEbE", !16, i64 0, !17, i64 8}
!16 = !{!"_ZTSSt23_Rb_tree_const_iteratorIPN5tumor4vasc11vasculature4nodeEE", !6, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSN5tumor4vasc11vasculature7segmentE", !6, i64 0, !6, i64 8, !11, i64 16}
!22 = !{!21, !6, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"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::array" = type { [2 x i32] }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<tumor::vasc::vasculature::node *, std::allocator<tumor::vasc::vasculature::node *>>::_Deque_impl" }
%"struct.std::_Deque_base<tumor::vasc::vasculature::node *, std::allocator<tumor::vasc::vasculature::node *>>::_Deque_impl" = type { %"struct.std::_Deque_base<tumor::vasc::vasculature::node *, std::allocator<tumor::vasc::vasculature::node *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<tumor::vasc::vasculature::node *, std::allocator<tumor::vasc::vasculature::node *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.26" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5tumor4vasc11vasculatureC2ESt6vectorIPNS1_4nodeESaIS4_EERKNS0_6configE(ptr noundef nonnull align 8 dereferenceable(5352) %0, ptr noundef %1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(96) %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.std::array", align 4
  %5 = alloca %"struct.std::array", align 4
  %6 = alloca %"class.std::queue", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %0, ptr noundef nonnull align 8 dereferenceable(96) %2, i64 96, i1 false), !tbaa.struct !5
  %15 = getelementptr inbounds i8, ptr %0, i64 96
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  store i32 501, ptr %4, align 4, !tbaa !10
  %16 = getelementptr inbounds i8, ptr %4, i64 4
  store i32 501, ptr %16, align 4, !tbaa !10
  call void @_ZN3ads3lin6tensorIdLm2EEC2ERKSt5arrayIiLm2EE(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  %17 = getelementptr inbounds i8, ptr %0, i64 128
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  store i32 501, ptr %5, align 4, !tbaa !10
  %18 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 501, ptr %18, align 4, !tbaa !10
  invoke void @_ZN3ads3lin6tensorIdLm2EEC2ERKSt5arrayIiLm2EE(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 4 dereferenceable(8) %5)
          to label %19 unwind label %32

19:                                               ; preds = %3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %20 = getelementptr inbounds i8, ptr %0, i64 160
  call void @_ZNSt6vectorIPN5tumor4vasc11vasculature4nodeESaIS4_EEC2EOS6_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %21 = getelementptr inbounds i8, ptr %0, i64 184
  call void @_ZNSt3setIPN5tumor4vasc11vasculature4nodeESt4lessIS4_ESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #5
  %22 = getelementptr inbounds i8, ptr %0, i64 232
  call void @_ZNSt3setIPN5tumor4vasc11vasculature7segmentESt4lessIS4_ESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #5
  %23 = getelementptr inbounds i8, ptr %0, i64 280
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %23)
          to label %24 unwind label %34

24:                                               ; preds = %19
  %25 = getelementptr inbounds i8, ptr %0, i64 5280
  call void @_ZNSt6vectorIN5tumor4vasc11vasculature6sproutESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  %26 = getelementptr inbounds i8, ptr %0, i64 5304
  call void @_ZNSt3setIPN5tumor4vasc11vasculature4nodeESt4lessIS4_ESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #5
  invoke void @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEEC2IS7_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
          to label %27 unwind label %36

27:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %28 = call ptr @_ZNSt6vectorIPN5tumor4vasc11vasculature4nodeESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  store ptr %28, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %29 = call ptr @_ZNSt6vectorIPN5tumor4vasc11vasculature4nodeESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  store ptr %29, ptr %8, align 8
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5tumor4vasc11vasculature4nodeESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %30, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %40, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  %31 = call noundef zeroext i1 @_ZNKSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  br i1 %31, label %._crit_edge28, label %.lr.ph27

32:                                               ; preds = %3
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %84

34:                                               ; preds = %19
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %83

36:                                               ; preds = %24
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %82

.lr.ph:                                           ; preds = %27, %40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN5tumor4vasc11vasculature4nodeESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %39 = load ptr, ptr %38, align 8, !tbaa !12
  store ptr %39, ptr %9, align 8, !tbaa !12
  invoke void @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE4pushERKS4_(ptr noundef nonnull align 8 dereferenceable(80) %6, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %40 unwind label %43

40:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN5tumor4vasc11vasculature4nodeESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %42 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5tumor4vasc11vasculature4nodeESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %42, label %.lr.ph, label %._crit_edge

43:                                               ; preds = %.lr.ph
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %81

.lr.ph27:                                         ; preds = %._crit_edge, %78
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  %46 = load ptr, ptr %45, align 8, !tbaa !12
  store ptr %46, ptr %10, align 8, !tbaa !12
  call void @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  %47 = invoke { ptr, i8 } @_ZNSt3setIPN5tumor4vasc11vasculature4nodeESt4lessIS4_ESaIS4_EE6insertERKS4_(ptr noundef nonnull align 8 dereferenceable(48) %21, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %48 unwind label %56

48:                                               ; preds = %.lr.ph27
  %.fca.1.extract = extractvalue { ptr, i8 } %47, 1
  %49 = trunc i8 %.fca.1.extract to i1
  br i1 %49, label %50, label %78

50:                                               ; preds = %48
  %51 = load ptr, ptr %10, align 8, !tbaa !12
  %52 = getelementptr inbounds i8, ptr %51, i64 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %53 = call ptr @_ZNSt6vectorIPN5tumor4vasc11vasculature7segmentESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %52) #5
  store ptr %53, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %54 = call ptr @_ZNSt6vectorIPN5tumor4vasc11vasculature7segmentESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %52) #5
  store ptr %54, ptr %12, align 8
  %55 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5tumor4vasc11vasculature7segmentESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br i1 %55, label %.lr.ph24, label %._crit_edge25

._crit_edge25:                                    ; preds = %70, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %78

56:                                               ; preds = %.lr.ph27
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %80

.lr.ph24:                                         ; preds = %50, %70
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN5tumor4vasc11vasculature7segmentESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %59 = load ptr, ptr %58, align 8, !tbaa !12
  store ptr %59, ptr %13, align 8, !tbaa !12
  %60 = invoke { ptr, i8 } @_ZNSt3setIPN5tumor4vasc11vasculature7segmentESt4lessIS4_ESaIS4_EE6insertERKS4_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %61 unwind label %73

61:                                               ; preds = %.lr.ph24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %62 = load ptr, ptr %13, align 8, !tbaa !12
  %63 = load ptr, ptr %62, align 8, !tbaa !14
  %64 = load ptr, ptr %10, align 8, !tbaa !12
  %.not = icmp eq ptr %63, %64
  br i1 %.not, label %65, label %68

65:                                               ; preds = %61
  %66 = getelementptr inbounds i8, ptr %62, i64 8
  %67 = load ptr, ptr %66, align 8, !tbaa !16
  br label %68

68:                                               ; preds = %61, %65
  %69 = phi ptr [ %67, %65 ], [ %63, %61 ]
  store ptr %69, ptr %14, align 8, !tbaa !12
  invoke void @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE4pushERKS4_(ptr noundef nonnull align 8 dereferenceable(80) %6, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %70 unwind label %75

70:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN5tumor4vasc11vasculature7segmentESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %72 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5tumor4vasc11vasculature7segmentESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br i1 %72, label %.lr.ph24, label %._crit_edge25

73:                                               ; preds = %.lr.ph24
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %77

75:                                               ; preds = %68
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  br label %77

77:                                               ; preds = %75, %73
  %.pn = phi { ptr, i32 } [ %76, %75 ], [ %74, %73 ]
  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.end.p0(i64 8, ptr nonnull %11) #5
  br label %80

78:                                               ; preds = %._crit_edge25, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  %79 = call noundef zeroext i1 @_ZNKSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  br i1 %79, label %._crit_edge28, label %.lr.ph27, !llvm.loop !17

80:                                               ; preds = %77, %56
  %.pn.pn = phi { ptr, i32 } [ %.pn, %77 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br label %81

._crit_edge28:                                    ; preds = %78, %._crit_edge
  call void @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %6) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #5
  ret void

81:                                               ; preds = %80, %43
  %.pn18 = phi { ptr, i32 } [ %44, %43 ], [ %.pn.pn, %80 ]
  call void @_ZNSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %6) #5
  br label %82

82:                                               ; preds = %81, %36
  %.pn18.pn = phi { ptr, i32 } [ %.pn18, %81 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #5
  call void @_ZNSt3setIPN5tumor4vasc11vasculature4nodeESt4lessIS4_ESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #5
  call void @_ZNSt6vectorIN5tumor4vasc11vasculature6sproutESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  br label %83

83:                                               ; preds = %82, %34
  %.pn18.pn.pn = phi { ptr, i32 } [ %.pn18.pn, %82 ], [ %35, %34 ]
  call void @_ZNSt3setIPN5tumor4vasc11vasculature7segmentESt4lessIS4_ESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #5
  call void @_ZNSt3setIPN5tumor4vasc11vasculature4nodeESt4lessIS4_ESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #5
  call void @_ZNSt6vectorIPN5tumor4vasc11vasculature4nodeESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  call void @_ZN3ads3lin6tensorIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %84

84:                                               ; preds = %83, %32
  %.pn18.pn.pn.pn = phi { ptr, i32 } [ %.pn18.pn.pn, %83 ], [ %33, %32 ]
  call void @_ZN3ads3lin6tensorIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  resume { ptr, i32 } %.pn18.pn.pn.pn
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5queueIPN5tumor4vasc11vasculature4nodeESt5dequeIS4_SaIS4_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3ads3lin6tensorIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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 = !{i64 0, i64 8, !6, i64 8, i64 8, !6, i64 16, i64 8, !6, i64 24, i64 8, !6, i64 32, i64 8, !6, i64 40, i64 8, !6, i64 48, i64 8, !6, i64 56, i64 8, !6, i64 64, i64 8, !6, i64 72, i64 8, !6, i64 80, i64 8, !6, i64 88, i64 8, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"_ZTSN5tumor4vasc11vasculature7segmentE", !13, i64 0, !13, i64 8, !7, i64 16}
!16 = !{!15, !13, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass