; LLVM IR from ronan-kerviche/glip-lib :: GLIP-Lib/src/Core (Filter)

; 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" = type { i8 }
%"class.std::set" = type { %"class.std::_Rb_tree.26" }
%"class.std::_Rb_tree.26" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_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 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::_Rb_tree_const_iterator.38" = type { ptr }
%"struct.std::pair" = type { i32, ptr }
%"class.Glip::CorePipeline::AbstractFilterLayout" = type <{ ptr, [6 x ptr], ptr, i8, i8, i8, i8, i32, i32, i32, i32, [4 x i8], %"class.Glip::CorePipeline::AbstractComponentLayout", %"class.Glip::CoreGL::HdlAbstractTextureFormat.base", [4 x i8] }>
%"class.Glip::CorePipeline::AbstractComponentLayout" = type { ptr, %"class.std::__cxx11::basic_string", %"class.std::vector", %"class.std::vector" }
%"class.Glip::CoreGL::HdlAbstractTextureFormat.base" = type <{ ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }>

@_ZTIN4Glip9ExceptionE = external constant ptr
@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@_ZTVN4Glip12CorePipeline12FilterLayoutE = external dso_local unnamed_addr constant { [9 x ptr], [7 x ptr], [7 x ptr], [11 x ptr] }, align 8
@_ZTTN4Glip12CorePipeline12FilterLayoutE = external dso_local unnamed_addr constant [10 x ptr], align 8
@.str.3 = external hidden unnamed_addr constant [55 x i8], align 1

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

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

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

declare void @_ZN4Glip12CorePipeline23AbstractComponentLayoutC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2

declare void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(52), ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_ZN4Glip6CoreGL12ShaderSourceC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef nonnull align 8 dereferenceable(272)) unnamed_addr #2

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

declare void @_ZN4Glip12CorePipeline13GeometryModelC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2

declare ptr @__cxa_allocate_exception(i64)

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

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

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: nounwind
declare void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3

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

declare noundef i32 @_ZN4Glip6CoreGL12HandleOpenGL18getShaderTypeIndexEj(i32 noundef) #2

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL12ShaderSource12getInputVarsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(272)) #2

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL12ShaderSource13getOutputVarsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(272)) #2

declare noundef i32 @_ZN4Glip12CorePipeline15ComponentLayout12addInputPortERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #2

declare noundef i32 @_ZN4Glip12CorePipeline15ComponentLayout13addOutputPortERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #2

declare void @_ZN4Glip12CorePipeline18GeometryPrimitives12StandardQuadC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #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

declare void @_ZN4Glip12CorePipeline15ComponentLayoutC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN4Glip12CorePipeline15ComponentLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Glip12CorePipeline12FilterLayoutC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6CoreGL24HdlAbstractTextureFormatERKSt3mapIjPNSA_12ShaderSourceESt4lessIjESaISt4pairIKjSG_EEEPNS0_13GeometryModelE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(52) %2, ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef %4) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca i32, align 4
  %18 = alloca i1, align 1
  %19 = alloca %"class.std::set", align 8
  %20 = alloca %"class.std::set", align 8
  %21 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %22 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %23 = alloca %"class.std::vector", align 8
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %30 = alloca %"struct.std::_Rb_tree_const_iterator.38", align 8
  %31 = alloca %"struct.std::_Rb_tree_const_iterator.38", align 8
  %32 = alloca %"struct.std::_Rb_tree_const_iterator.38", align 8
  %33 = alloca %"struct.std::_Rb_tree_const_iterator.38", align 8
  %34 = alloca %"struct.std::_Rb_tree_const_iterator.38", align 8
  %35 = alloca %"struct.std::_Rb_tree_const_iterator.38", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %36 = load ptr, ptr %6, align 8
  %37 = getelementptr inbounds i8, ptr %36, i64 8
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN4Glip12CorePipeline23AbstractComponentLayoutC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(88) %37, ptr noundef nonnull align 8 dereferenceable(32) %38)
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4Glip12CorePipeline15ComponentLayoutC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef getelementptr inbounds ([10 x ptr], ptr @_ZTTN4Glip12CorePipeline12FilterLayoutE, i64 0, i64 5), ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %40 unwind label %57

40:                                               ; preds = %5
  %41 = getelementptr inbounds i8, ptr %36, i64 184
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(52) %41, ptr noundef nonnull align 8 dereferenceable(52) %42)
          to label %43 unwind label %61

43:                                               ; preds = %40
  %44 = getelementptr inbounds i8, ptr %36, i64 96
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN4Glip12CorePipeline20AbstractFilterLayoutC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6CoreGL24HdlAbstractTextureFormatE(ptr noundef nonnull align 8 dereferenceable(84) %44, ptr noundef getelementptr inbounds ([10 x ptr], ptr @_ZTTN4Glip12CorePipeline12FilterLayoutE, i64 0, i64 7), ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(52) %46)
  store ptr getelementptr inbounds inrange(-56, 16) ({ [9 x ptr], [7 x ptr], [7 x ptr], [11 x ptr] }, ptr @_ZTVN4Glip12CorePipeline12FilterLayoutE, i32 0, i32 0, i32 7), ptr %36, align 8, !tbaa !9
  store ptr getelementptr inbounds inrange(-56, 16) ({ [9 x ptr], [7 x ptr], [7 x ptr], [11 x ptr] }, ptr @_ZTVN4Glip12CorePipeline12FilterLayoutE, i32 0, i32 0, i32 7), ptr %36, align 8, !tbaa !9
  %47 = getelementptr inbounds i8, ptr %36, i64 8
  store ptr getelementptr inbounds inrange(-32, 24) ({ [9 x ptr], [7 x ptr], [7 x ptr], [11 x ptr] }, ptr @_ZTVN4Glip12CorePipeline12FilterLayoutE, i32 0, i32 1, i32 4), ptr %47, align 8, !tbaa !9
  %48 = getelementptr inbounds i8, ptr %36, i64 96
  store ptr getelementptr inbounds inrange(-40, 16) ({ [9 x ptr], [7 x ptr], [7 x ptr], [11 x ptr] }, ptr @_ZTVN4Glip12CorePipeline12FilterLayoutE, i32 0, i32 2, i32 5), ptr %48, align 8, !tbaa !9
  %49 = getelementptr inbounds i8, ptr %36, i64 184
  store ptr getelementptr inbounds inrange(-48, 40) ({ [9 x ptr], [7 x ptr], [7 x ptr], [11 x ptr] }, ptr @_ZTVN4Glip12CorePipeline12FilterLayoutE, i32 0, i32 3, i32 6), ptr %49, align 8, !tbaa !9
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = call noundef zeroext i1 @_ZNKSt3mapIjPN4Glip6CoreGL12ShaderSourceESt4lessIjESaISt4pairIKjS3_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %50) #7
  br i1 %51, label %52, label %82

52:                                               ; preds = %43
  store i1 true, ptr %18, align 1
  %53 = call ptr @__cxa_allocate_exception(i64 152) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %54 unwind label %65

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

55:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 1, ptr %17, align 4, !tbaa !11
  invoke void @_ZN4Glip9ExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_iRKNS0_4TypeE(ptr noundef nonnull align 8 dereferenceable(152) %53, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef %15, i32 noundef 352, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %56 unwind label %73

56:                                               ; preds = %55
  store i1 false, ptr %18, align 1
  invoke void @__cxa_throw(ptr %53, ptr @_ZTIN4Glip9ExceptionE, ptr @_ZN4Glip9ExceptionD1Ev) #8
          to label %276 unwind label %73

57:                                               ; preds = %5
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %11, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %12, align 4
  br label %269

61:                                               ; preds = %40
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %11, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %12, align 4
  br label %268

65:                                               ; preds = %52
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %11, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %12, align 4
  br label %78

69:                                               ; preds = %54
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %11, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %12, align 4
  br label %77

73:                                               ; preds = %56, %55
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %11, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %77

77:                                               ; preds = %73, %69
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %78

78:                                               ; preds = %77, %65
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #7
  %79 = load i1, ptr %18, align 1
  br i1 %79, label %80, label %81

80:                                               ; preds = %78
  call void @__cxa_free_exception(ptr %53) #7
  br label %81

81:                                               ; preds = %80, %78
  br label %265

82:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #7
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %20) #7
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = call ptr @_ZNKSt3mapIjPN4Glip6CoreGL12ShaderSourceESt4lessIjESaISt4pairIKjS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %83) #7
  %85 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %21, i32 0, i32 0
  store ptr %84, ptr %85, align 8
  br label %86

86:                                               ; preds = %169, %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = call ptr @_ZNKSt3mapIjPN4Glip6CoreGL12ShaderSourceESt4lessIjESaISt4pairIKjS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %87) #7
  %89 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %22, i32 0, i32 0
  store ptr %88, ptr %89, align 8
  %90 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br i1 %90, label %92, label %91

91:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %173

92:                                               ; preds = %86
  %93 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %94 = getelementptr inbounds %"struct.std::pair", ptr %93, i32 0, i32 1
  %95 = load ptr, ptr %94, align 8, !tbaa !13
  %96 = icmp ne ptr %95, null
  br i1 %96, label %97, label %168

97:                                               ; preds = %92
  %98 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 272) #9
          to label %99 unwind label %146

99:                                               ; preds = %97
  %100 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %101 = getelementptr inbounds %"struct.std::pair", ptr %100, i32 0, i32 1
  %102 = load ptr, ptr %101, align 8, !tbaa !13
  invoke void @_ZN4Glip6CoreGL12ShaderSourceC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(272) %98, ptr noundef nonnull align 8 dereferenceable(272) %102)
          to label %103 unwind label %150

103:                                              ; preds = %99
  %104 = load ptr, ptr %36, align 8, !tbaa !9
  %105 = getelementptr i8, ptr %104, i64 -48
  %106 = load i64, ptr %105, align 8
  %107 = getelementptr inbounds i8, ptr %36, i64 %106
  %108 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractFilterLayout", ptr %107, i32 0, i32 1
  %109 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %110 = getelementptr inbounds %"struct.std::pair", ptr %109, i32 0, i32 0
  %111 = load i32, ptr %110, align 8, !tbaa !16
  %112 = invoke noundef i32 @_ZN4Glip6CoreGL12HandleOpenGL18getShaderTypeIndexEj(i32 noundef %111)
          to label %113 unwind label %146

113:                                              ; preds = %103
  %114 = zext i32 %112 to i64
  %115 = getelementptr inbounds [6 x ptr], ptr %108, i64 0, i64 %114
  store ptr %98, ptr %115, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #7
  %116 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %117 = getelementptr inbounds %"struct.std::pair", ptr %116, i32 0, i32 1
  %118 = load ptr, ptr %117, align 8, !tbaa !13
  %119 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL12ShaderSource12getInputVarsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(272) %118)
          to label %120 unwind label %154

120:                                              ; preds = %113
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %119)
          to label %121 unwind label %154

121:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  %122 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %123 = getelementptr inbounds %"struct.std::pair", ptr %122, i32 0, i32 1
  %124 = load ptr, ptr %123, align 8, !tbaa !13
  %125 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL12ShaderSource13getOutputVarsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(272) %124)
          to label %126 unwind label %158

126:                                              ; preds = %121
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %125)
          to label %127 unwind label %158

127:                                              ; preds = %126
  %128 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  %129 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %128, ptr %129, align 8
  %130 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  %131 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %130, ptr %131, align 8
  %132 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  %133 = load ptr, ptr %132, align 8
  %134 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8
  invoke void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertIN9__gnu_cxx17__normal_iteratorIPKS5_St6vectorIS5_S8_EEEEEvT_SI_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr %133, ptr %135)
          to label %136 unwind label %162

136:                                              ; preds = %127
  %137 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %138 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %137, ptr %138, align 8
  %139 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %140 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %139, ptr %140, align 8
  %141 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  %142 = load ptr, ptr %141, align 8
  %143 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  %144 = load ptr, ptr %143, align 8
  invoke void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertIN9__gnu_cxx17__normal_iteratorIPKS5_St6vectorIS5_S8_EEEEEvT_SI_(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr %142, ptr %144)
          to label %145 unwind label %162

145:                                              ; preds = %136
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  br label %168

146:                                              ; preds = %103, %97
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %11, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %12, align 4
  br label %172

150:                                              ; preds = %99
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %11, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %98, i64 noundef 272) #10
  br label %172

154:                                              ; preds = %120, %113
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %11, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %12, align 4
  br label %167

158:                                              ; preds = %126, %121
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %11, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %12, align 4
  br label %166

162:                                              ; preds = %136, %127
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %11, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %12, align 4
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  br label %166

166:                                              ; preds = %162, %158
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  br label %167

167:                                              ; preds = %166, %154
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  br label %172

168:                                              ; preds = %145, %92
  br label %169

169:                                              ; preds = %168
  %170 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %21, i32 noundef 0) #7
  %171 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %29, i32 0, i32 0
  store ptr %170, ptr %171, align 8
  br label %86, !llvm.loop !17

172:                                              ; preds = %167, %150, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %264

173:                                              ; preds = %91
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %174 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  %175 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.38", ptr %30, i32 0, i32 0
  store ptr %174, ptr %175, align 8
  br label %176

176:                                              ; preds = %189, %173
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %177 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  %178 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.38", ptr %31, i32 0, i32 0
  store ptr %177, ptr %178, align 8
  %179 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br i1 %179, label %181, label %180

180:                                              ; preds = %176
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %196

181:                                              ; preds = %176
  %182 = load ptr, ptr %36, align 8, !tbaa !9
  %183 = getelementptr i8, ptr %182, i64 -40
  %184 = load i64, ptr %183, align 8
  %185 = getelementptr inbounds i8, ptr %36, i64 %184
  %186 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  %187 = invoke noundef i32 @_ZN4Glip12CorePipeline15ComponentLayout12addInputPortERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull align 8 dereferenceable(32) %186)
          to label %188 unwind label %192

188:                                              ; preds = %181
  br label %189

189:                                              ; preds = %188
  %190 = call ptr @_ZNSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %30, i32 noundef 0) #7
  %191 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.38", ptr %32, i32 0, i32 0
  store ptr %190, ptr %191, align 8
  br label %176, !llvm.loop !19

192:                                              ; preds = %181
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %11, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %264

196:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %197 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  %198 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.38", ptr %33, i32 0, i32 0
  store ptr %197, ptr %198, align 8
  br label %199

199:                                              ; preds = %212, %196
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %200 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  %201 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.38", ptr %34, i32 0, i32 0
  store ptr %200, ptr %201, align 8
  %202 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br i1 %202, label %204, label %203

203:                                              ; preds = %199
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %219

204:                                              ; preds = %199
  %205 = load ptr, ptr %36, align 8, !tbaa !9
  %206 = getelementptr i8, ptr %205, i64 -40
  %207 = load i64, ptr %206, align 8
  %208 = getelementptr inbounds i8, ptr %36, i64 %207
  %209 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  %210 = invoke noundef i32 @_ZN4Glip12CorePipeline15ComponentLayout13addOutputPortERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %208, ptr noundef nonnull align 8 dereferenceable(32) %209)
          to label %211 unwind label %215

211:                                              ; preds = %204
  br label %212

212:                                              ; preds = %211
  %213 = call ptr @_ZNSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %33, i32 noundef 0) #7
  %214 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.38", ptr %35, i32 0, i32 0
  store ptr %213, ptr %214, align 8
  br label %199, !llvm.loop !20

215:                                              ; preds = %204
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %11, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %264

219:                                              ; preds = %203
  %220 = load ptr, ptr %10, align 8, !tbaa !5
  %221 = icmp ne ptr %220, null
  br i1 %221, label %222, label %245

222:                                              ; preds = %219
  %223 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 128) #9
          to label %224 unwind label %237

224:                                              ; preds = %222
  %225 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN4Glip12CorePipeline13GeometryModelC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(128) %223, ptr noundef nonnull align 8 dereferenceable(128) %225)
          to label %226 unwind label %241

226:                                              ; preds = %224
  %227 = load ptr, ptr %36, align 8, !tbaa !9
  %228 = getelementptr i8, ptr %227, i64 -48
  %229 = load i64, ptr %228, align 8
  %230 = getelementptr inbounds i8, ptr %36, i64 %229
  %231 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractFilterLayout", ptr %230, i32 0, i32 2
  store ptr %223, ptr %231, align 8, !tbaa !21
  %232 = load ptr, ptr %36, align 8, !tbaa !9
  %233 = getelementptr i8, ptr %232, i64 -48
  %234 = load i64, ptr %233, align 8
  %235 = getelementptr inbounds i8, ptr %36, i64 %234
  %236 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractFilterLayout", ptr %235, i32 0, i32 6
  store i8 0, ptr %236, align 1, !tbaa !24
  br label %263

237:                                              ; preds = %245, %222
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %11, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %12, align 4
  br label %264

241:                                              ; preds = %224
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %11, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %223, i64 noundef 128) #10
  br label %264

245:                                              ; preds = %219
  %246 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 128) #9
          to label %247 unwind label %237

247:                                              ; preds = %245
  invoke void @_ZN4Glip12CorePipeline18GeometryPrimitives12StandardQuadC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %246)
          to label %248 unwind label %259

248:                                              ; preds = %247
  %249 = load ptr, ptr %36, align 8, !tbaa !9
  %250 = getelementptr i8, ptr %249, i64 -48
  %251 = load i64, ptr %250, align 8
  %252 = getelementptr inbounds i8, ptr %36, i64 %251
  %253 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractFilterLayout", ptr %252, i32 0, i32 2
  store ptr %246, ptr %253, align 8, !tbaa !21
  %254 = load ptr, ptr %36, align 8, !tbaa !9
  %255 = getelementptr i8, ptr %254, i64 -48
  %256 = load i64, ptr %255, align 8
  %257 = getelementptr inbounds i8, ptr %36, i64 %256
  %258 = getelementptr inbounds %"class.Glip::CorePipeline::AbstractFilterLayout", ptr %257, i32 0, i32 6
  store i8 1, ptr %258, align 1, !tbaa !24
  br label %263

259:                                              ; preds = %247
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %11, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %246, i64 noundef 128) #10
  br label %264

263:                                              ; preds = %248, %226
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #7
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #7
  ret void

264:                                              ; preds = %259, %241, %237, %215, %192, %172
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #7
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #7
  br label %265

265:                                              ; preds = %264, %81
  %266 = getelementptr inbounds i8, ptr %36, i64 96
  call void @_ZN4Glip12CorePipeline20AbstractFilterLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(84) %266, ptr noundef getelementptr inbounds ([10 x ptr], ptr @_ZTTN4Glip12CorePipeline12FilterLayoutE, i64 0, i64 7)) #7
  %267 = getelementptr inbounds i8, ptr %36, i64 184
  call void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %267) #7
  br label %268

268:                                              ; preds = %265, %61
  call void @_ZN4Glip12CorePipeline15ComponentLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef getelementptr inbounds ([10 x ptr], ptr @_ZTTN4Glip12CorePipeline12FilterLayoutE, i64 0, i64 5)) #7
  br label %269

269:                                              ; preds = %268, %57
  %270 = getelementptr inbounds i8, ptr %36, i64 8
  call void @_ZN4Glip12CorePipeline23AbstractComponentLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %270) #7
  br label %271

271:                                              ; preds = %269
  %272 = load ptr, ptr %11, align 8
  %273 = load i32, ptr %12, align 4
  %274 = insertvalue { ptr, i32 } poison, ptr %272, 0
  %275 = insertvalue { ptr, i32 } %274, i32 %273, 1
  resume { ptr, i32 } %275

276:                                              ; preds = %56
  unreachable
}

; 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 #4 = { 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 #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 = { 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 }
attributes #8 = { noreturn }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN4Glip9Exception4TypeE", !7, i64 0}
!13 = !{!14, !6, i64 8}
!14 = !{!"_ZTSSt4pairIKjPN4Glip6CoreGL12ShaderSourceEE", !15, i64 0, !6, i64 8}
!15 = !{!"int", !7, i64 0}
!16 = !{!14, !15, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = !{!22, !6, i64 56}
!22 = !{!"_ZTSN4Glip12CorePipeline20AbstractFilterLayoutE", !7, i64 8, !6, i64 56, !23, i64 64, !23, i64 65, !23, i64 66, !23, i64 67, !15, i64 68, !15, i64 72, !15, i64 76, !15, i64 80}
!23 = !{!"bool", !7, i64 0}
!24 = !{!22, !23, i64 67}


; 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" = type { i8 }
%"class.std::set" = type { %"class.std::_Rb_tree.26" }
%"class.std::_Rb_tree.26" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_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 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"struct.std::_Rb_tree_const_iterator.38" = type { ptr }

@_ZTIN4Glip9ExceptionE = external constant ptr
@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@_ZTVN4Glip12CorePipeline12FilterLayoutE = external dso_local unnamed_addr constant { [9 x ptr], [7 x ptr], [7 x ptr], [11 x ptr] }, align 8
@_ZTTN4Glip12CorePipeline12FilterLayoutE = external dso_local unnamed_addr constant [10 x ptr], align 8
@.str.3 = external hidden unnamed_addr constant [55 x i8], align 1

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

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

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

declare void @_ZN4Glip12CorePipeline23AbstractComponentLayoutC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2

declare void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(52), ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_ZN4Glip6CoreGL12ShaderSourceC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef nonnull align 8 dereferenceable(272)) unnamed_addr #2

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

declare void @_ZN4Glip12CorePipeline13GeometryModelC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

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: nounwind
declare void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3

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

declare noundef i32 @_ZN4Glip6CoreGL12HandleOpenGL18getShaderTypeIndexEj(i32 noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertIN9__gnu_cxx17__normal_iteratorIPKS5_St6vectorIS5_S8_EEEEEvT_SI_(ptr noundef nonnull align 8 dereferenceable(48), ptr, ptr) local_unnamed_addr #6 align 2

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

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL12ShaderSource12getInputVarsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(272)) local_unnamed_addr #2

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL12ShaderSource13getOutputVarsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(272)) local_unnamed_addr #2

declare noundef i32 @_ZN4Glip12CorePipeline15ComponentLayout12addInputPortERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare noundef i32 @_ZN4Glip12CorePipeline15ComponentLayout13addOutputPortERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare void @_ZN4Glip12CorePipeline18GeometryPrimitives12StandardQuadC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #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

declare void @_ZN4Glip12CorePipeline15ComponentLayoutC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN4Glip12CorePipeline15ComponentLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Glip12CorePipeline12FilterLayoutC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6CoreGL24HdlAbstractTextureFormatERKSt3mapIjPNSA_12ShaderSourceESt4lessIjESaISt4pairIKjSG_EEEPNS0_13GeometryModelE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(52) %2, ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef %4) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::set", align 8
  %12 = alloca %"class.std::set", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"struct.std::_Rb_tree_const_iterator.38", align 8
  %18 = alloca %"struct.std::_Rb_tree_const_iterator.38", align 8
  %19 = alloca %"struct.std::_Rb_tree_const_iterator.38", align 8
  %20 = alloca %"struct.std::_Rb_tree_const_iterator.38", align 8
  %21 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZN4Glip12CorePipeline23AbstractComponentLayoutC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(88) %21, ptr noundef nonnull align 8 dereferenceable(32) %1)
  invoke void @_ZN4Glip12CorePipeline15ComponentLayoutC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZTTN4Glip12CorePipeline12FilterLayoutE, i64 40), ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %22 unwind label %32

22:                                               ; preds = %5
  %23 = getelementptr inbounds i8, ptr %0, i64 184
  invoke void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(52) %23, ptr noundef nonnull align 8 dereferenceable(52) %2)
          to label %24 unwind label %34

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %0, i64 96
  tail call void @_ZN4Glip12CorePipeline20AbstractFilterLayoutC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6CoreGL24HdlAbstractTextureFormatE(ptr noundef nonnull align 8 dereferenceable(84) %25, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZTTN4Glip12CorePipeline12FilterLayoutE, i64 56), ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(52) %2)
  store ptr getelementptr inbounds inrange(-56, 16) (i8, ptr @_ZTVN4Glip12CorePipeline12FilterLayoutE, i64 56), ptr %0, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-32, 24) (i8, ptr @_ZTVN4Glip12CorePipeline12FilterLayoutE, i64 104), ptr %21, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-40, 16) (i8, ptr @_ZTVN4Glip12CorePipeline12FilterLayoutE, i64 168), ptr %25, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-48, 40) (i8, ptr @_ZTVN4Glip12CorePipeline12FilterLayoutE, i64 232), ptr %23, align 8, !tbaa !5
  %26 = tail call noundef zeroext i1 @_ZNKSt3mapIjPN4Glip6CoreGL12ShaderSourceESt4lessIjESaISt4pairIKjS3_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  br i1 %26, label %27, label %43

27:                                               ; preds = %24
  %28 = tail call ptr @__cxa_allocate_exception(i64 152) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %29 unwind label %.thread

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

30:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  store i32 1, ptr %10, align 4, !tbaa !8
  invoke void @_ZN4Glip9ExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_iRKNS0_4TypeE(ptr noundef nonnull align 8 dereferenceable(152) %28, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull %8, i32 noundef 352, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %31 unwind label %39

31:                                               ; preds = %30
  invoke void @__cxa_throw(ptr nonnull %28, ptr nonnull @_ZTIN4Glip9ExceptionE, ptr nonnull @_ZN4Glip9ExceptionD1Ev) #8
          to label %156 unwind label %39

32:                                               ; preds = %5
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %155

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

.thread:                                          ; preds = %27
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %42

37:                                               ; preds = %29
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %41

39:                                               ; preds = %31, %30
  %.028 = phi i1 [ false, %31 ], [ true, %30 ]
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  br label %41

41:                                               ; preds = %37, %39
  %.129 = phi i1 [ %.028, %39 ], [ true, %37 ]
  %.pn37 = phi { ptr, i32 } [ %40, %39 ], [ %38, %37 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br i1 %.129, label %42, label %153

42:                                               ; preds = %.thread, %41
  %.pn37.pn45 = phi { ptr, i32 } [ %36, %.thread ], [ %.pn37, %41 ]
  call void @__cxa_free_exception(ptr %28) #7
  br label %153

43:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #7
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #7
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %44 = call ptr @_ZNKSt3mapIjPN4Glip6CoreGL12ShaderSourceESt4lessIjESaISt4pairIKjS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  store ptr %44, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %45 = call ptr @_ZNKSt3mapIjPN4Glip6CoreGL12ShaderSourceESt4lessIjESaISt4pairIKjS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  store ptr %45, ptr %14, align 8
  %46 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br i1 %46, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %99, %43
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %47 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %11) #7
  store ptr %47, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %48 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %11) #7
  store ptr %48, ptr %18, align 8
  %49 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br i1 %49, label %.lr.ph50, label %._crit_edge51

.lr.ph:                                           ; preds = %43, %99
  %50 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %51 = getelementptr inbounds i8, ptr %50, i64 8
  %52 = load ptr, ptr %51, align 8, !tbaa !11
  %.not32 = icmp eq ptr %52, null
  br i1 %.not32, label %99, label %53

53:                                               ; preds = %.lr.ph
  %54 = invoke noalias noundef nonnull dereferenceable(272) ptr @_Znwm(i64 noundef 272) #9
          to label %55 unwind label %87

55:                                               ; preds = %53
  %56 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %57 = getelementptr inbounds i8, ptr %56, i64 8
  %58 = load ptr, ptr %57, align 8, !tbaa !11
  invoke void @_ZN4Glip6CoreGL12ShaderSourceC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(272) %54, ptr noundef nonnull align 8 dereferenceable(272) %58)
          to label %59 unwind label %89

59:                                               ; preds = %55
  %60 = load ptr, ptr %0, align 8, !tbaa !5
  %61 = getelementptr i8, ptr %60, i64 -48
  %62 = load i64, ptr %61, align 8
  %63 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %64 = load i32, ptr %63, align 8, !tbaa !15
  %65 = invoke noundef i32 @_ZN4Glip6CoreGL12HandleOpenGL18getShaderTypeIndexEj(i32 noundef %64)
          to label %66 unwind label %87

66:                                               ; preds = %59
  %gep = getelementptr i8, ptr %21, i64 %62
  %67 = zext i32 %65 to i64
  %68 = getelementptr inbounds [6 x ptr], ptr %gep, i64 0, i64 %67
  store ptr %54, ptr %68, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  %69 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %70 = getelementptr inbounds i8, ptr %69, i64 8
  %71 = load ptr, ptr %70, align 8, !tbaa !11
  %72 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL12ShaderSource12getInputVarsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(272) %71)
          to label %73 unwind label %91

73:                                               ; preds = %66
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %72)
          to label %74 unwind label %91

74:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  %75 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  %77 = load ptr, ptr %76, align 8, !tbaa !11
  %78 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL12ShaderSource13getOutputVarsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(272) %77)
          to label %79 unwind label %93

79:                                               ; preds = %74
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %78)
          to label %80 unwind label %93

80:                                               ; preds = %79
  %81 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  %82 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  invoke void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertIN9__gnu_cxx17__normal_iteratorIPKS5_St6vectorIS5_S8_EEEEEvT_SI_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr %81, ptr %82)
          to label %83 unwind label %95

83:                                               ; preds = %80
  %84 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  %85 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  invoke void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertIN9__gnu_cxx17__normal_iteratorIPKS5_St6vectorIS5_S8_EEEEEvT_SI_(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr %84, ptr %85)
          to label %86 unwind label %95

86:                                               ; preds = %83
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %99

87:                                               ; preds = %59, %53
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %103

89:                                               ; preds = %55
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %54, i64 noundef 272) #10
  br label %103

91:                                               ; preds = %73, %66
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %98

93:                                               ; preds = %79, %74
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %97

95:                                               ; preds = %83, %80
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  br label %97

97:                                               ; preds = %95, %93
  %.pn = phi { ptr, i32 } [ %96, %95 ], [ %94, %93 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  br label %98

98:                                               ; preds = %97, %91
  %.pn.pn = phi { ptr, i32 } [ %.pn, %97 ], [ %92, %91 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %103

99:                                               ; preds = %.lr.ph, %86
  %100 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 0) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %101 = call ptr @_ZNKSt3mapIjPN4Glip6CoreGL12ShaderSourceESt4lessIjESaISt4pairIKjS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  store ptr %101, ptr %14, align 8
  %102 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKjPN4Glip6CoreGL12ShaderSourceEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br i1 %102, label %.lr.ph, label %._crit_edge, !llvm.loop !17

103:                                              ; preds = %98, %89, %87
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %98 ], [ %88, %87 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %152

._crit_edge51:                                    ; preds = %113, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %104 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %12) #7
  store ptr %104, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %105 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %12) #7
  store ptr %105, ptr %20, align 8
  %106 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br i1 %106, label %.lr.ph53, label %._crit_edge54

.lr.ph50:                                         ; preds = %._crit_edge, %113
  %107 = load ptr, ptr %0, align 8, !tbaa !5
  %108 = getelementptr i8, ptr %107, i64 -40
  %109 = load i64, ptr %108, align 8
  %110 = getelementptr inbounds i8, ptr %0, i64 %109
  %111 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %112 = invoke noundef i32 @_ZN4Glip12CorePipeline15ComponentLayout12addInputPortERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef nonnull align 8 dereferenceable(32) %111)
          to label %113 unwind label %117

113:                                              ; preds = %.lr.ph50
  %114 = call ptr @_ZNSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 0) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %115 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %11) #7
  store ptr %115, ptr %18, align 8
  %116 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br i1 %116, label %.lr.ph50, label %._crit_edge51, !llvm.loop !19

117:                                              ; preds = %.lr.ph50
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %152

._crit_edge54:                                    ; preds = %125, %._crit_edge51
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %138, label %131

.lr.ph53:                                         ; preds = %._crit_edge51, %125
  %119 = load ptr, ptr %0, align 8, !tbaa !5
  %120 = getelementptr i8, ptr %119, i64 -40
  %121 = load i64, ptr %120, align 8
  %122 = getelementptr inbounds i8, ptr %0, i64 %121
  %123 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  %124 = invoke noundef i32 @_ZN4Glip12CorePipeline15ComponentLayout13addOutputPortERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %122, ptr noundef nonnull align 8 dereferenceable(32) %123)
          to label %125 unwind label %129

125:                                              ; preds = %.lr.ph53
  %126 = call ptr @_ZNSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef 0) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %127 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %12) #7
  store ptr %127, ptr %20, align 8
  %128 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br i1 %128, label %.lr.ph53, label %._crit_edge54, !llvm.loop !20

129:                                              ; preds = %.lr.ph53
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br label %152

131:                                              ; preds = %._crit_edge54
  %132 = invoke noalias noundef nonnull dereferenceable(128) ptr @_Znwm(i64 noundef 128) #9
          to label %133 unwind label %134

133:                                              ; preds = %131
  invoke void @_ZN4Glip12CorePipeline13GeometryModelC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(128) %132, ptr noundef nonnull align 8 dereferenceable(128) %4)
          to label %143 unwind label %136

134:                                              ; preds = %138, %131
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %152

136:                                              ; preds = %133
  %137 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %132, i64 noundef 128) #10
  br label %152

138:                                              ; preds = %._crit_edge54
  %139 = invoke noalias noundef nonnull dereferenceable(128) ptr @_Znwm(i64 noundef 128) #9
          to label %140 unwind label %134

140:                                              ; preds = %138
  invoke void @_ZN4Glip12CorePipeline18GeometryPrimitives12StandardQuadC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %139)
          to label %143 unwind label %141

141:                                              ; preds = %140
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %139, i64 noundef 128) #10
  br label %152

143:                                              ; preds = %140, %133
  %.sink65 = phi ptr [ %132, %133 ], [ %139, %140 ]
  %.sink = phi i8 [ 0, %133 ], [ 1, %140 ]
  %144 = load ptr, ptr %0, align 8, !tbaa !5
  %145 = getelementptr i8, ptr %144, i64 -48
  %146 = load i64, ptr %145, align 8
  %147 = getelementptr inbounds i8, ptr %0, i64 %146
  %148 = getelementptr inbounds i8, ptr %147, i64 56
  store ptr %.sink65, ptr %148, align 8, !tbaa !21
  %149 = load i64, ptr %145, align 8
  %150 = getelementptr inbounds i8, ptr %0, i64 %149
  %151 = getelementptr inbounds i8, ptr %150, i64 67
  store i8 %.sink, ptr %151, align 1, !tbaa !24
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #7
  ret void

152:                                              ; preds = %141, %136, %134, %129, %117, %103
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %103 ], [ %118, %117 ], [ %130, %129 ], [ %137, %136 ], [ %135, %134 ], [ %142, %141 ]
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #7
  br label %153

153:                                              ; preds = %41, %42, %152
  %.pn37.pn.pn = phi { ptr, i32 } [ %.pn37.pn45, %42 ], [ %.pn37, %41 ], [ %.pn.pn.pn.pn, %152 ]
  call void @_ZN4Glip12CorePipeline20AbstractFilterLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(84) %25, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZTTN4Glip12CorePipeline12FilterLayoutE, i64 56)) #7
  call void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %23) #7
  br label %154

154:                                              ; preds = %153, %34
  %.pn37.pn.pn.pn = phi { ptr, i32 } [ %.pn37.pn.pn, %153 ], [ %35, %34 ]
  call void @_ZN4Glip12CorePipeline15ComponentLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZTTN4Glip12CorePipeline12FilterLayoutE, i64 40)) #7
  br label %155

155:                                              ; preds = %154, %32
  %.pn37.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn37.pn.pn.pn, %154 ], [ %33, %32 ]
  call void @_ZN4Glip12CorePipeline23AbstractComponentLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #7
  resume { ptr, i32 } %.pn37.pn.pn.pn.pn

156:                                              ; preds = %31
  unreachable
}

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 #4 = { 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 #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 = { 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 }
attributes #8 = { noreturn }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"_ZTSN4Glip9Exception4TypeE", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !14, i64 8}
!12 = !{!"_ZTSSt4pairIKjPN4Glip6CoreGL12ShaderSourceEE", !13, i64 0, !14, i64 8}
!13 = !{!"int", !10, i64 0}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!12, !13, i64 0}
!16 = !{!14, !14, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = !{!22, !14, i64 56}
!22 = !{!"_ZTSN4Glip12CorePipeline20AbstractFilterLayoutE", !10, i64 8, !14, i64 56, !23, i64 64, !23, i64 65, !23, i64 66, !23, i64 67, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80}
!23 = !{!"bool", !10, i64 0}
!24 = !{!22, !23, i64 67}


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