; LLVM IR from Try/Tempest :: Engine/thirdparty/spirv_cross (spirv_cross)

; 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.std::__detail::_Node_iterator.289" = type { %"struct.std::__detail::_Node_iterator_base.259" }
%"struct.std::__detail::_Node_iterator_base.259" = type { ptr }
%"struct.spirv_cross::Compiler::CombinedImageSamplerHandler" = type { %"struct.spirv_cross::Compiler::OpcodeHandler", ptr, %"class.std::stack", %"class.std::stack.282" }
%"struct.spirv_cross::Compiler::OpcodeHandler" = type { ptr }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::unordered_map<unsigned int, unsigned int>, std::allocator<std::unordered_map<unsigned int, unsigned int>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::unordered_map<unsigned int, unsigned int>, std::allocator<std::unordered_map<unsigned int, unsigned int>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::unordered_map<unsigned int, unsigned int>, std::allocator<std::unordered_map<unsigned int, unsigned int>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::unordered_map<unsigned int, unsigned int>, std::allocator<std::unordered_map<unsigned int, unsigned int>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::stack.282" = type { %"class.std::deque.283" }
%"class.std::deque.283" = type { %"class.std::_Deque_base.284" }
%"class.std::_Deque_base.284" = type { %"struct.std::_Deque_base<spirv_cross::SPIRFunction *, std::allocator<spirv_cross::SPIRFunction *>>::_Deque_impl" }
%"struct.std::_Deque_base<spirv_cross::SPIRFunction *, std::allocator<spirv_cross::SPIRFunction *>>::_Deque_impl" = type { %"struct.std::_Deque_base<spirv_cross::SPIRFunction *, std::allocator<spirv_cross::SPIRFunction *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<spirv_cross::SPIRFunction *, std::allocator<spirv_cross::SPIRFunction *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.288", %"struct.std::_Deque_iterator.288" }
%"struct.std::_Deque_iterator.288" = type { ptr, ptr, ptr, ptr }
%"struct.spirv_cross::IVariant" = type <{ ptr, %"class.spirv_cross::TypedID.162", [4 x i8] }>
%"class.spirv_cross::TypedID.162" = type { i32 }
%"struct.std::pair.260" = type { i32, i32 }

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN11spirv_cross8Compiler27CombinedImageSamplerHandler15remap_parameterEj(ptr noundef nonnull align 8 dereferenceable(176) %0, i32 noundef %1) #1 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %"struct.std::__detail::_Node_iterator.289", align 8
  %10 = alloca %"struct.std::__detail::_Node_iterator.289", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  %11 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %12 = getelementptr inbounds %"struct.spirv_cross::Compiler::CombinedImageSamplerHandler", ptr %11, i32 0, i32 1
  %13 = load ptr, ptr %12, align 8, !tbaa !11
  %14 = load i32, ptr %5, align 4, !tbaa !9
  %15 = call noundef ptr @_ZN11spirv_cross8Compiler26maybe_get_backing_variableEj(ptr noundef nonnull align 8 dereferenceable(3176) %13, i32 noundef %14)
  store ptr %15, ptr %6, align 8, !tbaa !5
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %22

18:                                               ; preds = %2
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %19, i32 0, i32 1
  %21 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  store i32 %21, ptr %5, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %18, %2
  %23 = getelementptr inbounds %"struct.spirv_cross::Compiler::CombinedImageSamplerHandler", ptr %11, i32 0, i32 2
  %24 = call noundef zeroext i1 @_ZNKSt5stackISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESt5dequeIS9_SaIS9_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %23)
  br i1 %24, label %25, label %27

25:                                               ; preds = %22
  %26 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %26, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %46

27:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %28 = getelementptr inbounds %"struct.spirv_cross::Compiler::CombinedImageSamplerHandler", ptr %11, i32 0, i32 2
  %29 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5stackISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESt5dequeIS9_SaIS9_EEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %28)
  store ptr %29, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = call ptr @_ZNSt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) %30, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %32 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.289", ptr %9, i32 0, i32 0
  %33 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.259", ptr %32, i32 0, i32 0
  store ptr %31, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = call ptr @_ZSt3endISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(56) %34)
  %36 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.289", ptr %10, i32 0, i32 0
  %37 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.259", ptr %36, i32 0, i32 0
  store ptr %35, ptr %37, align 8
  %38 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjjELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br i1 %38, label %39, label %43

39:                                               ; preds = %27
  %40 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKjjELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  %41 = getelementptr inbounds %"struct.std::pair.260", ptr %40, i32 0, i32 1
  %42 = load i32, ptr %41, align 4, !tbaa !27
  store i32 %42, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %45

43:                                               ; preds = %27
  %44 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %44, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %45

45:                                               ; preds = %43, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %46

46:                                               ; preds = %45, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  %47 = load i32, ptr %3, align 4
  ret i32 %47
}

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @_ZSt3endISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(56)) #3

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

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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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, !6, i64 8}
!12 = !{!"_ZTSN11spirv_cross8Compiler27CombinedImageSamplerHandlerE", !13, i64 0, !6, i64 8, !14, i64 16, !21, i64 96}
!13 = !{!"_ZTSN11spirv_cross8Compiler13OpcodeHandlerE"}
!14 = !{!"_ZTSSt5stackISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESt5dequeIS9_SaIS9_EEE", !15, i64 0}
!15 = !{!"_ZTSSt5dequeISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESaIS9_EE", !16, i64 0}
!16 = !{!"_ZTSSt11_Deque_baseISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESaIS9_EE", !17, i64 0}
!17 = !{!"_ZTSNSt11_Deque_baseISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESaIS9_EE11_Deque_implE", !18, i64 0}
!18 = !{!"_ZTSNSt11_Deque_baseISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESaIS9_EE16_Deque_impl_dataE", !6, i64 0, !19, i64 8, !20, i64 16, !20, i64 48}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSSt15_Deque_iteratorISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEERS9_PS9_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!21 = !{!"_ZTSSt5stackIPN11spirv_cross12SPIRFunctionESt5dequeIS2_SaIS2_EEE", !22, i64 0}
!22 = !{!"_ZTSSt5dequeIPN11spirv_cross12SPIRFunctionESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt11_Deque_baseIPN11spirv_cross12SPIRFunctionESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSNSt11_Deque_baseIPN11spirv_cross12SPIRFunctionESaIS2_EE11_Deque_implE", !25, i64 0}
!25 = !{!"_ZTSNSt11_Deque_baseIPN11spirv_cross12SPIRFunctionESaIS2_EE16_Deque_impl_dataE", !6, i64 0, !19, i64 8, !26, i64 16, !26, i64 48}
!26 = !{!"_ZTSSt15_Deque_iteratorIPN11spirv_cross12SPIRFunctionERS2_PS2_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!27 = !{!28, !10, i64 4}
!28 = !{!"_ZTSSt4pairIKjjE", !10, i64 0, !10, i64 4}


; 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.std::__detail::_Node_iterator.289" = type { %"struct.std::__detail::_Node_iterator_base.259" }
%"struct.std::__detail::_Node_iterator_base.259" = type { ptr }

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN11spirv_cross8Compiler27CombinedImageSamplerHandler15remap_parameterEj(ptr noundef nonnull align 8 dereferenceable(176) %0, i32 noundef %1) local_unnamed_addr #1 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca %"struct.std::__detail::_Node_iterator.289", align 8
  %5 = alloca %"struct.std::__detail::_Node_iterator.289", align 8
  store i32 %1, ptr %3, align 4, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load ptr, ptr %6, align 8, !tbaa !9
  %8 = tail call noundef ptr @_ZN11spirv_cross8Compiler26maybe_get_backing_variableEj(ptr noundef nonnull align 8 dereferenceable(3176) %7, i32 noundef %1)
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %12, label %9

9:                                                ; preds = %2
  %10 = getelementptr inbounds i8, ptr %8, i64 8
  %11 = tail call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %10)
  store i32 %11, ptr %3, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %9, %2
  %13 = phi i32 [ %11, %9 ], [ %1, %2 ]
  %14 = getelementptr inbounds i8, ptr %0, i64 16
  %15 = tail call noundef zeroext i1 @_ZNKSt5stackISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESt5dequeIS9_SaIS9_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
  br i1 %15, label %25, label %16

16:                                               ; preds = %12
  %17 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5stackISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESt5dequeIS9_SaIS9_EEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %18 = call ptr @_ZNSt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 4 dereferenceable(4) %3)
  store ptr %18, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %19 = call ptr @_ZSt3endISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(56) %17)
  store ptr %19, ptr %5, align 8
  %20 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjjELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br i1 %20, label %21, label %24

21:                                               ; preds = %16
  %22 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKjjELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %23 = getelementptr inbounds i8, ptr %22, i64 4
  br label %24

24:                                               ; preds = %16, %21
  %.0.in = phi ptr [ %23, %21 ], [ %3, %16 ]
  %.0 = load i32, ptr %.0.in, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  br label %25

25:                                               ; preds = %12, %24
  %.1 = phi i32 [ %.0, %24 ], [ %13, %12 ]
  ret i32 %.1
}

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @_ZSt3endISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3

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

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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"_ZTSN11spirv_cross8Compiler27CombinedImageSamplerHandlerE", !11, i64 0, !12, i64 8, !13, i64 16, !20, i64 96}
!11 = !{!"_ZTSN11spirv_cross8Compiler13OpcodeHandlerE"}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"_ZTSSt5stackISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESt5dequeIS9_SaIS9_EEE", !14, i64 0}
!14 = !{!"_ZTSSt5dequeISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESaIS9_EE", !15, i64 0}
!15 = !{!"_ZTSSt11_Deque_baseISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESaIS9_EE", !16, i64 0}
!16 = !{!"_ZTSNSt11_Deque_baseISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESaIS9_EE11_Deque_implE", !17, i64 0}
!17 = !{!"_ZTSNSt11_Deque_baseISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEESaIS9_EE16_Deque_impl_dataE", !12, i64 0, !18, i64 8, !19, i64 16, !19, i64 48}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSSt15_Deque_iteratorISt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEERS9_PS9_E", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!20 = !{!"_ZTSSt5stackIPN11spirv_cross12SPIRFunctionESt5dequeIS2_SaIS2_EEE", !21, i64 0}
!21 = !{!"_ZTSSt5dequeIPN11spirv_cross12SPIRFunctionESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt11_Deque_baseIPN11spirv_cross12SPIRFunctionESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt11_Deque_baseIPN11spirv_cross12SPIRFunctionESaIS2_EE11_Deque_implE", !24, i64 0}
!24 = !{!"_ZTSNSt11_Deque_baseIPN11spirv_cross12SPIRFunctionESaIS2_EE16_Deque_impl_dataE", !12, i64 0, !18, i64 8, !25, i64 16, !25, i64 48}
!25 = !{!"_ZTSSt15_Deque_iteratorIPN11spirv_cross12SPIRFunctionERS2_PS2_E", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}


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