; LLVM IR from facebookresearch/habitat-sim :: src/deps/basis-universal/encoder (basisu_backend)

; 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.basisu::basisu_backend" = type { ptr, %"struct.basisu::basisu_backend_params", %"class.basisu::vector", %"struct.basisu::basisu_backend_output", ptr, %"class.basisu::vector.6", %"class.basisu::vector.8", %"class.basisu::vector.10", %"class.basisu::vector.12", %"class.basisu::vector.14", %"class.basisu::vector.14", %"class.basisu::vector.16", %"class.basisu::vector.16", %"class.basisu::vector.14", %"class.basisu::vector.14" }
%"struct.basisu::basisu_backend_params" = type <{ i8, i8, i8, i8, float, float, i32, i8, [3 x i8], i32, i32, i8, i8, [2 x i8] }>
%"class.basisu::vector" = type { ptr, i32, i32 }
%"struct.basisu::basisu_backend_output" = type { i32, i8, i8, i8, i32, i32, %"class.basisu::vector.0", %"class.basisu::vector.0", %"class.basisu::vector", %"class.basisu::vector.0", %"class.basisu::vector.2", %"class.basisu::vector.4" }
%"class.basisu::vector.0" = type { ptr, i32, i32 }
%"class.basisu::vector.2" = type { ptr, i32, i32 }
%"class.basisu::vector.4" = type { ptr, i32, i32 }
%"class.basisu::vector.6" = type { ptr, i32, i32 }
%"class.basisu::vector.8" = type { ptr, i32, i32 }
%"class.basisu::vector.10" = type { ptr, i32, i32 }
%"class.basisu::vector.12" = type { ptr, i32, i32 }
%"class.basisu::vector.16" = type { ptr, i32, i32 }
%"class.basisu::vector.14" = type { ptr, i32, i32 }
%"struct.basisu::basisu_frontend::params" = type { i32, ptr, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, ptr, i32, i32, i8, float, i32, ptr, ptr }
%"struct.basisu::basisu_backend_slice_desc" = type <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%"struct.basisu::encoder_block" = type <{ i32, i32, i32, i32, i8, [3 x i8] }>

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

declare void @_ZN6basisu12debug_printfEPKcz(ptr noundef, ...) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6basisu6vectorINS_25basisu_backend_slice_descEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN6basisuL6verifyEbi(i1 noundef zeroext, i32 noundef) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(17) ptr @_ZN6basisu8vector2DINS_13encoder_blockEEclEjj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6basisu14basisu_backend25check_for_valid_cr_blocksEv(ptr noundef nonnull align 8 dereferenceable(336) %0) #4 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %20 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %21 = getelementptr inbounds %"class.basisu::basisu_backend", ptr %20, i32 0, i32 0
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  store ptr %22, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #6
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK6basisu15basisu_frontend10get_paramsEv(ptr noundef nonnull align 8 dereferenceable(496) %23)
  %25 = getelementptr inbounds %"struct.basisu::basisu_frontend::params", ptr %24, i32 0, i32 17
  %26 = load i32, ptr %25, align 8, !tbaa !27
  %27 = icmp eq i32 %26, 3
  %28 = zext i1 %27 to i8
  store i8 %28, ptr %4, align 1, !tbaa !30
  %29 = load i8, ptr %4, align 1, !tbaa !30, !range !31, !noundef !32
  %30 = trunc i8 %29 to i1
  br i1 %30, label %32, label %31

31:                                               ; preds = %1
  store i32 1, ptr %5, align 4
  br label %177

32:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !33
  br label %33

33:                                               ; preds = %169, %32
  %34 = load i32, ptr %8, align 4, !tbaa !33
  %35 = getelementptr inbounds %"class.basisu::basisu_backend", ptr %20, i32 0, i32 2
  %36 = call noundef i32 @_ZNK6basisu6vectorINS_25basisu_backend_slice_descEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %37 = icmp ult i32 %34, %36
  br i1 %37, label %39, label %38

38:                                               ; preds = %33
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %172

39:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  %40 = getelementptr inbounds %"class.basisu::basisu_backend", ptr %20, i32 0, i32 2
  %41 = load i32, ptr %8, align 4, !tbaa !33
  %42 = zext i32 %41 to i64
  %43 = call noundef nonnull align 4 dereferenceable(46) ptr @_ZN6basisu6vectorINS_25basisu_backend_slice_descEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %40, i64 noundef %42)
  %44 = getelementptr inbounds %"struct.basisu::basisu_backend_slice_desc", ptr %43, i32 0, i32 12
  %45 = load i8, ptr %44, align 1, !tbaa !34, !range !31, !noundef !32
  %46 = trunc i8 %45 to i1
  %47 = zext i1 %46 to i8
  store i8 %47, ptr %9, align 1, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %48 = getelementptr inbounds %"class.basisu::basisu_backend", ptr %20, i32 0, i32 2
  %49 = load i32, ptr %8, align 4, !tbaa !33
  %50 = zext i32 %49 to i64
  %51 = call noundef nonnull align 4 dereferenceable(46) ptr @_ZN6basisu6vectorINS_25basisu_backend_slice_descEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %48, i64 noundef %50)
  %52 = getelementptr inbounds %"struct.basisu::basisu_backend_slice_desc", ptr %51, i32 0, i32 5
  %53 = load i32, ptr %52, align 4, !tbaa !36
  store i32 %53, ptr %10, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %54 = getelementptr inbounds %"class.basisu::basisu_backend", ptr %20, i32 0, i32 2
  %55 = load i32, ptr %8, align 4, !tbaa !33
  %56 = zext i32 %55 to i64
  %57 = call noundef nonnull align 4 dereferenceable(46) ptr @_ZN6basisu6vectorINS_25basisu_backend_slice_descEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %54, i64 noundef %56)
  %58 = getelementptr inbounds %"struct.basisu::basisu_backend_slice_desc", ptr %57, i32 0, i32 6
  %59 = load i32, ptr %58, align 4, !tbaa !37
  store i32 %59, ptr %11, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %60 = load i32, ptr %8, align 4, !tbaa !33
  %61 = call noundef i32 @_ZN6basisu14basisu_backend16find_video_frameEii(ptr noundef nonnull align 8 dereferenceable(336) %20, i32 noundef %60, i32 noundef -1)
  store i32 %61, ptr %12, align 4, !tbaa !33
  %62 = load i32, ptr %12, align 4, !tbaa !33
  %63 = icmp slt i32 %62, 0
  br i1 %63, label %64, label %68

64:                                               ; preds = %39
  %65 = load i8, ptr %9, align 1, !tbaa !30, !range !31, !noundef !32
  %66 = trunc i8 %65 to i1
  br i1 %66, label %68, label %67

67:                                               ; preds = %64
  call void @_ZN6basisuL6verifyEbi(i1 noundef zeroext false, i32 noundef 408)
  br label %68

68:                                               ; preds = %67, %64, %39
  %69 = load i8, ptr %9, align 1, !tbaa !30, !range !31, !noundef !32
  %70 = trunc i8 %69 to i1
  br i1 %70, label %74, label %71

71:                                               ; preds = %68
  %72 = load i32, ptr %12, align 4, !tbaa !33
  %73 = icmp slt i32 %72, 0
  br i1 %73, label %74, label %106

74:                                               ; preds = %71, %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !33
  br label %75

75:                                               ; preds = %102, %74
  %76 = load i32, ptr %13, align 4, !tbaa !33
  %77 = load i32, ptr %11, align 4, !tbaa !33
  %78 = icmp ult i32 %76, %77
  br i1 %78, label %80, label %79

79:                                               ; preds = %75
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %105

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

81:                                               ; preds = %98, %80
  %82 = load i32, ptr %14, align 4, !tbaa !33
  %83 = load i32, ptr %10, align 4, !tbaa !33
  %84 = icmp ult i32 %82, %83
  br i1 %84, label %86, label %85

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

86:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %87 = getelementptr inbounds %"class.basisu::basisu_backend", ptr %20, i32 0, i32 8
  %88 = load i32, ptr %8, align 4, !tbaa !33
  %89 = zext i32 %88 to i64
  %90 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN6basisu6vectorINS_8vector2DINS_13encoder_blockEEEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %87, i64 noundef %89)
  %91 = load i32, ptr %14, align 4, !tbaa !33
  %92 = load i32, ptr %13, align 4, !tbaa !33
  %93 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZN6basisu8vector2DINS_13encoder_blockEEclEjj(ptr noundef nonnull align 8 dereferenceable(24) %90, i32 noundef %91, i32 noundef %92)
  store ptr %93, ptr %15, align 8, !tbaa !5
  %94 = load ptr, ptr %15, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.basisu::encoder_block", ptr %94, i32 0, i32 0
  %96 = load i32, ptr %95, align 4, !tbaa !38
  %97 = icmp ne i32 %96, 2
  call void @_ZN6basisuL6verifyEbi(i1 noundef zeroext %97, i32 noundef 419)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %98

98:                                               ; preds = %86
  %99 = load i32, ptr %14, align 4, !tbaa !33
  %100 = add i32 %99, 1
  store i32 %100, ptr %14, align 4, !tbaa !33
  br label %81, !llvm.loop !40

101:                                              ; preds = %85
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %13, align 4, !tbaa !33
  %104 = add i32 %103, 1
  store i32 %104, ptr %13, align 4, !tbaa !33
  br label %75, !llvm.loop !42

105:                                              ; preds = %79
  br label %168

106:                                              ; preds = %71
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !33
  br label %107

107:                                              ; preds = %164, %106
  %108 = load i32, ptr %16, align 4, !tbaa !33
  %109 = load i32, ptr %11, align 4, !tbaa !33
  %110 = icmp ult i32 %108, %109
  br i1 %110, label %112, label %111

111:                                              ; preds = %107
  store i32 11, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %167

112:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !33
  br label %113

113:                                              ; preds = %160, %112
  %114 = load i32, ptr %17, align 4, !tbaa !33
  %115 = load i32, ptr %10, align 4, !tbaa !33
  %116 = icmp ult i32 %114, %115
  br i1 %116, label %118, label %117

117:                                              ; preds = %113
  store i32 14, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %163

118:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %119 = getelementptr inbounds %"class.basisu::basisu_backend", ptr %20, i32 0, i32 8
  %120 = load i32, ptr %8, align 4, !tbaa !33
  %121 = zext i32 %120 to i64
  %122 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN6basisu6vectorINS_8vector2DINS_13encoder_blockEEEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %119, i64 noundef %121)
  %123 = load i32, ptr %17, align 4, !tbaa !33
  %124 = load i32, ptr %16, align 4, !tbaa !33
  %125 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZN6basisu8vector2DINS_13encoder_blockEEclEjj(ptr noundef nonnull align 8 dereferenceable(24) %122, i32 noundef %123, i32 noundef %124)
  store ptr %125, ptr %18, align 8, !tbaa !5
  %126 = load ptr, ptr %18, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.basisu::encoder_block", ptr %126, i32 0, i32 0
  %128 = load i32, ptr %127, align 4, !tbaa !38
  %129 = icmp eq i32 %128, 2
  br i1 %129, label %130, label %159

130:                                              ; preds = %118
  %131 = load i32, ptr %6, align 4, !tbaa !33
  %132 = add i32 %131, 1
  store i32 %132, ptr %6, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %133 = getelementptr inbounds %"class.basisu::basisu_backend", ptr %20, i32 0, i32 8
  %134 = load i32, ptr %12, align 4, !tbaa !33
  %135 = sext i32 %134 to i64
  %136 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN6basisu6vectorINS_8vector2DINS_13encoder_blockEEEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %133, i64 noundef %135)
  %137 = load i32, ptr %17, align 4, !tbaa !33
  %138 = load i32, ptr %16, align 4, !tbaa !33
  %139 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZN6basisu8vector2DINS_13encoder_blockEEclEjj(ptr noundef nonnull align 8 dereferenceable(24) %136, i32 noundef %137, i32 noundef %138)
  store ptr %139, ptr %19, align 8, !tbaa !5
  %140 = load ptr, ptr %18, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.basisu::encoder_block", ptr %140, i32 0, i32 1
  %142 = load i32, ptr %141, align 4, !tbaa !43
  %143 = load ptr, ptr %19, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.basisu::encoder_block", ptr %143, i32 0, i32 1
  %145 = load i32, ptr %144, align 4, !tbaa !43
  %146 = icmp ne i32 %142, %145
  br i1 %146, label %155, label %147

147:                                              ; preds = %130
  %148 = load ptr, ptr %18, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.basisu::encoder_block", ptr %148, i32 0, i32 2
  %150 = load i32, ptr %149, align 4, !tbaa !44
  %151 = load ptr, ptr %19, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.basisu::encoder_block", ptr %151, i32 0, i32 2
  %153 = load i32, ptr %152, align 4, !tbaa !44
  %154 = icmp ne i32 %150, %153
  br i1 %154, label %155, label %158

155:                                              ; preds = %147, %130
  %156 = load i32, ptr %7, align 4, !tbaa !33
  %157 = add i32 %156, 1
  store i32 %157, ptr %7, align 4, !tbaa !33
  br label %158

158:                                              ; preds = %155, %147
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %159

159:                                              ; preds = %158, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %160

160:                                              ; preds = %159
  %161 = load i32, ptr %17, align 4, !tbaa !33
  %162 = add i32 %161, 1
  store i32 %162, ptr %17, align 4, !tbaa !33
  br label %113, !llvm.loop !45

163:                                              ; preds = %117
  br label %164

164:                                              ; preds = %163
  %165 = load i32, ptr %16, align 4, !tbaa !33
  %166 = add i32 %165, 1
  store i32 %166, ptr %16, align 4, !tbaa !33
  br label %107, !llvm.loop !46

167:                                              ; preds = %111
  br label %168

168:                                              ; preds = %167, %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  br label %169

169:                                              ; preds = %168
  %170 = load i32, ptr %8, align 4, !tbaa !33
  %171 = add i32 %170, 1
  store i32 %171, ptr %8, align 4, !tbaa !33
  br label %33, !llvm.loop !47

172:                                              ; preds = %38
  %173 = load i32, ptr %6, align 4, !tbaa !33
  %174 = load i32, ptr %7, align 4, !tbaa !33
  call void (ptr, ...) @_ZN6basisu12debug_printfEPKcz(ptr noundef @.str.8, i32 noundef %173, i32 noundef %174)
  %175 = load i32, ptr %7, align 4, !tbaa !33
  %176 = icmp eq i32 %175, 0
  call void @_ZN6basisuL6verifyEbi(i1 noundef zeroext %176, i32 noundef 452)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  store i32 0, ptr %5, align 4
  br label %177

177:                                              ; preds = %172, %31
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  %178 = load i32, ptr %5, align 4
  switch i32 %178, label %180 [
    i32 0, label %179
    i32 1, label %179
  ]

179:                                              ; preds = %177, %177
  ret void

180:                                              ; preds = %177
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZNK6basisu15basisu_frontend10get_paramsEv(ptr noundef nonnull align 8 dereferenceable(496)) #5 align 2

attributes #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN6basisu14basisu_backendE", !6, i64 0, !11, i64 8, !15, i64 40, !16, i64 56, !6, i64 168, !21, i64 176, !22, i64 192, !23, i64 208, !24, i64 224, !25, i64 240, !25, i64 256, !26, i64 272, !26, i64 288, !25, i64 304, !25, i64 320}
!11 = !{!"_ZTSN6basisu21basisu_backend_paramsE", !12, i64 0, !12, i64 1, !12, i64 2, !13, i64 4, !13, i64 8, !14, i64 12, !12, i64 16, !14, i64 20, !14, i64 24, !12, i64 28, !12, i64 29}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSN6basisu6vectorINS_25basisu_backend_slice_descEEE", !6, i64 0, !14, i64 8, !14, i64 12}
!16 = !{!"_ZTSN6basisu21basisu_backend_outputE", !17, i64 0, !12, i64 4, !12, i64 5, !12, i64 6, !14, i64 8, !14, i64 12, !18, i64 16, !18, i64 32, !15, i64 48, !18, i64 64, !19, i64 80, !20, i64 96}
!17 = !{!"_ZTSN6basist16basis_tex_formatE", !7, i64 0}
!18 = !{!"_ZTSN6basisu6vectorIhEE", !6, i64 0, !14, i64 8, !14, i64 12}
!19 = !{!"_ZTSN6basisu6vectorINS0_IhEEEE", !6, i64 0, !14, i64 8, !14, i64 12}
!20 = !{!"_ZTSN6basisu6vectorItEE", !6, i64 0, !14, i64 8, !14, i64 12}
!21 = !{!"_ZTSN6basisu6vectorINS_27etc1_endpoint_palette_entryEEE", !6, i64 0, !14, i64 8, !14, i64 12}
!22 = !{!"_ZTSN6basisu6vectorIN6basist27etc1_selector_palette_entryEEE", !6, i64 0, !14, i64 8, !14, i64 12}
!23 = !{!"_ZTSN6basisu6vectorINS_14basisu_backend34etc1_global_selector_cb_entry_descEEE", !6, i64 0, !14, i64 8, !14, i64 12}
!24 = !{!"_ZTSN6basisu6vectorINS_8vector2DINS_13encoder_blockEEEEE", !6, i64 0, !14, i64 8, !14, i64 12}
!25 = !{!"_ZTSN6basisu6vectorIjEE", !6, i64 0, !14, i64 8, !14, i64 12}
!26 = !{!"_ZTSN6basisu6vectorIbEE", !6, i64 0, !14, i64 8, !14, i64 12}
!27 = !{!28, !29, i64 64}
!28 = !{!"_ZTSN6basisu15basisu_frontend6paramsE", !14, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !12, i64 28, !12, i64 29, !12, i64 30, !12, i64 31, !12, i64 32, !12, i64 33, !12, i64 34, !6, i64 40, !14, i64 48, !14, i64 52, !12, i64 56, !13, i64 60, !29, i64 64, !6, i64 72, !6, i64 80}
!29 = !{!"_ZTSN6basist18basis_texture_typeE", !7, i64 0}
!30 = !{!12, !12, i64 0}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!14, !14, i64 0}
!34 = !{!35, !12, i64 45}
!35 = !{!"_ZTSN6basisu25basisu_backend_slice_descE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !14, i64 40, !12, i64 44, !12, i64 45}
!36 = !{!35, !14, i64 20}
!37 = !{!35, !14, i64 24}
!38 = !{!39, !14, i64 0}
!39 = !{!"_ZTSN6basisu13encoder_blockE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !12, i64 16}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = distinct !{!42, !41}
!43 = !{!39, !14, i64 4}
!44 = !{!39, !14, i64 8}
!45 = distinct !{!45, !41}
!46 = distinct !{!46, !41}
!47 = distinct !{!47, !41}


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

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

declare void @_ZN6basisu12debug_printfEPKcz(ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6basisu6vectorINS_25basisu_backend_slice_descEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN6basisuL6verifyEbi(i1 noundef zeroext, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(17) ptr @_ZN6basisu8vector2DINS_13encoder_blockEEclEjj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6basisu14basisu_backend25check_for_valid_cr_blocksEv(ptr noundef nonnull align 8 dereferenceable(336) %0) local_unnamed_addr #3 align 2 {
  %2 = load ptr, ptr %0, align 8, !tbaa !5
  %3 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK6basisu15basisu_frontend10get_paramsEv(ptr noundef nonnull align 8 dereferenceable(496) %2)
  %4 = getelementptr inbounds i8, ptr %3, i64 64
  %5 = load i32, ptr %4, align 8, !tbaa !26
  %6 = icmp eq i32 %5, 3
  br i1 %6, label %.preheader62, label %60

.preheader62:                                     ; preds = %1
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = tail call noundef i32 @_ZNK6basisu6vectorINS_25basisu_backend_slice_descEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader62
  %9 = getelementptr inbounds i8, ptr %0, i64 224
  br label %11

._crit_edge:                                      ; preds = %.loopexit, %.preheader62
  %.047.lcssa = phi i32 [ 0, %.preheader62 ], [ %.5, %.loopexit ]
  %.0.lcssa = phi i32 [ 0, %.preheader62 ], [ %.4, %.loopexit ]
  tail call void (ptr, ...) @_ZN6basisu12debug_printfEPKcz(ptr noundef nonnull @.str.8, i32 noundef %.0.lcssa, i32 noundef %.047.lcssa)
  %10 = icmp eq i32 %.047.lcssa, 0
  tail call void @_ZN6basisuL6verifyEbi(i1 noundef zeroext %10, i32 noundef 452)
  br label %60

11:                                               ; preds = %.lr.ph, %.loopexit
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %.loopexit ]
  %.078 = phi i32 [ 0, %.lr.ph ], [ %.4, %.loopexit ]
  %.04777 = phi i32 [ 0, %.lr.ph ], [ %.5, %.loopexit ]
  %12 = tail call noundef nonnull align 4 dereferenceable(46) ptr @_ZN6basisu6vectorINS_25basisu_backend_slice_descEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %indvars.iv)
  %13 = getelementptr inbounds i8, ptr %12, i64 45
  %14 = load i8, ptr %13, align 1, !tbaa !29, !range !31, !noundef !32
  %15 = trunc nuw i8 %14 to i1
  %16 = tail call noundef nonnull align 4 dereferenceable(46) ptr @_ZN6basisu6vectorINS_25basisu_backend_slice_descEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %indvars.iv)
  %17 = getelementptr inbounds i8, ptr %16, i64 20
  %18 = load i32, ptr %17, align 4, !tbaa !33
  %19 = tail call noundef nonnull align 4 dereferenceable(46) ptr @_ZN6basisu6vectorINS_25basisu_backend_slice_descEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %indvars.iv)
  %20 = getelementptr inbounds i8, ptr %19, i64 24
  %21 = load i32, ptr %20, align 4, !tbaa !34
  %22 = trunc nuw i64 %indvars.iv to i32
  %23 = tail call noundef i32 @_ZN6basisu14basisu_backend16find_video_frameEii(ptr noundef nonnull align 8 dereferenceable(336) %0, i32 noundef %22, i32 noundef -1)
  %24 = icmp slt i32 %23, 0
  %.not57 = xor i1 %24, true
  %brmerge = select i1 %.not57, i1 true, i1 %15
  br i1 %brmerge, label %25, label %.thread

.thread:                                          ; preds = %11
  tail call void @_ZN6basisuL6verifyEbi(i1 noundef zeroext false, i32 noundef 408)
  br label %.preheader59

25:                                               ; preds = %11
  %or.cond = or i1 %24, %15
  br i1 %or.cond, label %.preheader59, label %.preheader60

.preheader60:                                     ; preds = %25
  %.not80 = icmp eq i32 %21, 0
  br i1 %.not80, label %.loopexit, label %.preheader58.lr.ph

.preheader58.lr.ph:                               ; preds = %.preheader60
  %.not81 = icmp eq i32 %18, 0
  %26 = zext nneg i32 %23 to i64
  br i1 %.not81, label %.loopexit, label %.preheader58.us

.preheader58.us:                                  ; preds = %.preheader58.lr.ph, %._crit_edge.us
  %.169.us = phi i32 [ %.3.us, %._crit_edge.us ], [ %.078, %.preheader58.lr.ph ]
  %.04668.us = phi i32 [ %49, %._crit_edge.us ], [ 0, %.preheader58.lr.ph ]
  %.14867.us = phi i32 [ %.451.us, %._crit_edge.us ], [ %.04777, %.preheader58.lr.ph ]
  br label %27

27:                                               ; preds = %.preheader58.us, %47
  %.265.us = phi i32 [ %.169.us, %.preheader58.us ], [ %.3.us, %47 ]
  %.04564.us = phi i32 [ 0, %.preheader58.us ], [ %48, %47 ]
  %.24963.us = phi i32 [ %.14867.us, %.preheader58.us ], [ %.451.us, %47 ]
  %28 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN6basisu6vectorINS_8vector2DINS_13encoder_blockEEEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %9, i64 noundef %indvars.iv)
  %29 = tail call noundef nonnull align 4 dereferenceable(17) ptr @_ZN6basisu8vector2DINS_13encoder_blockEEclEjj(ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef %.04564.us, i32 noundef %.04668.us)
  %30 = load i32, ptr %29, align 4, !tbaa !35
  %31 = icmp eq i32 %30, 2
  br i1 %31, label %32, label %47

32:                                               ; preds = %27
  %33 = add i32 %.265.us, 1
  %34 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN6basisu6vectorINS_8vector2DINS_13encoder_blockEEEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %9, i64 noundef %26)
  %35 = tail call noundef nonnull align 4 dereferenceable(17) ptr @_ZN6basisu8vector2DINS_13encoder_blockEEclEjj(ptr noundef nonnull align 8 dereferenceable(24) %34, i32 noundef %.04564.us, i32 noundef %.04668.us)
  %36 = getelementptr inbounds i8, ptr %29, i64 4
  %37 = load i32, ptr %36, align 4, !tbaa !37
  %38 = getelementptr inbounds i8, ptr %35, i64 4
  %39 = load i32, ptr %38, align 4, !tbaa !37
  %.not.us = icmp eq i32 %37, %39
  br i1 %.not.us, label %40, label %45

40:                                               ; preds = %32
  %41 = getelementptr inbounds i8, ptr %29, i64 8
  %42 = load i32, ptr %41, align 4, !tbaa !38
  %43 = getelementptr inbounds i8, ptr %35, i64 8
  %44 = load i32, ptr %43, align 4, !tbaa !38
  %.not56.us = icmp eq i32 %42, %44
  br i1 %.not56.us, label %47, label %45

45:                                               ; preds = %40, %32
  %46 = add i32 %.24963.us, 1
  br label %47

47:                                               ; preds = %45, %40, %27
  %.451.us = phi i32 [ %.24963.us, %27 ], [ %46, %45 ], [ %.24963.us, %40 ]
  %.3.us = phi i32 [ %.265.us, %27 ], [ %33, %45 ], [ %33, %40 ]
  %48 = add nuw i32 %.04564.us, 1
  %exitcond.not = icmp eq i32 %48, %18
  br i1 %exitcond.not, label %._crit_edge.us, label %27, !llvm.loop !39

._crit_edge.us:                                   ; preds = %47
  %49 = add nuw i32 %.04668.us, 1
  %exitcond87.not = icmp eq i32 %49, %21
  br i1 %exitcond87.not, label %.loopexit, label %.preheader58.us, !llvm.loop !41

.preheader59:                                     ; preds = %.thread, %25
  %.not82 = icmp eq i32 %21, 0
  %.not83 = icmp eq i32 %18, 0
  %or.cond93 = select i1 %.not82, i1 true, i1 %.not83
  br i1 %or.cond93, label %.loopexit, label %.preheader.us

.preheader.us:                                    ; preds = %.preheader59, %._crit_edge.us75
  %.05374.us = phi i32 [ %56, %._crit_edge.us75 ], [ 0, %.preheader59 ]
  br label %50

50:                                               ; preds = %.preheader.us, %50
  %.05273.us = phi i32 [ 0, %.preheader.us ], [ %55, %50 ]
  %51 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN6basisu6vectorINS_8vector2DINS_13encoder_blockEEEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %9, i64 noundef %indvars.iv)
  %52 = tail call noundef nonnull align 4 dereferenceable(17) ptr @_ZN6basisu8vector2DINS_13encoder_blockEEclEjj(ptr noundef nonnull align 8 dereferenceable(24) %51, i32 noundef %.05273.us, i32 noundef %.05374.us)
  %53 = load i32, ptr %52, align 4, !tbaa !35
  %54 = icmp ne i32 %53, 2
  tail call void @_ZN6basisuL6verifyEbi(i1 noundef zeroext %54, i32 noundef 419)
  %55 = add nuw i32 %.05273.us, 1
  %exitcond88.not = icmp eq i32 %55, %18
  br i1 %exitcond88.not, label %._crit_edge.us75, label %50, !llvm.loop !42

._crit_edge.us75:                                 ; preds = %50
  %56 = add nuw i32 %.05374.us, 1
  %exitcond89.not = icmp eq i32 %56, %21
  br i1 %exitcond89.not, label %.loopexit, label %.preheader.us, !llvm.loop !43

.loopexit:                                        ; preds = %._crit_edge.us, %._crit_edge.us75, %.preheader58.lr.ph, %.preheader60, %.preheader59
  %.5 = phi i32 [ %.04777, %.preheader59 ], [ %.04777, %.preheader60 ], [ %.04777, %.preheader58.lr.ph ], [ %.04777, %._crit_edge.us75 ], [ %.451.us, %._crit_edge.us ]
  %.4 = phi i32 [ %.078, %.preheader59 ], [ %.078, %.preheader60 ], [ %.078, %.preheader58.lr.ph ], [ %.078, %._crit_edge.us75 ], [ %.3.us, %._crit_edge.us ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %57 = tail call noundef i32 @_ZNK6basisu6vectorINS_25basisu_backend_slice_descEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %58 = zext i32 %57 to i64
  %59 = icmp ult i64 %indvars.iv.next, %58
  br i1 %59, label %11, label %._crit_edge, !llvm.loop !44

60:                                               ; preds = %1, %._crit_edge
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZNK6basisu15basisu_frontend10get_paramsEv(ptr noundef nonnull align 8 dereferenceable(496)) local_unnamed_addr #4 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN6basisu14basisu_backendE", !7, i64 0, !10, i64 8, !14, i64 40, !15, i64 56, !7, i64 168, !20, i64 176, !21, i64 192, !22, i64 208, !23, i64 224, !24, i64 240, !24, i64 256, !25, i64 272, !25, i64 288, !24, i64 304, !24, i64 320}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN6basisu21basisu_backend_paramsE", !11, i64 0, !11, i64 1, !11, i64 2, !12, i64 4, !12, i64 8, !13, i64 12, !11, i64 16, !13, i64 20, !13, i64 24, !11, i64 28, !11, i64 29}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"float", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!"_ZTSN6basisu6vectorINS_25basisu_backend_slice_descEEE", !7, i64 0, !13, i64 8, !13, i64 12}
!15 = !{!"_ZTSN6basisu21basisu_backend_outputE", !16, i64 0, !11, i64 4, !11, i64 5, !11, i64 6, !13, i64 8, !13, i64 12, !17, i64 16, !17, i64 32, !14, i64 48, !17, i64 64, !18, i64 80, !19, i64 96}
!16 = !{!"_ZTSN6basist16basis_tex_formatE", !8, i64 0}
!17 = !{!"_ZTSN6basisu6vectorIhEE", !7, i64 0, !13, i64 8, !13, i64 12}
!18 = !{!"_ZTSN6basisu6vectorINS0_IhEEEE", !7, i64 0, !13, i64 8, !13, i64 12}
!19 = !{!"_ZTSN6basisu6vectorItEE", !7, i64 0, !13, i64 8, !13, i64 12}
!20 = !{!"_ZTSN6basisu6vectorINS_27etc1_endpoint_palette_entryEEE", !7, i64 0, !13, i64 8, !13, i64 12}
!21 = !{!"_ZTSN6basisu6vectorIN6basist27etc1_selector_palette_entryEEE", !7, i64 0, !13, i64 8, !13, i64 12}
!22 = !{!"_ZTSN6basisu6vectorINS_14basisu_backend34etc1_global_selector_cb_entry_descEEE", !7, i64 0, !13, i64 8, !13, i64 12}
!23 = !{!"_ZTSN6basisu6vectorINS_8vector2DINS_13encoder_blockEEEEE", !7, i64 0, !13, i64 8, !13, i64 12}
!24 = !{!"_ZTSN6basisu6vectorIjEE", !7, i64 0, !13, i64 8, !13, i64 12}
!25 = !{!"_ZTSN6basisu6vectorIbEE", !7, i64 0, !13, i64 8, !13, i64 12}
!26 = !{!27, !28, i64 64}
!27 = !{!"_ZTSN6basisu15basisu_frontend6paramsE", !13, i64 0, !7, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !11, i64 28, !11, i64 29, !11, i64 30, !11, i64 31, !11, i64 32, !11, i64 33, !11, i64 34, !7, i64 40, !13, i64 48, !13, i64 52, !11, i64 56, !12, i64 60, !28, i64 64, !7, i64 72, !7, i64 80}
!28 = !{!"_ZTSN6basist18basis_texture_typeE", !8, i64 0}
!29 = !{!30, !11, i64 45}
!30 = !{!"_ZTSN6basisu25basisu_backend_slice_descE", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !11, i64 44, !11, i64 45}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!30, !13, i64 20}
!34 = !{!30, !13, i64 24}
!35 = !{!36, !13, i64 0}
!36 = !{!"_ZTSN6basisu13encoder_blockE", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!37 = !{!36, !13, i64 4}
!38 = !{!36, !13, i64 8}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = distinct !{!41, !40}
!42 = distinct !{!42, !40}
!43 = distinct !{!43, !40}
!44 = distinct !{!44, !40}


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