; LLVM IR from Try/Tempest :: Engine/gapi/spirv/meshconverter.ll (ZN13MeshConverterC2ERN8libspirv15MutableBytecodeE)

; 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.MeshConverter = type <{ %"struct.MeshConverter::Options", [6 x i8], ptr, %"class.libspirv::MutableBytecode", %"class.libspirv::MutableBytecode", [3 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8], %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::unordered_map.5", %"class.std::vector.19", i32, i32, i32, i32, i32, i32, i8, [7 x i8] }>
%"struct.MeshConverter::Options" = type { i8, i8 }
%"class.libspirv::MutableBytecode" = type { %"class.libspirv::Bytecode.base", %"class.std::vector" }
%"class.libspirv::Bytecode.base" = type <{ ptr, i64, i32 }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<libspirv::Bytecode::OpCode, std::allocator<libspirv::Bytecode::OpCode>>::_Vector_impl" }
%"struct.std::_Vector_base<libspirv::Bytecode::OpCode, std::allocator<libspirv::Bytecode::OpCode>>::_Vector_impl" = type { %"struct.std::_Vector_base<libspirv::Bytecode::OpCode, std::allocator<libspirv::Bytecode::OpCode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<libspirv::Bytecode::OpCode, std::allocator<libspirv::Bytecode::OpCode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.5" = type { %"class.std::_Hashtable.6" }
%"class.std::_Hashtable.6" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13MeshConverterC2ERN8libspirv15MutableBytecodeE(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  %8 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 0
  call void @_ZN13MeshConverter7OptionsC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %8) #4
  %9 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 2
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %10, ptr %9, align 8, !tbaa !5
  %11 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 3
  call void @_ZN8libspirv15MutableBytecodeC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %11)
  %12 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 4
  invoke void @_ZN8libspirv15MutableBytecodeC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %13 unwind label %52

13:                                               ; preds = %2
  %14 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 5
  %15 = getelementptr inbounds i32, ptr %14, i64 3
  br label %16

16:                                               ; preds = %16, %13
  %17 = phi ptr [ %14, %13 ], [ %18, %16 ]
  store i32 0, ptr %17, align 4, !tbaa !9
  %18 = getelementptr inbounds i32, ptr %17, i64 1
  %19 = icmp eq ptr %18, %15
  br i1 %19, label %20, label %16

20:                                               ; preds = %16
  %21 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 6
  store i32 0, ptr %21, align 4, !tbaa !11
  %22 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 7
  store i32 0, ptr %22, align 8, !tbaa !33
  %23 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 8
  store i32 0, ptr %23, align 4, !tbaa !34
  %24 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 9
  store i32 0, ptr %24, align 8, !tbaa !35
  %25 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 10
  store i32 0, ptr %25, align 4, !tbaa !36
  %26 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 11
  store i32 0, ptr %26, align 8, !tbaa !37
  %27 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 12
  store i32 0, ptr %27, align 4, !tbaa !38
  %28 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 13
  store i32 0, ptr %28, align 8, !tbaa !39
  %29 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 14
  store i32 0, ptr %29, align 4, !tbaa !40
  %30 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 15
  store i32 0, ptr %30, align 8, !tbaa !41
  %31 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 16
  store i32 0, ptr %31, align 4, !tbaa !42
  %32 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 17
  store i32 0, ptr %32, align 8, !tbaa !43
  %33 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 18
  store i32 0, ptr %33, align 4, !tbaa !44
  %34 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 19
  store i32 0, ptr %34, align 8, !tbaa !45
  %35 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 20
  store i32 0, ptr %35, align 4, !tbaa !46
  %36 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 21
  store i32 0, ptr %36, align 8, !tbaa !47
  %37 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 22
  store i32 0, ptr %37, align 4, !tbaa !48
  %38 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 23
  store i32 0, ptr %38, align 8, !tbaa !49
  %39 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 24
  store i32 0, ptr %39, align 4, !tbaa !50
  %40 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 25
  store i32 0, ptr %40, align 8, !tbaa !51
  %41 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 27
  call void @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %41) #4
  %42 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 28
  call void @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %42) #4
  %43 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 29
  call void @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %43) #4
  %44 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 30
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #4
  %45 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 31
  store i32 0, ptr %45, align 8, !tbaa !52
  %46 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 32
  store i32 0, ptr %46, align 4, !tbaa !53
  %47 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 33
  store i32 0, ptr %47, align 8, !tbaa !54
  %48 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 34
  store i32 0, ptr %48, align 4, !tbaa !55
  %49 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 35
  store i32 0, ptr %49, align 8, !tbaa !56
  %50 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 36
  store i32 0, ptr %50, align 4, !tbaa !57
  %51 = getelementptr inbounds %class.MeshConverter, ptr %7, i32 0, i32 37
  store i8 0, ptr %51, align 8, !tbaa !58
  ret void

52:                                               ; preds = %2
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %5, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %6, align 4
  call void @_ZN8libspirv15MutableBytecodeD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #4
  br label %56

56:                                               ; preds = %52
  %57 = load ptr, ptr %5, align 8
  %58 = load i32, ptr %6, align 4
  %59 = insertvalue { ptr, i32 } poison, ptr %57, 0
  %60 = insertvalue { ptr, i32 } %59, i32 %58, 1
  resume { ptr, i32 } %60
}

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

declare void @_ZN8libspirv15MutableBytecodeC1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 124}
!12 = !{!"_ZTS13MeshConverter", !13, i64 0, !6, i64 8, !15, i64 16, !15, i64 64, !7, i64 112, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !22, i64 208, !22, i64 264, !27, i64 320, !29, i64 376, !10, i64 400, !10, i64 404, !10, i64 408, !10, i64 412, !10, i64 416, !10, i64 420, !14, i64 424}
!13 = !{!"_ZTSN13MeshConverter7OptionsE", !14, i64 0, !14, i64 1}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSN8libspirv15MutableBytecodeE", !16, i64 0, !18, i64 24}
!16 = !{!"_ZTSN8libspirv8BytecodeE", !6, i64 0, !17, i64 8, !10, i64 16}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSSt6vectorIN8libspirv8Bytecode6OpCodeESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE", !23, i64 0}
!23 = !{!"_ZTSSt10_HashtableIjSt4pairIKjmESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !17, i64 8, !24, i64 16, !17, i64 24, !25, i64 32, !6, i64 48}
!24 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!25 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !26, i64 0, !17, i64 8}
!26 = !{!"float", !7, i64 0}
!27 = !{!"_ZTSSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !28, i64 0}
!28 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN13MeshConverter7VaryingEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !17, i64 8, !24, i64 16, !17, i64 24, !25, i64 32, !6, i64 48}
!29 = !{!"_ZTSSt6vectorIjSaIjEE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!12, !10, i64 128}
!34 = !{!12, !10, i64 132}
!35 = !{!12, !10, i64 136}
!36 = !{!12, !10, i64 140}
!37 = !{!12, !10, i64 144}
!38 = !{!12, !10, i64 148}
!39 = !{!12, !10, i64 152}
!40 = !{!12, !10, i64 156}
!41 = !{!12, !10, i64 160}
!42 = !{!12, !10, i64 164}
!43 = !{!12, !10, i64 168}
!44 = !{!12, !10, i64 172}
!45 = !{!12, !10, i64 176}
!46 = !{!12, !10, i64 180}
!47 = !{!12, !10, i64 184}
!48 = !{!12, !10, i64 188}
!49 = !{!12, !10, i64 192}
!50 = !{!12, !10, i64 196}
!51 = !{!12, !10, i64 200}
!52 = !{!12, !10, i64 400}
!53 = !{!12, !10, i64 404}
!54 = !{!12, !10, i64 408}
!55 = !{!12, !10, i64 412}
!56 = !{!12, !10, i64 416}
!57 = !{!12, !10, i64 420}
!58 = !{!12, !14, i64 424}


; 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"

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13MeshConverterC2ERN8libspirv15MutableBytecodeE(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN13MeshConverter7OptionsC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %0) #5
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %3, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_ZN8libspirv15MutableBytecodeC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %4)
  %5 = getelementptr inbounds i8, ptr %0, i64 64
  invoke void @_ZN8libspirv15MutableBytecodeC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %5)
          to label %.preheader.preheader unwind label %11

.preheader.preheader:                             ; preds = %2
  %scevgep = getelementptr inbounds i8, ptr %0, i64 112
  %6 = getelementptr inbounds i8, ptr %0, i64 208
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(92) %scevgep, i8 0, i64 92, i1 false)
  tail call void @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #5
  %7 = getelementptr inbounds i8, ptr %0, i64 264
  tail call void @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #5
  %8 = getelementptr inbounds i8, ptr %0, i64 320
  tail call void @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #5
  %9 = getelementptr inbounds i8, ptr %0, i64 376
  tail call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %10 = getelementptr inbounds i8, ptr %0, i64 400
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(25) %10, i8 0, i64 25, i1 false)
  ret void

11:                                               ; preds = %2
  %12 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN8libspirv15MutableBytecodeD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #5
  resume { ptr, i32 } %12
}

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

declare void @_ZN8libspirv15MutableBytecodeC1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GVNPass,IndVarSimplifyPass,InstCombinePass,LoopIdiomRecognizePass,LoopSimplifyPass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass