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

; 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.spirv_cross::TypedID.209" = type { i32 }
%"struct.std::__detail::_Node_const_iterator.233" = type { %"struct.std::__detail::_Node_iterator_base.230" }
%"struct.std::__detail::_Node_iterator_base.230" = type { ptr }
%"class.spirv_cross::DominatorBuilder" = type <{ ptr, i32, [4 x i8] }>
%"class.spirv_cross::CFG" = type <{ ptr, ptr, %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::unordered_map.2", %"class.std::unordered_map.16", %"class.spirv_cross::SmallVector", %"class.spirv_cross::SmallVector", i32, [4 x i8] }>
%"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.2" = type { %"class.std::_Hashtable.3" }
%"class.std::_Hashtable.3" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.16" = type { %"class.std::_Hashtable.17" }
%"class.std::_Hashtable.17" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.spirv_cross::SmallVector" = type { %"class.spirv_cross::VectorView", i64, %"class.spirv_cross::AlignedBuffer" }
%"class.spirv_cross::VectorView" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer" = type { [32 x i8] }
%"struct.spirv_cross::SPIRBlock" = type { %"struct.spirv_cross::IVariant.base", i32, i32, i32, %"class.spirv_cross::TypedID.209", %"class.spirv_cross::TypedID.209", %"class.spirv_cross::TypedID.209", %"class.spirv_cross::TypedID.201", %"class.spirv_cross::TypedID.201", %"class.spirv_cross::TypedID.209", %"class.spirv_cross::TypedID.209", %"class.spirv_cross::TypedID.209", %struct.anon, %"class.spirv_cross::SmallVector.218", %"class.spirv_cross::SmallVector.221", %"class.spirv_cross::SmallVector.224", %"class.spirv_cross::SmallVector.224", %"class.spirv_cross::SmallVector.227", %"class.spirv_cross::SmallVector.227", i8, i8, i8, %"class.spirv_cross::TypedID.209", %"class.spirv_cross::TypedID.209", %"class.spirv_cross::SmallVector.206", %"class.spirv_cross::SmallVector.206", %"class.spirv_cross::SmallVector.57" }
%"struct.spirv_cross::IVariant.base" = type <{ ptr, %"class.spirv_cross::TypedID.201" }>
%"class.spirv_cross::TypedID.201" = type { i32 }
%struct.anon = type { [3 x %"class.spirv_cross::TypedID.201"], %"class.spirv_cross::TypedID.201" }
%"class.spirv_cross::SmallVector.218" = type { %"class.spirv_cross::VectorView.219", i64, %"class.spirv_cross::AlignedBuffer.220" }
%"class.spirv_cross::VectorView.219" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.220" = type { [96 x i8] }
%"class.spirv_cross::SmallVector.221" = type { %"class.spirv_cross::VectorView.222", i64, %"class.spirv_cross::AlignedBuffer.223" }
%"class.spirv_cross::VectorView.222" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.223" = type { [96 x i8] }
%"class.spirv_cross::SmallVector.224" = type { %"class.spirv_cross::VectorView.225", i64, %"class.spirv_cross::AlignedBuffer.226" }
%"class.spirv_cross::VectorView.225" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.226" = type { [64 x i8] }
%"class.spirv_cross::SmallVector.227" = type { %"class.spirv_cross::VectorView.228", i64, %"class.spirv_cross::AlignedBuffer.229" }
%"class.spirv_cross::VectorView.228" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.229" = type { [128 x i8] }
%"class.spirv_cross::SmallVector.206" = type { %"class.spirv_cross::VectorView.207", i64, %"class.spirv_cross::AlignedBuffer.208" }
%"class.spirv_cross::VectorView.207" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.208" = type { [32 x i8] }
%"class.spirv_cross::SmallVector.57" = type { %"class.spirv_cross::VectorView.58", i64, %"class.spirv_cross::AlignedBuffer.59" }
%"class.spirv_cross::VectorView.58" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.59" = type { [32 x i8] }
%"struct.std::pair.231" = type { i32, %"class.spirv_cross::SmallVector" }
%"struct.spirv_cross::IVariant" = type <{ ptr, %"class.spirv_cross::TypedID.201", [4 x i8] }>

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK11spirv_cross3CFG41node_terminates_control_flow_in_sub_graphENS_7TypedIDILNS_5TypesE6EEES3_(ptr noundef nonnull align 8 dereferenceable(356) %0, i32 %1, i32 %2) #2 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca %"class.spirv_cross::TypedID.209", align 4
  %6 = alloca %"class.spirv_cross::TypedID.209", align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.spirv_cross::TypedID.209", align 4
  %10 = alloca %"struct.std::__detail::_Node_const_iterator.233", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.std::__detail::_Node_const_iterator.233", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.spirv_cross::DominatorBuilder", align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.spirv_cross::TypedID.209", align 4
  %28 = getelementptr inbounds %"class.spirv_cross::TypedID.209", ptr %5, i32 0, i32 0
  store i32 %1, ptr %28, align 4
  %29 = getelementptr inbounds %"class.spirv_cross::TypedID.209", ptr %6, i32 0, i32 0
  store i32 %2, ptr %29, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  %30 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %31 = getelementptr inbounds %"class.spirv_cross::CFG", ptr %30, i32 0, i32 0
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %33 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %5)
  %34 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %32, i32 noundef %33)
  store ptr %34, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE6EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %9, i32 noundef 0)
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %35, i32 0, i32 2
  %37 = load i32, ptr %36, align 8, !tbaa !25
  %38 = icmp eq i32 %37, 1
  br i1 %38, label %39, label %42

39:                                               ; preds = %3
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %40, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %41, i64 4, i1 false), !tbaa.struct !53
  br label %42

42:                                               ; preds = %39, %3
  br label %43

43:                                               ; preds = %252, %42
  %44 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %6)
  %45 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %5)
  %46 = icmp ne i32 %44, %45
  br i1 %46, label %47, label %253

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %48 = getelementptr inbounds %"class.spirv_cross::CFG", ptr %30, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %49 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %6)
  store i32 %49, ptr %11, align 4, !tbaa !54
  %50 = call ptr @_ZNKSt13unordered_mapIjN11spirv_cross11SmallVectorIjLm8EEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(56) %48, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %51 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.233", ptr %10, i32 0, i32 0
  %52 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.230", ptr %51, i32 0, i32 0
  store ptr %50, ptr %52, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %53 = getelementptr inbounds %"class.spirv_cross::CFG", ptr %30, i32 0, i32 2
  %54 = call ptr @_ZSt3endISt13unordered_mapIjN11spirv_cross11SmallVectorIjLm8EEESt4hashIjESt8equal_toIjESaISt4pairIKjS3_EEEEDTcldtfp_3endEERKT_(ptr noundef nonnull align 8 dereferenceable(56) %53)
  %55 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.233", ptr %12, i32 0, i32 0
  %56 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.230", ptr %55, i32 0, i32 0
  store ptr %54, ptr %56, align 8
  %57 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKjN11spirv_cross11SmallVectorIjLm8EEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br i1 %57, label %58, label %59

58:                                               ; preds = %47
  store i1 false, ptr %4, align 1
  store i32 1, ptr %13, align 4
  br label %250

59:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  call void @_ZN11spirv_cross16DominatorBuilderC1ERKNS_3CFGE(ptr noundef nonnull align 8 dereferenceable(12) %14, ptr noundef nonnull align 8 dereferenceable(356) %30)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %60 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKjN11spirv_cross11SmallVectorIjLm8EEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %61 = getelementptr inbounds %"struct.std::pair.231", ptr %60, i32 0, i32 1
  store ptr %61, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %62 = load ptr, ptr %15, align 8, !tbaa !5
  %63 = call noundef ptr @_ZNK11spirv_cross10VectorViewIjE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %62) #6
  store ptr %63, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %64 = load ptr, ptr %15, align 8, !tbaa !5
  %65 = call noundef ptr @_ZNK11spirv_cross10VectorViewIjE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %64) #6
  store ptr %65, ptr %17, align 8, !tbaa !5
  br label %66

66:                                               ; preds = %75, %59
  %67 = load ptr, ptr %16, align 8, !tbaa !5
  %68 = load ptr, ptr %17, align 8, !tbaa !5
  %69 = icmp ne ptr %67, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %66
  store i32 4, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %78

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %72 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %72, ptr %18, align 8, !tbaa !5
  %73 = load ptr, ptr %18, align 8, !tbaa !5
  %74 = load i32, ptr %73, align 4, !tbaa !54
  call void @_ZN11spirv_cross16DominatorBuilder9add_blockEj(ptr noundef nonnull align 8 dereferenceable(12) %14, i32 noundef %74)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %75

75:                                               ; preds = %71
  %76 = load ptr, ptr %16, align 8, !tbaa !5
  %77 = getelementptr inbounds i32, ptr %76, i32 1
  store ptr %77, ptr %16, align 8, !tbaa !5
  br label %66

78:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %79 = call noundef i32 @_ZNK11spirv_cross16DominatorBuilder13get_dominatorEv(ptr noundef nonnull align 8 dereferenceable(12) %14)
  store i32 %79, ptr %19, align 4, !tbaa !54
  %80 = load i32, ptr %19, align 4, !tbaa !54
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %82, label %83

82:                                               ; preds = %78
  store i1 false, ptr %4, align 1
  store i32 1, ptr %13, align 4
  br label %249

83:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %84 = getelementptr inbounds %"class.spirv_cross::CFG", ptr %30, i32 0, i32 0
  %85 = load ptr, ptr %84, align 8, !tbaa !9
  %86 = load i32, ptr %19, align 4, !tbaa !54
  %87 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %85, i32 noundef %86)
  store ptr %87, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  store i8 0, ptr %21, align 1, !tbaa !55
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  store i8 0, ptr %22, align 1, !tbaa !55
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  %88 = load ptr, ptr %20, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %88, i32 0, i32 2
  %90 = load i32, ptr %89, align 8, !tbaa !25
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %134, label %92

92:                                               ; preds = %83
  %93 = load ptr, ptr %20, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %93, i32 0, i32 2
  %95 = load i32, ptr %94, align 8, !tbaa !25
  %96 = icmp eq i32 %95, 2
  br i1 %96, label %97, label %112

97:                                               ; preds = %92
  %98 = load ptr, ptr %20, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %98, i32 0, i32 4
  %100 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %99)
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %112

102:                                              ; preds = %97
  %103 = getelementptr inbounds %"class.spirv_cross::CFG", ptr %30, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8, !tbaa !9
  %105 = load ptr, ptr %20, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %105, i32 0, i32 4
  %107 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %106)
  %108 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %104, i32 noundef %107)
  %109 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %108, i32 0, i32 1
  %110 = load i32, ptr %109, align 4, !tbaa !56
  %111 = icmp eq i32 %110, 5
  br i1 %111, label %134, label %112

112:                                              ; preds = %102, %97, %92
  %113 = load ptr, ptr %20, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %113, i32 0, i32 2
  %115 = load i32, ptr %114, align 8, !tbaa !25
  %116 = icmp eq i32 %115, 1
  br i1 %116, label %117, label %132

117:                                              ; preds = %112
  %118 = load ptr, ptr %20, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %118, i32 0, i32 5
  %120 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %119)
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %132

122:                                              ; preds = %117
  %123 = getelementptr inbounds %"class.spirv_cross::CFG", ptr %30, i32 0, i32 0
  %124 = load ptr, ptr %123, align 8, !tbaa !9
  %125 = load ptr, ptr %20, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %125, i32 0, i32 5
  %127 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %126)
  %128 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %124, i32 noundef %127)
  %129 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %128, i32 0, i32 1
  %130 = load i32, ptr %129, align 4, !tbaa !56
  %131 = icmp eq i32 %130, 5
  br label %132

132:                                              ; preds = %122, %117, %112
  %133 = phi i1 [ false, %117 ], [ false, %112 ], [ %131, %122 ]
  br label %134

134:                                              ; preds = %132, %102, %83
  %135 = phi i1 [ true, %102 ], [ true, %83 ], [ %133, %132 ]
  %136 = zext i1 %135 to i8
  store i8 %136, ptr %23, align 1, !tbaa !55
  %137 = load ptr, ptr %20, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %137, i32 0, i32 1
  %139 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %138)
  %140 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %5)
  %141 = icmp eq i32 %139, %140
  br i1 %141, label %145, label %142

142:                                              ; preds = %134
  %143 = load i8, ptr %23, align 1, !tbaa !55, !range !57, !noundef !58
  %144 = trunc i8 %143 to i1
  br i1 %144, label %145, label %183

145:                                              ; preds = %142, %134
  %146 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %9)
  %147 = icmp ne i32 %146, 0
  br i1 %147, label %148, label %182

148:                                              ; preds = %145
  %149 = load ptr, ptr %20, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %149, i32 0, i32 1
  %151 = load i32, ptr %150, align 4, !tbaa !56
  %152 = icmp eq i32 %151, 2
  br i1 %152, label %153, label %182

153:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %154 = getelementptr inbounds %"class.spirv_cross::CFG", ptr %30, i32 0, i32 0
  %155 = load ptr, ptr %154, align 8, !tbaa !9
  %156 = load ptr, ptr %20, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %156, i32 0, i32 9
  %158 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %157)
  %159 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %155, i32 noundef %158)
  store ptr %159, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %160 = getelementptr inbounds %"class.spirv_cross::CFG", ptr %30, i32 0, i32 0
  %161 = load ptr, ptr %160, align 8, !tbaa !9
  %162 = load ptr, ptr %20, align 8, !tbaa !5
  %163 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %162, i32 0, i32 10
  %164 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %163)
  %165 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %161, i32 noundef %164)
  store ptr %165, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %166 = getelementptr inbounds %"class.spirv_cross::CFG", ptr %30, i32 0, i32 0
  %167 = load ptr, ptr %166, align 8, !tbaa !9
  %168 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %9)
  %169 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %167, i32 noundef %168)
  store ptr %169, ptr %26, align 8, !tbaa !5
  %170 = getelementptr inbounds %"class.spirv_cross::CFG", ptr %30, i32 0, i32 0
  %171 = load ptr, ptr %170, align 8, !tbaa !9
  %172 = load ptr, ptr %24, align 8, !tbaa !5
  %173 = load ptr, ptr %26, align 8, !tbaa !5
  %174 = call noundef zeroext i1 @_ZNK11spirv_cross8Compiler23execution_is_branchlessERKNS_9SPIRBlockES3_(ptr noundef nonnull align 8 dereferenceable(3176) %171, ptr noundef nonnull align 8 dereferenceable(976) %172, ptr noundef nonnull align 8 dereferenceable(976) %173)
  %175 = zext i1 %174 to i8
  store i8 %175, ptr %21, align 1, !tbaa !55
  %176 = getelementptr inbounds %"class.spirv_cross::CFG", ptr %30, i32 0, i32 0
  %177 = load ptr, ptr %176, align 8, !tbaa !9
  %178 = load ptr, ptr %25, align 8, !tbaa !5
  %179 = load ptr, ptr %26, align 8, !tbaa !5
  %180 = call noundef zeroext i1 @_ZNK11spirv_cross8Compiler23execution_is_branchlessERKNS_9SPIRBlockES3_(ptr noundef nonnull align 8 dereferenceable(3176) %177, ptr noundef nonnull align 8 dereferenceable(976) %178, ptr noundef nonnull align 8 dereferenceable(976) %179)
  %181 = zext i1 %180 to i8
  store i8 %181, ptr %22, align 1, !tbaa !55
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %182

182:                                              ; preds = %153, %148, %145
  br label %183

183:                                              ; preds = %182, %142
  %184 = load ptr, ptr %20, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %184, i32 0, i32 2
  %186 = load i32, ptr %185, align 8, !tbaa !25
  %187 = icmp eq i32 %186, 2
  br i1 %187, label %188, label %194

188:                                              ; preds = %183
  %189 = load ptr, ptr %20, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %189, i32 0, i32 4
  %191 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %190)
  %192 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %6)
  %193 = icmp eq i32 %191, %192
  br i1 %193, label %244, label %194

194:                                              ; preds = %188, %183
  %195 = load ptr, ptr %20, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %195, i32 0, i32 2
  %197 = load i32, ptr %196, align 8, !tbaa !25
  %198 = icmp eq i32 %197, 1
  br i1 %198, label %199, label %205

199:                                              ; preds = %194
  %200 = load ptr, ptr %20, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %200, i32 0, i32 5
  %202 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %201)
  %203 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %6)
  %204 = icmp eq i32 %202, %203
  br i1 %204, label %244, label %205

205:                                              ; preds = %199, %194
  %206 = load ptr, ptr %20, align 8, !tbaa !5
  %207 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %206, i32 0, i32 1
  %208 = load i32, ptr %207, align 4, !tbaa !56
  %209 = icmp eq i32 %208, 1
  br i1 %209, label %210, label %216

210:                                              ; preds = %205
  %211 = load ptr, ptr %20, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %211, i32 0, i32 4
  %213 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %212)
  %214 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %6)
  %215 = icmp eq i32 %213, %214
  br i1 %215, label %244, label %216

216:                                              ; preds = %210, %205
  %217 = load ptr, ptr %20, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %217, i32 0, i32 1
  %219 = load i32, ptr %218, align 4, !tbaa !56
  %220 = icmp eq i32 %219, 2
  br i1 %220, label %221, label %230

221:                                              ; preds = %216
  %222 = load ptr, ptr %20, align 8, !tbaa !5
  %223 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %222, i32 0, i32 9
  %224 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %223)
  %225 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %6)
  %226 = icmp eq i32 %224, %225
  br i1 %226, label %227, label %230

227:                                              ; preds = %221
  %228 = load i8, ptr %22, align 1, !tbaa !55, !range !57, !noundef !58
  %229 = trunc i8 %228 to i1
  br i1 %229, label %244, label %230

230:                                              ; preds = %227, %221, %216
  %231 = load ptr, ptr %20, align 8, !tbaa !5
  %232 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %231, i32 0, i32 1
  %233 = load i32, ptr %232, align 4, !tbaa !56
  %234 = icmp eq i32 %233, 2
  br i1 %234, label %235, label %246

235:                                              ; preds = %230
  %236 = load ptr, ptr %20, align 8, !tbaa !5
  %237 = getelementptr inbounds %"struct.spirv_cross::SPIRBlock", ptr %236, i32 0, i32 10
  %238 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %237)
  %239 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %6)
  %240 = icmp eq i32 %238, %239
  br i1 %240, label %241, label %246

241:                                              ; preds = %235
  %242 = load i8, ptr %21, align 1, !tbaa !55, !range !57, !noundef !58
  %243 = trunc i8 %242 to i1
  br i1 %243, label %244, label %246

244:                                              ; preds = %241, %227, %210, %199, %188
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %245 = load i32, ptr %19, align 4, !tbaa !54
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE6EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %27, i32 noundef %245)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 %27, i64 4, i1 false), !tbaa.struct !53
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %247

246:                                              ; preds = %241, %235, %230
  store i1 false, ptr %4, align 1
  store i32 1, ptr %13, align 4
  br label %248

247:                                              ; preds = %244
  store i32 0, ptr %13, align 4
  br label %248

248:                                              ; preds = %247, %246
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %249

249:                                              ; preds = %248, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  br label %250

250:                                              ; preds = %249, %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  %251 = load i32, ptr %13, align 4
  switch i32 %251, label %254 [
    i32 0, label %252
  ]

252:                                              ; preds = %250
  br label %43, !llvm.loop !59

253:                                              ; preds = %43
  store i1 true, ptr %4, align 1
  store i32 1, ptr %13, align 4
  br label %254

254:                                              ; preds = %253, %250
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %255 = load i1, ptr %4, align 1
  ret i1 %255
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross7TypedIDILNS_5TypesE6EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross16DominatorBuilder9add_blockEj(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) #2 align 2

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

declare noundef zeroext i1 @_ZNK11spirv_cross8Compiler23execution_is_branchlessERKNS_9SPIRBlockES3_(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(976), ptr noundef nonnull align 8 dereferenceable(976)) #5

declare void @_ZN11spirv_cross16DominatorBuilderC1ERKNS_3CFGE(ptr, ptr)

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { "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 = !{!"_ZTSN11spirv_cross3CFGE", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 72, !17, i64 128, !19, i64 184, !21, i64 240, !21, i64 296, !24, i64 352}
!11 = !{!"_ZTSSt13unordered_mapIjN11spirv_cross11SmallVectorIjLm8EEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEE", !12, i64 0}
!12 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN11spirv_cross11SmallVectorIjLm8EEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !13, i64 8, !14, i64 16, !13, i64 24, !15, i64 32, !6, i64 48}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!15 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !16, i64 0, !13, i64 8}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTSSt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEE", !18, i64 0}
!18 = !{!"_ZTSSt10_HashtableIjSt4pairIKjjESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !13, i64 8, !14, i64 16, !13, i64 24, !15, i64 32, !6, i64 48}
!19 = !{!"_ZTSSt13unordered_mapIjN11spirv_cross3CFG10VisitOrderESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEE", !20, i64 0}
!20 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN11spirv_cross3CFG10VisitOrderEESaIS5_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !13, i64 8, !14, i64 16, !13, i64 24, !15, i64 32, !6, i64 48}
!21 = !{!"_ZTSN11spirv_cross11SmallVectorIjLm8EEE", !22, i64 0, !13, i64 16, !23, i64 24}
!22 = !{!"_ZTSN11spirv_cross10VectorViewIjEE", !6, i64 0, !13, i64 8}
!23 = !{!"_ZTSN11spirv_cross13AlignedBufferIjLm8EEE", !7, i64 0}
!24 = !{!"int", !7, i64 0}
!25 = !{!26, !30, i64 16}
!26 = !{!"_ZTSN11spirv_cross9SPIRBlockE", !27, i64 0, !29, i64 12, !30, i64 16, !31, i64 20, !32, i64 24, !32, i64 28, !32, i64 32, !28, i64 36, !28, i64 40, !32, i64 44, !32, i64 48, !32, i64 52, !33, i64 56, !34, i64 72, !37, i64 192, !40, i64 312, !40, i64 400, !43, i64 488, !43, i64 640, !46, i64 792, !46, i64 793, !46, i64 794, !32, i64 796, !32, i64 800, !47, i64 808, !47, i64 864, !50, i64 920}
!27 = !{!"_ZTSN11spirv_cross8IVariantE", !28, i64 8}
!28 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE0EEE", !24, i64 0}
!29 = !{!"_ZTSN11spirv_cross9SPIRBlock10TerminatorE", !7, i64 0}
!30 = !{!"_ZTSN11spirv_cross9SPIRBlock5MergeE", !7, i64 0}
!31 = !{!"_ZTSN11spirv_cross9SPIRBlock5HintsE", !7, i64 0}
!32 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE6EEE", !24, i64 0}
!33 = !{!"_ZTSN11spirv_cross9SPIRBlockUt1_E", !7, i64 0, !28, i64 12}
!34 = !{!"_ZTSN11spirv_cross11SmallVectorINS_11InstructionELm8EEE", !35, i64 0, !13, i64 16, !36, i64 24}
!35 = !{!"_ZTSN11spirv_cross10VectorViewINS_11InstructionEEE", !6, i64 0, !13, i64 8}
!36 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_11InstructionELm8EEE", !7, i64 0}
!37 = !{!"_ZTSN11spirv_cross11SmallVectorINS_9SPIRBlock3PhiELm8EEE", !38, i64 0, !13, i64 16, !39, i64 24}
!38 = !{!"_ZTSN11spirv_cross10VectorViewINS_9SPIRBlock3PhiEEE", !6, i64 0, !13, i64 8}
!39 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_9SPIRBlock3PhiELm8EEE", !7, i64 0}
!40 = !{!"_ZTSN11spirv_cross11SmallVectorISt4pairINS_7TypedIDILNS_5TypesE1EEENS2_ILS3_0EEEELm8EEE", !41, i64 0, !13, i64 16, !42, i64 24}
!41 = !{!"_ZTSN11spirv_cross10VectorViewISt4pairINS_7TypedIDILNS_5TypesE1EEENS2_ILS3_0EEEEEE", !6, i64 0, !13, i64 8}
!42 = !{!"_ZTSN11spirv_cross13AlignedBufferISt4pairINS_7TypedIDILNS_5TypesE1EEENS2_ILS3_0EEEELm8EEE", !7, i64 0}
!43 = !{!"_ZTSN11spirv_cross11SmallVectorINS_9SPIRBlock4CaseELm8EEE", !44, i64 0, !13, i64 16, !45, i64 24}
!44 = !{!"_ZTSN11spirv_cross10VectorViewINS_9SPIRBlock4CaseEEE", !6, i64 0, !13, i64 8}
!45 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_9SPIRBlock4CaseELm8EEE", !7, i64 0}
!46 = !{!"bool", !7, i64 0}
!47 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE2EEELm8EEE", !48, i64 0, !13, i64 16, !49, i64 24}
!48 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE2EEEEE", !6, i64 0, !13, i64 8}
!49 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE2EEELm8EEE", !7, i64 0}
!50 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEE", !51, i64 0, !13, i64 16, !52, i64 24}
!51 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE0EEEEE", !6, i64 0, !13, i64 8}
!52 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE0EEELm8EEE", !7, i64 0}
!53 = !{i64 0, i64 4, !54}
!54 = !{!24, !24, i64 0}
!55 = !{!46, !46, i64 0}
!56 = !{!26, !29, i64 12}
!57 = !{i8 0, i8 2}
!58 = !{}
!59 = distinct !{!59, !60}
!60 = !{!"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"

%"class.spirv_cross::TypedID.209" = type { i32 }
%"struct.std::__detail::_Node_const_iterator.233" = type { %"struct.std::__detail::_Node_iterator_base.230" }
%"struct.std::__detail::_Node_iterator_base.230" = type { ptr }
%"class.spirv_cross::DominatorBuilder" = type <{ ptr, i32, [4 x i8] }>

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK11spirv_cross10VectorViewIjE3endEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 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 #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK11spirv_cross3CFG41node_terminates_control_flow_in_sub_graphENS_7TypedIDILNS_5TypesE6EEES3_(ptr noundef nonnull align 8 dereferenceable(356) %0, i32 %1, i32 %2) local_unnamed_addr #2 align 2 {
  %4 = alloca %"class.spirv_cross::TypedID.209", align 4
  %5 = alloca %"class.spirv_cross::TypedID.209", align 4
  %6 = alloca %"class.spirv_cross::TypedID.209", align 4
  %7 = alloca %"struct.std::__detail::_Node_const_iterator.233", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"struct.std::__detail::_Node_const_iterator.233", align 8
  %10 = alloca %"class.spirv_cross::DominatorBuilder", align 8
  %11 = alloca %"class.spirv_cross::TypedID.209", align 4
  store i32 %1, ptr %4, align 4
  store i32 %2, ptr %5, align 4
  %12 = load ptr, ptr %0, align 8, !tbaa !5
  %13 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  %14 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %12, i32 noundef %13)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE6EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %6, i32 noundef 0)
  %15 = getelementptr inbounds i8, ptr %14, i64 16
  %16 = load i32, ptr %15, align 8, !tbaa !24
  %17 = icmp eq i32 %16, 1
  br i1 %17, label %18, label %21

18:                                               ; preds = %3
  %19 = getelementptr inbounds i8, ptr %14, i64 28
  %20 = load i32, ptr %19, align 4, !tbaa !52
  store i32 %20, ptr %6, align 4, !tbaa !52
  br label %21

21:                                               ; preds = %18, %3
  %22 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %5)
  %23 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  %.not76 = icmp eq i32 %22, %23
  br i1 %.not76, label %.loopexit, label %.lr.ph79

.lr.ph79:                                         ; preds = %21
  %24 = getelementptr inbounds i8, ptr %0, i64 16
  br label %25

25:                                               ; preds = %.lr.ph79, %134
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  %26 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %5)
  store i32 %26, ptr %8, align 4, !tbaa !52
  %27 = call ptr @_ZNKSt13unordered_mapIjN11spirv_cross11SmallVectorIjLm8EEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(56) %24, ptr noundef nonnull align 4 dereferenceable(4) %8)
  store ptr %27, ptr %7, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %28 = call ptr @_ZSt3endISt13unordered_mapIjN11spirv_cross11SmallVectorIjLm8EEESt4hashIjESt8equal_toIjESaISt4pairIKjS3_EEEEDTcldtfp_3endEERKT_(ptr noundef nonnull align 8 dereferenceable(56) %24)
  store ptr %28, ptr %9, align 8
  %29 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKjN11spirv_cross11SmallVectorIjLm8EEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br i1 %29, label %.thread, label %30

.thread:                                          ; preds = %25
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %.loopexit

30:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  call void @_ZN11spirv_cross16DominatorBuilderC1ERKNS_3CFGE(ptr noundef nonnull align 8 dereferenceable(12) %10, ptr noundef nonnull align 8 dereferenceable(356) %0)
  %31 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKjN11spirv_cross11SmallVectorIjLm8EEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = call noundef ptr @_ZNK11spirv_cross10VectorViewIjE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %32) #5
  %34 = call noundef ptr @_ZNK11spirv_cross10VectorViewIjE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %32) #5
  %.not5074 = icmp eq ptr %33, %34
  br i1 %.not5074, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %30
  %35 = call noundef i32 @_ZNK11spirv_cross16DominatorBuilder13get_dominatorEv(ptr noundef nonnull align 8 dereferenceable(12) %10)
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %.thread66, label %39

.lr.ph:                                           ; preds = %30, %.lr.ph
  %.04575 = phi ptr [ %38, %.lr.ph ], [ %33, %30 ]
  %37 = load i32, ptr %.04575, align 4, !tbaa !52
  call void @_ZN11spirv_cross16DominatorBuilder9add_blockEj(ptr noundef nonnull align 8 dereferenceable(12) %10, i32 noundef %37)
  %38 = getelementptr inbounds i8, ptr %.04575, i64 4
  %.not50 = icmp eq ptr %38, %34
  br i1 %.not50, label %._crit_edge, label %.lr.ph

39:                                               ; preds = %._crit_edge
  %40 = load ptr, ptr %0, align 8, !tbaa !5
  %41 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %40, i32 noundef %35)
  %42 = getelementptr inbounds i8, ptr %41, i64 16
  %43 = load i32, ptr %42, align 8, !tbaa !24
  switch i32 %43, label %54 [
    i32 0, label %67
    i32 2, label %44
  ]

44:                                               ; preds = %39
  %45 = getelementptr inbounds i8, ptr %41, i64 24
  %46 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %45)
  %.not51 = icmp eq i32 %46, 0
  br i1 %.not51, label %thread-pre-split, label %47

47:                                               ; preds = %44
  %48 = load ptr, ptr %0, align 8, !tbaa !5
  %49 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %45)
  %50 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %48, i32 noundef %49)
  %51 = getelementptr inbounds i8, ptr %50, i64 12
  %52 = load i32, ptr %51, align 4, !tbaa !53
  %53 = icmp eq i32 %52, 5
  br i1 %53, label %67, label %thread-pre-split

thread-pre-split:                                 ; preds = %44, %47
  %.pr = load i32, ptr %42, align 8, !tbaa !24
  br label %54

54:                                               ; preds = %thread-pre-split, %39
  %55 = phi i32 [ %.pr, %thread-pre-split ], [ %43, %39 ]
  %56 = icmp eq i32 %55, 1
  br i1 %56, label %57, label %67

57:                                               ; preds = %54
  %58 = getelementptr inbounds i8, ptr %41, i64 28
  %59 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %58)
  %.not52 = icmp eq i32 %59, 0
  br i1 %.not52, label %67, label %60

60:                                               ; preds = %57
  %61 = load ptr, ptr %0, align 8, !tbaa !5
  %62 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %58)
  %63 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %61, i32 noundef %62)
  %64 = getelementptr inbounds i8, ptr %63, i64 12
  %65 = load i32, ptr %64, align 4, !tbaa !53
  %66 = icmp eq i32 %65, 5
  br label %67

67:                                               ; preds = %39, %54, %57, %60, %47
  %68 = phi i1 [ true, %47 ], [ true, %39 ], [ false, %57 ], [ false, %54 ], [ %66, %60 ]
  %69 = getelementptr inbounds i8, ptr %41, i64 8
  %70 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %69)
  %71 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  %72 = icmp eq i32 %70, %71
  %brmerge = select i1 %72, i1 true, i1 %68
  br i1 %brmerge, label %73, label %94

73:                                               ; preds = %67
  %74 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %6)
  %.not53 = icmp ne i32 %74, 0
  %75 = getelementptr inbounds i8, ptr %41, i64 12
  %76 = load i32, ptr %75, align 4
  %77 = icmp eq i32 %76, 2
  %or.cond = select i1 %.not53, i1 %77, i1 false
  br i1 %or.cond, label %78, label %94

78:                                               ; preds = %73
  %79 = load ptr, ptr %0, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %41, i64 44
  %81 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %80)
  %82 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %79, i32 noundef %81)
  %83 = load ptr, ptr %0, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %41, i64 48
  %85 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %84)
  %86 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %83, i32 noundef %85)
  %87 = load ptr, ptr %0, align 8, !tbaa !5
  %88 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %6)
  %89 = call noundef nonnull align 8 dereferenceable(976) ptr @_ZN11spirv_cross8Compiler3getINS_9SPIRBlockEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %87, i32 noundef %88)
  %90 = load ptr, ptr %0, align 8, !tbaa !5
  %91 = call noundef zeroext i1 @_ZNK11spirv_cross8Compiler23execution_is_branchlessERKNS_9SPIRBlockES3_(ptr noundef nonnull align 8 dereferenceable(3176) %90, ptr noundef nonnull align 8 dereferenceable(976) %82, ptr noundef nonnull align 8 dereferenceable(976) %89)
  %92 = load ptr, ptr %0, align 8, !tbaa !5
  %93 = call noundef zeroext i1 @_ZNK11spirv_cross8Compiler23execution_is_branchlessERKNS_9SPIRBlockES3_(ptr noundef nonnull align 8 dereferenceable(3176) %92, ptr noundef nonnull align 8 dereferenceable(976) %86, ptr noundef nonnull align 8 dereferenceable(976) %89)
  br label %94

94:                                               ; preds = %67, %73, %78
  %.047 = phi i1 [ %93, %78 ], [ false, %73 ], [ false, %67 ]
  %.046 = phi i1 [ %91, %78 ], [ false, %73 ], [ false, %67 ]
  %95 = load i32, ptr %42, align 8, !tbaa !24
  %96 = icmp eq i32 %95, 2
  br i1 %96, label %97, label %102

97:                                               ; preds = %94
  %98 = getelementptr inbounds i8, ptr %41, i64 24
  %99 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %98)
  %100 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %5)
  %101 = icmp eq i32 %99, %100
  br i1 %101, label %134, label %thread-pre-split60

thread-pre-split60:                               ; preds = %97
  %.pr61 = load i32, ptr %42, align 8, !tbaa !24
  br label %102

102:                                              ; preds = %thread-pre-split60, %94
  %103 = phi i32 [ %.pr61, %thread-pre-split60 ], [ %95, %94 ]
  %104 = icmp eq i32 %103, 1
  br i1 %104, label %105, label %110

105:                                              ; preds = %102
  %106 = getelementptr inbounds i8, ptr %41, i64 28
  %107 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %106)
  %108 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %5)
  %109 = icmp eq i32 %107, %108
  br i1 %109, label %134, label %110

110:                                              ; preds = %105, %102
  %111 = getelementptr inbounds i8, ptr %41, i64 12
  %112 = load i32, ptr %111, align 4, !tbaa !53
  %113 = icmp eq i32 %112, 1
  br i1 %113, label %114, label %119

114:                                              ; preds = %110
  %115 = getelementptr inbounds i8, ptr %41, i64 24
  %116 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %115)
  %117 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %5)
  %118 = icmp eq i32 %116, %117
  br i1 %118, label %134, label %thread-pre-split62

thread-pre-split62:                               ; preds = %114
  %.pr63 = load i32, ptr %111, align 4, !tbaa !53
  br label %119

119:                                              ; preds = %thread-pre-split62, %110
  %120 = phi i32 [ %.pr63, %thread-pre-split62 ], [ %112, %110 ]
  %121 = icmp eq i32 %120, 2
  br i1 %121, label %122, label %.thread66

122:                                              ; preds = %119
  %123 = getelementptr inbounds i8, ptr %41, i64 44
  %124 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %123)
  %125 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %5)
  %126 = icmp eq i32 %124, %125
  %brmerge57.not = and i1 %.047, %126
  br i1 %brmerge57.not, label %134, label %127

127:                                              ; preds = %122
  %.pre = load i32, ptr %111, align 4, !tbaa !53
  %128 = icmp eq i32 %.pre, 2
  br i1 %128, label %129, label %.thread66

129:                                              ; preds = %127
  %130 = getelementptr inbounds i8, ptr %41, i64 48
  %131 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %130)
  %132 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %5)
  %133 = icmp eq i32 %131, %132
  %brmerge59.not = and i1 %.046, %133
  br i1 %brmerge59.not, label %134, label %.thread66

.thread66:                                        ; preds = %119, %._crit_edge, %129, %127
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %.loopexit

134:                                              ; preds = %97, %105, %114, %122, %129
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE6EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 noundef %35)
  %135 = load i32, ptr %11, align 4, !tbaa !52
  store i32 %135, ptr %5, align 4, !tbaa !52
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  %136 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %5)
  %137 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE6EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  %.not = icmp eq i32 %136, %137
  br i1 %.not, label %.loopexit, label %25, !llvm.loop !54

.loopexit:                                        ; preds = %134, %21, %.thread66, %.thread
  %.not73 = phi i1 [ false, %.thread66 ], [ false, %.thread ], [ true, %21 ], [ true, %134 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  ret i1 %.not73
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross7TypedIDILNS_5TypesE6EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross16DominatorBuilder9add_blockEj(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) local_unnamed_addr #2 align 2

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

declare noundef zeroext i1 @_ZNK11spirv_cross8Compiler23execution_is_branchlessERKNS_9SPIRBlockES3_(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(976), ptr noundef nonnull align 8 dereferenceable(976)) local_unnamed_addr #4

declare void @_ZN11spirv_cross16DominatorBuilderC1ERKNS_3CFGE(ptr, ptr) local_unnamed_addr

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { "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 = { 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_cross3CFGE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 72, !16, i64 128, !18, i64 184, !20, i64 240, !20, i64 296, !23, i64 352}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt13unordered_mapIjN11spirv_cross11SmallVectorIjLm8EEESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEE", !11, i64 0}
!11 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN11spirv_cross11SmallVectorIjLm8EEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !7, i64 0, !12, i64 8, !13, i64 16, !12, i64 24, !14, i64 32, !7, i64 48}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !7, i64 0}
!14 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !15, i64 0, !12, i64 8}
!15 = !{!"float", !8, i64 0}
!16 = !{!"_ZTSSt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEE", !17, i64 0}
!17 = !{!"_ZTSSt10_HashtableIjSt4pairIKjjESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !7, i64 0, !12, i64 8, !13, i64 16, !12, i64 24, !14, i64 32, !7, i64 48}
!18 = !{!"_ZTSSt13unordered_mapIjN11spirv_cross3CFG10VisitOrderESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEE", !19, i64 0}
!19 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN11spirv_cross3CFG10VisitOrderEESaIS5_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !7, i64 0, !12, i64 8, !13, i64 16, !12, i64 24, !14, i64 32, !7, i64 48}
!20 = !{!"_ZTSN11spirv_cross11SmallVectorIjLm8EEE", !21, i64 0, !12, i64 16, !22, i64 24}
!21 = !{!"_ZTSN11spirv_cross10VectorViewIjEE", !7, i64 0, !12, i64 8}
!22 = !{!"_ZTSN11spirv_cross13AlignedBufferIjLm8EEE", !8, i64 0}
!23 = !{!"int", !8, i64 0}
!24 = !{!25, !29, i64 16}
!25 = !{!"_ZTSN11spirv_cross9SPIRBlockE", !26, i64 0, !28, i64 12, !29, i64 16, !30, i64 20, !31, i64 24, !31, i64 28, !31, i64 32, !27, i64 36, !27, i64 40, !31, i64 44, !31, i64 48, !31, i64 52, !32, i64 56, !33, i64 72, !36, i64 192, !39, i64 312, !39, i64 400, !42, i64 488, !42, i64 640, !45, i64 792, !45, i64 793, !45, i64 794, !31, i64 796, !31, i64 800, !46, i64 808, !46, i64 864, !49, i64 920}
!26 = !{!"_ZTSN11spirv_cross8IVariantE", !27, i64 8}
!27 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE0EEE", !23, i64 0}
!28 = !{!"_ZTSN11spirv_cross9SPIRBlock10TerminatorE", !8, i64 0}
!29 = !{!"_ZTSN11spirv_cross9SPIRBlock5MergeE", !8, i64 0}
!30 = !{!"_ZTSN11spirv_cross9SPIRBlock5HintsE", !8, i64 0}
!31 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE6EEE", !23, i64 0}
!32 = !{!"_ZTSN11spirv_cross9SPIRBlockUt1_E", !8, i64 0, !27, i64 12}
!33 = !{!"_ZTSN11spirv_cross11SmallVectorINS_11InstructionELm8EEE", !34, i64 0, !12, i64 16, !35, i64 24}
!34 = !{!"_ZTSN11spirv_cross10VectorViewINS_11InstructionEEE", !7, i64 0, !12, i64 8}
!35 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_11InstructionELm8EEE", !8, i64 0}
!36 = !{!"_ZTSN11spirv_cross11SmallVectorINS_9SPIRBlock3PhiELm8EEE", !37, i64 0, !12, i64 16, !38, i64 24}
!37 = !{!"_ZTSN11spirv_cross10VectorViewINS_9SPIRBlock3PhiEEE", !7, i64 0, !12, i64 8}
!38 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_9SPIRBlock3PhiELm8EEE", !8, i64 0}
!39 = !{!"_ZTSN11spirv_cross11SmallVectorISt4pairINS_7TypedIDILNS_5TypesE1EEENS2_ILS3_0EEEELm8EEE", !40, i64 0, !12, i64 16, !41, i64 24}
!40 = !{!"_ZTSN11spirv_cross10VectorViewISt4pairINS_7TypedIDILNS_5TypesE1EEENS2_ILS3_0EEEEEE", !7, i64 0, !12, i64 8}
!41 = !{!"_ZTSN11spirv_cross13AlignedBufferISt4pairINS_7TypedIDILNS_5TypesE1EEENS2_ILS3_0EEEELm8EEE", !8, i64 0}
!42 = !{!"_ZTSN11spirv_cross11SmallVectorINS_9SPIRBlock4CaseELm8EEE", !43, i64 0, !12, i64 16, !44, i64 24}
!43 = !{!"_ZTSN11spirv_cross10VectorViewINS_9SPIRBlock4CaseEEE", !7, i64 0, !12, i64 8}
!44 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_9SPIRBlock4CaseELm8EEE", !8, i64 0}
!45 = !{!"bool", !8, i64 0}
!46 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE2EEELm8EEE", !47, i64 0, !12, i64 16, !48, i64 24}
!47 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE2EEEEE", !7, i64 0, !12, i64 8}
!48 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE2EEELm8EEE", !8, i64 0}
!49 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEE", !50, i64 0, !12, i64 16, !51, i64 24}
!50 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE0EEEEE", !7, i64 0, !12, i64 8}
!51 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE0EEELm8EEE", !8, i64 0}
!52 = !{!23, !23, i64 0}
!53 = !{!25, !28, i64 12}
!54 = distinct !{!54, !55}
!55 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass