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

; 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.spirv_cross::CompilerGLSL::ShaderSubgroupSupportHelper::Result" = type { [10 x i32] }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.74" }
%"class.std::_Hashtable.74" = 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.spirv_cross::SmallVector.313" = type { %"class.spirv_cross::VectorView.314", i64, %"class.spirv_cross::AlignedBuffer.315" }
%"class.spirv_cross::VectorView.314" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.315" = type { [40 x i8] }
%"class.spirv_cross::SmallVector.494" = type { %"class.spirv_cross::VectorView.495", i64, %"class.spirv_cross::AlignedBuffer.496" }
%"class.spirv_cross::VectorView.495" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.496" = type { [32 x i8] }
%"struct.std::__detail::_Node_iterator.364" = type { %"struct.std::__detail::_Node_iterator_base.365" }
%"struct.std::__detail::_Node_iterator_base.365" = type { ptr }
%"struct.spirv_cross::CompilerGLSL::ShaderSubgroupSupportHelper" = type { 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper7resolveEv(ptr dead_on_unwind noalias writable sret(%"struct.spirv_cross::CompilerGLSL::ShaderSubgroupSupportHelper::Result") align 4 %0, ptr noundef nonnull align 4 dereferenceable(4) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::unordered_set", align 8
  %8 = alloca %"class.spirv_cross::SmallVector.313", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.spirv_cross::SmallVector.494", align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.spirv_cross::SmallVector.313", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"struct.std::__detail::_Node_iterator.364", align 8
  %19 = alloca %"struct.std::__detail::_Node_iterator.364", align 8
  %20 = alloca i32, align 4
  store ptr %1, ptr %3, align 8, !tbaa !5
  %21 = load ptr, ptr %3, align 8
  call void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper6ResultC1Ev(ptr noundef nonnull align 4 dereferenceable(40) %0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %109, %2
  %23 = load i32, ptr %4, align 4, !tbaa !9
  %24 = icmp ult i32 %23, 28
  br i1 %24, label %26, label %25

25:                                               ; preds = %22
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %112

26:                                               ; preds = %22
  %27 = getelementptr inbounds %"struct.spirv_cross::CompilerGLSL::ShaderSubgroupSupportHelper", ptr %21, i32 0, i32 0
  %28 = load i32, ptr %27, align 4, !tbaa !11
  %29 = load i32, ptr %4, align 4, !tbaa !9
  %30 = shl i32 1, %29
  %31 = and i32 %28, %30
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %33, label %108

33:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %34 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %34, ptr %6, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 56, ptr %7) #4
  call void @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %8) #4
  %35 = load i32, ptr %6, align 4, !tbaa !13
  invoke void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper26get_candidates_for_featureENS1_7FeatureE(ptr dead_on_unwind writable sret(%"class.spirv_cross::SmallVector.313") align 8 %8, i32 noundef %35)
          to label %36 unwind label %50

36:                                               ; preds = %33
  %37 = call noundef ptr @_ZN11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #4
  %38 = call noundef ptr @_ZN11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #4
  invoke void @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE6insertIPN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEEEvT_SC_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef %37, ptr noundef %38)
          to label %39 unwind label %54

39:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 56, ptr %11) #4
  %40 = load i32, ptr %6, align 4, !tbaa !13
  call void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper24get_feature_dependenciesENS1_7FeatureE(ptr dead_on_unwind writable sret(%"class.spirv_cross::SmallVector.494") align 8 %11, i32 noundef %40)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store ptr %11, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %41 = load ptr, ptr %12, align 8, !tbaa !5
  %42 = call noundef ptr @_ZN11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper7FeatureEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %41) #4
  store ptr %42, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  %44 = call noundef ptr @_ZN11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper7FeatureEE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %43) #4
  store ptr %44, ptr %14, align 8, !tbaa !5
  br label %45

45:                                               ; preds = %78, %39
  %46 = load ptr, ptr %13, align 8, !tbaa !5
  %47 = load ptr, ptr %14, align 8, !tbaa !5
  %48 = icmp ne ptr %46, %47
  br i1 %48, label %58, label %49

49:                                               ; preds = %45
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %82

50:                                               ; preds = %33
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %9, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %10, align 4
  br label %107

54:                                               ; preds = %36
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %9, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %10, align 4
  br label %106

58:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %59 = load ptr, ptr %13, align 8, !tbaa !5
  %60 = load i32, ptr %59, align 4, !tbaa !13
  store i32 %60, ptr %15, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #4
  %61 = load i32, ptr %15, align 4, !tbaa !13
  invoke void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper26get_candidates_for_featureENS1_7FeatureE(ptr dead_on_unwind writable sret(%"class.spirv_cross::SmallVector.313") align 8 %16, i32 noundef %61)
          to label %62 unwind label %69

62:                                               ; preds = %58
  %63 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN11spirv_cross11SmallVectorINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateELm10EEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef nonnull align 8 dereferenceable(64) %16) #4
  call void @_ZN11spirv_cross11SmallVectorINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateELm10EED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %16) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #4
  %64 = call noundef zeroext i1 @_ZNK11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #4
  br i1 %64, label %77, label %65

65:                                               ; preds = %62
  %66 = call noundef ptr @_ZN11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #4
  %67 = call noundef ptr @_ZN11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #4
  invoke void @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE6insertIPN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEEEvT_SC_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef %66, ptr noundef %67)
          to label %68 unwind label %73

68:                                               ; preds = %65
  br label %77

69:                                               ; preds = %58
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %9, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #4
  br label %81

73:                                               ; preds = %65
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %9, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %10, align 4
  br label %81

77:                                               ; preds = %68, %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %78

78:                                               ; preds = %77
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = getelementptr inbounds i32, ptr %79, i32 1
  store ptr %80, ptr %13, align 8, !tbaa !5
  br label %45

81:                                               ; preds = %73, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @_ZN11spirv_cross11SmallVectorINS_12CompilerGLSL27ShaderSubgroupSupportHelper7FeatureELm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #4
  br label %106

82:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  store ptr %7, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %83 = load ptr, ptr %17, align 8, !tbaa !5
  %84 = call ptr @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %83) #4
  %85 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.364", ptr %18, i32 0, i32 0
  %86 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.365", ptr %85, i32 0, i32 0
  store ptr %84, ptr %86, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %87 = load ptr, ptr %17, align 8, !tbaa !5
  %88 = call ptr @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %87) #4
  %89 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.364", ptr %19, i32 0, i32 0
  %90 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.365", ptr %89, i32 0, i32 0
  store ptr %88, ptr %90, align 8
  br label %91

91:                                               ; preds = %103, %82
  %92 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIjLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #4
  br i1 %92, label %94, label %93

93:                                               ; preds = %91
  store i32 7, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %105

94:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt8__detail14_Node_iteratorIjLb1ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  %96 = load i32, ptr %95, align 4, !tbaa !9
  store i32 %96, ptr %20, align 4, !tbaa !9
  %97 = getelementptr inbounds %"struct.spirv_cross::CompilerGLSL::ShaderSubgroupSupportHelper::Result", ptr %0, i32 0, i32 0
  %98 = load i32, ptr %20, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds [10 x i32], ptr %97, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !9
  %102 = add i32 %101, 1
  store i32 %102, ptr %100, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %103

103:                                              ; preds = %94
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorIjLb1ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  br label %91

105:                                              ; preds = %93
  call void @_ZN11spirv_cross11SmallVectorINS_12CompilerGLSL27ShaderSubgroupSupportHelper7FeatureELm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #4
  call void @_ZN11spirv_cross11SmallVectorINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateELm10EED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %8) #4
  call void @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %108

106:                                              ; preds = %81, %54
  call void @_ZN11spirv_cross11SmallVectorINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateELm10EED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #4
  br label %107

107:                                              ; preds = %106, %50
  call void @llvm.lifetime.end.p0(i64 64, ptr %8) #4
  call void @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %113

108:                                              ; preds = %105, %26
  br label %109

109:                                              ; preds = %108
  %110 = load i32, ptr %4, align 4, !tbaa !9
  %111 = add i32 %110, 1
  store i32 %111, ptr %4, align 4, !tbaa !9
  br label %22, !llvm.loop !15

112:                                              ; preds = %25
  ret void

113:                                              ; preds = %107
  %114 = load ptr, ptr %9, align 8
  %115 = load i32, ptr %10, align 4
  %116 = insertvalue { ptr, i32 } poison, ptr %114, 0
  %117 = insertvalue { ptr, i32 } %116, i32 %115, 1
  resume { ptr, i32 } %117
}

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper24get_feature_dependenciesENS1_7FeatureE(ptr dead_on_unwind noalias writable sret(%"class.spirv_cross::SmallVector.494") align 8, i32 noundef) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper26get_candidates_for_featureENS1_7FeatureE(ptr dead_on_unwind noalias writable sret(%"class.spirv_cross::SmallVector.313") align 8, i32 noundef) #2 align 2

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

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

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

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

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

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

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

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

declare void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper6ResultC1Ev(ptr)

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, !10, i64 0}
!12 = !{!"_ZTSN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelperE", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper7FeatureE", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


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

%"struct.spirv_cross::CompilerGLSL::ShaderSubgroupSupportHelper::Result" = type { [10 x i32] }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.74" }
%"class.std::_Hashtable.74" = 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.spirv_cross::SmallVector.313" = type { %"class.spirv_cross::VectorView.314", i64, %"class.spirv_cross::AlignedBuffer.315" }
%"class.spirv_cross::VectorView.314" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.315" = type { [40 x i8] }
%"class.spirv_cross::SmallVector.494" = type { %"class.spirv_cross::VectorView.495", i64, %"class.spirv_cross::AlignedBuffer.496" }
%"class.spirv_cross::VectorView.495" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.496" = type { [32 x i8] }
%"struct.std::__detail::_Node_iterator.364" = type { %"struct.std::__detail::_Node_iterator_base.365" }
%"struct.std::__detail::_Node_iterator_base.365" = 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper7resolveEv(ptr dead_on_unwind noalias writable sret(%"struct.spirv_cross::CompilerGLSL::ShaderSubgroupSupportHelper::Result") align 4 %0, ptr nocapture noundef nonnull readonly align 4 dereferenceable(4) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::unordered_set", align 8
  %4 = alloca %"class.spirv_cross::SmallVector.313", align 8
  %5 = alloca %"class.spirv_cross::SmallVector.494", align 8
  %6 = alloca %"class.spirv_cross::SmallVector.313", align 8
  %7 = alloca %"struct.std::__detail::_Node_iterator.364", align 8
  %8 = alloca %"struct.std::__detail::_Node_iterator.364", align 8
  tail call void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper6ResultC1Ev(ptr noundef nonnull align 4 dereferenceable(40) %0)
  br label %10

9:                                                ; preds = %44
  ret void

10:                                               ; preds = %2, %44
  %.028 = phi i32 [ 0, %2 ], [ %45, %44 ]
  %11 = load i32, ptr %1, align 4, !tbaa !5
  %12 = shl nuw nsw i32 1, %.028
  %13 = and i32 %11, %12
  %.not = icmp eq i32 %13, 0
  br i1 %.not, label %44, label %14

14:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #4
  call void @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #4
  call void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper26get_candidates_for_featureENS1_7FeatureE(ptr dead_on_unwind nonnull writable sret(%"class.spirv_cross::SmallVector.313") align 8 %4, i32 noundef %.028)
  %15 = call noundef ptr @_ZN11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  %16 = call noundef ptr @_ZN11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  invoke void @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE6insertIPN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEEEvT_SC_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef %15, ptr noundef %16)
          to label %17 unwind label %23

17:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %5) #4
  call void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper24get_feature_dependenciesENS1_7FeatureE(ptr dead_on_unwind nonnull writable sret(%"class.spirv_cross::SmallVector.494") align 8 %5, i32 noundef %.028)
  %18 = call noundef ptr @_ZN11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper7FeatureEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  %19 = call noundef ptr @_ZN11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper7FeatureEE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  %.not2123 = icmp eq ptr %18, %19
  br i1 %.not2123, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %33, %17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %20 = call ptr @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %3) #4
  store ptr %20, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %21 = call ptr @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %3) #4
  store ptr %21, ptr %8, align 8
  %22 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIjLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  br i1 %22, label %.lr.ph26, label %._crit_edge27

23:                                               ; preds = %14
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %43

.lr.ph:                                           ; preds = %17, %33
  %.02024 = phi ptr [ %34, %33 ], [ %18, %17 ]
  %25 = load i32, ptr %.02024, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #4
  call void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper26get_candidates_for_featureENS1_7FeatureE(ptr dead_on_unwind nonnull writable sret(%"class.spirv_cross::SmallVector.313") align 8 %6, i32 noundef %25)
  %26 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN11spirv_cross11SmallVectorINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateELm10EEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(64) %4, ptr noundef nonnull align 8 dereferenceable(64) %6) #4
  call void @_ZN11spirv_cross11SmallVectorINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateELm10EED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %6) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #4
  %27 = call noundef zeroext i1 @_ZNK11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  br i1 %27, label %33, label %28

28:                                               ; preds = %.lr.ph
  %29 = call noundef ptr @_ZN11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  %30 = call noundef ptr @_ZN11spirv_cross10VectorViewINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  invoke void @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE6insertIPN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateEEEvT_SC_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef %29, ptr noundef %30)
          to label %33 unwind label %31

31:                                               ; preds = %28
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11spirv_cross11SmallVectorINS_12CompilerGLSL27ShaderSubgroupSupportHelper7FeatureELm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #4
  br label %43

33:                                               ; preds = %28, %.lr.ph
  %34 = getelementptr inbounds i8, ptr %.02024, i64 4
  %.not21 = icmp eq ptr %34, %19
  br i1 %.not21, label %._crit_edge, label %.lr.ph

._crit_edge27:                                    ; preds = %.lr.ph26, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @_ZN11spirv_cross11SmallVectorINS_12CompilerGLSL27ShaderSubgroupSupportHelper7FeatureELm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #4
  call void @_ZN11spirv_cross11SmallVectorINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateELm10EED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #4
  call void @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #4
  br label %44

.lr.ph26:                                         ; preds = %._crit_edge, %.lr.ph26
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt8__detail14_Node_iteratorIjLb1ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  %36 = load i32, ptr %35, align 4, !tbaa !12
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds [10 x i32], ptr %0, i64 0, i64 %37
  %39 = load i32, ptr %38, align 4, !tbaa !12
  %40 = add i32 %39, 1
  store i32 %40, ptr %38, align 4, !tbaa !12
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorIjLb1ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  %42 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIjLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  br i1 %42, label %.lr.ph26, label %._crit_edge27

43:                                               ; preds = %31, %23
  %.pn = phi { ptr, i32 } [ %32, %31 ], [ %24, %23 ]
  call void @_ZN11spirv_cross11SmallVectorINS_12CompilerGLSL27ShaderSubgroupSupportHelper9CandidateELm10EED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #4
  call void @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #4
  resume { ptr, i32 } %.pn

44:                                               ; preds = %10, %._crit_edge27
  %45 = add nuw nsw i32 %.028, 1
  %exitcond.not = icmp eq i32 %45, 28
  br i1 %exitcond.not, label %9, label %10, !llvm.loop !13
}

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper24get_feature_dependenciesENS1_7FeatureE(ptr dead_on_unwind noalias writable sret(%"class.spirv_cross::SmallVector.494") align 8, i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper26get_candidates_for_featureENS1_7FeatureE(ptr dead_on_unwind noalias writable sret(%"class.spirv_cross::SmallVector.313") align 8, i32 noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

declare void @_ZN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper6ResultC1Ev(ptr) 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 = { 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, !7, i64 0}
!6 = !{!"_ZTSN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelperE", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTSN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelper7FeatureE", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass