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

; 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 }
%"class.Glip::CorePipeline::AbstractPipelineLayout" = type { ptr, %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.15", %"class.Glip::CorePipeline::AbstractComponentLayout" }
%"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::AbstractComponentLayout" = type { ptr, %"class.std::__cxx11::basic_string", %"class.std::vector.10", %"class.std::vector.10" }

@_ZTVN4Glip12CorePipeline22AbstractPipelineLayoutE = external dso_local unnamed_addr constant { [5 x ptr], [7 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [87 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [88 x i8], align 1
@_ZTIN4Glip9ExceptionE = external constant ptr

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(84) ptr @_ZNK4Glip12CorePipeline22AbstractPipelineLayout12filterLayoutEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) #1 align 2

declare void @_ZN4Glip12CorePipeline20AbstractFilterLayoutC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(84), ptr noundef nonnull align 8 dereferenceable(84)) unnamed_addr #4

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZNK4Glip12CorePipeline22AbstractPipelineLayout14pipelineLayoutEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Glip12CorePipeline22AbstractPipelineLayoutC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(128) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %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
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %3, align 8
  %17 = getelementptr inbounds i8, ptr %16, i64 128
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = load ptr, ptr %18, align 8, !tbaa !9
  %20 = getelementptr i8, ptr %19, i64 -24
  %21 = load i64, ptr %20, align 8
  %22 = getelementptr inbounds i8, ptr %18, i64 %21
  call void @_ZN4Glip12CorePipeline23AbstractComponentLayoutC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(88) %22)
  store ptr getelementptr inbounds inrange(-24, 16) ({ [5 x ptr], [7 x ptr] }, ptr @_ZTVN4Glip12CorePipeline22AbstractPipelineLayoutE, i32 0, i32 0, i32 3), ptr %16, align 8, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %16, i64 128
  store ptr getelementptr inbounds inrange(-32, 24) ({ [5 x ptr], [7 x ptr] }, ptr @_ZTVN4Glip12CorePipeline22AbstractPipelineLayoutE, i32 0, i32 1, i32 4), ptr %23, align 8, !tbaa !9
  %24 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %16, i32 0, i32 1
  call void @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #8
  %25 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %16, i32 0, i32 2
  call void @_ZNSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #8
  %26 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %16, i32 0, i32 3
  call void @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  %27 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %16, i32 0, i32 4
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  %28 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %16, i32 0, i32 5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %29, i32 0, i32 3
  %31 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %16, i32 0, i32 3
  %32 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %30)
          to label %33 unwind label %57

33:                                               ; preds = %2
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %34, i32 0, i32 4
  %36 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %16, i32 0, i32 4
  %37 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSERKS7_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(24) %35)
          to label %38 unwind label %57

38:                                               ; preds = %33
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %39, i32 0, i32 5
  %41 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %16, i32 0, i32 5
  %42 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 8 dereferenceable(24) %40)
          to label %43 unwind label %57

43:                                               ; preds = %38
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %44, i32 0, i32 1
  %46 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %16, i32 0, i32 1
  %47 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %48 unwind label %57

48:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 0, ptr %7, align 4, !tbaa !11
  br label %49

49:                                               ; preds = %141, %48
  %50 = load i32, ptr %7, align 4, !tbaa !11
  %51 = zext i32 %50 to i64
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %52, i32 0, i32 2
  %54 = call noundef i64 @_ZNKSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  %55 = icmp ult i64 %51, %54
  br i1 %55, label %61, label %56

56:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %145

57:                                               ; preds = %43, %38, %33, %2
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %5, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %6, align 4
  br label %146

61:                                               ; preds = %49
  %62 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %16, i32 0, i32 3
  %63 = load i32, ptr %7, align 4, !tbaa !11
  %64 = zext i32 %63 to i64
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %64) #8
  %66 = load i32, ptr %65, align 4, !tbaa !13
  switch i32 %66, label %105 [
    i32 0, label %67
    i32 1, label %86
  ]

67:                                               ; preds = %61
  %68 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %16, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %69 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 232) #9
          to label %70 unwind label %77

70:                                               ; preds = %67
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = load i32, ptr %7, align 4, !tbaa !11
  %73 = invoke noundef nonnull align 8 dereferenceable(84) ptr @_ZNK4Glip12CorePipeline22AbstractPipelineLayout12filterLayoutEi(ptr noundef nonnull align 8 dereferenceable(128) %71, i32 noundef %72)
          to label %74 unwind label %81

74:                                               ; preds = %70
  invoke void @_ZN4Glip12CorePipeline20AbstractFilterLayoutC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(84) %69, ptr noundef nonnull align 8 dereferenceable(84) %73)
          to label %75 unwind label %81

75:                                               ; preds = %74
  store ptr %69, ptr %8, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %68, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %76 unwind label %77

76:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %140

77:                                               ; preds = %75, %67
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %5, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %6, align 4
  br label %85

81:                                               ; preds = %74, %70
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %5, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %69, i64 noundef 232) #10
  br label %85

85:                                               ; preds = %81, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %144

86:                                               ; preds = %61
  %87 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractPipelineLayout", ptr %16, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %88 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 216) #9
          to label %89 unwind label %96

89:                                               ; preds = %86
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = load i32, ptr %7, align 4, !tbaa !11
  %92 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZNK4Glip12CorePipeline22AbstractPipelineLayout14pipelineLayoutEi(ptr noundef nonnull align 8 dereferenceable(128) %90, i32 noundef %91)
          to label %93 unwind label %100

93:                                               ; preds = %89
  invoke void @_ZN4Glip12CorePipeline22AbstractPipelineLayoutC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(128) %88, ptr noundef nonnull align 8 dereferenceable(128) %92)
          to label %94 unwind label %100

94:                                               ; preds = %93
  store ptr %88, ptr %9, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %87, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %95 unwind label %96

95:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %140

96:                                               ; preds = %94, %86
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %5, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %6, align 4
  br label %104

100:                                              ; preds = %93, %89
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %5, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %88, i64 noundef 216) #10
  br label %104

104:                                              ; preds = %100, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %144

105:                                              ; preds = %61
  store i1 true, ptr %15, align 1
  %106 = call ptr @__cxa_allocate_exception(i64 152) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #8
  %107 = load ptr, ptr %16, align 8, !tbaa !9
  %108 = getelementptr i8, ptr %107, i64 -24
  %109 = load i64, ptr %108, align 8
  %110 = getelementptr inbounds i8, ptr %16, i64 %109
  %111 = load ptr, ptr %110, align 8, !tbaa !9
  %112 = getelementptr inbounds ptr, ptr %111, i64 2
  %113 = load ptr, ptr %112, align 8
  invoke void %113(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 8 dereferenceable(88) %110)
          to label %114 unwind label %118

114:                                              ; preds = %105
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef @.str, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %115 unwind label %122

115:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  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 %116 unwind label %126

116:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 1, ptr %14, align 4, !tbaa !15
  invoke void @_ZN4Glip9ExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_iRKNS0_4TypeE(ptr noundef nonnull align 8 dereferenceable(152) %106, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef %12, i32 noundef 71, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %117 unwind label %130

117:                                              ; preds = %116
  store i1 false, ptr %15, align 1
  invoke void @__cxa_throw(ptr %106, ptr @_ZTIN4Glip9ExceptionE, ptr @_ZN4Glip9ExceptionD1Ev) #11
          to label %153 unwind label %130

118:                                              ; preds = %105
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %5, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %6, align 4
  br label %136

122:                                              ; preds = %114
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %5, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %6, align 4
  br label %135

126:                                              ; preds = %115
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %5, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %6, align 4
  br label %134

130:                                              ; preds = %117, %116
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %5, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  br label %134

134:                                              ; preds = %130, %126
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %135

135:                                              ; preds = %134, %122
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %136

136:                                              ; preds = %135, %118
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #8
  %137 = load i1, ptr %15, align 1
  br i1 %137, label %138, label %139

138:                                              ; preds = %136
  call void @__cxa_free_exception(ptr %106) #8
  br label %139

139:                                              ; preds = %138, %136
  br label %144

140:                                              ; preds = %95, %76
  br label %141

141:                                              ; preds = %140
  %142 = load i32, ptr %7, align 4, !tbaa !11
  %143 = add i32 %142, 1
  store i32 %143, ptr %7, align 4, !tbaa !11
  br label %49, !llvm.loop !17

144:                                              ; preds = %139, %104, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %146

145:                                              ; preds = %56
  ret void

146:                                              ; preds = %144, %57
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  call void @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  call void @_ZNSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #8
  call void @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #8
  %147 = getelementptr inbounds i8, ptr %16, i64 128
  call void @_ZN4Glip12CorePipeline23AbstractComponentLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %147) #8
  br label %148

148:                                              ; preds = %146
  %149 = load ptr, ptr %5, align 8
  %150 = load i32, ptr %6, align 4
  %151 = insertvalue { ptr, i32 } poison, ptr %149, 0
  %152 = insertvalue { ptr, i32 } %151, i32 %150, 1
  resume { ptr, i32 } %152

153:                                              ; preds = %117
  unreachable
}

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)) #6

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 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 #1 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 #7

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 #0 align 2

declare void @__cxa_free_exception(ptr)

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

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

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

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

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

declare void @_ZN4Glip12CorePipeline23AbstractComponentLayoutC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN4Glip12CorePipeline23AbstractComponentLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #7

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

attributes #0 = { 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 #1 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nobuiltin allocsize(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 = { nobuiltin 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 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }
attributes #11 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindE", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTSN4Glip9Exception4TypeE", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"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"

%"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 }

@_ZTVN4Glip12CorePipeline22AbstractPipelineLayoutE = external dso_local unnamed_addr constant { [5 x ptr], [7 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [87 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [88 x i8], align 1
@_ZTIN4Glip9ExceptionE = external constant ptr

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; 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 nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(84) ptr @_ZNK4Glip12CorePipeline22AbstractPipelineLayout12filterLayoutEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) local_unnamed_addr #1 align 2

declare void @_ZN4Glip12CorePipeline20AbstractFilterLayoutC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(84), ptr noundef nonnull align 8 dereferenceable(84)) unnamed_addr #4

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZNK4Glip12CorePipeline22AbstractPipelineLayout14pipelineLayoutEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Glip12CorePipeline22AbstractPipelineLayoutC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(128) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %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 = getelementptr inbounds i8, ptr %0, i64 128
  %11 = load ptr, ptr %1, align 8, !tbaa !5
  %12 = getelementptr i8, ptr %11, i64 -24
  %13 = load i64, ptr %12, align 8
  %14 = getelementptr inbounds i8, ptr %1, i64 %13
  tail call void @_ZN4Glip12CorePipeline23AbstractComponentLayoutC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %14)
  store ptr getelementptr inbounds inrange(-24, 16) (i8, ptr @_ZTVN4Glip12CorePipeline22AbstractPipelineLayoutE, i64 24), ptr %0, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-32, 24) (i8, ptr @_ZTVN4Glip12CorePipeline22AbstractPipelineLayoutE, i64 72), ptr %10, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  %16 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZNSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %17 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %18 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  %19 = getelementptr inbounds i8, ptr %0, i64 104
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %20 = getelementptr inbounds i8, ptr %1, i64 56
  %21 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %22 unwind label %33

22:                                               ; preds = %2
  %23 = getelementptr inbounds i8, ptr %1, i64 80
  %24 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSERKS7_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %23)
          to label %25 unwind label %33

25:                                               ; preds = %22
  %26 = getelementptr inbounds i8, ptr %1, i64 104
  %27 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %28 unwind label %33

28:                                               ; preds = %25
  %29 = getelementptr inbounds i8, ptr %1, i64 8
  %30 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %.preheader unwind label %33

.preheader:                                       ; preds = %28
  %31 = getelementptr inbounds i8, ptr %1, i64 32
  %32 = tail call noundef i64 @_ZNKSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  %.not = icmp eq i64 %32, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %83, %.preheader
  ret void

33:                                               ; preds = %28, %25, %22, %2
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %88

.lr.ph:                                           ; preds = %.preheader, %83
  %35 = phi i64 [ %85, %83 ], [ 0, %.preheader ]
  %.01645 = phi i32 [ %84, %83 ], [ 0, %.preheader ]
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %35) #8
  %37 = load i32, ptr %36, align 4, !tbaa !8
  switch i32 %37, label %62 [
    i32 0, label %38
    i32 1, label %50
  ]

38:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  %39 = invoke noalias noundef nonnull dereferenceable(232) ptr @_Znwm(i64 noundef 232) #9
          to label %40 unwind label %45

40:                                               ; preds = %38
  %41 = invoke noundef nonnull align 8 dereferenceable(84) ptr @_ZNK4Glip12CorePipeline22AbstractPipelineLayout12filterLayoutEi(ptr noundef nonnull align 8 dereferenceable(128) %1, i32 noundef %.01645)
          to label %42 unwind label %47

42:                                               ; preds = %40
  invoke void @_ZN4Glip12CorePipeline20AbstractFilterLayoutC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(84) %39, ptr noundef nonnull align 8 dereferenceable(84) %41)
          to label %43 unwind label %47

43:                                               ; preds = %42
  store ptr %39, ptr %3, align 8, !tbaa !11
  invoke void @_ZNSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %44 unwind label %45

44:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  br label %83

45:                                               ; preds = %43, %38
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %49

47:                                               ; preds = %42, %40
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %39, i64 noundef 232) #10
  br label %49

49:                                               ; preds = %47, %45
  %.pn30 = phi { ptr, i32 } [ %46, %45 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  br label %88

50:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %51 = invoke noalias noundef nonnull dereferenceable(216) ptr @_Znwm(i64 noundef 216) #9
          to label %52 unwind label %57

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZNK4Glip12CorePipeline22AbstractPipelineLayout14pipelineLayoutEi(ptr noundef nonnull align 8 dereferenceable(128) %1, i32 noundef %.01645)
          to label %54 unwind label %59

54:                                               ; preds = %52
  invoke void @_ZN4Glip12CorePipeline22AbstractPipelineLayoutC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(128) %51, ptr noundef nonnull align 8 dereferenceable(128) %53)
          to label %55 unwind label %59

55:                                               ; preds = %54
  store ptr %51, ptr %4, align 8, !tbaa !11
  invoke void @_ZNSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %56 unwind label %57

56:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %83

57:                                               ; preds = %55, %50
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %61

59:                                               ; preds = %54, %52
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %51, i64 noundef 216) #10
  br label %61

61:                                               ; preds = %59, %57
  %.pn = phi { ptr, i32 } [ %58, %57 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %88

62:                                               ; preds = %.lr.ph
  %63 = call ptr @__cxa_allocate_exception(i64 152) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #8
  %64 = load ptr, ptr %0, align 8, !tbaa !5
  %65 = getelementptr i8, ptr %64, i64 -24
  %66 = load i64, ptr %65, align 8
  %67 = getelementptr inbounds i8, ptr %0, i64 %66
  %68 = load ptr, ptr %67, align 8, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %68, i64 16
  %70 = load ptr, ptr %69, align 8
  invoke void %70(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull align 8 dereferenceable(88) %67)
          to label %71 unwind label %.thread

71:                                               ; preds = %62
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull @.str, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %72 unwind label %.thread41

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  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 %73 unwind label %77

73:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #8
  store i32 1, ptr %9, align 4, !tbaa !13
  invoke void @_ZN4Glip9ExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_iRKNS0_4TypeE(ptr noundef nonnull align 8 dereferenceable(152) %63, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %7, i32 noundef 71, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %74 unwind label %79

74:                                               ; preds = %73
  invoke void @__cxa_throw(ptr nonnull %63, ptr nonnull @_ZTIN4Glip9ExceptionE, ptr nonnull @_ZN4Glip9ExceptionD1Ev) #11
          to label %89 unwind label %79

.thread:                                          ; preds = %62
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  br label %82

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

77:                                               ; preds = %72
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %81

79:                                               ; preds = %74, %73
  %.0 = phi i1 [ false, %74 ], [ true, %73 ]
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  br label %81

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

82:                                               ; preds = %.thread41, %.thread, %81
  %.pn32.pn.pn40 = phi { ptr, i32 } [ %75, %.thread ], [ %.pn32, %81 ], [ %76, %.thread41 ]
  call void @__cxa_free_exception(ptr %63) #8
  br label %88

83:                                               ; preds = %44, %56
  %84 = add i32 %.01645, 1
  %85 = zext i32 %84 to i64
  %86 = call noundef i64 @_ZNKSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  %87 = icmp ugt i64 %86, %85
  br i1 %87, label %.lr.ph, label %._crit_edge, !llvm.loop !15

88:                                               ; preds = %49, %61, %82, %81, %33
  %.pn32.pn.pn.pn.pn = phi { ptr, i32 } [ %34, %33 ], [ %.pn32.pn.pn40, %82 ], [ %.pn32, %81 ], [ %.pn, %61 ], [ %.pn30, %49 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @_ZNSt6vectorIPN4Glip12CorePipeline23AbstractComponentLayoutESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @_ZNSt6vectorIN4Glip12CorePipeline22AbstractPipelineLayout10ConnectionESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @_ZN4Glip12CorePipeline23AbstractComponentLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #8
  resume { ptr, i32 } %.pn32.pn.pn.pn.pn

89:                                               ; preds = %74
  unreachable
}

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 #6

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 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 #1 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 #7

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 #0 align 2

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

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

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

declare void @_ZN4Glip12CorePipeline23AbstractComponentLayoutC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN4Glip12CorePipeline23AbstractComponentLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #7

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

attributes #0 = { 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 #1 = { 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nobuiltin allocsize(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 = { nobuiltin 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 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }
attributes #11 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"_ZTSN4Glip12CorePipeline22AbstractPipelineLayout13ComponentKindE", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN4Glip9Exception4TypeE", !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass