; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/test/gtc/gtc_bitfield.ll (ZN19bitfieldInterleave54perfEv)

; 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.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.40" = type { i8 }
%"class.std::vector.43" = type { %"struct.std::_Vector_base.44" }
%"struct.std::_Vector_base.44" = 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::allocator.45" = type { i8 }

@.str.18 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [36 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

declare i32 @__gxx_personality_v0(...)

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

declare i32 @printf(ptr noundef, ...) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN3glm18bitfieldInterleaveEhh(i8 noundef zeroext, i8 noundef zeroext) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN3glm18bitfieldInterleaveEhhhh(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3glm18bitfieldInterleaveEtt(i16 noundef zeroext, i16 noundef zeroext) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave515perf_old_u8vec2ERSt6vectorItSaItEE(ptr noundef nonnull align 8 dereferenceable(24)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave515perf_new_u8vec2ERSt6vectorItSaItEE(ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave515perf_old_u8vec4ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave515perf_new_u8vec4ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave516perf_old_u16vec2ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave516perf_new_u16vec2ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN19bitfieldInterleave54perfEv() #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::vector.38", align 8
  %3 = alloca i16, align 2
  %4 = alloca %"class.std::allocator.40", align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca %"class.std::vector.43", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::allocator.45", align 1
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca %"class.std::vector.43", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::allocator.45", align 1
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  store i32 0, ptr %1, align 4, !tbaa !5
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
  call void @llvm.lifetime.start.p0(i64 24, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %3) #6
  store i16 0, ptr %3, align 2, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #6
  call void @_ZNSaItEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZNSt6vectorItSaItEEC2EmRKtRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 65536, ptr noundef nonnull align 2 dereferenceable(2) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %21 unwind label %26

21:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorItED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store i64 0, ptr %7, align 8, !tbaa !11
  br label %22

22:                                               ; preds = %55, %21
  %23 = load i64, ptr %7, align 8, !tbaa !11
  %24 = icmp ult i64 %23, 256
  br i1 %24, label %30, label %25

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

26:                                               ; preds = %0
  %27 = landingpad { ptr, i32 }
          cleanup
  %28 = extractvalue { ptr, i32 } %27, 0
  store ptr %28, ptr %5, align 8
  %29 = extractvalue { ptr, i32 } %27, 1
  store i32 %29, ptr %6, align 4
  call void @_ZNSt15__new_allocatorItED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %3) #6
  br label %184

30:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 0, ptr %9, align 8, !tbaa !11
  br label %31

31:                                               ; preds = %47, %30
  %32 = load i64, ptr %9, align 8, !tbaa !11
  %33 = icmp ult i64 %32, 256
  br i1 %33, label %35, label %34

34:                                               ; preds = %31
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %54

35:                                               ; preds = %31
  %36 = load i64, ptr %9, align 8, !tbaa !11
  %37 = trunc i64 %36 to i8
  %38 = load i64, ptr %7, align 8, !tbaa !11
  %39 = trunc i64 %38 to i8
  %40 = invoke noundef zeroext i16 @_ZN3glm18bitfieldInterleaveEhh(i8 noundef zeroext %37, i8 noundef zeroext %39)
          to label %41 unwind label %50

41:                                               ; preds = %35
  %42 = load i64, ptr %7, align 8, !tbaa !11
  %43 = mul i64 %42, 256
  %44 = load i64, ptr %9, align 8, !tbaa !11
  %45 = add i64 %43, %44
  %46 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNSt6vectorItSaItEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %45) #6
  store i16 %40, ptr %46, align 2, !tbaa !9
  br label %47

47:                                               ; preds = %41
  %48 = load i64, ptr %9, align 8, !tbaa !11
  %49 = add i64 %48, 1
  store i64 %49, ptr %9, align 8, !tbaa !11
  br label %31, !llvm.loop !13

50:                                               ; preds = %35
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %5, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %183

54:                                               ; preds = %34
  br label %55

55:                                               ; preds = %54
  %56 = load i64, ptr %7, align 8, !tbaa !11
  %57 = add i64 %56, 1
  store i64 %57, ptr %7, align 8, !tbaa !11
  br label %22, !llvm.loop !15

58:                                               ; preds = %25
  %59 = invoke noundef i32 @_ZN19bitfieldInterleave515perf_old_u8vec2ERSt6vectorItSaItEE(ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %60 unwind label %72

60:                                               ; preds = %58
  %61 = load i32, ptr %1, align 4, !tbaa !5
  %62 = add nsw i32 %61, %59
  store i32 %62, ptr %1, align 4, !tbaa !5
  %63 = invoke noundef i32 @_ZN19bitfieldInterleave515perf_new_u8vec2ERSt6vectorItSaItEE(ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %64 unwind label %72

64:                                               ; preds = %60
  %65 = load i32, ptr %1, align 4, !tbaa !5
  %66 = add nsw i32 %65, %63
  store i32 %66, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 65536, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %67 unwind label %76

67:                                               ; preds = %64
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 0, ptr %13, align 8, !tbaa !11
  br label %68

68:                                               ; preds = %109, %67
  %69 = load i64, ptr %13, align 8, !tbaa !11
  %70 = icmp ult i64 %69, 256
  br i1 %70, label %80, label %71

71:                                               ; preds = %68
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %112

72:                                               ; preds = %60, %58
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %5, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %6, align 4
  br label %183

76:                                               ; preds = %64
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %5, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %6, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %182

80:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %81

81:                                               ; preds = %101, %80
  %82 = load i64, ptr %14, align 8, !tbaa !11
  %83 = icmp ult i64 %82, 256
  br i1 %83, label %85, label %84

84:                                               ; preds = %81
  store i32 11, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %108

85:                                               ; preds = %81
  %86 = load i64, ptr %14, align 8, !tbaa !11
  %87 = trunc i64 %86 to i8
  %88 = load i64, ptr %13, align 8, !tbaa !11
  %89 = trunc i64 %88 to i8
  %90 = load i64, ptr %14, align 8, !tbaa !11
  %91 = trunc i64 %90 to i8
  %92 = load i64, ptr %13, align 8, !tbaa !11
  %93 = trunc i64 %92 to i8
  %94 = invoke noundef i32 @_ZN3glm18bitfieldInterleaveEhhhh(i8 noundef zeroext %87, i8 noundef zeroext %89, i8 noundef zeroext %91, i8 noundef zeroext %93)
          to label %95 unwind label %104

95:                                               ; preds = %85
  %96 = load i64, ptr %13, align 8, !tbaa !11
  %97 = mul i64 %96, 256
  %98 = load i64, ptr %14, align 8, !tbaa !11
  %99 = add i64 %97, %98
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %99) #6
  store i32 %94, ptr %100, align 4, !tbaa !5
  br label %101

101:                                              ; preds = %95
  %102 = load i64, ptr %14, align 8, !tbaa !11
  %103 = add i64 %102, 1
  store i64 %103, ptr %14, align 8, !tbaa !11
  br label %81, !llvm.loop !16

104:                                              ; preds = %85
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %5, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %181

108:                                              ; preds = %84
  br label %109

109:                                              ; preds = %108
  %110 = load i64, ptr %13, align 8, !tbaa !11
  %111 = add i64 %110, 1
  store i64 %111, ptr %13, align 8, !tbaa !11
  br label %68, !llvm.loop !17

112:                                              ; preds = %71
  %113 = invoke noundef i32 @_ZN19bitfieldInterleave515perf_old_u8vec4ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %114 unwind label %126

114:                                              ; preds = %112
  %115 = load i32, ptr %1, align 4, !tbaa !5
  %116 = add nsw i32 %115, %113
  store i32 %116, ptr %1, align 4, !tbaa !5
  %117 = invoke noundef i32 @_ZN19bitfieldInterleave515perf_new_u8vec4ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %118 unwind label %126

118:                                              ; preds = %114
  %119 = load i32, ptr %1, align 4, !tbaa !5
  %120 = add nsw i32 %119, %117
  store i32 %120, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 65536, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %121 unwind label %130

121:                                              ; preds = %118
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  store i64 0, ptr %18, align 8, !tbaa !11
  br label %122

122:                                              ; preds = %159, %121
  %123 = load i64, ptr %18, align 8, !tbaa !11
  %124 = icmp ult i64 %123, 256
  br i1 %124, label %134, label %125

125:                                              ; preds = %122
  store i32 14, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %162

126:                                              ; preds = %114, %112
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %5, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %6, align 4
  br label %181

130:                                              ; preds = %118
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %5, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %6, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %180

134:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store i64 0, ptr %19, align 8, !tbaa !11
  br label %135

135:                                              ; preds = %151, %134
  %136 = load i64, ptr %19, align 8, !tbaa !11
  %137 = icmp ult i64 %136, 256
  br i1 %137, label %139, label %138

138:                                              ; preds = %135
  store i32 17, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %158

139:                                              ; preds = %135
  %140 = load i64, ptr %19, align 8, !tbaa !11
  %141 = trunc i64 %140 to i16
  %142 = load i64, ptr %18, align 8, !tbaa !11
  %143 = trunc i64 %142 to i16
  %144 = invoke noundef i32 @_ZN3glm18bitfieldInterleaveEtt(i16 noundef zeroext %141, i16 noundef zeroext %143)
          to label %145 unwind label %154

145:                                              ; preds = %139
  %146 = load i64, ptr %18, align 8, !tbaa !11
  %147 = mul i64 %146, 256
  %148 = load i64, ptr %19, align 8, !tbaa !11
  %149 = add i64 %147, %148
  %150 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %149) #6
  store i32 %144, ptr %150, align 4, !tbaa !5
  br label %151

151:                                              ; preds = %145
  %152 = load i64, ptr %19, align 8, !tbaa !11
  %153 = add i64 %152, 1
  store i64 %153, ptr %19, align 8, !tbaa !11
  br label %135, !llvm.loop !18

154:                                              ; preds = %139
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %5, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %179

158:                                              ; preds = %138
  br label %159

159:                                              ; preds = %158
  %160 = load i64, ptr %18, align 8, !tbaa !11
  %161 = add i64 %160, 1
  store i64 %161, ptr %18, align 8, !tbaa !11
  br label %122, !llvm.loop !19

162:                                              ; preds = %125
  %163 = invoke noundef i32 @_ZN19bitfieldInterleave516perf_old_u16vec2ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %164 unwind label %175

164:                                              ; preds = %162
  %165 = load i32, ptr %1, align 4, !tbaa !5
  %166 = add nsw i32 %165, %163
  store i32 %166, ptr %1, align 4, !tbaa !5
  %167 = invoke noundef i32 @_ZN19bitfieldInterleave516perf_new_u16vec2ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %168 unwind label %175

168:                                              ; preds = %164
  %169 = load i32, ptr %1, align 4, !tbaa !5
  %170 = add nsw i32 %169, %167
  store i32 %170, ptr %1, align 4, !tbaa !5
  %171 = load i32, ptr %1, align 4, !tbaa !5
  %172 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %171)
          to label %173 unwind label %175

173:                                              ; preds = %168
  %174 = load i32, ptr %1, align 4, !tbaa !5
  store i32 1, ptr %8, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @_ZNSt6vectorItSaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %174

175:                                              ; preds = %168, %164, %162
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %5, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %6, align 4
  br label %179

179:                                              ; preds = %175, %154
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  br label %180

180:                                              ; preds = %179, %130
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  br label %181

181:                                              ; preds = %180, %126, %104
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  br label %182

182:                                              ; preds = %181, %76
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  br label %183

183:                                              ; preds = %182, %72, %50
  call void @_ZNSt6vectorItSaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  br label %184

184:                                              ; preds = %183, %26
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  br label %185

185:                                              ; preds = %184
  %186 = load ptr, ptr %5, align 8
  %187 = load i32, ptr %6, align 4
  %188 = insertvalue { ptr, i32 } poison, ptr %186, 0
  %189 = insertvalue { ptr, i32 } %188, i32 %187, 1
  resume { ptr, i32 } %189
}

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !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}
!19 = distinct !{!19, !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::vector.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.40" = type { i8 }
%"class.std::vector.43" = type { %"struct.std::_Vector_base.44" }
%"struct.std::_Vector_base.44" = 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::allocator.45" = type { i8 }

@.str.18 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [36 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN3glm18bitfieldInterleaveEhh(i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN3glm18bitfieldInterleaveEhhhh(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3glm18bitfieldInterleaveEtt(i16 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave515perf_old_u8vec2ERSt6vectorItSaItEE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave515perf_new_u8vec2ERSt6vectorItSaItEE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave515perf_old_u8vec4ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave515perf_new_u8vec4ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave516perf_old_u16vec2ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave516perf_new_u16vec2ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN19bitfieldInterleave54perfEv() local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::vector.38", align 8
  %2 = alloca i16, align 2
  %3 = alloca %"class.std::allocator.40", align 1
  %4 = alloca %"class.std::vector.43", align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::allocator.45", align 1
  %7 = alloca %"class.std::vector.43", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::allocator.45", align 1
  %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #6
  store i16 0, ptr %2, align 2, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #6
  call void @_ZNSaItEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  invoke void @_ZNSt6vectorItSaItEEC2EmRKtRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 65536, ptr noundef nonnull align 2 dereferenceable(2) %2, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %11 unwind label %16

11:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorItED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #6
  br label %.preheader53

.preheader53:                                     ; preds = %11, %18
  %.03955 = phi i64 [ 0, %11 ], [ %19, %18 ]
  %12 = trunc nuw i64 %.03955 to i8
  %13 = shl nuw nsw i64 %.03955, 8
  br label %20

14:                                               ; preds = %18
  %15 = invoke noundef i32 @_ZN19bitfieldInterleave515perf_old_u8vec2ERSt6vectorItSaItEE(ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %26 unwind label %34

16:                                               ; preds = %0
  %17 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorItED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #6
  br label %84

18:                                               ; preds = %20
  %19 = add nuw nsw i64 %.03955, 1
  %exitcond60.not = icmp eq i64 %19, 256
  br i1 %exitcond60.not, label %14, label %.preheader53, !llvm.loop !9

20:                                               ; preds = %.preheader53, %20
  %.03854 = phi i64 [ 0, %.preheader53 ], [ %25, %20 ]
  %21 = trunc nuw i64 %.03854 to i8
  %22 = call noundef zeroext i16 @_ZN3glm18bitfieldInterleaveEhh(i8 noundef zeroext %21, i8 noundef zeroext %12)
  %23 = add nuw nsw i64 %.03854, %13
  %24 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNSt6vectorItSaItEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %23) #6
  store i16 %22, ptr %24, align 2, !tbaa !5
  %25 = add nuw nsw i64 %.03854, 1
  %exitcond.not = icmp eq i64 %25, 256
  br i1 %exitcond.not, label %18, label %20, !llvm.loop !11

26:                                               ; preds = %14
  %27 = invoke noundef i32 @_ZN19bitfieldInterleave515perf_new_u8vec2ERSt6vectorItSaItEE(ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %28 unwind label %34

28:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  store i32 0, ptr %5, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 65536, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %29 unwind label %36

29:                                               ; preds = %28
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %.preheader52

.preheader52:                                     ; preds = %29, %38
  %.03757 = phi i64 [ 0, %29 ], [ %39, %38 ]
  %30 = trunc nuw i64 %.03757 to i8
  %31 = shl nuw nsw i64 %.03757, 8
  br label %40

32:                                               ; preds = %38
  %33 = invoke noundef i32 @_ZN19bitfieldInterleave515perf_old_u8vec4ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %49 unwind label %57

34:                                               ; preds = %26, %14
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %83

36:                                               ; preds = %28
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %82

38:                                               ; preds = %43
  %39 = add nuw nsw i64 %.03757, 1
  %exitcond62.not = icmp eq i64 %39, 256
  br i1 %exitcond62.not, label %32, label %.preheader52, !llvm.loop !14

40:                                               ; preds = %.preheader52, %43
  %.03656 = phi i64 [ 0, %.preheader52 ], [ %46, %43 ]
  %41 = trunc nuw i64 %.03656 to i8
  %42 = invoke noundef i32 @_ZN3glm18bitfieldInterleaveEhhhh(i8 noundef zeroext %41, i8 noundef zeroext %30, i8 noundef zeroext %41, i8 noundef zeroext %30)
          to label %43 unwind label %47

43:                                               ; preds = %40
  %44 = add nuw nsw i64 %.03656, %31
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %44) #6
  store i32 %42, ptr %45, align 4, !tbaa !12
  %46 = add nuw nsw i64 %.03656, 1
  %exitcond61.not = icmp eq i64 %46, 256
  br i1 %exitcond61.not, label %38, label %40, !llvm.loop !15

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

49:                                               ; preds = %32
  %50 = invoke noundef i32 @_ZN19bitfieldInterleave515perf_new_u8vec4ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %51 unwind label %57

51:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  store i32 0, ptr %8, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #6
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 65536, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %52 unwind label %59

52:                                               ; preds = %51
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  br label %.preheader

.preheader:                                       ; preds = %52, %61
  %.03559 = phi i64 [ 0, %52 ], [ %62, %61 ]
  %53 = trunc nuw nsw i64 %.03559 to i16
  %54 = shl nuw nsw i64 %.03559, 8
  br label %63

55:                                               ; preds = %61
  %56 = invoke noundef i32 @_ZN19bitfieldInterleave516perf_old_u16vec2ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %69 unwind label %78

57:                                               ; preds = %49, %32
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %81

59:                                               ; preds = %51
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  br label %80

61:                                               ; preds = %63
  %62 = add nuw nsw i64 %.03559, 1
  %exitcond64.not = icmp eq i64 %62, 256
  br i1 %exitcond64.not, label %55, label %.preheader, !llvm.loop !16

63:                                               ; preds = %.preheader, %63
  %.058 = phi i64 [ 0, %.preheader ], [ %68, %63 ]
  %64 = trunc nuw nsw i64 %.058 to i16
  %65 = call noundef i32 @_ZN3glm18bitfieldInterleaveEtt(i16 noundef zeroext %64, i16 noundef zeroext %53)
  %66 = add nuw nsw i64 %.058, %54
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %66) #6
  store i32 %65, ptr %67, align 4, !tbaa !12
  %68 = add nuw nsw i64 %.058, 1
  %exitcond63.not = icmp eq i64 %68, 256
  br i1 %exitcond63.not, label %61, label %63, !llvm.loop !17

69:                                               ; preds = %55
  %70 = invoke noundef i32 @_ZN19bitfieldInterleave516perf_new_u16vec2ERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %71 unwind label %78

71:                                               ; preds = %69
  %72 = add nsw i32 %27, %15
  %73 = add nsw i32 %72, %33
  %74 = add nsw i32 %73, %50
  %75 = add nsw i32 %74, %56
  %76 = add nsw i32 %75, %70
  %77 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19, i32 noundef %76)
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @_ZNSt6vectorItSaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  ret i32 %76

78:                                               ; preds = %69, %55
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %80

80:                                               ; preds = %78, %59
  %.pn = phi { ptr, i32 } [ %79, %78 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  br label %81

81:                                               ; preds = %80, %57, %47
  %.pn47 = phi { ptr, i32 } [ %48, %47 ], [ %.pn, %80 ], [ %58, %57 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %82

82:                                               ; preds = %81, %36
  %.pn47.pn = phi { ptr, i32 } [ %.pn47, %81 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  br label %83

83:                                               ; preds = %82, %34
  %.pn47.pn.pn = phi { ptr, i32 } [ %.pn47.pn, %82 ], [ %35, %34 ]
  call void @_ZNSt6vectorItSaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  br label %84

84:                                               ; preds = %83, %16
  %.pn47.pn.pn.pn = phi { ptr, i32 } [ %.pn47.pn.pn, %83 ], [ %17, %16 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn47.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"short", !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 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass