; LLVM IR from hbatagelo/abcg :: abcg/external/glslang/SPIRV (SpvBuilder)

; 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::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = 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.anon.120 = type { ptr, ptr, ptr, ptr }
%class.anon.121 = type { ptr, ptr, ptr, ptr, ptr, ptr }
%class.anon.122 = type { ptr, ptr, ptr, ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEj = external hidden unnamed_addr constant [76 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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 dso_local noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3spv7Builder8isVectorEj(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3spv7Builder24createCompositeConstructEjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %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 %"class.std::vector.22", align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %class.anon.120, align 8
  %19 = alloca %class.anon.121, align 8
  %20 = alloca %class.anon.122, align 8
  %21 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !11
  %22 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %23 = load i32, ptr %9, align 4, !tbaa !11
  %24 = call noundef i32 @_ZNK3spv7Builder20getNumTypeComponentsEj(ptr noundef nonnull align 8 dereferenceable(1096) %22, i32 noundef %23)
  store i32 %24, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !11
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  %27 = icmp eq i64 %26, 1
  br i1 %27, label %28, label %43

28:                                               ; preds = %4
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef 0) #5
  %31 = load i32, ptr %30, align 4, !tbaa !11
  %32 = call noundef zeroext i1 @_ZNK3spv7Builder8isScalarEj(ptr noundef nonnull align 8 dereferenceable(1096) %22, i32 noundef %31)
  br i1 %32, label %33, label %43

33:                                               ; preds = %28
  %34 = load i32, ptr %11, align 4, !tbaa !11
  %35 = icmp ugt i32 %34, 1
  br i1 %35, label %36, label %43

36:                                               ; preds = %33
  %37 = load i32, ptr %7, align 4, !tbaa !9
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef 0) #5
  %40 = load i32, ptr %39, align 4, !tbaa !11
  %41 = load i32, ptr %9, align 4, !tbaa !11
  %42 = call noundef i32 @_ZN3spv7Builder11smearScalarENS_10DecorationEjj(ptr noundef nonnull align 8 dereferenceable(1096) %22, i32 noundef %37, i32 noundef %40, i32 noundef %41)
  store i32 %42, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %161

43:                                               ; preds = %33, %28, %4
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #5
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %44 = load i32, ptr %9, align 4, !tbaa !11
  %45 = invoke noundef i32 @_ZNK3spv7Builder15getScalarTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %22, i32 noundef %44)
          to label %46 unwind label %69

46:                                               ; preds = %43
  store i32 %45, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #5
  %47 = getelementptr inbounds %class.anon.120, ptr %18, i32 0, i32 0
  store ptr %11, ptr %47, align 8, !tbaa !5
  %48 = getelementptr inbounds %class.anon.120, ptr %18, i32 0, i32 1
  store ptr %14, ptr %48, align 8, !tbaa !5
  %49 = getelementptr inbounds %class.anon.120, ptr %18, i32 0, i32 2
  store ptr %10, ptr %49, align 8, !tbaa !5
  %50 = getelementptr inbounds %class.anon.120, ptr %18, i32 0, i32 3
  store ptr %12, ptr %50, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #5
  %51 = getelementptr inbounds %class.anon.121, ptr %19, i32 0, i32 0
  store ptr %22, ptr %51, align 8, !tbaa !13
  %52 = getelementptr inbounds %class.anon.121, ptr %19, i32 0, i32 1
  store ptr %12, ptr %52, align 8, !tbaa !5
  %53 = getelementptr inbounds %class.anon.121, ptr %19, i32 0, i32 2
  store ptr %11, ptr %53, align 8, !tbaa !5
  %54 = getelementptr inbounds %class.anon.121, ptr %19, i32 0, i32 3
  store ptr %18, ptr %54, align 8, !tbaa !5
  %55 = getelementptr inbounds %class.anon.121, ptr %19, i32 0, i32 4
  store ptr %7, ptr %55, align 8, !tbaa !5
  %56 = getelementptr inbounds %class.anon.121, ptr %19, i32 0, i32 5
  store ptr %15, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #5
  %57 = getelementptr inbounds %class.anon.122, ptr %20, i32 0, i32 0
  store ptr %22, ptr %57, align 8, !tbaa !15
  %58 = getelementptr inbounds %class.anon.122, ptr %20, i32 0, i32 1
  store ptr %12, ptr %58, align 8, !tbaa !5
  %59 = getelementptr inbounds %class.anon.122, ptr %20, i32 0, i32 2
  store ptr %11, ptr %59, align 8, !tbaa !5
  %60 = getelementptr inbounds %class.anon.122, ptr %20, i32 0, i32 3
  store ptr %18, ptr %60, align 8, !tbaa !5
  %61 = getelementptr inbounds %class.anon.122, ptr %20, i32 0, i32 4
  store ptr %15, ptr %61, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !11
  br label %62

62:                                               ; preds = %139, %46
  %63 = load i32, ptr %21, align 4, !tbaa !11
  %64 = zext i32 %63 to i64
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #5
  %67 = icmp ult i64 %64, %66
  br i1 %67, label %73, label %68

68:                                               ; preds = %62
  store i32 2, ptr %13, align 4
  br label %142

69:                                               ; preds = %43
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %16, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %17, align 4
  br label %160

73:                                               ; preds = %62
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = load i32, ptr %21, align 4, !tbaa !11
  %76 = zext i32 %75 to i64
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %76) #5
  %78 = load i32, ptr %77, align 4, !tbaa !11
  %79 = invoke noundef zeroext i1 @_ZNK3spv7Builder8isScalarEj(ptr noundef nonnull align 8 dereferenceable(1096) %22, i32 noundef %78)
          to label %80 unwind label %96

80:                                               ; preds = %73
  br i1 %79, label %89, label %81

81:                                               ; preds = %80
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = load i32, ptr %21, align 4, !tbaa !11
  %84 = zext i32 %83 to i64
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %84) #5
  %86 = load i32, ptr %85, align 4, !tbaa !11
  %87 = invoke noundef zeroext i1 @_ZNK3spv7Builder9isPointerEj(ptr noundef nonnull align 8 dereferenceable(1096) %22, i32 noundef %86)
          to label %88 unwind label %96

88:                                               ; preds = %81
  br i1 %87, label %89, label %100

89:                                               ; preds = %88, %80
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = load i32, ptr %21, align 4, !tbaa !11
  %92 = zext i32 %91 to i64
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %92) #5
  %94 = load i32, ptr %93, align 4, !tbaa !11
  invoke void @"_ZZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjENK3$_0clEj"(ptr noundef nonnull align 8 dereferenceable(32) %18, i32 noundef %94)
          to label %95 unwind label %96

95:                                               ; preds = %89
  br label %133

96:                                               ; preds = %123, %115, %108, %100, %89, %81, %73
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %16, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %159

100:                                              ; preds = %88
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = load i32, ptr %21, align 4, !tbaa !11
  %103 = zext i32 %102 to i64
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef %103) #5
  %105 = load i32, ptr %104, align 4, !tbaa !11
  %106 = invoke noundef zeroext i1 @_ZNK3spv7Builder8isVectorEj(ptr noundef nonnull align 8 dereferenceable(1096) %22, i32 noundef %105)
          to label %107 unwind label %96

107:                                              ; preds = %100
  br i1 %106, label %108, label %115

108:                                              ; preds = %107
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  %110 = load i32, ptr %21, align 4, !tbaa !11
  %111 = zext i32 %110 to i64
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %111) #5
  %113 = load i32, ptr %112, align 4, !tbaa !11
  invoke void @"_ZZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjENK3$_1clEj"(ptr noundef nonnull align 8 dereferenceable(48) %19, i32 noundef %113)
          to label %114 unwind label %96

114:                                              ; preds = %108
  br label %132

115:                                              ; preds = %107
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = load i32, ptr %21, align 4, !tbaa !11
  %118 = zext i32 %117 to i64
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %118) #5
  %120 = load i32, ptr %119, align 4, !tbaa !11
  %121 = invoke noundef zeroext i1 @_ZNK3spv7Builder8isMatrixEj(ptr noundef nonnull align 8 dereferenceable(1096) %22, i32 noundef %120)
          to label %122 unwind label %96

122:                                              ; preds = %115
  br i1 %121, label %123, label %130

123:                                              ; preds = %122
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = load i32, ptr %21, align 4, !tbaa !11
  %126 = zext i32 %125 to i64
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %124, i64 noundef %126) #5
  %128 = load i32, ptr %127, align 4, !tbaa !11
  invoke void @"_ZZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjENK3$_2clEj"(ptr noundef nonnull align 8 dereferenceable(40) %20, i32 noundef %128)
          to label %129 unwind label %96

129:                                              ; preds = %123
  br label %131

130:                                              ; preds = %122
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.3, i32 noundef 2486, ptr noundef @__PRETTY_FUNCTION__._ZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEj) #6
  unreachable

131:                                              ; preds = %129
  br label %132

132:                                              ; preds = %131, %114
  br label %133

133:                                              ; preds = %132, %95
  %134 = load i32, ptr %12, align 4, !tbaa !11
  %135 = load i32, ptr %11, align 4, !tbaa !11
  %136 = icmp uge i32 %134, %135
  br i1 %136, label %137, label %138

137:                                              ; preds = %133
  store i32 2, ptr %13, align 4
  br label %142

138:                                              ; preds = %133
  br label %139

139:                                              ; preds = %138
  %140 = load i32, ptr %21, align 4, !tbaa !11
  %141 = add i32 %140, 1
  store i32 %141, ptr %21, align 4, !tbaa !11
  br label %62, !llvm.loop !17

142:                                              ; preds = %137, %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %143

143:                                              ; preds = %142
  %144 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  %145 = icmp ugt i64 %144, 0
  br i1 %145, label %146, label %154

146:                                              ; preds = %143
  %147 = load i32, ptr %9, align 4, !tbaa !11
  %148 = invoke noundef i32 @_ZN3spv7Builder24createCompositeConstructEjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %22, i32 noundef %147, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %149 unwind label %150

149:                                              ; preds = %146
  store i32 %148, ptr %10, align 4, !tbaa !11
  br label %154

150:                                              ; preds = %154, %146
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %16, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %17, align 4
  br label %159

154:                                              ; preds = %149, %143
  %155 = load i32, ptr %10, align 4, !tbaa !11
  %156 = load i32, ptr %7, align 4, !tbaa !9
  %157 = invoke noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %22, i32 noundef %155, i32 noundef %156)
          to label %158 unwind label %150

158:                                              ; preds = %154
  store i32 %157, ptr %5, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  br label %161

159:                                              ; preds = %150, %96
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #5
  br label %160

160:                                              ; preds = %159, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %163

161:                                              ; preds = %158, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  %162 = load i32, ptr %5, align 4
  ret i32 %162

163:                                              ; preds = %160
  %164 = load ptr, ptr %16, align 8
  %165 = load i32, ptr %17, align 4
  %166 = insertvalue { ptr, i32 } poison, ptr %164, 0
  %167 = insertvalue { ptr, i32 } %166, i32 %165, 1
  resume { ptr, i32 } %167
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3spv7Builder8isScalarEj(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3spv7Builder9isPointerEj(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjENK3$_0clEj"(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjENK3$_1clEj"(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3spv7Builder8isMatrixEj(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjENK3$_2clEj"(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #4 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 = { inlinehint 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 #5 = { nounwind }
attributes #6 = { noreturn 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 = !{!"_ZTSN3spv10DecorationE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjE3$_1", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTSZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjE3$_2", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!17 = distinct !{!17, !18}
!18 = !{!"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.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = 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.anon.120 = type { ptr, ptr, ptr, ptr }
%class.anon.121 = type { ptr, ptr, ptr, ptr, ptr, ptr }
%class.anon.122 = type { ptr, ptr, ptr, ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEj = external hidden unnamed_addr constant [76 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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 dso_local noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3spv7Builder8isVectorEj(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3spv7Builder24createCompositeConstructEjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector.22", align 8
  %10 = alloca i32, align 4
  %11 = alloca %class.anon.120, align 8
  %12 = alloca %class.anon.121, align 8
  %13 = alloca %class.anon.122, align 8
  store i32 %1, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  %14 = tail call noundef i32 @_ZNK3spv7Builder20getNumTypeComponentsEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %3)
  store i32 %14, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  %15 = tail call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %16 = icmp eq i64 %15, 1
  br i1 %16, label %17, label %26

17:                                               ; preds = %4
  %18 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #5
  %19 = load i32, ptr %18, align 4, !tbaa !9
  %20 = tail call noundef zeroext i1 @_ZNK3spv7Builder8isScalarEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %19)
  %21 = icmp ugt i32 %14, 1
  %or.cond = and i1 %20, %21
  br i1 %or.cond, label %22, label %26

22:                                               ; preds = %17
  %23 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #5
  %24 = load i32, ptr %23, align 4, !tbaa !9
  %25 = tail call noundef i32 @_ZN3spv7Builder11smearScalarENS_10DecorationEjj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %1, i32 noundef %24, i32 noundef %3)
  br label %95

26:                                               ; preds = %17, %4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %27 = invoke noundef i32 @_ZNK3spv7Builder15getScalarTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %3)
          to label %28 unwind label %47

28:                                               ; preds = %26
  store i32 %27, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  store ptr %7, ptr %11, align 8, !tbaa !11
  %29 = getelementptr inbounds i8, ptr %11, i64 8
  store ptr %9, ptr %29, align 8, !tbaa !11
  %30 = getelementptr inbounds i8, ptr %11, i64 16
  store ptr %6, ptr %30, align 8, !tbaa !11
  %31 = getelementptr inbounds i8, ptr %11, i64 24
  store ptr %8, ptr %31, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #5
  store ptr %0, ptr %12, align 8, !tbaa !13
  %32 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr %8, ptr %32, align 8, !tbaa !11
  %33 = getelementptr inbounds i8, ptr %12, i64 16
  store ptr %7, ptr %33, align 8, !tbaa !11
  %34 = getelementptr inbounds i8, ptr %12, i64 24
  store ptr %11, ptr %34, align 8, !tbaa !11
  %35 = getelementptr inbounds i8, ptr %12, i64 32
  store ptr %5, ptr %35, align 8, !tbaa !11
  %36 = getelementptr inbounds i8, ptr %12, i64 40
  store ptr %10, ptr %36, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #5
  store ptr %0, ptr %13, align 8, !tbaa !15
  %37 = getelementptr inbounds i8, ptr %13, i64 8
  store ptr %8, ptr %37, align 8, !tbaa !11
  %38 = getelementptr inbounds i8, ptr %13, i64 16
  store ptr %7, ptr %38, align 8, !tbaa !11
  %39 = getelementptr inbounds i8, ptr %13, i64 24
  store ptr %11, ptr %39, align 8, !tbaa !11
  %40 = getelementptr inbounds i8, ptr %13, i64 32
  store ptr %10, ptr %40, align 8, !tbaa !11
  %41 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %.not38 = icmp eq i64 %41, 0
  br i1 %.not38, label %._crit_edge, label %.lr.ph

42:                                               ; preds = %79
  %43 = add i32 %.036, 1
  %44 = zext i32 %43 to i64
  %45 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %46 = icmp ugt i64 %45, %44
  br i1 %46, label %.lr.ph, label %._crit_edge, !llvm.loop !17

47:                                               ; preds = %26
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %94

.lr.ph:                                           ; preds = %28, %42
  %49 = phi i64 [ %44, %42 ], [ 0, %28 ]
  %.036 = phi i32 [ %43, %42 ], [ 0, %28 ]
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %49) #5
  %51 = load i32, ptr %50, align 4, !tbaa !9
  %52 = invoke noundef zeroext i1 @_ZNK3spv7Builder8isScalarEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %51)
          to label %53 unwind label %62

53:                                               ; preds = %.lr.ph
  br i1 %52, label %59, label %54

54:                                               ; preds = %53
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %49) #5
  %56 = load i32, ptr %55, align 4, !tbaa !9
  %57 = invoke noundef zeroext i1 @_ZNK3spv7Builder9isPointerEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %56)
          to label %58 unwind label %62

58:                                               ; preds = %54
  br i1 %57, label %59, label %64

59:                                               ; preds = %58, %53
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %49) #5
  %61 = load i32, ptr %60, align 4, !tbaa !9
  invoke void @"_ZZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjENK3$_0clEj"(ptr noundef nonnull align 8 dereferenceable(32) %11, i32 noundef %61)
          to label %79 unwind label %62

62:                                               ; preds = %75, %72, %71, %64, %59, %54, %.lr.ph
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %93

64:                                               ; preds = %58
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %49) #5
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = invoke noundef zeroext i1 @_ZNK3spv7Builder8isVectorEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %66)
          to label %68 unwind label %62

68:                                               ; preds = %64
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %49) #5
  %70 = load i32, ptr %69, align 4, !tbaa !9
  br i1 %67, label %71, label %72

71:                                               ; preds = %68
  invoke void @"_ZZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjENK3$_1clEj"(ptr noundef nonnull align 8 dereferenceable(48) %12, i32 noundef %70)
          to label %79 unwind label %62

72:                                               ; preds = %68
  %73 = invoke noundef zeroext i1 @_ZNK3spv7Builder8isMatrixEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %70)
          to label %74 unwind label %62

74:                                               ; preds = %72
  br i1 %73, label %75, label %78

75:                                               ; preds = %74
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %49) #5
  %77 = load i32, ptr %76, align 4, !tbaa !9
  invoke void @"_ZZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjENK3$_2clEj"(ptr noundef nonnull align 8 dereferenceable(40) %13, i32 noundef %77)
          to label %79 unwind label %62

78:                                               ; preds = %74
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.3, i32 noundef 2486, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEj) #6
  unreachable

79:                                               ; preds = %71, %75, %59
  %80 = load i32, ptr %8, align 4, !tbaa !9
  %81 = load i32, ptr %7, align 4, !tbaa !9
  %.not = icmp ult i32 %80, %81
  br i1 %.not, label %42, label %._crit_edge

._crit_edge:                                      ; preds = %42, %79, %28
  %82 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %.not33 = icmp eq i64 %82, 0
  br i1 %.not33, label %._crit_edge._crit_edge, label %83

._crit_edge._crit_edge:                           ; preds = %._crit_edge
  %.pre = load i32, ptr %6, align 4, !tbaa !9
  br label %88

83:                                               ; preds = %._crit_edge
  %84 = invoke noundef i32 @_ZN3spv7Builder24createCompositeConstructEjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %85 unwind label %86

85:                                               ; preds = %83
  store i32 %84, ptr %6, align 4, !tbaa !9
  br label %88

86:                                               ; preds = %88, %83
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %93

88:                                               ; preds = %._crit_edge._crit_edge, %85
  %89 = phi i32 [ %.pre, %._crit_edge._crit_edge ], [ %84, %85 ]
  %90 = load i32, ptr %5, align 4, !tbaa !5
  %91 = invoke noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %89, i32 noundef %90)
          to label %92 unwind label %86

92:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  br label %95

93:                                               ; preds = %86, %62
  %.pn = phi { ptr, i32 } [ %87, %86 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  br label %94

94:                                               ; preds = %93, %47
  %.pn.pn = phi { ptr, i32 } [ %.pn, %93 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  resume { ptr, i32 } %.pn.pn

95:                                               ; preds = %92, %22
  %.031 = phi i32 [ %25, %22 ], [ %91, %92 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  ret i32 %.031
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3spv7Builder8isScalarEj(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3spv7Builder9isPointerEj(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjENK3$_0clEj"(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjENK3$_1clEj"(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3spv7Builder8isMatrixEj(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjENK3$_2clEj"(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #4 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 = { inlinehint 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 #5 = { nounwind }
attributes #6 = { noreturn 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 = !{!"_ZTSN3spv10DecorationE", !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 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"_ZTSZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjE3$_1", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40}
!15 = !{!16, !12, i64 0}
!16 = !{!"_ZTSZN3spv7Builder17createConstructorENS_10DecorationERKSt6vectorIjSaIjEEjE3$_2", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


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