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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.glm::vec.8" = type { %union.anon.9 }
%union.anon.9 = type { %struct.anon.10 }
%struct.anon.10 = type { i8, i8 }

; 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 uwtable
define dso_local noundef i32 @_ZN19bitfieldInterleave54testEv() #1 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i32, align 4
  %4 = alloca i64, align 8
  %5 = alloca i16, align 2
  %6 = alloca i16, align 2
  %7 = alloca %"struct.glm::vec.8", align 1
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  store i64 0, ptr %2, align 8, !tbaa !9
  br label %16

16:                                               ; preds = %77, %0
  %17 = load i64, ptr %2, align 8, !tbaa !9
  %18 = icmp ult i64 %17, 256
  br i1 %18, label %20, label %19

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

20:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  store i64 0, ptr %4, align 8, !tbaa !9
  br label %21

21:                                               ; preds = %73, %20
  %22 = load i64, ptr %4, align 8, !tbaa !9
  %23 = icmp ult i64 %22, 256
  br i1 %23, label %25, label %24

24:                                               ; preds = %21
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  br label %76

25:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 2, ptr %5) #4
  %26 = load i64, ptr %4, align 8, !tbaa !9
  %27 = trunc i64 %26 to i8
  %28 = load i64, ptr %2, align 8, !tbaa !9
  %29 = trunc i64 %28 to i8
  %30 = call noundef zeroext i16 @_ZN19bitfieldInterleave525bitfieldInterleave_u8vec2Ehh(i8 noundef zeroext %27, i8 noundef zeroext %29)
  store i16 %30, ptr %5, align 2, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 2, ptr %6) #4
  %31 = load i64, ptr %4, align 8, !tbaa !9
  %32 = trunc i64 %31 to i8
  %33 = load i64, ptr %2, align 8, !tbaa !9
  %34 = trunc i64 %33 to i8
  %35 = call noundef zeroext i16 @_ZN3glm18bitfieldInterleaveEhh(i8 noundef zeroext %32, i8 noundef zeroext %34)
  store i16 %35, ptr %6, align 2, !tbaa !11
  %36 = load i16, ptr %5, align 2, !tbaa !11
  %37 = zext i16 %36 to i32
  %38 = load i16, ptr %6, align 2, !tbaa !11
  %39 = zext i16 %38 to i32
  %40 = icmp eq i32 %37, %39
  %41 = zext i1 %40 to i64
  %42 = select i1 %40, i32 0, i32 1
  %43 = load i32, ptr %1, align 4, !tbaa !5
  %44 = add nsw i32 %43, %42
  store i32 %44, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #4
  %45 = load i16, ptr %5, align 2, !tbaa !11
  %46 = call i16 @_ZN19bitfieldInterleave527bitfieldDeinterleave_u8vec2Et(i16 noundef zeroext %45)
  %47 = getelementptr inbounds %"struct.glm::vec.8", ptr %7, i32 0, i32 0
  %48 = getelementptr inbounds %union.anon.9, ptr %47, i32 0, i32 0
  store i16 %46, ptr %48, align 1
  %49 = getelementptr inbounds %"struct.glm::vec.8", ptr %7, i32 0, i32 0
  %50 = getelementptr inbounds %struct.anon.10, ptr %49, i32 0, i32 0
  %51 = load i8, ptr %50, align 1, !tbaa !13
  %52 = zext i8 %51 to i32
  %53 = load i64, ptr %4, align 8, !tbaa !9
  %54 = trunc i64 %53 to i8
  %55 = zext i8 %54 to i32
  %56 = icmp eq i32 %52, %55
  %57 = zext i1 %56 to i64
  %58 = select i1 %56, i32 0, i32 1
  %59 = load i32, ptr %1, align 4, !tbaa !5
  %60 = add nsw i32 %59, %58
  store i32 %60, ptr %1, align 4, !tbaa !5
  %61 = getelementptr inbounds %"struct.glm::vec.8", ptr %7, i32 0, i32 0
  %62 = getelementptr inbounds %struct.anon.10, ptr %61, i32 0, i32 1
  %63 = load i8, ptr %62, align 1, !tbaa !13
  %64 = zext i8 %63 to i32
  %65 = load i64, ptr %2, align 8, !tbaa !9
  %66 = trunc i64 %65 to i8
  %67 = zext i8 %66 to i32
  %68 = icmp eq i32 %64, %67
  %69 = zext i1 %68 to i64
  %70 = select i1 %68, i32 0, i32 1
  %71 = load i32, ptr %1, align 4, !tbaa !5
  %72 = add nsw i32 %71, %70
  store i32 %72, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %5) #4
  br label %73

73:                                               ; preds = %25
  %74 = load i64, ptr %4, align 8, !tbaa !9
  %75 = add i64 %74, 1
  store i64 %75, ptr %4, align 8, !tbaa !9
  br label %21, !llvm.loop !14

76:                                               ; preds = %24
  br label %77

77:                                               ; preds = %76
  %78 = load i64, ptr %2, align 8, !tbaa !9
  %79 = add i64 %78, 1
  store i64 %79, ptr %2, align 8, !tbaa !9
  br label %16, !llvm.loop !16

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

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

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

85:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %86

86:                                               ; preds = %116, %85
  %87 = load i64, ptr %9, align 8, !tbaa !9
  %88 = icmp ult i64 %87, 256
  br i1 %88, label %90, label %89

89:                                               ; preds = %86
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %119

90:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %91 = load i64, ptr %9, align 8, !tbaa !9
  %92 = trunc i64 %91 to i8
  %93 = load i64, ptr %8, align 8, !tbaa !9
  %94 = trunc i64 %93 to i8
  %95 = load i64, ptr %9, align 8, !tbaa !9
  %96 = trunc i64 %95 to i8
  %97 = load i64, ptr %8, align 8, !tbaa !9
  %98 = trunc i64 %97 to i8
  %99 = call noundef i32 @_ZN19bitfieldInterleave525bitfieldInterleave_u8vec4Ehhhh(i8 noundef zeroext %92, i8 noundef zeroext %94, i8 noundef zeroext %96, i8 noundef zeroext %98)
  store i32 %99, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %100 = load i64, ptr %9, align 8, !tbaa !9
  %101 = trunc i64 %100 to i8
  %102 = load i64, ptr %8, align 8, !tbaa !9
  %103 = trunc i64 %102 to i8
  %104 = load i64, ptr %9, align 8, !tbaa !9
  %105 = trunc i64 %104 to i8
  %106 = load i64, ptr %8, align 8, !tbaa !9
  %107 = trunc i64 %106 to i8
  %108 = call noundef i32 @_ZN3glm18bitfieldInterleaveEhhhh(i8 noundef zeroext %101, i8 noundef zeroext %103, i8 noundef zeroext %105, i8 noundef zeroext %107)
  store i32 %108, ptr %11, align 4, !tbaa !5
  %109 = load i32, ptr %10, align 4, !tbaa !5
  %110 = load i32, ptr %11, align 4, !tbaa !5
  %111 = icmp eq i32 %109, %110
  %112 = zext i1 %111 to i64
  %113 = select i1 %111, i32 0, i32 1
  %114 = load i32, ptr %1, align 4, !tbaa !5
  %115 = add nsw i32 %114, %113
  store i32 %115, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %116

116:                                              ; preds = %90
  %117 = load i64, ptr %9, align 8, !tbaa !9
  %118 = add i64 %117, 1
  store i64 %118, ptr %9, align 8, !tbaa !9
  br label %86, !llvm.loop !17

119:                                              ; preds = %89
  br label %120

120:                                              ; preds = %119
  %121 = load i64, ptr %8, align 8, !tbaa !9
  %122 = add i64 %121, 1
  store i64 %122, ptr %8, align 8, !tbaa !9
  br label %81, !llvm.loop !18

123:                                              ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store i64 0, ptr %12, align 8, !tbaa !9
  br label %124

124:                                              ; preds = %155, %123
  %125 = load i64, ptr %12, align 8, !tbaa !9
  %126 = icmp ult i64 %125, 256
  br i1 %126, label %128, label %127

127:                                              ; preds = %124
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %158

128:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %129

129:                                              ; preds = %151, %128
  %130 = load i64, ptr %13, align 8, !tbaa !9
  %131 = icmp ult i64 %130, 256
  br i1 %131, label %133, label %132

132:                                              ; preds = %129
  store i32 17, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %154

133:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %134 = load i64, ptr %13, align 8, !tbaa !9
  %135 = trunc i64 %134 to i16
  %136 = load i64, ptr %12, align 8, !tbaa !9
  %137 = trunc i64 %136 to i16
  %138 = call noundef i32 @_ZN19bitfieldInterleave526bitfieldInterleave_u16vec2Ett(i16 noundef zeroext %135, i16 noundef zeroext %137)
  store i32 %138, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %139 = load i64, ptr %13, align 8, !tbaa !9
  %140 = trunc i64 %139 to i16
  %141 = load i64, ptr %12, align 8, !tbaa !9
  %142 = trunc i64 %141 to i16
  %143 = call noundef i32 @_ZN3glm18bitfieldInterleaveEtt(i16 noundef zeroext %140, i16 noundef zeroext %142)
  store i32 %143, ptr %15, align 4, !tbaa !5
  %144 = load i32, ptr %14, align 4, !tbaa !5
  %145 = load i32, ptr %15, align 4, !tbaa !5
  %146 = icmp eq i32 %144, %145
  %147 = zext i1 %146 to i64
  %148 = select i1 %146, i32 0, i32 1
  %149 = load i32, ptr %1, align 4, !tbaa !5
  %150 = add nsw i32 %149, %148
  store i32 %150, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %151

151:                                              ; preds = %133
  %152 = load i64, ptr %13, align 8, !tbaa !9
  %153 = add i64 %152, 1
  store i64 %153, ptr %13, align 8, !tbaa !9
  br label %129, !llvm.loop !19

154:                                              ; preds = %132
  br label %155

155:                                              ; preds = %154
  %156 = load i64, ptr %12, align 8, !tbaa !9
  %157 = add i64 %156, 1
  store i64 %157, ptr %12, align 8, !tbaa !9
  br label %124, !llvm.loop !20

158:                                              ; preds = %127
  %159 = load i32, ptr %1, align 4, !tbaa !5
  store i32 1, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret i32 %159
}

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

; 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 i16 @_ZN19bitfieldInterleave527bitfieldDeinterleave_u8vec2Et(i16 noundef zeroext) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave525bitfieldInterleave_u8vec4Ehhhh(i8 noundef zeroext, i8 noundef zeroext, 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 @_ZN19bitfieldInterleave526bitfieldInterleave_u16vec2Ett(i16 noundef zeroext, i16 noundef zeroext) #2

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

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


; 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"

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN19bitfieldInterleave54testEv() local_unnamed_addr #0 {
  br label %.preheader52

.preheader52:                                     ; preds = %0, %2
  %.056 = phi i32 [ 0, %0 ], [ %20, %2 ]
  %.04355 = phi i64 [ 0, %0 ], [ %3, %2 ]
  %1 = trunc nuw i64 %.04355 to i8
  br label %4

2:                                                ; preds = %4
  %3 = add nuw nsw i64 %.04355, 1
  %exitcond67.not = icmp eq i64 %3, 256
  br i1 %exitcond67.not, label %.preheader50, label %.preheader52, !llvm.loop !5

4:                                                ; preds = %.preheader52, %4
  %.154 = phi i32 [ %.056, %.preheader52 ], [ %20, %4 ]
  %.04653 = phi i64 [ 0, %.preheader52 ], [ %21, %4 ]
  %5 = trunc nuw i64 %.04653 to i8
  %6 = tail call noundef zeroext i16 @_ZN19bitfieldInterleave525bitfieldInterleave_u8vec2Ehh(i8 noundef zeroext %5, i8 noundef zeroext %1)
  %7 = tail call noundef zeroext i16 @_ZN3glm18bitfieldInterleaveEhh(i8 noundef zeroext %5, i8 noundef zeroext %1)
  %8 = icmp ne i16 %6, %7
  %9 = zext i1 %8 to i32
  %10 = add nsw i32 %.154, %9
  %11 = tail call i16 @_ZN19bitfieldInterleave527bitfieldDeinterleave_u8vec2Et(i16 noundef zeroext %6)
  %.sroa.4.0.extract.shift = lshr i16 %11, 8
  %12 = and i16 %11, 255
  %13 = zext nneg i16 %12 to i64
  %14 = icmp ne i64 %.04653, %13
  %15 = zext i1 %14 to i32
  %16 = add nsw i32 %10, %15
  %17 = zext nneg i16 %.sroa.4.0.extract.shift to i64
  %18 = icmp ne i64 %.04355, %17
  %19 = zext i1 %18 to i32
  %20 = add nsw i32 %16, %19
  %21 = add nuw nsw i64 %.04653, 1
  %exitcond.not = icmp eq i64 %21, 256
  br i1 %exitcond.not, label %2, label %4, !llvm.loop !7

.preheader50:                                     ; preds = %2, %23
  %.260 = phi i32 [ %31, %23 ], [ %20, %2 ]
  %.04859 = phi i64 [ %24, %23 ], [ 0, %2 ]
  %22 = trunc nuw i64 %.04859 to i8
  br label %25

23:                                               ; preds = %25
  %24 = add nuw nsw i64 %.04859, 1
  %exitcond69.not = icmp eq i64 %24, 256
  br i1 %exitcond69.not, label %.preheader, label %.preheader50, !llvm.loop !8

25:                                               ; preds = %.preheader50, %25
  %.358 = phi i32 [ %.260, %.preheader50 ], [ %31, %25 ]
  %.04757 = phi i64 [ 0, %.preheader50 ], [ %32, %25 ]
  %26 = trunc nuw i64 %.04757 to i8
  %27 = tail call noundef i32 @_ZN19bitfieldInterleave525bitfieldInterleave_u8vec4Ehhhh(i8 noundef zeroext %26, i8 noundef zeroext %22, i8 noundef zeroext %26, i8 noundef zeroext %22)
  %28 = tail call noundef i32 @_ZN3glm18bitfieldInterleaveEhhhh(i8 noundef zeroext %26, i8 noundef zeroext %22, i8 noundef zeroext %26, i8 noundef zeroext %22)
  %29 = icmp ne i32 %27, %28
  %30 = zext i1 %29 to i32
  %31 = add nsw i32 %.358, %30
  %32 = add nuw nsw i64 %.04757, 1
  %exitcond68.not = icmp eq i64 %32, 256
  br i1 %exitcond68.not, label %23, label %25, !llvm.loop !9

.preheader:                                       ; preds = %23, %35
  %.464 = phi i32 [ %43, %35 ], [ %31, %23 ]
  %.04563 = phi i64 [ %36, %35 ], [ 0, %23 ]
  %33 = trunc nuw nsw i64 %.04563 to i16
  br label %37

34:                                               ; preds = %35
  ret i32 %43

35:                                               ; preds = %37
  %36 = add nuw nsw i64 %.04563, 1
  %exitcond71.not = icmp eq i64 %36, 256
  br i1 %exitcond71.not, label %34, label %.preheader, !llvm.loop !10

37:                                               ; preds = %.preheader, %37
  %.562 = phi i32 [ %.464, %.preheader ], [ %43, %37 ]
  %.04461 = phi i64 [ 0, %.preheader ], [ %44, %37 ]
  %38 = trunc nuw nsw i64 %.04461 to i16
  %39 = tail call noundef i32 @_ZN19bitfieldInterleave526bitfieldInterleave_u16vec2Ett(i16 noundef zeroext %38, i16 noundef zeroext %33)
  %40 = tail call noundef i32 @_ZN3glm18bitfieldInterleaveEtt(i16 noundef zeroext %38, i16 noundef zeroext %33)
  %41 = icmp ne i32 %39, %40
  %42 = zext i1 %41 to i32
  %43 = add nsw i32 %.562, %42
  %44 = add nuw nsw i64 %.04461, 1
  %exitcond70.not = icmp eq i64 %44, 256
  br i1 %exitcond70.not, label %35, label %37, !llvm.loop !11
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN19bitfieldInterleave525bitfieldInterleave_u8vec2Ehh(i8 noundef zeroext, i8 noundef zeroext) 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 #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i16 @_ZN19bitfieldInterleave527bitfieldDeinterleave_u8vec2Et(i16 noundef zeroext) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN19bitfieldInterleave525bitfieldInterleave_u8vec4Ehhhh(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #1

; 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 #2

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

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

attributes #0 = { 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 #1 = { 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 #2 = { 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" }

!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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}
!9 = distinct !{!9, !6}
!10 = distinct !{!10, !6}
!11 = distinct !{!11, !6}


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