; LLVM IR from Shimmen/ArkoseRenderer :: arkose/rendering/backend/shader (Shader)

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

%struct.Shader = type <{ %"class.std::vector", i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<ShaderFile, std::allocator<ShaderFile>>::_Vector_impl" }
%"struct.std::_Vector_base<ShaderFile, std::allocator<ShaderFile>>::_Vector_impl" = type { %"struct.std::_Vector_base<ShaderFile, std::allocator<ShaderFile>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ShaderFile, std::allocator<ShaderFile>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.ShaderFile = type <{ %"class.std::filesystem::__cxx11::path", %"class.std::vector.3", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.std::filesystem::__cxx11::path" = type { %"class.std::__cxx11::basic_string", %"struct.std::filesystem::__cxx11::path::_List" }
%"struct.std::filesystem::__cxx11::path::_List" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<ShaderDefine, std::allocator<ShaderDefine>>::_Vector_impl" }
%"struct.std::_Vector_base<ShaderDefine, std::allocator<ShaderDefine>>::_Vector_impl" = type { %"struct.std::_Vector_base<ShaderDefine, std::allocator<ShaderDefine>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ShaderDefine, std::allocator<ShaderDefine>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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::initializer_list" = type { ptr, i64 }
%"class.std::allocator" = type { i8 }

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

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

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN10ShaderFileC1ENSt10filesystem7__cxx114pathE11ShaderStageSt6vectorI12ShaderDefineSaIS5_EE(ptr noundef nonnull align 8 dereferenceable(100), ptr noundef, i32 noundef, ptr noundef) unnamed_addr #2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10ShaderFileC2ERKS_(ptr noundef nonnull align 8 dereferenceable(100), ptr noundef nonnull align 8 dereferenceable(100)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100)) unnamed_addr #5 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Shader17createMeshShadingENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_St6vectorI12ShaderDefineSaIS7_EE(ptr dead_on_unwind noalias writable sret(%struct.Shader) align 8 %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #1 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 %struct.ShaderFile, align 8
  %12 = alloca %"class.std::filesystem::__cxx11::path", align 8
  %13 = alloca %"class.std::vector.3", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %struct.ShaderFile, align 8
  %17 = alloca %"class.std::filesystem::__cxx11::path", align 8
  %18 = alloca %"class.std::vector.3", align 8
  %19 = alloca %struct.ShaderFile, align 8
  %20 = alloca %"class.std::filesystem::__cxx11::path", align 8
  %21 = alloca %"class.std::vector.3", align 8
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca %"class.std::initializer_list", align 8
  %24 = alloca [3 x %struct.ShaderFile], align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.std::allocator", align 1
  store ptr %0, ptr %6, align 8
  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
  call void @llvm.lifetime.start.p0(i64 104, ptr %11) #6
  call void @_ZNSt10filesystem7__cxx114pathC2EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_6formatE(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef zeroext 2)
  invoke void @_ZNSt6vectorI12ShaderDefineSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %27 unwind label %55

27:                                               ; preds = %5
  invoke void @_ZN10ShaderFileC1ENSt10filesystem7__cxx114pathE11ShaderStageSt6vectorI12ShaderDefineSaIS5_EE(ptr noundef nonnull align 8 dereferenceable(100) %11, ptr noundef %12, i32 noundef 256, ptr noundef %13)
          to label %28 unwind label %59

28:                                               ; preds = %27
  call void @_ZNSt6vectorI12ShaderDefineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @_ZNSt10filesystem7__cxx114pathD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #6
  call void @llvm.lifetime.start.p0(i64 104, ptr %16) #6
  invoke void @_ZNSt10filesystem7__cxx114pathC2EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_6formatE(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 8 dereferenceable(32) %2, i8 noundef zeroext 2)
          to label %29 unwind label %64

29:                                               ; preds = %28
  invoke void @_ZNSt6vectorI12ShaderDefineSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %30 unwind label %68

30:                                               ; preds = %29
  invoke void @_ZN10ShaderFileC1ENSt10filesystem7__cxx114pathE11ShaderStageSt6vectorI12ShaderDefineSaIS5_EE(ptr noundef nonnull align 8 dereferenceable(100) %16, ptr noundef %17, i32 noundef 512, ptr noundef %18)
          to label %31 unwind label %72

31:                                               ; preds = %30
  call void @_ZNSt6vectorI12ShaderDefineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @_ZNSt10filesystem7__cxx114pathD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #6
  call void @llvm.lifetime.start.p0(i64 104, ptr %19) #6
  invoke void @_ZNSt10filesystem7__cxx114pathC2EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_6formatE(ptr noundef nonnull align 8 dereferenceable(40) %20, ptr noundef nonnull align 8 dereferenceable(32) %3, i8 noundef zeroext 2)
          to label %32 unwind label %77

32:                                               ; preds = %31
  invoke void @_ZNSt6vectorI12ShaderDefineSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %33 unwind label %81

33:                                               ; preds = %32
  invoke void @_ZN10ShaderFileC1ENSt10filesystem7__cxx114pathE11ShaderStageSt6vectorI12ShaderDefineSaIS5_EE(ptr noundef nonnull align 8 dereferenceable(100) %19, ptr noundef %20, i32 noundef 2, ptr noundef %21)
          to label %34 unwind label %85

34:                                               ; preds = %33
  call void @_ZNSt6vectorI12ShaderDefineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  call void @_ZNSt10filesystem7__cxx114pathD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #6
  call void @llvm.lifetime.start.p0(i64 312, ptr %24) #6
  store ptr %24, ptr %25, align 8
  invoke void @_ZN10ShaderFileC2ERKS_(ptr noundef nonnull align 8 dereferenceable(100) %24, ptr noundef nonnull align 8 dereferenceable(100) %11)
          to label %35 unwind label %90

35:                                               ; preds = %34
  %36 = getelementptr inbounds %struct.ShaderFile, ptr %24, i64 1
  store ptr %36, ptr %25, align 8
  invoke void @_ZN10ShaderFileC2ERKS_(ptr noundef nonnull align 8 dereferenceable(100) %36, ptr noundef nonnull align 8 dereferenceable(100) %16)
          to label %37 unwind label %90

37:                                               ; preds = %35
  %38 = getelementptr inbounds %struct.ShaderFile, ptr %24, i64 2
  store ptr %38, ptr %25, align 8
  invoke void @_ZN10ShaderFileC2ERKS_(ptr noundef nonnull align 8 dereferenceable(100) %38, ptr noundef nonnull align 8 dereferenceable(100) %19)
          to label %39 unwind label %90

39:                                               ; preds = %37
  %40 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 0
  store ptr %24, ptr %40, align 8, !tbaa !9
  %41 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 1
  store i64 3, ptr %41, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #6
  call void @_ZNSaI10ShaderFileEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  %42 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8
  %44 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %45 = load i64, ptr %44, align 8
  invoke void @_ZNSt6vectorI10ShaderFileSaIS0_EEC2ESt16initializer_listIS0_ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr %43, i64 %45, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %46 unwind label %101

46:                                               ; preds = %39
  invoke void @_ZN6ShaderC1ESt6vectorI10ShaderFileSaIS1_EE10ShaderType(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef %22, i32 noundef 0)
          to label %47 unwind label %105

47:                                               ; preds = %46
  call void @_ZNSt6vectorI10ShaderFileSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  call void @_ZNSt15__new_allocatorI10ShaderFileED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  %48 = getelementptr inbounds [3 x %struct.ShaderFile], ptr %24, i32 0, i32 0
  %49 = getelementptr inbounds %struct.ShaderFile, ptr %48, i64 3
  br label %50

50:                                               ; preds = %50, %47
  %51 = phi ptr [ %49, %47 ], [ %52, %50 ]
  %52 = getelementptr inbounds %struct.ShaderFile, ptr %51, i64 -1
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %52) #6
  %53 = icmp eq ptr %52, %48
  br i1 %53, label %54, label %50

54:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 312, ptr %24) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %19) #6
  call void @llvm.lifetime.end.p0(i64 104, ptr %19) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %16) #6
  call void @llvm.lifetime.end.p0(i64 104, ptr %16) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %11) #6
  call void @llvm.lifetime.end.p0(i64 104, ptr %11) #6
  ret void

55:                                               ; preds = %5
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %14, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %15, align 4
  br label %63

59:                                               ; preds = %27
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %14, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %15, align 4
  call void @_ZNSt6vectorI12ShaderDefineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %63

63:                                               ; preds = %59, %55
  call void @_ZNSt10filesystem7__cxx114pathD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #6
  br label %120

64:                                               ; preds = %28
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %14, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %15, align 4
  br label %119

68:                                               ; preds = %29
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %14, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %15, align 4
  br label %76

72:                                               ; preds = %30
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %14, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %15, align 4
  call void @_ZNSt6vectorI12ShaderDefineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  br label %76

76:                                               ; preds = %72, %68
  call void @_ZNSt10filesystem7__cxx114pathD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #6
  br label %119

77:                                               ; preds = %31
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %14, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %15, align 4
  br label %118

81:                                               ; preds = %32
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %14, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %15, align 4
  br label %89

85:                                               ; preds = %33
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %14, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %15, align 4
  call void @_ZNSt6vectorI12ShaderDefineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  br label %89

89:                                               ; preds = %85, %81
  call void @_ZNSt10filesystem7__cxx114pathD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #6
  br label %118

90:                                               ; preds = %37, %35, %34
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %14, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %15, align 4
  %94 = load ptr, ptr %25, align 8
  %95 = icmp eq ptr %24, %94
  br i1 %95, label %100, label %96

96:                                               ; preds = %96, %90
  %97 = phi ptr [ %94, %90 ], [ %98, %96 ]
  %98 = getelementptr inbounds %struct.ShaderFile, ptr %97, i64 -1
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %98) #6
  %99 = icmp eq ptr %98, %24
  br i1 %99, label %100, label %96

100:                                              ; preds = %96, %90
  br label %117

101:                                              ; preds = %39
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %14, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %15, align 4
  br label %109

105:                                              ; preds = %46
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %14, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %15, align 4
  call void @_ZNSt6vectorI10ShaderFileSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  br label %109

109:                                              ; preds = %105, %101
  call void @_ZNSt15__new_allocatorI10ShaderFileED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  %110 = getelementptr inbounds [3 x %struct.ShaderFile], ptr %24, i32 0, i32 0
  %111 = getelementptr inbounds %struct.ShaderFile, ptr %110, i64 3
  br label %112

112:                                              ; preds = %112, %109
  %113 = phi ptr [ %111, %109 ], [ %114, %112 ]
  %114 = getelementptr inbounds %struct.ShaderFile, ptr %113, i64 -1
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %114) #6
  %115 = icmp eq ptr %114, %110
  br i1 %115, label %116, label %112

116:                                              ; preds = %112
  br label %117

117:                                              ; preds = %116, %100
  call void @llvm.lifetime.end.p0(i64 312, ptr %24) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %19) #6
  br label %118

118:                                              ; preds = %117, %89, %77
  call void @llvm.lifetime.end.p0(i64 104, ptr %19) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %16) #6
  br label %119

119:                                              ; preds = %118, %76, %64
  call void @llvm.lifetime.end.p0(i64 104, ptr %16) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %11) #6
  br label %120

120:                                              ; preds = %119, %63
  call void @llvm.lifetime.end.p0(i64 104, ptr %11) #6
  br label %121

121:                                              ; preds = %120
  %122 = load ptr, ptr %14, align 8
  %123 = load i32, ptr %15, align 4
  %124 = insertvalue { ptr, i32 } poison, ptr %122, 0
  %125 = insertvalue { ptr, i32 } %124, i32 %123, 1
  resume { ptr, i32 } %125
}

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

declare void @_ZN6ShaderC1ESt6vectorI10ShaderFileSaIS1_EE10ShaderType(ptr, ptr, i32)

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


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

%struct.Shader = type <{ %"class.std::vector", i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<ShaderFile, std::allocator<ShaderFile>>::_Vector_impl" }
%"struct.std::_Vector_base<ShaderFile, std::allocator<ShaderFile>>::_Vector_impl" = type { %"struct.std::_Vector_base<ShaderFile, std::allocator<ShaderFile>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ShaderFile, std::allocator<ShaderFile>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.ShaderFile = type <{ %"class.std::filesystem::__cxx11::path", %"class.std::vector.3", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.std::filesystem::__cxx11::path" = type { %"class.std::__cxx11::basic_string", %"struct.std::filesystem::__cxx11::path::_List" }
%"struct.std::filesystem::__cxx11::path::_List" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<ShaderDefine, std::allocator<ShaderDefine>>::_Vector_impl" }
%"struct.std::_Vector_base<ShaderDefine, std::allocator<ShaderDefine>>::_Vector_impl" = type { %"struct.std::_Vector_base<ShaderDefine, std::allocator<ShaderDefine>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ShaderDefine, std::allocator<ShaderDefine>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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 }

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

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

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN10ShaderFileC1ENSt10filesystem7__cxx114pathE11ShaderStageSt6vectorI12ShaderDefineSaIS5_EE(ptr noundef nonnull align 8 dereferenceable(100), ptr noundef, i32 noundef, ptr noundef) unnamed_addr #2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10ShaderFileC2ERKS_(ptr noundef nonnull align 8 dereferenceable(100), ptr noundef nonnull align 8 dereferenceable(100)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100)) unnamed_addr #5 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Shader17createMeshShadingENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_St6vectorI12ShaderDefineSaIS7_EE(ptr dead_on_unwind noalias writable sret(%struct.Shader) align 8 %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %struct.ShaderFile, align 8
  %7 = alloca %"class.std::filesystem::__cxx11::path", align 8
  %8 = alloca %"class.std::vector.3", align 8
  %9 = alloca %struct.ShaderFile, align 8
  %10 = alloca %"class.std::filesystem::__cxx11::path", align 8
  %11 = alloca %"class.std::vector.3", align 8
  %12 = alloca %struct.ShaderFile, align 8
  %13 = alloca %"class.std::filesystem::__cxx11::path", align 8
  %14 = alloca %"class.std::vector.3", align 8
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca [3 x %struct.ShaderFile], align 8
  %17 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %6) #6
  call void @_ZNSt10filesystem7__cxx114pathC2EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_6formatE(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef zeroext 2)
  invoke void @_ZNSt6vectorI12ShaderDefineSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %18 unwind label %36

18:                                               ; preds = %5
  invoke void @_ZN10ShaderFileC1ENSt10filesystem7__cxx114pathE11ShaderStageSt6vectorI12ShaderDefineSaIS5_EE(ptr noundef nonnull align 8 dereferenceable(100) %6, ptr noundef nonnull %7, i32 noundef 256, ptr noundef nonnull %8)
          to label %19 unwind label %38

19:                                               ; preds = %18
  call void @_ZNSt6vectorI12ShaderDefineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @_ZNSt10filesystem7__cxx114pathD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %9) #6
  invoke void @_ZNSt10filesystem7__cxx114pathC2EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_6formatE(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull align 8 dereferenceable(32) %2, i8 noundef zeroext 2)
          to label %20 unwind label %41

20:                                               ; preds = %19
  invoke void @_ZNSt6vectorI12ShaderDefineSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %21 unwind label %43

21:                                               ; preds = %20
  invoke void @_ZN10ShaderFileC1ENSt10filesystem7__cxx114pathE11ShaderStageSt6vectorI12ShaderDefineSaIS5_EE(ptr noundef nonnull align 8 dereferenceable(100) %9, ptr noundef nonnull %10, i32 noundef 512, ptr noundef nonnull %11)
          to label %22 unwind label %45

22:                                               ; preds = %21
  call void @_ZNSt6vectorI12ShaderDefineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @_ZNSt10filesystem7__cxx114pathD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #6
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %12) #6
  invoke void @_ZNSt10filesystem7__cxx114pathC2EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_6formatE(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(32) %3, i8 noundef zeroext 2)
          to label %23 unwind label %48

23:                                               ; preds = %22
  invoke void @_ZNSt6vectorI12ShaderDefineSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %24 unwind label %50

24:                                               ; preds = %23
  invoke void @_ZN10ShaderFileC1ENSt10filesystem7__cxx114pathE11ShaderStageSt6vectorI12ShaderDefineSaIS5_EE(ptr noundef nonnull align 8 dereferenceable(100) %12, ptr noundef nonnull %13, i32 noundef 2, ptr noundef nonnull %14)
          to label %25 unwind label %52

25:                                               ; preds = %24
  call void @_ZNSt6vectorI12ShaderDefineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @_ZNSt10filesystem7__cxx114pathD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.start.p0(i64 312, ptr nonnull %16) #6
  invoke void @_ZN10ShaderFileC2ERKS_(ptr noundef nonnull align 8 dereferenceable(100) %16, ptr noundef nonnull align 8 dereferenceable(100) %6)
          to label %27 unwind label %.thread

.thread:                                          ; preds = %25
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

27:                                               ; preds = %25
  %28 = getelementptr inbounds i8, ptr %16, i64 104
  invoke void @_ZN10ShaderFileC2ERKS_(ptr noundef nonnull align 8 dereferenceable(100) %28, ptr noundef nonnull align 8 dereferenceable(100) %9)
          to label %29 unwind label %55

29:                                               ; preds = %27
  %30 = getelementptr inbounds i8, ptr %16, i64 208
  invoke void @_ZN10ShaderFileC2ERKS_(ptr noundef nonnull align 8 dereferenceable(100) %30, ptr noundef nonnull align 8 dereferenceable(100) %12)
          to label %31 unwind label %55

31:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #6
  call void @_ZNSaI10ShaderFileEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  invoke void @_ZNSt6vectorI10ShaderFileSaIS0_EEC2ESt16initializer_listIS0_ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr nonnull %16, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %32 unwind label %61

32:                                               ; preds = %31
  invoke void @_ZN6ShaderC1ESt6vectorI10ShaderFileSaIS1_EE10ShaderType(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef nonnull %15, i32 noundef 0)
          to label %33 unwind label %63

33:                                               ; preds = %32
  call void @_ZNSt6vectorI10ShaderFileSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @_ZNSt15__new_allocatorI10ShaderFileED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  %34 = getelementptr inbounds i8, ptr %16, i64 208
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %34) #6
  %35 = getelementptr inbounds i8, ptr %16, i64 104
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %35) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %16) #6
  call void @llvm.lifetime.end.p0(i64 312, ptr nonnull %16) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %12) #6
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %12) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %9) #6
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %9) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %6) #6
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %6) #6
  ret void

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

38:                                               ; preds = %18
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI12ShaderDefineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %40

40:                                               ; preds = %38, %36
  %.pn = phi { ptr, i32 } [ %39, %38 ], [ %37, %36 ]
  call void @_ZNSt10filesystem7__cxx114pathD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  br label %69

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

43:                                               ; preds = %20
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %47

45:                                               ; preds = %21
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI12ShaderDefineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %47

47:                                               ; preds = %45, %43
  %.pn13 = phi { ptr, i32 } [ %46, %45 ], [ %44, %43 ]
  call void @_ZNSt10filesystem7__cxx114pathD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #6
  br label %68

48:                                               ; preds = %22
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %67

50:                                               ; preds = %23
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %24
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI12ShaderDefineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  br label %54

54:                                               ; preds = %52, %50
  %.pn15 = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @_ZNSt10filesystem7__cxx114pathD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  br label %67

55:                                               ; preds = %29, %27
  %.0 = phi ptr [ %30, %29 ], [ %28, %27 ]
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %57

57:                                               ; preds = %55, %57
  %58 = phi ptr [ %.0, %55 ], [ %59, %57 ]
  %59 = getelementptr inbounds i8, ptr %58, i64 -104
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %59) #6
  %60 = icmp eq ptr %59, %16
  br i1 %60, label %.loopexit, label %57

61:                                               ; preds = %31
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.loopexit

63:                                               ; preds = %32
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI10ShaderFileSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  br label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %63, %61
  %.pn17 = phi { ptr, i32 } [ %64, %63 ], [ %62, %61 ]
  call void @_ZNSt15__new_allocatorI10ShaderFileED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  %65 = getelementptr inbounds i8, ptr %16, i64 208
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %65) #6
  %66 = getelementptr inbounds i8, ptr %16, i64 104
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %66) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %16) #6
  br label %.loopexit

.loopexit:                                        ; preds = %57, %.loopexit.loopexit, %.thread
  %.pn17.pn = phi { ptr, i32 } [ %26, %.thread ], [ %.pn17, %.loopexit.loopexit ], [ %56, %57 ]
  call void @llvm.lifetime.end.p0(i64 312, ptr nonnull %16) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %12) #6
  br label %67

67:                                               ; preds = %.loopexit, %54, %48
  %.pn17.pn.pn = phi { ptr, i32 } [ %.pn17.pn, %.loopexit ], [ %.pn15, %54 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %12) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %9) #6
  br label %68

68:                                               ; preds = %67, %47, %41
  %.pn17.pn.pn.pn = phi { ptr, i32 } [ %.pn17.pn.pn, %67 ], [ %.pn13, %47 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %9) #6
  call void @_ZN10ShaderFileD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %6) #6
  br label %69

69:                                               ; preds = %68, %40
  %.pn17.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn17.pn.pn.pn, %68 ], [ %.pn, %40 ]
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %6) #6
  resume { ptr, i32 } %.pn17.pn.pn.pn.pn
}

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

declare void @_ZN6ShaderC1ESt6vectorI10ShaderFileSaIS1_EE10ShaderType(ptr, ptr, i32) local_unnamed_addr

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


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