; LLVM IR from huawei-noah/bolt :: common/uni/src/tensor_transpose.ll (Z21transformNCHWToNCHWC810TensorDescPKvS_Pv)

; 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.TensorDesc = type { i32, i32, i32, [20 x i32] }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10UNI_MEMCPYPvPKvm(ptr noundef, ptr noundef, i64 noundef) #1

; Function Attrs: nounwind
declare i64 @syscall(i64 noundef, ...) #2

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

declare i32 @fflush(ptr noundef) #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @ee2str(i32 noundef) #5

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_Z10tensorIs2d10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_Z10tensorIs3d10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z11tensor3dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z11tensor4dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_S4_(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z21transformNCHWToNCHWC810TensorDescPKvS_Pv(ptr noundef byval(%struct.TensorDesc) align 8 %0, ptr noundef %1, ptr noundef byval(%struct.TensorDesc) align 8 %2, ptr noundef %3) #7 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %struct.TensorDesc, align 8
  %23 = alloca %struct.TensorDesc, align 8
  %24 = alloca i32, align 4
  %25 = alloca %struct.TensorDesc, align 8
  %26 = alloca i32, align 4
  %27 = alloca %struct.TensorDesc, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca %struct.TensorDesc, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca %struct.TensorDesc, align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca %struct.TensorDesc, align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %3, ptr %7, align 8, !tbaa !5
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = icmp eq ptr %39, null
  br i1 %40, label %44, label %41

41:                                               ; preds = %4
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = icmp eq ptr %42, null
  br i1 %43, label %44, label %60

44:                                               ; preds = %41, %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store i32 1, ptr %8, align 4, !tbaa !9
  %45 = load i32, ptr %8, align 4, !tbaa !9
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %59

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  %48 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %49 = trunc i64 %48 to i32
  store i32 %49, ptr %9, align 4, !tbaa !11
  %50 = load i32, ptr %9, align 4, !tbaa !11
  %51 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %50)
  %52 = load ptr, ptr @stdout, align 8, !tbaa !5
  %53 = call i32 @fflush(ptr noundef %52)
  %54 = load i32, ptr %8, align 4, !tbaa !9
  %55 = call ptr @ee2str(i32 noundef %54)
  %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %55)
  %57 = load ptr, ptr @stdout, align 8, !tbaa !5
  %58 = call i32 @fflush(ptr noundef %57)
  call void @exit(i32 noundef 1) #10
  unreachable

59:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %60

60:                                               ; preds = %59, %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 8 %0, i64 92, i1 false), !tbaa.struct !13
  %61 = call noundef zeroext i8 @_Z10tensorIs2d10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %22)
  %62 = icmp ne i8 %61, 0
  br i1 %62, label %63, label %73

63:                                               ; preds = %60
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = icmp ne ptr %64, %65
  br i1 %66, label %67, label %72

67:                                               ; preds = %63
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 8 %0, i64 92, i1 false), !tbaa.struct !13
  %70 = call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %23)
  %71 = zext i32 %70 to i64
  call void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %68, ptr noundef %69, i64 noundef %71)
  br label %72

72:                                               ; preds = %67, %63
  store i32 0, ptr %5, align 4
  store i32 1, ptr %24, align 4
  br label %215

73:                                               ; preds = %60
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 8 %0, i64 92, i1 false), !tbaa.struct !13
  %74 = call noundef zeroext i8 @_Z10tensorIs3d10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %25)
  %75 = icmp ne i8 %74, 0
  br i1 %75, label %76, label %109

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 8 %0, i64 92, i1 false), !tbaa.struct !13
  %77 = call noundef i32 @_Z11tensor3dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_(ptr noundef byval(%struct.TensorDesc) align 8 %27, ptr noundef %10, ptr noundef %12, ptr noundef %14, ptr noundef %15, ptr noundef %16)
  store i32 %77, ptr %26, align 4, !tbaa !9
  %78 = load i32, ptr %26, align 4, !tbaa !9
  %79 = icmp ne i32 %78, 0
  br i1 %79, label %80, label %92

80:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  %81 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %82 = trunc i64 %81 to i32
  store i32 %82, ptr %28, align 4, !tbaa !11
  %83 = load i32, ptr %28, align 4, !tbaa !11
  %84 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %83)
  %85 = load ptr, ptr @stdout, align 8, !tbaa !5
  %86 = call i32 @fflush(ptr noundef %85)
  %87 = load i32, ptr %26, align 4, !tbaa !9
  %88 = call ptr @ee2str(i32 noundef %87)
  %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %88)
  %90 = load ptr, ptr @stdout, align 8, !tbaa !5
  %91 = call i32 @fflush(ptr noundef %90)
  call void @exit(i32 noundef 1) #10
  unreachable

92:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 8 %2, i64 92, i1 false), !tbaa.struct !13
  %93 = call noundef i32 @_Z11tensor3dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_(ptr noundef byval(%struct.TensorDesc) align 8 %30, ptr noundef %11, ptr noundef %13, ptr noundef %18, ptr noundef %19, ptr noundef %20)
  store i32 %93, ptr %29, align 4, !tbaa !9
  %94 = load i32, ptr %29, align 4, !tbaa !9
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %108

96:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  %97 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %98 = trunc i64 %97 to i32
  store i32 %98, ptr %31, align 4, !tbaa !11
  %99 = load i32, ptr %31, align 4, !tbaa !11
  %100 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %99)
  %101 = load ptr, ptr @stdout, align 8, !tbaa !5
  %102 = call i32 @fflush(ptr noundef %101)
  %103 = load i32, ptr %29, align 4, !tbaa !9
  %104 = call ptr @ee2str(i32 noundef %103)
  %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %104)
  %106 = load ptr, ptr @stdout, align 8, !tbaa !5
  %107 = call i32 @fflush(ptr noundef %106)
  call void @exit(i32 noundef 1) #10
  unreachable

108:                                              ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  store i32 1, ptr %21, align 4, !tbaa !11
  store i32 1, ptr %17, align 4, !tbaa !11
  br label %142

109:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 8 %0, i64 92, i1 false), !tbaa.struct !13
  %110 = call noundef i32 @_Z11tensor4dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_S4_(ptr noundef byval(%struct.TensorDesc) align 8 %33, ptr noundef %10, ptr noundef %12, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17)
  store i32 %110, ptr %32, align 4, !tbaa !9
  %111 = load i32, ptr %32, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %125

113:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %114 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %115 = trunc i64 %114 to i32
  store i32 %115, ptr %34, align 4, !tbaa !11
  %116 = load i32, ptr %34, align 4, !tbaa !11
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %116)
  %118 = load ptr, ptr @stdout, align 8, !tbaa !5
  %119 = call i32 @fflush(ptr noundef %118)
  %120 = load i32, ptr %32, align 4, !tbaa !9
  %121 = call ptr @ee2str(i32 noundef %120)
  %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %121)
  %123 = load ptr, ptr @stdout, align 8, !tbaa !5
  %124 = call i32 @fflush(ptr noundef %123)
  call void @exit(i32 noundef 1) #10
  unreachable

125:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 8 %2, i64 92, i1 false), !tbaa.struct !13
  %126 = call noundef i32 @_Z11tensor4dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_S4_(ptr noundef byval(%struct.TensorDesc) align 8 %36, ptr noundef %11, ptr noundef %13, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21)
  store i32 %126, ptr %35, align 4, !tbaa !9
  %127 = load i32, ptr %35, align 4, !tbaa !9
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %141

129:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  %130 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %131 = trunc i64 %130 to i32
  store i32 %131, ptr %37, align 4, !tbaa !11
  %132 = load i32, ptr %37, align 4, !tbaa !11
  %133 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %132)
  %134 = load ptr, ptr @stdout, align 8, !tbaa !5
  %135 = call i32 @fflush(ptr noundef %134)
  %136 = load i32, ptr %35, align 4, !tbaa !9
  %137 = call ptr @ee2str(i32 noundef %136)
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %137)
  %139 = load ptr, ptr @stdout, align 8, !tbaa !5
  %140 = call i32 @fflush(ptr noundef %139)
  call void @exit(i32 noundef 1) #10
  unreachable

141:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  br label %142

142:                                              ; preds = %141, %108
  br label %143

143:                                              ; preds = %142
  %144 = load i32, ptr %14, align 4, !tbaa !11
  %145 = load i32, ptr %18, align 4, !tbaa !11
  %146 = icmp eq i32 %144, %145
  br i1 %146, label %147, label %157

147:                                              ; preds = %143
  %148 = load i32, ptr %12, align 4, !tbaa !16
  %149 = icmp ne i32 %148, 2
  br i1 %149, label %150, label %157

150:                                              ; preds = %147
  %151 = load i32, ptr %13, align 4, !tbaa !16
  %152 = icmp eq i32 %151, 2
  br i1 %152, label %153, label %157

153:                                              ; preds = %150
  %154 = load i32, ptr %10, align 4, !tbaa !14
  %155 = load i32, ptr %11, align 4, !tbaa !14
  %156 = icmp eq i32 %154, %155
  br i1 %156, label %167, label %157

157:                                              ; preds = %153, %150, %147, %143
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  %158 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %159 = trunc i64 %158 to i32
  store i32 %159, ptr %38, align 4, !tbaa !11
  %160 = load i32, ptr %38, align 4, !tbaa !11
  %161 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %160)
  %162 = load ptr, ptr @stdout, align 8, !tbaa !5
  %163 = call i32 @fflush(ptr noundef %162)
  %164 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %165 = load ptr, ptr @stdout, align 8, !tbaa !5
  %166 = call i32 @fflush(ptr noundef %165)
  call void @exit(i32 noundef 1) #10
  unreachable

167:                                              ; preds = %153
  %168 = load i32, ptr %10, align 4, !tbaa !14
  switch i32 %168, label %213 [
    i32 6, label %169
    i32 3, label %180
    i32 1, label %191
    i32 10, label %202
  ]

169:                                              ; preds = %167
  %170 = load i32, ptr %14, align 4, !tbaa !11
  %171 = load i32, ptr %15, align 4, !tbaa !11
  %172 = load i32, ptr %16, align 4, !tbaa !11
  %173 = load i32, ptr %17, align 4, !tbaa !11
  %174 = load i32, ptr %18, align 4, !tbaa !11
  %175 = load i32, ptr %19, align 4, !tbaa !11
  %176 = load i32, ptr %20, align 4, !tbaa !11
  %177 = load i32, ptr %21, align 4, !tbaa !11
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZL27transformNCHWToNCHWC8KernelIfEvjjjjjjjjjPKT_PS0_(i32 noundef %170, i32 noundef %171, i32 noundef %172, i32 noundef %173, i32 noundef %174, i32 noundef %175, i32 noundef %176, i32 noundef %177, i32 noundef 0, ptr noundef %178, ptr noundef %179)
  br label %214

180:                                              ; preds = %167
  %181 = load i32, ptr %14, align 4, !tbaa !11
  %182 = load i32, ptr %15, align 4, !tbaa !11
  %183 = load i32, ptr %16, align 4, !tbaa !11
  %184 = load i32, ptr %17, align 4, !tbaa !11
  %185 = load i32, ptr %18, align 4, !tbaa !11
  %186 = load i32, ptr %19, align 4, !tbaa !11
  %187 = load i32, ptr %20, align 4, !tbaa !11
  %188 = load i32, ptr %21, align 4, !tbaa !11
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZL27transformNCHWToNCHWC8KernelIiEvjjjjjjjjjPKT_PS0_(i32 noundef %181, i32 noundef %182, i32 noundef %183, i32 noundef %184, i32 noundef %185, i32 noundef %186, i32 noundef %187, i32 noundef %188, i32 noundef 0, ptr noundef %189, ptr noundef %190)
  br label %214

191:                                              ; preds = %167
  %192 = load i32, ptr %14, align 4, !tbaa !11
  %193 = load i32, ptr %15, align 4, !tbaa !11
  %194 = load i32, ptr %16, align 4, !tbaa !11
  %195 = load i32, ptr %17, align 4, !tbaa !11
  %196 = load i32, ptr %18, align 4, !tbaa !11
  %197 = load i32, ptr %19, align 4, !tbaa !11
  %198 = load i32, ptr %20, align 4, !tbaa !11
  %199 = load i32, ptr %21, align 4, !tbaa !11
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZL27transformNCHWToNCHWC8KernelIaEvjjjjjjjjjPKT_PS0_(i32 noundef %192, i32 noundef %193, i32 noundef %194, i32 noundef %195, i32 noundef %196, i32 noundef %197, i32 noundef %198, i32 noundef %199, i32 noundef 0, ptr noundef %200, ptr noundef %201)
  br label %214

202:                                              ; preds = %167
  %203 = load i32, ptr %14, align 4, !tbaa !11
  %204 = load i32, ptr %15, align 4, !tbaa !11
  %205 = load i32, ptr %16, align 4, !tbaa !11
  %206 = load i32, ptr %17, align 4, !tbaa !11
  %207 = load i32, ptr %18, align 4, !tbaa !11
  %208 = load i32, ptr %19, align 4, !tbaa !11
  %209 = load i32, ptr %20, align 4, !tbaa !11
  %210 = load i32, ptr %21, align 4, !tbaa !11
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZL27transformNCHWToNCHWC8KernelIhEvjjjjjjjjjPKT_PS0_(i32 noundef %203, i32 noundef %204, i32 noundef %205, i32 noundef %206, i32 noundef %207, i32 noundef %208, i32 noundef %209, i32 noundef %210, i32 noundef 128, ptr noundef %211, ptr noundef %212)
  br label %214

213:                                              ; preds = %167
  store i32 51, ptr %5, align 4
  store i32 1, ptr %24, align 4
  br label %215

214:                                              ; preds = %202, %191, %180, %169
  store i32 0, ptr %5, align 4
  store i32 1, ptr %24, align 4
  br label %215

215:                                              ; preds = %214, %213, %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  %216 = load i32, ptr %5, align 4
  ret i32 %216
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL27transformNCHWToNCHWC8KernelIfEvjjjjjjjjjPKT_PS0_(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #8

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL27transformNCHWToNCHWC8KernelIiEvjjjjjjjjjPKT_PS0_(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #8

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL27transformNCHWToNCHWC8KernelIaEvjjjjjjjjjPKT_PS0_(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #8

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL27transformNCHWToNCHWC8KernelIhEvjjjjjjjjjPKT_PS0_(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #8

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS2EE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{i64 0, i64 4, !14, i64 4, i64 4, !16, i64 8, i64 4, !11, i64 12, i64 80, !18}
!14 = !{!15, !15, i64 0}
!15 = !{!"_ZTS8DataType", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"_ZTS10DataFormat", !7, i64 0}
!18 = !{!7, !7, i64 0}


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

%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10UNI_MEMCPYPvPKvm(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind
declare i64 @syscall(i64 noundef, ...) local_unnamed_addr #2

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

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @ee2str(i32 noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_Z10tensorIs2d10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_Z10tensorIs3d10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z11tensor3dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z11tensor4dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_S4_(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 52) i32 @_Z21transformNCHWToNCHWC810TensorDescPKvS_Pv(ptr nocapture noundef readonly byval(%struct.TensorDesc) align 8 %0, ptr noundef %1, ptr nocapture noundef readonly byval(%struct.TensorDesc) align 8 %2, ptr noundef %3) local_unnamed_addr #6 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = icmp eq ptr %1, null
  %18 = icmp eq ptr %3, null
  %or.cond = or i1 %17, %18
  br i1 %or.cond, label %19, label %29

19:                                               ; preds = %4
  %20 = tail call i64 (i64, ...) @syscall(i64 noundef 186) #8
  %21 = trunc i64 %20 to i32
  %22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %21)
  %23 = load ptr, ptr @stdout, align 8, !tbaa !5
  %24 = tail call i32 @fflush(ptr noundef %23)
  %25 = tail call ptr @ee2str(i32 noundef 1)
  %26 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %25)
  %27 = load ptr, ptr @stdout, align 8, !tbaa !5
  %28 = tail call i32 @fflush(ptr noundef %27)
  tail call void @exit(i32 noundef 1) #9
  unreachable

29:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #8
  %30 = tail call noundef zeroext i8 @_Z10tensorIs2d10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %0)
  %.not = icmp eq i8 %30, 0
  br i1 %.not, label %35, label %31

31:                                               ; preds = %29
  %.not49 = icmp eq ptr %1, %3
  br i1 %.not49, label %136, label %32

32:                                               ; preds = %31
  %33 = tail call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %0)
  %34 = zext i32 %33 to i64
  tail call void @_Z10UNI_MEMCPYPvPKvm(ptr noundef nonnull %3, ptr noundef nonnull %1, i64 noundef %34)
  br label %136

35:                                               ; preds = %29
  %36 = tail call noundef zeroext i8 @_Z10tensorIs3d10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %0)
  %.not44 = icmp eq i8 %36, 0
  br i1 %.not44, label %62, label %37

37:                                               ; preds = %35
  %38 = call noundef i32 @_Z11tensor3dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %0, ptr noundef nonnull %5, ptr noundef nonnull %7, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11)
  %.not47 = icmp eq i32 %38, 0
  br i1 %.not47, label %49, label %39

39:                                               ; preds = %37
  %40 = call i64 (i64, ...) @syscall(i64 noundef 186) #8
  %41 = trunc i64 %40 to i32
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %41)
  %43 = load ptr, ptr @stdout, align 8, !tbaa !5
  %44 = call i32 @fflush(ptr noundef %43)
  %45 = call ptr @ee2str(i32 noundef %38)
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %45)
  %47 = load ptr, ptr @stdout, align 8, !tbaa !5
  %48 = call i32 @fflush(ptr noundef %47)
  call void @exit(i32 noundef 1) #9
  unreachable

49:                                               ; preds = %37
  %50 = call noundef i32 @_Z11tensor3dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %2, ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull %15)
  %.not48 = icmp eq i32 %50, 0
  br i1 %.not48, label %61, label %51

51:                                               ; preds = %49
  %52 = call i64 (i64, ...) @syscall(i64 noundef 186) #8
  %53 = trunc i64 %52 to i32
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %53)
  %55 = load ptr, ptr @stdout, align 8, !tbaa !5
  %56 = call i32 @fflush(ptr noundef %55)
  %57 = call ptr @ee2str(i32 noundef %50)
  %58 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %57)
  %59 = load ptr, ptr @stdout, align 8, !tbaa !5
  %60 = call i32 @fflush(ptr noundef %59)
  call void @exit(i32 noundef 1) #9
  unreachable

61:                                               ; preds = %49
  store i32 1, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  br label %86

62:                                               ; preds = %35
  %63 = call noundef i32 @_Z11tensor4dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_S4_(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %0, ptr noundef nonnull %5, ptr noundef nonnull %7, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %12)
  %.not45 = icmp eq i32 %63, 0
  br i1 %.not45, label %74, label %64

64:                                               ; preds = %62
  %65 = call i64 (i64, ...) @syscall(i64 noundef 186) #8
  %66 = trunc i64 %65 to i32
  %67 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %66)
  %68 = load ptr, ptr @stdout, align 8, !tbaa !5
  %69 = call i32 @fflush(ptr noundef %68)
  %70 = call ptr @ee2str(i32 noundef %63)
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %70)
  %72 = load ptr, ptr @stdout, align 8, !tbaa !5
  %73 = call i32 @fflush(ptr noundef %72)
  call void @exit(i32 noundef 1) #9
  unreachable

74:                                               ; preds = %62
  %75 = call noundef i32 @_Z11tensor4dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_S4_(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %2, ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16)
  %.not46 = icmp eq i32 %75, 0
  br i1 %.not46, label %86, label %76

76:                                               ; preds = %74
  %77 = call i64 (i64, ...) @syscall(i64 noundef 186) #8
  %78 = trunc i64 %77 to i32
  %79 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %78)
  %80 = load ptr, ptr @stdout, align 8, !tbaa !5
  %81 = call i32 @fflush(ptr noundef %80)
  %82 = call ptr @ee2str(i32 noundef %75)
  %83 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %82)
  %84 = load ptr, ptr @stdout, align 8, !tbaa !5
  %85 = call i32 @fflush(ptr noundef %84)
  call void @exit(i32 noundef 1) #9
  unreachable

86:                                               ; preds = %74, %61
  %87 = load i32, ptr %9, align 4, !tbaa !9
  %88 = load i32, ptr %13, align 4, !tbaa !9
  %89 = icmp eq i32 %87, %88
  %90 = load i32, ptr %7, align 4
  %91 = icmp ne i32 %90, 2
  %or.cond3 = select i1 %89, i1 %91, i1 false
  %92 = load i32, ptr %8, align 4
  %93 = icmp eq i32 %92, 2
  %or.cond5 = select i1 %or.cond3, i1 %93, i1 false
  br i1 %or.cond5, label %94, label %98

94:                                               ; preds = %86
  %95 = load i32, ptr %5, align 4, !tbaa !11
  %96 = load i32, ptr %6, align 4, !tbaa !11
  %97 = icmp eq i32 %95, %96
  br i1 %97, label %107, label %98

98:                                               ; preds = %94, %86
  %99 = call i64 (i64, ...) @syscall(i64 noundef 186) #8
  %100 = trunc i64 %99 to i32
  %101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %100)
  %102 = load ptr, ptr @stdout, align 8, !tbaa !5
  %103 = call i32 @fflush(ptr noundef %102)
  %104 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %105 = load ptr, ptr @stdout, align 8, !tbaa !5
  %106 = call i32 @fflush(ptr noundef %105)
  call void @exit(i32 noundef 1) #9
  unreachable

107:                                              ; preds = %94
  switch i32 %95, label %136 [
    i32 6, label %108
    i32 3, label %115
    i32 1, label %122
    i32 10, label %129
  ]

108:                                              ; preds = %107
  %109 = load i32, ptr %10, align 4, !tbaa !9
  %110 = load i32, ptr %11, align 4, !tbaa !9
  %111 = load i32, ptr %12, align 4, !tbaa !9
  %112 = load i32, ptr %14, align 4, !tbaa !9
  %113 = load i32, ptr %15, align 4, !tbaa !9
  %114 = load i32, ptr %16, align 4, !tbaa !9
  call void @_ZL27transformNCHWToNCHWC8KernelIfEvjjjjjjjjjPKT_PS0_(i32 noundef %87, i32 noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %87, i32 noundef %112, i32 noundef %113, i32 noundef %114, i32 noundef 0, ptr noundef nonnull %1, ptr noundef nonnull %3)
  br label %136

115:                                              ; preds = %107
  %116 = load i32, ptr %10, align 4, !tbaa !9
  %117 = load i32, ptr %11, align 4, !tbaa !9
  %118 = load i32, ptr %12, align 4, !tbaa !9
  %119 = load i32, ptr %14, align 4, !tbaa !9
  %120 = load i32, ptr %15, align 4, !tbaa !9
  %121 = load i32, ptr %16, align 4, !tbaa !9
  call void @_ZL27transformNCHWToNCHWC8KernelIiEvjjjjjjjjjPKT_PS0_(i32 noundef %87, i32 noundef %116, i32 noundef %117, i32 noundef %118, i32 noundef %87, i32 noundef %119, i32 noundef %120, i32 noundef %121, i32 noundef 0, ptr noundef nonnull %1, ptr noundef nonnull %3)
  br label %136

122:                                              ; preds = %107
  %123 = load i32, ptr %10, align 4, !tbaa !9
  %124 = load i32, ptr %11, align 4, !tbaa !9
  %125 = load i32, ptr %12, align 4, !tbaa !9
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = load i32, ptr %15, align 4, !tbaa !9
  %128 = load i32, ptr %16, align 4, !tbaa !9
  call void @_ZL27transformNCHWToNCHWC8KernelIaEvjjjjjjjjjPKT_PS0_(i32 noundef %87, i32 noundef %123, i32 noundef %124, i32 noundef %125, i32 noundef %87, i32 noundef %126, i32 noundef %127, i32 noundef %128, i32 noundef 0, ptr noundef nonnull %1, ptr noundef nonnull %3)
  br label %136

129:                                              ; preds = %107
  %130 = load i32, ptr %10, align 4, !tbaa !9
  %131 = load i32, ptr %11, align 4, !tbaa !9
  %132 = load i32, ptr %12, align 4, !tbaa !9
  %133 = load i32, ptr %14, align 4, !tbaa !9
  %134 = load i32, ptr %15, align 4, !tbaa !9
  %135 = load i32, ptr %16, align 4, !tbaa !9
  call void @_ZL27transformNCHWToNCHWC8KernelIhEvjjjjjjjjjPKT_PS0_(i32 noundef %87, i32 noundef %130, i32 noundef %131, i32 noundef %132, i32 noundef %87, i32 noundef %133, i32 noundef %134, i32 noundef %135, i32 noundef 128, ptr noundef nonnull %1, ptr noundef nonnull %3)
  br label %136

136:                                              ; preds = %108, %115, %122, %129, %107, %31, %32
  %.0 = phi i32 [ 0, %32 ], [ 0, %31 ], [ 51, %107 ], [ 0, %129 ], [ 0, %122 ], [ 0, %115 ], [ 0, %108 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  ret i32 %.0
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL27transformNCHWToNCHWC8KernelIfEvjjjjjjjjjPKT_PS0_(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL27transformNCHWToNCHWC8KernelIiEvjjjjjjjjjPKT_PS0_(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL27transformNCHWToNCHWC8KernelIaEvjjjjjjjjjPKT_PS0_(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL27transformNCHWToNCHWC8KernelIhEvjjjjjjjjjPKT_PS0_(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass