; LLVM IR from hbatagelo/abcg :: abcg/external/glslang/SPIRV/SPVRemapper.ll (ZNK3spv10spirvbin_t8hashTypeEj)

; 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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.73" = type { i8 }
%"class.spv::spirvbin_t" = type <{ ptr, %"class.std::vector", %"class.std::vector.2", %"class.std::unordered_map", %"class.std::vector.12", %"class.std::unordered_map.17", %"class.std::unordered_map.37", %"class.std::set", %"class.std::unordered_map.37", %"class.std::unordered_map.54", %"class.std::vector", i32, i32, %"class.std::vector.68", i32, i32, i8, [7 x i8] }>
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.17" = type { %"class.std::_Hashtable.18" }
%"class.std::_Hashtable.18" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::unordered_map.37" = type { %"class.std::_Hashtable.38" }
%"class.std::_Hashtable.38" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.54" = type { %"class.std::_Hashtable.55" }
%"class.std::_Hashtable.55" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.68" = type { %"struct.std::_Vector_base.69" }
%"struct.std::_Vector_base.69" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.20 = external hidden unnamed_addr constant [20 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3spv10spirvbin_t5errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(473), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator.73", align 1
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  %24 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %25 = load i32, ptr %5, align 4, !tbaa !9
  %26 = call noundef i32 @_ZNK3spv10spirvbin_t11asWordCountEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %25)
  store i32 %26, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = call noundef i32 @_ZNK3spv10spirvbin_t8asOpCodeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %27)
  store i32 %28, ptr %7, align 4, !tbaa !11
  %29 = load i32, ptr %7, align 4, !tbaa !11
  switch i32 %29, label %343 [
    i32 19, label %30
    i32 20, label %31
    i32 21, label %32
    i32 22, label %40
    i32 23, label %41
    i32 24, label %59
    i32 25, label %77
    i32 26, label %130
    i32 27, label %131
    i32 28, label %132
    i32 29, label %149
    i32 30, label %159
    i32 31, label %184
    i32 32, label %192
    i32 33, label %202
    i32 34, label %227
    i32 35, label %228
    i32 36, label %229
    i32 37, label %230
    i32 38, label %231
    i32 41, label %232
    i32 42, label %233
    i32 44, label %234
    i32 43, label %268
    i32 46, label %300
    i32 45, label %311
  ]

30:                                               ; preds = %2
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

31:                                               ; preds = %2
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

32:                                               ; preds = %2
  %33 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %34 = load i32, ptr %5, align 4, !tbaa !9
  %35 = add i32 %34, 3
  %36 = zext i32 %35 to i64
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %36) #3
  %38 = load i32, ptr %37, align 4, !tbaa !9
  %39 = add i32 3, %38
  store i32 %39, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

40:                                               ; preds = %2
  store i32 5, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

41:                                               ; preds = %2
  %42 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %43 = load i32, ptr %5, align 4, !tbaa !9
  %44 = add i32 %43, 2
  %45 = zext i32 %44 to i64
  %46 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %45) #3
  %47 = load i32, ptr %46, align 4, !tbaa !9
  %48 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %47)
  %49 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %48)
  %50 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %51 = load i32, ptr %5, align 4, !tbaa !9
  %52 = add i32 %51, 3
  %53 = zext i32 %52 to i64
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %53) #3
  %55 = load i32, ptr %54, align 4, !tbaa !9
  %56 = sub i32 %55, 1
  %57 = mul i32 %49, %56
  %58 = add i32 6, %57
  store i32 %58, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

59:                                               ; preds = %2
  %60 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %61 = load i32, ptr %5, align 4, !tbaa !9
  %62 = add i32 %61, 2
  %63 = zext i32 %62 to i64
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %63) #3
  %65 = load i32, ptr %64, align 4, !tbaa !9
  %66 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %65)
  %67 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %66)
  %68 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %69 = load i32, ptr %5, align 4, !tbaa !9
  %70 = add i32 %69, 3
  %71 = zext i32 %70 to i64
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %71) #3
  %73 = load i32, ptr %72, align 4, !tbaa !9
  %74 = sub i32 %73, 1
  %75 = mul i32 %67, %74
  %76 = add i32 30, %75
  store i32 %76, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

77:                                               ; preds = %2
  %78 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %79 = load i32, ptr %5, align 4, !tbaa !9
  %80 = add i32 %79, 2
  %81 = zext i32 %80 to i64
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %81) #3
  %83 = load i32, ptr %82, align 4, !tbaa !9
  %84 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %83)
  %85 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %84)
  %86 = add i32 120, %85
  %87 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %88 = load i32, ptr %5, align 4, !tbaa !9
  %89 = add i32 %88, 3
  %90 = zext i32 %89 to i64
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef %90) #3
  %92 = load i32, ptr %91, align 4, !tbaa !9
  %93 = add i32 %86, %92
  %94 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %95 = load i32, ptr %5, align 4, !tbaa !9
  %96 = add i32 %95, 4
  %97 = zext i32 %96 to i64
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %97) #3
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = mul i32 %99, 8
  %101 = mul i32 %100, 16
  %102 = add i32 %93, %101
  %103 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %104 = load i32, ptr %5, align 4, !tbaa !9
  %105 = add i32 %104, 5
  %106 = zext i32 %105 to i64
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %103, i64 noundef %106) #3
  %108 = load i32, ptr %107, align 4, !tbaa !9
  %109 = mul i32 %108, 4
  %110 = mul i32 %109, 16
  %111 = add i32 %102, %110
  %112 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %113 = load i32, ptr %5, align 4, !tbaa !9
  %114 = add i32 %113, 6
  %115 = zext i32 %114 to i64
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %115) #3
  %117 = load i32, ptr %116, align 4, !tbaa !9
  %118 = mul i32 %117, 2
  %119 = mul i32 %118, 16
  %120 = add i32 %111, %119
  %121 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %122 = load i32, ptr %5, align 4, !tbaa !9
  %123 = add i32 %122, 7
  %124 = zext i32 %123 to i64
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef %124) #3
  %126 = load i32, ptr %125, align 4, !tbaa !9
  %127 = mul i32 %126, 1
  %128 = mul i32 %127, 16
  %129 = add i32 %120, %128
  store i32 %129, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

130:                                              ; preds = %2
  store i32 500, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

131:                                              ; preds = %2
  store i32 502, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

132:                                              ; preds = %2
  %133 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %134 = load i32, ptr %5, align 4, !tbaa !9
  %135 = add i32 %134, 2
  %136 = zext i32 %135 to i64
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef %136) #3
  %138 = load i32, ptr %137, align 4, !tbaa !9
  %139 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %138)
  %140 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %139)
  %141 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %142 = load i32, ptr %5, align 4, !tbaa !9
  %143 = add i32 %142, 3
  %144 = zext i32 %143 to i64
  %145 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %141, i64 noundef %144) #3
  %146 = load i32, ptr %145, align 4, !tbaa !9
  %147 = mul i32 %140, %146
  %148 = add i32 501, %147
  store i32 %148, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

149:                                              ; preds = %2
  %150 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %151 = load i32, ptr %5, align 4, !tbaa !9
  %152 = add i32 %151, 2
  %153 = zext i32 %152 to i64
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %150, i64 noundef %153) #3
  %155 = load i32, ptr %154, align 4, !tbaa !9
  %156 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %155)
  %157 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %156)
  %158 = add i32 5000, %157
  store i32 %158, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

159:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 10000, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 2, ptr %10, align 4, !tbaa !9
  br label %160

160:                                              ; preds = %179, %159
  %161 = load i32, ptr %10, align 4, !tbaa !9
  %162 = load i32, ptr %6, align 4, !tbaa !9
  %163 = icmp ult i32 %161, %162
  br i1 %163, label %165, label %164

164:                                              ; preds = %160
  store i32 3, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %182

165:                                              ; preds = %160
  %166 = load i32, ptr %10, align 4, !tbaa !9
  %167 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %168 = load i32, ptr %5, align 4, !tbaa !9
  %169 = load i32, ptr %10, align 4, !tbaa !9
  %170 = add i32 %168, %169
  %171 = zext i32 %170 to i64
  %172 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef %171) #3
  %173 = load i32, ptr %172, align 4, !tbaa !9
  %174 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %173)
  %175 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %174)
  %176 = mul i32 %166, %175
  %177 = load i32, ptr %9, align 4, !tbaa !9
  %178 = add i32 %177, %176
  store i32 %178, ptr %9, align 4, !tbaa !9
  br label %179

179:                                              ; preds = %165
  %180 = load i32, ptr %10, align 4, !tbaa !9
  %181 = add i32 %180, 1
  store i32 %181, ptr %10, align 4, !tbaa !9
  br label %160, !llvm.loop !13

182:                                              ; preds = %164
  %183 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %183, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %355

184:                                              ; preds = %2
  %185 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %186 = load i32, ptr %5, align 4, !tbaa !9
  %187 = add i32 %186, 2
  %188 = zext i32 %187 to i64
  %189 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef %188) #3
  %190 = load i32, ptr %189, align 4, !tbaa !9
  %191 = add i32 6000, %190
  store i32 %191, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

192:                                              ; preds = %2
  %193 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %194 = load i32, ptr %5, align 4, !tbaa !9
  %195 = add i32 %194, 3
  %196 = zext i32 %195 to i64
  %197 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %193, i64 noundef %196) #3
  %198 = load i32, ptr %197, align 4, !tbaa !9
  %199 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %198)
  %200 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %199)
  %201 = add i32 100000, %200
  store i32 %201, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

202:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 200000, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  store i32 2, ptr %12, align 4, !tbaa !9
  br label %203

203:                                              ; preds = %222, %202
  %204 = load i32, ptr %12, align 4, !tbaa !9
  %205 = load i32, ptr %6, align 4, !tbaa !9
  %206 = icmp ult i32 %204, %205
  br i1 %206, label %208, label %207

207:                                              ; preds = %203
  store i32 6, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  br label %225

208:                                              ; preds = %203
  %209 = load i32, ptr %12, align 4, !tbaa !9
  %210 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %211 = load i32, ptr %5, align 4, !tbaa !9
  %212 = load i32, ptr %12, align 4, !tbaa !9
  %213 = add i32 %211, %212
  %214 = zext i32 %213 to i64
  %215 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %210, i64 noundef %214) #3
  %216 = load i32, ptr %215, align 4, !tbaa !9
  %217 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %216)
  %218 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %217)
  %219 = mul i32 %209, %218
  %220 = load i32, ptr %11, align 4, !tbaa !9
  %221 = add i32 %220, %219
  store i32 %221, ptr %11, align 4, !tbaa !9
  br label %222

222:                                              ; preds = %208
  %223 = load i32, ptr %12, align 4, !tbaa !9
  %224 = add i32 %223, 1
  store i32 %224, ptr %12, align 4, !tbaa !9
  br label %203, !llvm.loop !15

225:                                              ; preds = %207
  %226 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %226, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %355

227:                                              ; preds = %2
  store i32 300000, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

228:                                              ; preds = %2
  store i32 300001, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

229:                                              ; preds = %2
  store i32 300002, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

230:                                              ; preds = %2
  store i32 300003, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

231:                                              ; preds = %2
  store i32 300004, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

232:                                              ; preds = %2
  store i32 300007, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

233:                                              ; preds = %2
  store i32 300008, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

234:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %235 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %236 = load i32, ptr %5, align 4, !tbaa !9
  %237 = add i32 %236, 1
  %238 = zext i32 %237 to i64
  %239 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %235, i64 noundef %238) #3
  %240 = load i32, ptr %239, align 4, !tbaa !9
  %241 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %240)
  %242 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %241)
  %243 = add i32 300011, %242
  store i32 %243, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 3, ptr %14, align 4, !tbaa !9
  br label %244

244:                                              ; preds = %263, %234
  %245 = load i32, ptr %14, align 4, !tbaa !9
  %246 = load i32, ptr %6, align 4, !tbaa !9
  %247 = icmp ult i32 %245, %246
  br i1 %247, label %249, label %248

248:                                              ; preds = %244
  store i32 9, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  br label %266

249:                                              ; preds = %244
  %250 = load i32, ptr %14, align 4, !tbaa !9
  %251 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %252 = load i32, ptr %5, align 4, !tbaa !9
  %253 = load i32, ptr %14, align 4, !tbaa !9
  %254 = add i32 %252, %253
  %255 = zext i32 %254 to i64
  %256 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %251, i64 noundef %255) #3
  %257 = load i32, ptr %256, align 4, !tbaa !9
  %258 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %257)
  %259 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %258)
  %260 = mul i32 %250, %259
  %261 = load i32, ptr %13, align 4, !tbaa !9
  %262 = add i32 %261, %260
  store i32 %262, ptr %13, align 4, !tbaa !9
  br label %263

263:                                              ; preds = %249
  %264 = load i32, ptr %14, align 4, !tbaa !9
  %265 = add i32 %264, 1
  store i32 %265, ptr %14, align 4, !tbaa !9
  br label %244, !llvm.loop !16

266:                                              ; preds = %248
  %267 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %267, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %355

268:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  %269 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %270 = load i32, ptr %5, align 4, !tbaa !9
  %271 = add i32 %270, 1
  %272 = zext i32 %271 to i64
  %273 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %269, i64 noundef %272) #3
  %274 = load i32, ptr %273, align 4, !tbaa !9
  %275 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %274)
  %276 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %275)
  %277 = add i32 400011, %276
  store i32 %277, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  store i32 3, ptr %16, align 4, !tbaa !9
  br label %278

278:                                              ; preds = %295, %268
  %279 = load i32, ptr %16, align 4, !tbaa !9
  %280 = load i32, ptr %6, align 4, !tbaa !9
  %281 = icmp ult i32 %279, %280
  br i1 %281, label %283, label %282

282:                                              ; preds = %278
  store i32 12, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  br label %298

283:                                              ; preds = %278
  %284 = load i32, ptr %16, align 4, !tbaa !9
  %285 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %286 = load i32, ptr %5, align 4, !tbaa !9
  %287 = load i32, ptr %16, align 4, !tbaa !9
  %288 = add i32 %286, %287
  %289 = zext i32 %288 to i64
  %290 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %285, i64 noundef %289) #3
  %291 = load i32, ptr %290, align 4, !tbaa !9
  %292 = mul i32 %284, %291
  %293 = load i32, ptr %15, align 4, !tbaa !9
  %294 = add i32 %293, %292
  store i32 %294, ptr %15, align 4, !tbaa !9
  br label %295

295:                                              ; preds = %283
  %296 = load i32, ptr %16, align 4, !tbaa !9
  %297 = add i32 %296, 1
  store i32 %297, ptr %16, align 4, !tbaa !9
  br label %278, !llvm.loop !17

298:                                              ; preds = %282
  %299 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %299, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  br label %355

300:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  %301 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %302 = load i32, ptr %5, align 4, !tbaa !9
  %303 = add i32 %302, 1
  %304 = zext i32 %303 to i64
  %305 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %301, i64 noundef %304) #3
  %306 = load i32, ptr %305, align 4, !tbaa !9
  %307 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %306)
  %308 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %307)
  %309 = add i32 500009, %308
  store i32 %309, ptr %17, align 4, !tbaa !9
  %310 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %310, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  br label %355

311:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  %312 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %313 = load i32, ptr %5, align 4, !tbaa !9
  %314 = add i32 %313, 1
  %315 = zext i32 %314 to i64
  %316 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %312, i64 noundef %315) #3
  %317 = load i32, ptr %316, align 4, !tbaa !9
  %318 = call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %317)
  %319 = call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %24, i32 noundef %318)
  %320 = add i32 600011, %319
  store i32 %320, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 3, ptr %19, align 4, !tbaa !9
  br label %321

321:                                              ; preds = %338, %311
  %322 = load i32, ptr %19, align 4, !tbaa !9
  %323 = load i32, ptr %6, align 4, !tbaa !9
  %324 = icmp ult i32 %322, %323
  br i1 %324, label %326, label %325

325:                                              ; preds = %321
  store i32 15, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  br label %341

326:                                              ; preds = %321
  %327 = load i32, ptr %19, align 4, !tbaa !9
  %328 = getelementptr inbounds %"class.spv::spirvbin_t", ptr %24, i32 0, i32 1
  %329 = load i32, ptr %5, align 4, !tbaa !9
  %330 = load i32, ptr %19, align 4, !tbaa !9
  %331 = add i32 %329, %330
  %332 = zext i32 %331 to i64
  %333 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %328, i64 noundef %332) #3
  %334 = load i32, ptr %333, align 4, !tbaa !9
  %335 = mul i32 %327, %334
  %336 = load i32, ptr %18, align 4, !tbaa !9
  %337 = add i32 %336, %335
  store i32 %337, ptr %18, align 4, !tbaa !9
  br label %338

338:                                              ; preds = %326
  %339 = load i32, ptr %19, align 4, !tbaa !9
  %340 = add i32 %339, 1
  store i32 %340, ptr %19, align 4, !tbaa !9
  br label %321, !llvm.loop !18

341:                                              ; preds = %325
  %342 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %342, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  br label %355

343:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #3
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %344 unwind label %346

344:                                              ; preds = %343
  invoke void @_ZNK3spv10spirvbin_t5errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(473) %24, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %345 unwind label %350

345:                                              ; preds = %344
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #3
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #3
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %355

346:                                              ; preds = %343
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %22, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %23, align 4
  br label %354

350:                                              ; preds = %344
  %351 = landingpad { ptr, i32 }
          cleanup
  %352 = extractvalue { ptr, i32 } %351, 0
  store ptr %352, ptr %22, align 8
  %353 = extractvalue { ptr, i32 } %351, 1
  store i32 %353, ptr %23, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #3
  br label %354

354:                                              ; preds = %350, %346
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %357

355:                                              ; preds = %345, %341, %300, %298, %266, %233, %232, %231, %230, %229, %228, %227, %225, %192, %184, %182, %149, %132, %131, %130, %77, %59, %41, %40, %32, %31, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  %356 = load i32, ptr %3, align 4
  ret i32 %356

357:                                              ; preds = %354
  %358 = load ptr, ptr %22, align 8
  %359 = load i32, ptr %23, align 4
  %360 = insertvalue { ptr, i32 } poison, ptr %358, 0
  %361 = insertvalue { ptr, i32 } %360, i32 %359, 1
  resume { ptr, i32 } %361
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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, !12, i64 0}
!12 = !{!"_ZTSN3spv2OpE", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}


; 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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.73" = type { i8 }

@.str.20 = external hidden unnamed_addr constant [20 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3spv10spirvbin_t5errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(473), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator.73", align 1
  br label %tailrecurse633

tailrecurse633:                                   ; preds = %117, %2
  %accumulator.tr635 = phi i32 [ 0, %2 ], [ %accumulator.ret.tr84, %117 ]
  %.tr634 = phi i32 [ %1, %2 ], [ %122, %117 ]
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  br label %tailrecurse

tailrecurse:                                      ; preds = %94, %tailrecurse633
  %accumulator.tr = phi i32 [ 0, %tailrecurse633 ], [ %100, %94 ]
  %.tr80 = phi i32 [ %.tr634, %tailrecurse633 ], [ %99, %94 ]
  %6 = tail call noundef i32 @_ZNK3spv10spirvbin_t11asWordCountEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %.tr80)
  %7 = tail call noundef i32 @_ZNK3spv10spirvbin_t8asOpCodeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %.tr80)
  switch i32 %7, label %198 [
    i32 19, label %.loopexit92
    i32 20, label %.loopexit.loopexit191
    i32 21, label %10
    i32 22, label %.loopexit.loopexit298
    i32 23, label %16
    i32 24, label %30
    i32 25, label %44
    i32 26, label %.loopexit.loopexit384
    i32 27, label %.loopexit.loopexit474
    i32 28, label %81
    i32 29, label %94
    i32 30, label %.preheader
    i32 31, label %111
    i32 32, label %117
    i32 33, label %.preheader87
    i32 34, label %.loopexit
    i32 35, label %134
    i32 36, label %135
    i32 37, label %136
    i32 38, label %137
    i32 41, label %138
    i32 42, label %139
    i32 44, label %140
    i32 43, label %158
    i32 46, label %174
    i32 45, label %182
  ]

.preheader87:                                     ; preds = %tailrecurse
  %8 = icmp ugt i32 %6, 2
  br i1 %8, label %.lr.ph181, label %.loopexit

.lr.ph181:                                        ; preds = %.preheader87
  %wide.trip.count287 = zext i32 %6 to i64
  br label %124

.preheader:                                       ; preds = %tailrecurse
  %9 = icmp ugt i32 %6, 2
  br i1 %9, label %.lr.ph185, label %.loopexit

.lr.ph185:                                        ; preds = %.preheader
  %wide.trip.count292 = zext i32 %6 to i64
  br label %101

10:                                               ; preds = %tailrecurse
  %11 = add i32 %.tr80, 3
  %12 = zext i32 %11 to i64
  %13 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %12) #3
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = add i32 %14, 3
  br label %.loopexit

common.ret642:                                    ; preds = %174, %81, %44, %30, %16, %.loopexit
  %common.ret642.op = phi i32 [ %accumulator.ret.tr636, %.loopexit ], [ %accumulator.ret.tr637, %16 ], [ %accumulator.ret.tr638, %30 ], [ %accumulator.ret.tr639, %44 ], [ %accumulator.ret.tr640, %81 ], [ %accumulator.ret.tr641, %174 ]
  ret i32 %common.ret642.op

16:                                               ; preds = %tailrecurse
  %17 = add i32 %.tr80, 2
  %18 = zext i32 %17 to i64
  %19 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %18) #3
  %20 = load i32, ptr %19, align 4, !tbaa !5
  %21 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %20)
  %22 = tail call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %21)
  %23 = add i32 %.tr80, 3
  %24 = zext i32 %23 to i64
  %25 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %24) #3
  %26 = load i32, ptr %25, align 4, !tbaa !5
  %27 = add i32 %26, -1
  %28 = mul i32 %27, %22
  %29 = or disjoint i32 %accumulator.tr, 6
  %accumulator.ret.tr = add i32 %29, %28
  %accumulator.ret.tr637 = add i32 %accumulator.ret.tr, %accumulator.tr635
  br label %common.ret642

30:                                               ; preds = %tailrecurse
  %31 = add i32 %.tr80, 2
  %32 = zext i32 %31 to i64
  %33 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %32) #3
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %34)
  %36 = tail call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %35)
  %37 = add i32 %.tr80, 3
  %38 = zext i32 %37 to i64
  %39 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %38) #3
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = add i32 %40, -1
  %42 = mul i32 %41, %36
  %43 = add i32 %accumulator.tr, 30
  %accumulator.ret.tr81 = add i32 %43, %42
  %accumulator.ret.tr638 = add i32 %accumulator.ret.tr81, %accumulator.tr635
  br label %common.ret642

44:                                               ; preds = %tailrecurse
  %45 = add i32 %.tr80, 2
  %46 = zext i32 %45 to i64
  %47 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %46) #3
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %48)
  %50 = tail call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %49)
  %51 = add i32 %.tr80, 3
  %52 = zext i32 %51 to i64
  %53 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %52) #3
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %55 = add i32 %.tr80, 4
  %56 = zext i32 %55 to i64
  %57 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %56) #3
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = shl i32 %58, 7
  %60 = add i32 %.tr80, 5
  %61 = zext i32 %60 to i64
  %62 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %61) #3
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %64 = shl i32 %63, 6
  %65 = add i32 %.tr80, 6
  %66 = zext i32 %65 to i64
  %67 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %66) #3
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = shl i32 %68, 5
  %70 = add i32 %.tr80, 7
  %71 = zext i32 %70 to i64
  %72 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %71) #3
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = shl i32 %73, 4
  %75 = add i32 %accumulator.tr, 120
  %76 = add i32 %75, %50
  %77 = add i32 %76, %54
  %78 = add i32 %77, %59
  %79 = add i32 %78, %64
  %80 = add i32 %79, %69
  %accumulator.ret.tr82 = add i32 %80, %74
  %accumulator.ret.tr639 = add i32 %accumulator.ret.tr82, %accumulator.tr635
  br label %common.ret642

81:                                               ; preds = %tailrecurse
  %82 = add i32 %.tr80, 2
  %83 = zext i32 %82 to i64
  %84 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %83) #3
  %85 = load i32, ptr %84, align 4, !tbaa !5
  %86 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %85)
  %87 = tail call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %86)
  %88 = add i32 %.tr80, 3
  %89 = zext i32 %88 to i64
  %90 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %89) #3
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = mul i32 %91, %87
  %93 = add i32 %accumulator.tr, 501
  %accumulator.ret.tr83 = add i32 %93, %92
  %accumulator.ret.tr640 = add i32 %accumulator.ret.tr83, %accumulator.tr635
  br label %common.ret642

94:                                               ; preds = %tailrecurse
  %95 = add i32 %.tr80, 2
  %96 = zext i32 %95 to i64
  %97 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %96) #3
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %98)
  %100 = add i32 %accumulator.tr, 5000
  br label %tailrecurse

101:                                              ; preds = %.lr.ph185, %101
  %indvars.iv289 = phi i64 [ 2, %.lr.ph185 ], [ %indvars.iv.next290, %101 ]
  %.078183 = phi i32 [ 10000, %.lr.ph185 ], [ %110, %101 ]
  %102 = trunc nuw i64 %indvars.iv289 to i32
  %103 = add i32 %.tr80, %102
  %104 = zext i32 %103 to i64
  %105 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %104) #3
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %106)
  %108 = tail call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %107)
  %109 = mul i32 %108, %102
  %110 = add i32 %109, %.078183
  %indvars.iv.next290 = add nuw nsw i64 %indvars.iv289, 1
  %exitcond293.not = icmp eq i64 %indvars.iv.next290, %wide.trip.count292
  br i1 %exitcond293.not, label %.loopexit, label %101, !llvm.loop !9

111:                                              ; preds = %tailrecurse
  %112 = add i32 %.tr80, 2
  %113 = zext i32 %112 to i64
  %114 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %113) #3
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %116 = add i32 %115, 6000
  br label %.loopexit

117:                                              ; preds = %tailrecurse
  %118 = add i32 %.tr80, 3
  %119 = zext i32 %118 to i64
  %120 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %119) #3
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %121)
  %123 = add i32 %accumulator.tr, 100000
  %accumulator.ret.tr84 = add i32 %123, %accumulator.tr635
  br label %tailrecurse633

124:                                              ; preds = %.lr.ph181, %124
  %indvars.iv284 = phi i64 [ 2, %.lr.ph181 ], [ %indvars.iv.next285, %124 ]
  %.076179 = phi i32 [ 200000, %.lr.ph181 ], [ %133, %124 ]
  %125 = trunc nuw i64 %indvars.iv284 to i32
  %126 = add i32 %.tr80, %125
  %127 = zext i32 %126 to i64
  %128 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %127) #3
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %129)
  %131 = tail call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %130)
  %132 = mul i32 %131, %125
  %133 = add i32 %132, %.076179
  %indvars.iv.next285 = add nuw nsw i64 %indvars.iv284, 1
  %exitcond288.not = icmp eq i64 %indvars.iv.next285, %wide.trip.count287
  br i1 %exitcond288.not, label %.loopexit, label %124, !llvm.loop !11

134:                                              ; preds = %tailrecurse
  br label %.loopexit

135:                                              ; preds = %tailrecurse
  br label %.loopexit

136:                                              ; preds = %tailrecurse
  br label %.loopexit

137:                                              ; preds = %tailrecurse
  br label %.loopexit

138:                                              ; preds = %tailrecurse
  br label %.loopexit

139:                                              ; preds = %tailrecurse
  br label %.loopexit

140:                                              ; preds = %tailrecurse
  %141 = add i32 %.tr80, 1
  %142 = zext i32 %141 to i64
  %143 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %142) #3
  %144 = load i32, ptr %143, align 4, !tbaa !5
  %145 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %144)
  %146 = tail call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %145)
  %147 = add i32 %146, 300011
  %148 = icmp ugt i32 %6, 3
  br i1 %148, label %.lr.ph177.preheader, label %.loopexit

.lr.ph177.preheader:                              ; preds = %140
  %wide.trip.count282 = zext i32 %6 to i64
  br label %.lr.ph177

.lr.ph177:                                        ; preds = %.lr.ph177.preheader, %.lr.ph177
  %indvars.iv279 = phi i64 [ 3, %.lr.ph177.preheader ], [ %indvars.iv.next280, %.lr.ph177 ]
  %.074175 = phi i32 [ %147, %.lr.ph177.preheader ], [ %157, %.lr.ph177 ]
  %149 = trunc nuw i64 %indvars.iv279 to i32
  %150 = add i32 %.tr80, %149
  %151 = zext i32 %150 to i64
  %152 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %151) #3
  %153 = load i32, ptr %152, align 4, !tbaa !5
  %154 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %153)
  %155 = tail call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %154)
  %156 = mul i32 %155, %149
  %157 = add i32 %156, %.074175
  %indvars.iv.next280 = add nuw nsw i64 %indvars.iv279, 1
  %exitcond283.not = icmp eq i64 %indvars.iv.next280, %wide.trip.count282
  br i1 %exitcond283.not, label %.loopexit, label %.lr.ph177, !llvm.loop !12

158:                                              ; preds = %tailrecurse
  %159 = add i32 %.tr80, 1
  %160 = zext i32 %159 to i64
  %161 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %160) #3
  %162 = load i32, ptr %161, align 4, !tbaa !5
  %163 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %162)
  %164 = tail call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %163)
  %165 = add i32 %164, 400011
  %166 = icmp ugt i32 %6, 3
  br i1 %166, label %.lr.ph173.preheader, label %.loopexit

.lr.ph173.preheader:                              ; preds = %158
  %wide.trip.count277 = zext i32 %6 to i64
  br label %.lr.ph173

.lr.ph173:                                        ; preds = %.lr.ph173.preheader, %.lr.ph173
  %indvars.iv274 = phi i64 [ 3, %.lr.ph173.preheader ], [ %indvars.iv.next275, %.lr.ph173 ]
  %.072171 = phi i32 [ %165, %.lr.ph173.preheader ], [ %173, %.lr.ph173 ]
  %167 = trunc nuw i64 %indvars.iv274 to i32
  %168 = add i32 %.tr80, %167
  %169 = zext i32 %168 to i64
  %170 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %169) #3
  %171 = load i32, ptr %170, align 4, !tbaa !5
  %172 = mul i32 %171, %167
  %173 = add i32 %172, %.072171
  %indvars.iv.next275 = add nuw nsw i64 %indvars.iv274, 1
  %exitcond278.not = icmp eq i64 %indvars.iv.next275, %wide.trip.count277
  br i1 %exitcond278.not, label %.loopexit, label %.lr.ph173, !llvm.loop !13

174:                                              ; preds = %tailrecurse
  %175 = add i32 %.tr80, 1
  %176 = zext i32 %175 to i64
  %177 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %176) #3
  %178 = load i32, ptr %177, align 4, !tbaa !5
  %179 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %178)
  %180 = tail call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %179)
  %181 = add i32 %accumulator.tr, 500009
  %accumulator.ret.tr85 = add i32 %181, %180
  %accumulator.ret.tr641 = add i32 %accumulator.ret.tr85, %accumulator.tr635
  br label %common.ret642

182:                                              ; preds = %tailrecurse
  %183 = add i32 %.tr80, 1
  %184 = zext i32 %183 to i64
  %185 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %184) #3
  %186 = load i32, ptr %185, align 4, !tbaa !5
  %187 = tail call noundef i32 @_ZNK3spv10spirvbin_t5idPosEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %186)
  %188 = tail call noundef i32 @_ZNK3spv10spirvbin_t8hashTypeEj(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %187)
  %189 = add i32 %188, 600011
  %190 = icmp ugt i32 %6, 3
  br i1 %190, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %182
  %wide.trip.count = zext i32 %6 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 3, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %.069169 = phi i32 [ %189, %.lr.ph.preheader ], [ %197, %.lr.ph ]
  %191 = trunc nuw i64 %indvars.iv to i32
  %192 = add i32 %.tr80, %191
  %193 = zext i32 %192 to i64
  %194 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %193) #3
  %195 = load i32, ptr %194, align 4, !tbaa !5
  %196 = mul i32 %195, %191
  %197 = add i32 %196, %.069169
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !14

198:                                              ; preds = %tailrecurse
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #3
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %199 unwind label %201

199:                                              ; preds = %198
  invoke void @_ZNK3spv10spirvbin_t5errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(473) %0, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %200 unwind label %203

200:                                              ; preds = %199
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #3
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
  br label %.loopexit

201:                                              ; preds = %198
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %205

203:                                              ; preds = %199
  %204 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #3
  br label %205

205:                                              ; preds = %203, %201
  %.pn = phi { ptr, i32 } [ %204, %203 ], [ %202, %201 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
  resume { ptr, i32 } %.pn

.loopexit92:                                      ; preds = %tailrecurse
  br label %.loopexit

.loopexit.loopexit191:                            ; preds = %tailrecurse
  br label %.loopexit

.loopexit.loopexit298:                            ; preds = %tailrecurse
  br label %.loopexit

.loopexit.loopexit384:                            ; preds = %tailrecurse
  br label %.loopexit

.loopexit.loopexit474:                            ; preds = %tailrecurse
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph173, %.lr.ph177, %124, %101, %tailrecurse, %.loopexit.loopexit474, %.loopexit.loopexit384, %.loopexit.loopexit298, %.loopexit.loopexit191, %182, %158, %140, %.preheader87, %.preheader, %.loopexit92, %200, %139, %138, %137, %136, %135, %134, %111, %10
  %.070 = phi i32 [ 0, %200 ], [ 300008, %139 ], [ 300007, %138 ], [ 300004, %137 ], [ 300003, %136 ], [ 300002, %135 ], [ 300001, %134 ], [ %116, %111 ], [ %15, %10 ], [ 0, %.loopexit92 ], [ 10000, %.preheader ], [ 200000, %.preheader87 ], [ %147, %140 ], [ %165, %158 ], [ %189, %182 ], [ 1, %.loopexit.loopexit191 ], [ 5, %.loopexit.loopexit298 ], [ 500, %.loopexit.loopexit384 ], [ 502, %.loopexit.loopexit474 ], [ 300000, %tailrecurse ], [ %110, %101 ], [ %133, %124 ], [ %157, %.lr.ph177 ], [ %173, %.lr.ph173 ], [ %197, %.lr.ph ]
  %accumulator.ret.tr86 = add i32 %.070, %accumulator.tr
  %accumulator.ret.tr636 = add i32 %accumulator.ret.tr86, %accumulator.tr635
  br label %common.ret642
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


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