; LLVM IR from ronan-kerviche/glip-lib :: GLIP-Lib/src/Core/Pipeline.ll (ZN4Glip12CorePipeline8Pipeline3outEii)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.20" = type { i8 }
%"struct.std::_Rb_tree_iterator.79" = type { ptr }
%"class.Glip::CorePipeline::Pipeline" = type { %"class.Glip::CorePipeline::AbstractPipelineLayout.base", %"class.Glip::CorePipeline::Component.base", %"class.std::vector.42", %"struct.Glip::CorePipeline::Pipeline::BufferFormatsCell", %"class.std::map.48", ptr, %"class.std::vector.54", %"class.std::vector.59", %"class.std::vector.64", %"class.std::map.69", i8, i8, i8, i32, %"class.std::vector.74", double, %"class.Glip::CorePipeline::AbstractComponentLayout" }
%"class.Glip::CorePipeline::AbstractPipelineLayout.base" = type { ptr, %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.15" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Glip::CorePipeline::AbstractPipelineLayout::Connection, std::allocator<Glip::CorePipeline::AbstractPipelineLayout::Connection>>::_Vector_impl" }
%"struct.std::_Vector_base<Glip::CorePipeline::AbstractPipelineLayout::Connection, std::allocator<Glip::CorePipeline::AbstractPipelineLayout::Connection>>::_Vector_impl" = type { %"struct.std::_Vector_base<Glip::CorePipeline::AbstractPipelineLayout::Connection, std::allocator<Glip::CorePipeline::AbstractPipelineLayout::Connection>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Glip::CorePipeline::AbstractPipelineLayout::Connection, std::allocator<Glip::CorePipeline::AbstractPipelineLayout::Connection>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<Glip::CorePipeline::AbstractComponentLayout *, std::allocator<Glip::CorePipeline::AbstractComponentLayout *>>::_Vector_impl" }
%"struct.std::_Vector_base<Glip::CorePipeline::AbstractComponentLayout *, std::allocator<Glip::CorePipeline::AbstractComponentLayout *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Glip::CorePipeline::AbstractComponentLayout *, std::allocator<Glip::CorePipeline::AbstractComponentLayout *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Glip::CorePipeline::AbstractComponentLayout *, std::allocator<Glip::CorePipeline::AbstractComponentLayout *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<Glip::CorePipeline::AbstractPipelineLayout::ComponentKind, std::allocator<Glip::CorePipeline::AbstractPipelineLayout::ComponentKind>>::_Vector_impl" }
%"struct.std::_Vector_base<Glip::CorePipeline::AbstractPipelineLayout::ComponentKind, std::allocator<Glip::CorePipeline::AbstractPipelineLayout::ComponentKind>>::_Vector_impl" = type { %"struct.std::_Vector_base<Glip::CorePipeline::AbstractPipelineLayout::ComponentKind, std::allocator<Glip::CorePipeline::AbstractPipelineLayout::ComponentKind>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Glip::CorePipeline::AbstractPipelineLayout::ComponentKind, std::allocator<Glip::CorePipeline::AbstractPipelineLayout::ComponentKind>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Glip::CorePipeline::Component.base" = type { ptr, %"class.std::__cxx11::basic_string" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<Glip::CoreGL::HdlTexture *, std::allocator<Glip::CoreGL::HdlTexture *>>::_Vector_impl" }
%"struct.std::_Vector_base<Glip::CoreGL::HdlTexture *, std::allocator<Glip::CoreGL::HdlTexture *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Glip::CoreGL::HdlTexture *, std::allocator<Glip::CoreGL::HdlTexture *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Glip::CoreGL::HdlTexture *, std::allocator<Glip::CoreGL::HdlTexture *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Glip::CorePipeline::Pipeline::BufferFormatsCell" = type { %"class.std::vector.32", %"class.std::vector.15" }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<Glip::CoreGL::HdlTextureFormat, std::allocator<Glip::CoreGL::HdlTextureFormat>>::_Vector_impl" }
%"struct.std::_Vector_base<Glip::CoreGL::HdlTextureFormat, std::allocator<Glip::CoreGL::HdlTextureFormat>>::_Vector_impl" = type { %"struct.std::_Vector_base<Glip::CoreGL::HdlTextureFormat, std::allocator<Glip::CoreGL::HdlTextureFormat>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Glip::CoreGL::HdlTextureFormat, std::allocator<Glip::CoreGL::HdlTextureFormat>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.48" = type { %"class.std::_Rb_tree.49" }
%"class.std::_Rb_tree.49" = type { %"struct.std::_Rb_tree<int, std::pair<const int, Glip::CorePipeline::Pipeline::BuffersCell *>, std::_Select1st<std::pair<const int, Glip::CorePipeline::Pipeline::BuffersCell *>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, Glip::CorePipeline::Pipeline::BuffersCell *>, std::_Select1st<std::pair<const int, Glip::CorePipeline::Pipeline::BuffersCell *>>, 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::vector.54" = type { %"struct.std::_Vector_base.55" }
%"struct.std::_Vector_base.55" = type { %"struct.std::_Vector_base<Glip::CorePipeline::Filter *, std::allocator<Glip::CorePipeline::Filter *>>::_Vector_impl" }
%"struct.std::_Vector_base<Glip::CorePipeline::Filter *, std::allocator<Glip::CorePipeline::Filter *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Glip::CorePipeline::Filter *, std::allocator<Glip::CorePipeline::Filter *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Glip::CorePipeline::Filter *, std::allocator<Glip::CorePipeline::Filter *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.59" = type { %"struct.std::_Vector_base.60" }
%"struct.std::_Vector_base.60" = type { %"struct.std::_Vector_base<Glip::CorePipeline::Pipeline::ActionHub, std::allocator<Glip::CorePipeline::Pipeline::ActionHub>>::_Vector_impl" }
%"struct.std::_Vector_base<Glip::CorePipeline::Pipeline::ActionHub, std::allocator<Glip::CorePipeline::Pipeline::ActionHub>>::_Vector_impl" = type { %"struct.std::_Vector_base<Glip::CorePipeline::Pipeline::ActionHub, std::allocator<Glip::CorePipeline::Pipeline::ActionHub>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Glip::CorePipeline::Pipeline::ActionHub, std::allocator<Glip::CorePipeline::Pipeline::ActionHub>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.64" = type { %"struct.std::_Vector_base.65" }
%"struct.std::_Vector_base.65" = type { %"struct.std::_Vector_base<Glip::CorePipeline::Pipeline::OutputHub, std::allocator<Glip::CorePipeline::Pipeline::OutputHub>>::_Vector_impl" }
%"struct.std::_Vector_base<Glip::CorePipeline::Pipeline::OutputHub, std::allocator<Glip::CorePipeline::Pipeline::OutputHub>>::_Vector_impl" = type { %"struct.std::_Vector_base<Glip::CorePipeline::Pipeline::OutputHub, std::allocator<Glip::CorePipeline::Pipeline::OutputHub>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Glip::CorePipeline::Pipeline::OutputHub, std::allocator<Glip::CorePipeline::Pipeline::OutputHub>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.69" = type { %"class.std::_Rb_tree.70" }
%"class.std::_Rb_tree.70" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.74" = type { %"struct.std::_Vector_base.75" }
%"struct.std::_Vector_base.75" = 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.Glip::CorePipeline::AbstractComponentLayout" = type { ptr, %"class.std::__cxx11::basic_string", %"class.std::vector.10", %"class.std::vector.10" }
%"struct.Glip::CorePipeline::Pipeline::BuffersCell" = type { %"class.std::vector.37" }
%"class.std::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<Glip::CoreGL::HdlFBO *, std::allocator<Glip::CoreGL::HdlFBO *>>::_Vector_impl" }
%"struct.std::_Vector_base<Glip::CoreGL::HdlFBO *, std::allocator<Glip::CoreGL::HdlFBO *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Glip::CoreGL::HdlFBO *, std::allocator<Glip::CoreGL::HdlFBO *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Glip::CoreGL::HdlFBO *, std::allocator<Glip::CoreGL::HdlFBO *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Glip::CorePipeline::Pipeline::OutputHub" = type { i32, i32 }
%"struct.std::pair.80" = type { i32, ptr }

@.str.1 = external hidden unnamed_addr constant [88 x i8], align 1
@_ZTIN4Glip9ExceptionE = external constant ptr
@.str.76 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [17 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

declare ptr @__cxa_allocate_exception(i64)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare void @_ZN4Glip9ExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_iRKNS0_4TypeE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN4Glip9ExceptionD1Ev(ptr noundef nonnull align 8 dereferenceable(152)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare void @__cxa_free_exception(ptr)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Glip8toStringIiEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #3

declare void @_ZNK4Glip12CorePipeline23AbstractComponentLayout15checkOutputPortEi(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef) #4

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4Glip12CorePipeline23AbstractComponentLayout17getOutputPortNameB5cxx11Ei(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

declare noundef ptr @_ZN4Glip6CoreGL6HdlFBOixEi(ptr noundef nonnull align 8 dereferenceable(97), i32 noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(57) ptr @_ZN4Glip12CorePipeline8Pipeline3outEii(ptr noundef nonnull align 8 dereferenceable(456) %0, i32 noundef %1, i32 noundef %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator.20", align 1
  %14 = alloca i32, align 4
  %15 = alloca i1, align 1
  %16 = alloca %"struct.std::_Rb_tree_iterator.79", align 8
  %17 = alloca %"struct.std::_Rb_tree_iterator.79", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator.20", align 1
  %23 = alloca i32, align 4
  %24 = alloca i1, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  %25 = load ptr, ptr %5, align 8
  %26 = load ptr, ptr %25, align 8, !tbaa !11
  %27 = getelementptr i8, ptr %26, i64 -24
  %28 = load i64, ptr %27, align 8
  %29 = getelementptr inbounds i8, ptr %25, i64 %28
  %30 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZNK4Glip12CorePipeline23AbstractComponentLayout15checkOutputPortEi(ptr noundef nonnull align 8 dereferenceable(88) %29, i32 noundef %30)
  %31 = load i32, ptr %7, align 4, !tbaa !9
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %33, label %92

33:                                               ; preds = %3
  %34 = getelementptr inbounds %"class.Glip::CorePipeline::Pipeline", ptr %25, i32 0, i32 5
  %35 = load ptr, ptr %34, align 8, !tbaa !13
  %36 = icmp eq ptr %35, null
  br i1 %36, label %37, label %72

37:                                               ; preds = %33
  store i1 true, ptr %15, align 1
  %38 = call ptr @__cxa_allocate_exception(i64 152) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  %39 = load ptr, ptr %25, align 8, !tbaa !11
  %40 = getelementptr i8, ptr %39, i64 -24
  %41 = load i64, ptr %40, align 8
  %42 = getelementptr inbounds i8, ptr %25, i64 %41
  %43 = load i32, ptr %6, align 4, !tbaa !9
  %44 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4Glip12CorePipeline23AbstractComponentLayout17getOutputPortNameB5cxx11Ei(ptr noundef nonnull align 8 dereferenceable(88) %42, i32 noundef %43)
          to label %45 unwind label %50

45:                                               ; preds = %37
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef @.str.76, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %46 unwind label %50

46:                                               ; preds = %45
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef @.str.77)
          to label %47 unwind label %54

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %48 unwind label %58

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 1, ptr %14, align 4, !tbaa !78
  invoke void @_ZN4Glip9ExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_iRKNS0_4TypeE(ptr noundef nonnull align 8 dereferenceable(152) %38, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef %12, i32 noundef 1698, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %49 unwind label %62

49:                                               ; preds = %48
  store i1 false, ptr %15, align 1
  invoke void @__cxa_throw(ptr %38, ptr @_ZTIN4Glip9ExceptionE, ptr @_ZN4Glip9ExceptionD1Ev) #7
          to label %164 unwind label %62

50:                                               ; preds = %45, %37
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %10, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %11, align 4
  br label %68

54:                                               ; preds = %46
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %10, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %11, align 4
  br label %67

58:                                               ; preds = %47
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %10, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %11, align 4
  br label %66

62:                                               ; preds = %49, %48
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %10, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %66

66:                                               ; preds = %62, %58
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %67

67:                                               ; preds = %66, %54
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %68

68:                                               ; preds = %67, %50
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  %69 = load i1, ptr %15, align 1
  br i1 %69, label %70, label %71

70:                                               ; preds = %68
  call void @__cxa_free_exception(ptr %38) #6
  br label %71

71:                                               ; preds = %70, %68
  br label %159

72:                                               ; preds = %33
  %73 = getelementptr inbounds %"class.Glip::CorePipeline::Pipeline", ptr %25, i32 0, i32 5
  %74 = load ptr, ptr %73, align 8, !tbaa !13
  %75 = getelementptr inbounds %"struct.Glip::CorePipeline::Pipeline::BuffersCell", ptr %74, i32 0, i32 0
  %76 = getelementptr inbounds %"class.Glip::CorePipeline::Pipeline", ptr %25, i32 0, i32 8
  %77 = load i32, ptr %6, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %78) #6
  %80 = getelementptr inbounds %"struct.Glip::CorePipeline::Pipeline::OutputHub", ptr %79, i32 0, i32 0
  %81 = load i32, ptr %80, align 4, !tbaa !80
  %82 = sext i32 %81 to i64
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4Glip6CoreGL6HdlFBOESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %82) #6
  %84 = load ptr, ptr %83, align 8, !tbaa !5
  %85 = getelementptr inbounds %"class.Glip::CorePipeline::Pipeline", ptr %25, i32 0, i32 8
  %86 = load i32, ptr %6, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %87) #6
  %89 = getelementptr inbounds %"struct.Glip::CorePipeline::Pipeline::OutputHub", ptr %88, i32 0, i32 1
  %90 = load i32, ptr %89, align 4, !tbaa !82
  %91 = call noundef ptr @_ZN4Glip6CoreGL6HdlFBOixEi(ptr noundef nonnull align 8 dereferenceable(97) %84, i32 noundef %90)
  store ptr %91, ptr %4, align 8
  br label %157

92:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %93 = getelementptr inbounds %"class.Glip::CorePipeline::Pipeline", ptr %25, i32 0, i32 4
  %94 = call ptr @_ZNSt3mapIiPN4Glip12CorePipeline8Pipeline11BuffersCellESt4lessIiESaISt4pairIKiS4_EEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(48) %93, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %95 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.79", ptr %16, i32 0, i32 0
  store ptr %94, ptr %95, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %96 = getelementptr inbounds %"class.Glip::CorePipeline::Pipeline", ptr %25, i32 0, i32 4
  %97 = call ptr @_ZNSt3mapIiPN4Glip12CorePipeline8Pipeline11BuffersCellESt4lessIiESaISt4pairIKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %96) #6
  %98 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.79", ptr %17, i32 0, i32 0
  store ptr %97, ptr %98, align 8
  %99 = call noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKiPN4Glip12CorePipeline8Pipeline11BuffersCellEEESA_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br i1 %99, label %100, label %136

100:                                              ; preds = %92
  store i1 true, ptr %24, align 1
  %101 = call ptr @__cxa_allocate_exception(i64 152) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #6
  %102 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiPN4Glip12CorePipeline8Pipeline11BuffersCellEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %103 = getelementptr inbounds %"struct.std::pair.80", ptr %102, i32 0, i32 0
  invoke void @_ZN4Glip8toStringIiEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %20, ptr noundef nonnull align 4 dereferenceable(4) %103)
          to label %104 unwind label %109

104:                                              ; preds = %100
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %19, ptr noundef @.str.78, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %105 unwind label %113

105:                                              ; preds = %104
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.79)
          to label %106 unwind label %117

106:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %107 unwind label %121

107:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 1, ptr %23, align 4, !tbaa !78
  invoke void @_ZN4Glip9ExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_iRKNS0_4TypeE(ptr noundef nonnull align 8 dereferenceable(152) %101, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef %21, i32 noundef 1707, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %108 unwind label %125

108:                                              ; preds = %107
  store i1 false, ptr %24, align 1
  invoke void @__cxa_throw(ptr %101, ptr @_ZTIN4Glip9ExceptionE, ptr @_ZN4Glip9ExceptionD1Ev) #7
          to label %164 unwind label %125

109:                                              ; preds = %100
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %10, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %11, align 4
  br label %132

113:                                              ; preds = %104
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %10, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %11, align 4
  br label %131

117:                                              ; preds = %105
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %10, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %11, align 4
  br label %130

121:                                              ; preds = %106
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %10, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %11, align 4
  br label %129

125:                                              ; preds = %108, %107
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %10, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  br label %129

129:                                              ; preds = %125, %121
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %130

130:                                              ; preds = %129, %117
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %131

131:                                              ; preds = %130, %113
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %132

132:                                              ; preds = %131, %109
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #6
  %133 = load i1, ptr %24, align 1
  br i1 %133, label %134, label %135

134:                                              ; preds = %132
  call void @__cxa_free_exception(ptr %101) #6
  br label %135

135:                                              ; preds = %134, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %159

136:                                              ; preds = %92
  %137 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiPN4Glip12CorePipeline8Pipeline11BuffersCellEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %138 = getelementptr inbounds %"struct.std::pair.80", ptr %137, i32 0, i32 1
  %139 = load ptr, ptr %138, align 8, !tbaa !83
  %140 = getelementptr inbounds %"struct.Glip::CorePipeline::Pipeline::BuffersCell", ptr %139, i32 0, i32 0
  %141 = getelementptr inbounds %"class.Glip::CorePipeline::Pipeline", ptr %25, i32 0, i32 8
  %142 = load i32, ptr %6, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %141, i64 noundef %143) #6
  %145 = getelementptr inbounds %"struct.Glip::CorePipeline::Pipeline::OutputHub", ptr %144, i32 0, i32 0
  %146 = load i32, ptr %145, align 4, !tbaa !80
  %147 = sext i32 %146 to i64
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4Glip6CoreGL6HdlFBOESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %140, i64 noundef %147) #6
  %149 = load ptr, ptr %148, align 8, !tbaa !5
  %150 = getelementptr inbounds %"class.Glip::CorePipeline::Pipeline", ptr %25, i32 0, i32 8
  %151 = load i32, ptr %6, align 4, !tbaa !9
  %152 = sext i32 %151 to i64
  %153 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %150, i64 noundef %152) #6
  %154 = getelementptr inbounds %"struct.Glip::CorePipeline::Pipeline::OutputHub", ptr %153, i32 0, i32 1
  %155 = load i32, ptr %154, align 4, !tbaa !82
  %156 = call noundef ptr @_ZN4Glip6CoreGL6HdlFBOixEi(ptr noundef nonnull align 8 dereferenceable(97) %149, i32 noundef %155)
  store ptr %156, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %157

157:                                              ; preds = %136, %72
  %158 = load ptr, ptr %4, align 8
  ret ptr %158

159:                                              ; preds = %135, %71
  %160 = load ptr, ptr %10, align 8
  %161 = load i32, ptr %11, align 4
  %162 = insertvalue { ptr, i32 } poison, ptr %160, 0
  %163 = insertvalue { ptr, i32 } %162, i32 %161, 1
  resume { ptr, i32 } %163

164:                                              ; preds = %108, %49
  unreachable
}

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

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

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

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !6, i64 288}
!14 = !{!"_ZTSN4Glip12CorePipeline8PipelineE", !15, i64 0, !36, i64 128, !40, i64 168, !44, i64 192, !49, i64 240, !6, i64 288, !57, i64 296, !61, i64 320, !65, i64 344, !69, i64 368, !72, i64 416, !72, i64 417, !72, i64 418, !10, i64 420, !73, i64 424, !77, i64 448}
!15 = !{!"_ZTSN4Glip12CorePipeline22AbstractPipelineLayoutE", !16, i64 8, !20, i64 32, !24, i64 56, !28, i64 80, !32, i64 104}
!16 = !{!"_ZTSSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSSt6vectorIiSaIiEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"_ZTSN4Glip12CorePipeline9ComponentE", !37, i64 8}
!37 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !38, i64 0, !39, i64 8, !7, i64 16}
!38 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!39 = !{!"long", !7, i64 0}
!40 = !{!"_ZTSSt6vectorIPN4Glip6CoreGL10HdlTextureESaIS3_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIPN4Glip6CoreGL10HdlTextureESaIS3_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIPN4Glip6CoreGL10HdlTextureESaIS3_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIPN4Glip6CoreGL10HdlTextureESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!44 = !{!"_ZTSN4Glip12CorePipeline8Pipeline17BufferFormatsCellE", !45, i64 0, !32, i64 24}
!45 = !{!"_ZTSSt6vectorIN4Glip6CoreGL16HdlTextureFormatESaIS2_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIN4Glip6CoreGL16HdlTextureFormatESaIS2_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN4Glip6CoreGL16HdlTextureFormatESaIS2_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN4Glip6CoreGL16HdlTextureFormatESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!49 = !{!"_ZTSSt3mapIiPN4Glip12CorePipeline8Pipeline11BuffersCellESt4lessIiESaISt4pairIKiS4_EEE", !50, i64 0}
!50 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiPN4Glip12CorePipeline8Pipeline11BuffersCellEESt10_Select1stIS7_ESt4lessIiESaIS7_EE", !51, i64 0}
!51 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiPN4Glip12CorePipeline8Pipeline11BuffersCellEESt10_Select1stIS7_ESt4lessIiESaIS7_EE13_Rb_tree_implISB_Lb1EEE", !52, i64 0, !54, i64 8}
!52 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !53, i64 0}
!53 = !{!"_ZTSSt4lessIiE"}
!54 = !{!"_ZTSSt15_Rb_tree_header", !55, i64 0, !39, i64 32}
!55 = !{!"_ZTSSt18_Rb_tree_node_base", !56, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!56 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!57 = !{!"_ZTSSt6vectorIPN4Glip12CorePipeline6FilterESaIS3_EE", !58, i64 0}
!58 = !{!"_ZTSSt12_Vector_baseIPN4Glip12CorePipeline6FilterESaIS3_EE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseIPN4Glip12CorePipeline6FilterESaIS3_EE12_Vector_implE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseIPN4Glip12CorePipeline6FilterESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!61 = !{!"_ZTSSt6vectorIN4Glip12CorePipeline8Pipeline9ActionHubESaIS3_EE", !62, i64 0}
!62 = !{!"_ZTSSt12_Vector_baseIN4Glip12CorePipeline8Pipeline9ActionHubESaIS3_EE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline8Pipeline9ActionHubESaIS3_EE12_Vector_implE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline8Pipeline9ActionHubESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!65 = !{!"_ZTSSt6vectorIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EE", !66, i64 0}
!66 = !{!"_ZTSSt12_Vector_baseIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EE12_Vector_implE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!69 = !{!"_ZTSSt3mapIiiSt4lessIiESaISt4pairIKiiEEE", !70, i64 0}
!70 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE", !71, i64 0}
!71 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !52, i64 0, !54, i64 8}
!72 = !{!"bool", !7, i64 0}
!73 = !{!"_ZTSSt6vectorIdSaIdEE", !74, i64 0}
!74 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !75, i64 0}
!75 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !76, i64 0}
!76 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!77 = !{!"double", !7, i64 0}
!78 = !{!79, !79, i64 0}
!79 = !{!"_ZTSN4Glip9Exception4TypeE", !7, i64 0}
!80 = !{!81, !10, i64 0}
!81 = !{!"_ZTSN4Glip12CorePipeline8Pipeline9OutputHubE", !10, i64 0, !10, i64 4}
!82 = !{!81, !10, i64 4}
!83 = !{!84, !6, i64 8}
!84 = !{!"_ZTSSt4pairIKiPN4Glip12CorePipeline8Pipeline11BuffersCellEE", !10, i64 0, !6, 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"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.20" = type { i8 }
%"struct.std::_Rb_tree_iterator.79" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [88 x i8], align 1
@_ZTIN4Glip9ExceptionE = external constant ptr
@.str.76 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [17 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare void @_ZN4Glip9ExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_iRKNS0_4TypeE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN4Glip9ExceptionD1Ev(ptr noundef nonnull align 8 dereferenceable(152)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Glip8toStringIiEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

declare void @_ZNK4Glip12CorePipeline23AbstractComponentLayout15checkOutputPortEi(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef) local_unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4Glip12CorePipeline23AbstractComponentLayout17getOutputPortNameB5cxx11Ei(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

declare noundef ptr @_ZN4Glip6CoreGL6HdlFBOixEi(ptr noundef nonnull align 8 dereferenceable(97), i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(57) ptr @_ZN4Glip12CorePipeline8Pipeline3outEii(ptr noundef nonnull align 8 dereferenceable(456) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator.20", align 1
  %9 = alloca i32, align 4
  %10 = alloca %"struct.std::_Rb_tree_iterator.79", align 8
  %11 = alloca %"struct.std::_Rb_tree_iterator.79", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.20", align 1
  %17 = alloca i32, align 4
  store i32 %2, ptr %4, align 4, !tbaa !5
  %18 = load ptr, ptr %0, align 8, !tbaa !9
  %19 = getelementptr i8, ptr %18, i64 -24
  %20 = load i64, ptr %19, align 8
  %21 = getelementptr inbounds i8, ptr %0, i64 %20
  tail call void @_ZNK4Glip12CorePipeline23AbstractComponentLayout15checkOutputPortEi(ptr noundef nonnull align 8 dereferenceable(88) %21, i32 noundef %1)
  %22 = icmp eq i32 %2, 0
  br i1 %22, label %23, label %59

23:                                               ; preds = %3
  %24 = getelementptr inbounds i8, ptr %0, i64 288
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = icmp eq ptr %25, null
  br i1 %26, label %27, label %47

27:                                               ; preds = %23
  %28 = tail call ptr @__cxa_allocate_exception(i64 152) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  %29 = load ptr, ptr %0, align 8, !tbaa !9
  %30 = getelementptr i8, ptr %29, i64 -24
  %31 = load i64, ptr %30, align 8
  %32 = getelementptr inbounds i8, ptr %0, i64 %31
  %33 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4Glip12CorePipeline23AbstractComponentLayout17getOutputPortNameB5cxx11Ei(ptr noundef nonnull align 8 dereferenceable(88) %32, i32 noundef %1)
          to label %34 unwind label %.thread

34:                                               ; preds = %27
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull @.str.76, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %35 unwind label %.thread

35:                                               ; preds = %34
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.77)
          to label %36 unwind label %.thread42

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %37 unwind label %41

37:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  store i32 1, ptr %9, align 4, !tbaa !77
  invoke void @_ZN4Glip9ExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_iRKNS0_4TypeE(ptr noundef nonnull align 8 dereferenceable(152) %28, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %7, i32 noundef 1698, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %38 unwind label %43

38:                                               ; preds = %37
  invoke void @__cxa_throw(ptr nonnull %28, ptr nonnull @_ZTIN4Glip9ExceptionE, ptr nonnull @_ZN4Glip9ExceptionD1Ev) #7
          to label %101 unwind label %43

.thread:                                          ; preds = %27, %34
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %46

.thread42:                                        ; preds = %35
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %46

41:                                               ; preds = %36
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %45

43:                                               ; preds = %38, %37
  %.011 = phi i1 [ false, %38 ], [ true, %37 ]
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %45

45:                                               ; preds = %41, %43
  %.pn34 = phi { ptr, i32 } [ %44, %43 ], [ %42, %41 ]
  %.112 = phi i1 [ %.011, %43 ], [ true, %41 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br i1 %.112, label %46, label %100

46:                                               ; preds = %.thread42, %.thread, %45
  %.pn34.pn.pn41 = phi { ptr, i32 } [ %39, %.thread ], [ %.pn34, %45 ], [ %40, %.thread42 ]
  call void @__cxa_free_exception(ptr %28) #6
  br label %100

47:                                               ; preds = %23
  %48 = getelementptr inbounds i8, ptr %0, i64 344
  %49 = sext i32 %1 to i64
  %50 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %49) #6
  %51 = load i32, ptr %50, align 4, !tbaa !79
  %52 = sext i32 %51 to i64
  %53 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4Glip6CoreGL6HdlFBOESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %52) #6
  %54 = load ptr, ptr %53, align 8, !tbaa !81
  %55 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %49) #6
  %56 = getelementptr inbounds i8, ptr %55, i64 4
  %57 = load i32, ptr %56, align 4, !tbaa !82
  %58 = tail call noundef ptr @_ZN4Glip6CoreGL6HdlFBOixEi(ptr noundef nonnull align 8 dereferenceable(97) %54, i32 noundef %57)
  br label %99

59:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %60 = getelementptr inbounds i8, ptr %0, i64 240
  %61 = call ptr @_ZNSt3mapIiPN4Glip12CorePipeline8Pipeline11BuffersCellESt4lessIiESaISt4pairIKiS4_EEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(48) %60, ptr noundef nonnull align 4 dereferenceable(4) %4)
  store ptr %61, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %62 = call ptr @_ZNSt3mapIiPN4Glip12CorePipeline8Pipeline11BuffersCellESt4lessIiESaISt4pairIKiS4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %60) #6
  store ptr %62, ptr %11, align 8
  %63 = call noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKiPN4Glip12CorePipeline8Pipeline11BuffersCellEEESA_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br i1 %63, label %64, label %84

64:                                               ; preds = %59
  %65 = call ptr @__cxa_allocate_exception(i64 152) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #6
  %66 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiPN4Glip12CorePipeline8Pipeline11BuffersCellEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  invoke void @_ZN4Glip8toStringIiEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 4 dereferenceable(4) %66)
          to label %67 unwind label %.thread45

67:                                               ; preds = %64
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull @.str.78, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %68 unwind label %.thread50

68:                                               ; preds = %67
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.79)
          to label %69 unwind label %74

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %70 unwind label %76

70:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  store i32 1, ptr %17, align 4, !tbaa !77
  invoke void @_ZN4Glip9ExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_iRKNS0_4TypeE(ptr noundef nonnull align 8 dereferenceable(152) %65, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull %15, i32 noundef 1707, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %71 unwind label %78

71:                                               ; preds = %70
  invoke void @__cxa_throw(ptr nonnull %65, ptr nonnull @_ZTIN4Glip9ExceptionE, ptr nonnull @_ZN4Glip9ExceptionD1Ev) #7
          to label %101 unwind label %78

.thread45:                                        ; preds = %64
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  br label %82

.thread50:                                        ; preds = %67
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  br label %82

74:                                               ; preds = %68
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %81

76:                                               ; preds = %69
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %80

78:                                               ; preds = %71, %70
  %.0 = phi i1 [ false, %71 ], [ true, %70 ]
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %80

80:                                               ; preds = %78, %76
  %.pn = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  %.1 = phi i1 [ %.0, %78 ], [ true, %76 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %81

81:                                               ; preds = %74, %80
  %.pn.pn = phi { ptr, i32 } [ %.pn, %80 ], [ %75, %74 ]
  %.2 = phi i1 [ %.1, %80 ], [ true, %74 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  br i1 %.2, label %82, label %83

82:                                               ; preds = %.thread50, %.thread45, %81
  %.pn.pn.pn.pn49 = phi { ptr, i32 } [ %72, %.thread45 ], [ %.pn.pn, %81 ], [ %73, %.thread50 ]
  call void @__cxa_free_exception(ptr %65) #6
  br label %83

83:                                               ; preds = %82, %81
  %.pn.pn.pn.pn48 = phi { ptr, i32 } [ %.pn.pn.pn.pn49, %82 ], [ %.pn.pn, %81 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %100

84:                                               ; preds = %59
  %85 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiPN4Glip12CorePipeline8Pipeline11BuffersCellEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %86 = getelementptr inbounds i8, ptr %85, i64 8
  %87 = load ptr, ptr %86, align 8, !tbaa !83
  %88 = getelementptr inbounds i8, ptr %0, i64 344
  %89 = sext i32 %1 to i64
  %90 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %89) #6
  %91 = load i32, ptr %90, align 4, !tbaa !79
  %92 = sext i32 %91 to i64
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN4Glip6CoreGL6HdlFBOESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef %92) #6
  %94 = load ptr, ptr %93, align 8, !tbaa !81
  %95 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %89) #6
  %96 = getelementptr inbounds i8, ptr %95, i64 4
  %97 = load i32, ptr %96, align 4, !tbaa !82
  %98 = call noundef ptr @_ZN4Glip6CoreGL6HdlFBOixEi(ptr noundef nonnull align 8 dereferenceable(97) %94, i32 noundef %97)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %99

99:                                               ; preds = %84, %47
  %.028 = phi ptr [ %58, %47 ], [ %98, %84 ]
  ret ptr %.028

100:                                              ; preds = %45, %46, %83
  %.pn34.pn.pn.pn = phi { ptr, i32 } [ %.pn34.pn.pn41, %46 ], [ %.pn34, %45 ], [ %.pn.pn.pn.pn48, %83 ]
  resume { ptr, i32 } %.pn34.pn.pn.pn

101:                                              ; preds = %71, %38
  unreachable
}

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

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

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

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

!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 = !{!"int", !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, !18, i64 288}
!12 = !{!"_ZTSN4Glip12CorePipeline8PipelineE", !13, i64 0, !35, i64 128, !39, i64 168, !43, i64 192, !48, i64 240, !18, i64 288, !56, i64 296, !60, i64 320, !64, i64 344, !68, i64 368, !71, i64 416, !71, i64 417, !71, i64 418, !6, i64 420, !72, i64 424, !76, i64 448}
!13 = !{!"_ZTSN4Glip12CorePipeline22AbstractPipelineLayoutE", !14, i64 8, !19, i64 32, !23, i64 56, !27, i64 80, !31, i64 104}
!14 = !{!"_ZTSSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!"_ZTSSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!23 = !{!"_ZTSSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!27 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!31 = !{!"_ZTSSt6vectorIiSaIiEE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!35 = !{!"_ZTSN4Glip12CorePipeline9ComponentE", !36, i64 8}
!36 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !37, i64 0, !38, i64 8, !7, i64 16}
!37 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !18, i64 0}
!38 = !{!"long", !7, i64 0}
!39 = !{!"_ZTSSt6vectorIPN4Glip6CoreGL10HdlTextureESaIS3_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIPN4Glip6CoreGL10HdlTextureESaIS3_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIPN4Glip6CoreGL10HdlTextureESaIS3_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIPN4Glip6CoreGL10HdlTextureESaIS3_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!43 = !{!"_ZTSN4Glip12CorePipeline8Pipeline17BufferFormatsCellE", !44, i64 0, !31, i64 24}
!44 = !{!"_ZTSSt6vectorIN4Glip6CoreGL16HdlTextureFormatESaIS2_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIN4Glip6CoreGL16HdlTextureFormatESaIS2_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN4Glip6CoreGL16HdlTextureFormatESaIS2_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN4Glip6CoreGL16HdlTextureFormatESaIS2_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!48 = !{!"_ZTSSt3mapIiPN4Glip12CorePipeline8Pipeline11BuffersCellESt4lessIiESaISt4pairIKiS4_EEE", !49, i64 0}
!49 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiPN4Glip12CorePipeline8Pipeline11BuffersCellEESt10_Select1stIS7_ESt4lessIiESaIS7_EE", !50, i64 0}
!50 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiPN4Glip12CorePipeline8Pipeline11BuffersCellEESt10_Select1stIS7_ESt4lessIiESaIS7_EE13_Rb_tree_implISB_Lb1EEE", !51, i64 0, !53, i64 8}
!51 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !52, i64 0}
!52 = !{!"_ZTSSt4lessIiE"}
!53 = !{!"_ZTSSt15_Rb_tree_header", !54, i64 0, !38, i64 32}
!54 = !{!"_ZTSSt18_Rb_tree_node_base", !55, i64 0, !18, i64 8, !18, i64 16, !18, i64 24}
!55 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!56 = !{!"_ZTSSt6vectorIPN4Glip12CorePipeline6FilterESaIS3_EE", !57, i64 0}
!57 = !{!"_ZTSSt12_Vector_baseIPN4Glip12CorePipeline6FilterESaIS3_EE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseIPN4Glip12CorePipeline6FilterESaIS3_EE12_Vector_implE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseIPN4Glip12CorePipeline6FilterESaIS3_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!60 = !{!"_ZTSSt6vectorIN4Glip12CorePipeline8Pipeline9ActionHubESaIS3_EE", !61, i64 0}
!61 = !{!"_ZTSSt12_Vector_baseIN4Glip12CorePipeline8Pipeline9ActionHubESaIS3_EE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline8Pipeline9ActionHubESaIS3_EE12_Vector_implE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline8Pipeline9ActionHubESaIS3_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!64 = !{!"_ZTSSt6vectorIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EE", !65, i64 0}
!65 = !{!"_ZTSSt12_Vector_baseIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EE", !66, i64 0}
!66 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EE12_Vector_implE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseIN4Glip12CorePipeline8Pipeline9OutputHubESaIS3_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!68 = !{!"_ZTSSt3mapIiiSt4lessIiESaISt4pairIKiiEEE", !69, i64 0}
!69 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE", !70, i64 0}
!70 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !51, i64 0, !53, i64 8}
!71 = !{!"bool", !7, i64 0}
!72 = !{!"_ZTSSt6vectorIdSaIdEE", !73, i64 0}
!73 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !74, i64 0}
!74 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !75, i64 0}
!75 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!76 = !{!"double", !7, i64 0}
!77 = !{!78, !78, i64 0}
!78 = !{!"_ZTSN4Glip9Exception4TypeE", !7, i64 0}
!79 = !{!80, !6, i64 0}
!80 = !{!"_ZTSN4Glip12CorePipeline8Pipeline9OutputHubE", !6, i64 0, !6, i64 4}
!81 = !{!18, !18, i64 0}
!82 = !{!80, !6, i64 4}
!83 = !{!84, !18, i64 8}
!84 = !{!"_ZTSSt4pairIKiPN4Glip12CorePipeline8Pipeline11BuffersCellEE", !6, i64 0, !18, i64 8}


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