; LLVM IR from huawei-noah/bolt :: compute/tensor/src/cpu/tfslice.ll (Z11tfslice_cpu10TensorDescPv16TfSliceParamSpecS_S0_)

; 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] }
%struct.TfSliceParamSpec = type { [8 x i32], [8 x i32], [8 x i32], [8 x i8], [8 x i8], [8 x i8], [8 x i8], [8 x i8], i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.0" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z17isSingleCStepMode10TensorDesc16TfSliceParamSpec(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef byval(%struct.TfSliceParamSpec) align 8) #0

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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: 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) #5

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z11tfslice_cpu10TensorDescPv16TfSliceParamSpecS_S0_(ptr noundef byval(%struct.TensorDesc) align 8 %0, ptr noundef %1, ptr noundef byval(%struct.TfSliceParamSpec) align 8 %2, ptr noundef byval(%struct.TensorDesc) align 8 %3, ptr noundef %4) #6 personality ptr @__gxx_personality_v0 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %struct.TensorDesc, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %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 %struct.TensorDesc, align 8
  %21 = alloca %struct.TfSliceParamSpec, align 8
  %22 = alloca i32, align 4
  %23 = alloca %struct.TensorDesc, align 8
  %24 = alloca %struct.TensorDesc, align 8
  %25 = alloca %struct.TensorDesc, align 8
  %26 = alloca %struct.TensorDesc, align 8
  %27 = alloca %struct.TensorDesc, align 8
  %28 = alloca %struct.TensorDesc, align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca %struct.TensorDesc, align 8
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca %"class.std::vector", align 8
  %37 = alloca %"class.std::allocator", align 1
  %38 = alloca ptr, align 8
  %39 = alloca i32, align 4
  %40 = alloca %"class.std::vector", align 8
  %41 = alloca %"class.std::allocator", align 1
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %46 = alloca i32, align 4
  %47 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %49 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %50 = alloca i32, align 4
  %51 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca %struct.TensorDesc, align 8
  %56 = alloca %struct.TensorDesc, align 8
  %57 = alloca i32, align 4
  %58 = alloca i32, align 4
  %59 = alloca %"class.std::vector", align 8
  %60 = alloca %"class.std::allocator", align 1
  %61 = alloca i32, align 4
  %62 = alloca %"class.std::vector", align 8
  %63 = alloca i32, align 4
  %64 = alloca i32, align 4
  %65 = alloca i32, align 4
  %66 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %67 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %68 = alloca i32, align 4
  %69 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %70 = alloca i32, align 4
  %71 = alloca ptr, align 8
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %4, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 8 %3, i64 92, i1 false), !tbaa.struct !9
  %72 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %9)
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %5
  store i32 0, ptr %6, align 4
  br label %599

75:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %76 = getelementptr inbounds %struct.TfSliceParamSpec, ptr %2, i32 0, i32 0
  %77 = getelementptr inbounds [8 x i32], ptr %76, i64 0, i64 0
  store ptr %77, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %78 = getelementptr inbounds %struct.TfSliceParamSpec, ptr %2, i32 0, i32 1
  %79 = getelementptr inbounds [8 x i32], ptr %78, i64 0, i64 0
  store ptr %79, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %80 = getelementptr inbounds %struct.TfSliceParamSpec, ptr %2, i32 0, i32 2
  %81 = getelementptr inbounds [8 x i32], ptr %80, i64 0, i64 0
  store ptr %81, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %82 = getelementptr inbounds %struct.TfSliceParamSpec, ptr %2, i32 0, i32 3
  %83 = getelementptr inbounds [8 x i8], ptr %82, i64 0, i64 0
  store ptr %83, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %84 = getelementptr inbounds %struct.TfSliceParamSpec, ptr %2, i32 0, i32 4
  %85 = getelementptr inbounds [8 x i8], ptr %84, i64 0, i64 0
  store ptr %85, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  %86 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 2
  %87 = load i32, ptr %86, align 8, !tbaa !17
  store i32 %87, ptr %15, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 0, ptr %16, align 4, !tbaa !14
  br label %88

88:                                               ; preds = %196, %75
  %89 = load i32, ptr %16, align 4, !tbaa !14
  %90 = load i32, ptr %15, align 4, !tbaa !14
  %91 = icmp ult i32 %89, %90
  br i1 %91, label %93, label %92

92:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %199

93:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %94 = load i32, ptr %15, align 4, !tbaa !14
  %95 = sub i32 %94, 1
  %96 = load i32, ptr %16, align 4, !tbaa !14
  %97 = sub i32 %95, %96
  store i32 %97, ptr %17, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %98 = load ptr, ptr %13, align 8, !tbaa !5
  %99 = load i32, ptr %16, align 4, !tbaa !14
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds i8, ptr %98, i64 %100
  %102 = load i8, ptr %101, align 1, !tbaa !16
  %103 = sext i8 %102 to i32
  %104 = icmp eq i32 %103, 1
  br i1 %104, label %105, label %106

105:                                              ; preds = %93
  br label %112

106:                                              ; preds = %93
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = load i32, ptr %16, align 4, !tbaa !14
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds i32, ptr %107, i64 %109
  %111 = load i32, ptr %110, align 4, !tbaa !14
  br label %112

112:                                              ; preds = %106, %105
  %113 = phi i32 [ 0, %105 ], [ %111, %106 ]
  store i32 %113, ptr %18, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %114 = load ptr, ptr %14, align 8, !tbaa !5
  %115 = load i32, ptr %16, align 4, !tbaa !14
  %116 = zext i32 %115 to i64
  %117 = getelementptr inbounds i8, ptr %114, i64 %116
  %118 = load i8, ptr %117, align 1, !tbaa !16
  %119 = sext i8 %118 to i32
  %120 = icmp eq i32 %119, 1
  br i1 %120, label %121, label %127

121:                                              ; preds = %112
  %122 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 3
  %123 = load i32, ptr %17, align 4, !tbaa !14
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [20 x i32], ptr %122, i64 0, i64 %124
  %126 = load i32, ptr %125, align 4, !tbaa !14
  br label %133

127:                                              ; preds = %112
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = load i32, ptr %16, align 4, !tbaa !14
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds i32, ptr %128, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !14
  br label %133

133:                                              ; preds = %127, %121
  %134 = phi i32 [ %126, %121 ], [ %132, %127 ]
  store i32 %134, ptr %19, align 4, !tbaa !14
  %135 = load i32, ptr %18, align 4, !tbaa !14
  %136 = icmp slt i32 %135, 0
  br i1 %136, label %137, label %152

137:                                              ; preds = %133
  %138 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 3
  %139 = load i32, ptr %17, align 4, !tbaa !14
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [20 x i32], ptr %138, i64 0, i64 %140
  %142 = load i32, ptr %141, align 4, !tbaa !14
  %143 = load i32, ptr %18, align 4, !tbaa !14
  %144 = add i32 %142, %143
  store i32 %144, ptr %18, align 4, !tbaa !14
  %145 = load i32, ptr %18, align 4, !tbaa !14
  %146 = icmp sgt i32 %145, 0
  br i1 %146, label %147, label %149

147:                                              ; preds = %137
  %148 = load i32, ptr %18, align 4, !tbaa !14
  br label %150

149:                                              ; preds = %137
  br label %150

150:                                              ; preds = %149, %147
  %151 = phi i32 [ %148, %147 ], [ 0, %149 ]
  store i32 %151, ptr %18, align 4, !tbaa !14
  br label %152

152:                                              ; preds = %150, %133
  %153 = load i32, ptr %19, align 4, !tbaa !14
  %154 = icmp slt i32 %153, 0
  br i1 %154, label %155, label %170

155:                                              ; preds = %152
  %156 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 3
  %157 = load i32, ptr %17, align 4, !tbaa !14
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [20 x i32], ptr %156, i64 0, i64 %158
  %160 = load i32, ptr %159, align 4, !tbaa !14
  %161 = load i32, ptr %19, align 4, !tbaa !14
  %162 = add i32 %160, %161
  store i32 %162, ptr %19, align 4, !tbaa !14
  %163 = load i32, ptr %19, align 4, !tbaa !14
  %164 = icmp sgt i32 %163, -1
  br i1 %164, label %165, label %167

165:                                              ; preds = %155
  %166 = load i32, ptr %19, align 4, !tbaa !14
  br label %168

167:                                              ; preds = %155
  br label %168

168:                                              ; preds = %167, %165
  %169 = phi i32 [ %166, %165 ], [ -1, %167 ]
  store i32 %169, ptr %19, align 4, !tbaa !14
  br label %185

170:                                              ; preds = %152
  %171 = load i32, ptr %19, align 4, !tbaa !14
  %172 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 3
  %173 = load i32, ptr %17, align 4, !tbaa !14
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [20 x i32], ptr %172, i64 0, i64 %174
  %176 = load i32, ptr %175, align 4, !tbaa !14
  %177 = icmp sgt i32 %171, %176
  br i1 %177, label %178, label %184

178:                                              ; preds = %170
  %179 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 3
  %180 = load i32, ptr %17, align 4, !tbaa !14
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [20 x i32], ptr %179, i64 0, i64 %181
  %183 = load i32, ptr %182, align 4, !tbaa !14
  store i32 %183, ptr %19, align 4, !tbaa !14
  br label %184

184:                                              ; preds = %178, %170
  br label %185

185:                                              ; preds = %184, %168
  %186 = load i32, ptr %18, align 4, !tbaa !14
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  %188 = load i32, ptr %16, align 4, !tbaa !14
  %189 = zext i32 %188 to i64
  %190 = getelementptr inbounds i32, ptr %187, i64 %189
  store i32 %186, ptr %190, align 4, !tbaa !14
  %191 = load i32, ptr %19, align 4, !tbaa !14
  %192 = load ptr, ptr %11, align 8, !tbaa !5
  %193 = load i32, ptr %16, align 4, !tbaa !14
  %194 = zext i32 %193 to i64
  %195 = getelementptr inbounds i32, ptr %192, i64 %194
  store i32 %191, ptr %195, align 4, !tbaa !14
  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
  br label %196

196:                                              ; preds = %185
  %197 = load i32, ptr %16, align 4, !tbaa !14
  %198 = add i32 %197, 1
  store i32 %198, ptr %16, align 4, !tbaa !14
  br label %88, !llvm.loop !19

199:                                              ; preds = %92
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 8 %0, i64 92, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 8 %2, i64 140, i1 false), !tbaa.struct !21
  %200 = call noundef zeroext i1 @_Z17isSingleCStepMode10TensorDesc16TfSliceParamSpec(ptr noundef byval(%struct.TensorDesc) align 8 %20, ptr noundef byval(%struct.TfSliceParamSpec) align 8 %21)
  br i1 %200, label %201, label %234

201:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  store i32 0, ptr %22, align 4, !tbaa !22
  %202 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 0
  %203 = load i32, ptr %202, align 8, !tbaa !24
  switch i32 %203, label %231 [
    i32 6, label %204
    i32 2, label %213
    i32 3, label %213
    i32 1, label %222
    i32 0, label %222
    i32 10, label %222
  ]

204:                                              ; preds = %201
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 8 %0, i64 92, i1 false), !tbaa.struct !9
  %205 = load ptr, ptr %7, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.TfSliceParamSpec, ptr %2, i32 0, i32 0
  %207 = getelementptr inbounds [8 x i32], ptr %206, i64 0, i64 1
  %208 = load i32, ptr %207, align 4, !tbaa !14
  %209 = getelementptr inbounds %struct.TfSliceParamSpec, ptr %2, i32 0, i32 2
  %210 = getelementptr inbounds [8 x i32], ptr %209, i64 0, i64 1
  %211 = load i32, ptr %210, align 4, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 8 %3, i64 92, i1 false), !tbaa.struct !9
  %212 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_Z15singleCStepModeIfEv10TensorDescPT_iiS0_S2_(ptr noundef byval(%struct.TensorDesc) align 8 %23, ptr noundef %205, i32 noundef %208, i32 noundef %211, ptr noundef byval(%struct.TensorDesc) align 8 %24, ptr noundef %212)
  br label %232

213:                                              ; preds = %201, %201
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 8 %0, i64 92, i1 false), !tbaa.struct !9
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.TfSliceParamSpec, ptr %2, i32 0, i32 0
  %216 = getelementptr inbounds [8 x i32], ptr %215, i64 0, i64 1
  %217 = load i32, ptr %216, align 4, !tbaa !14
  %218 = getelementptr inbounds %struct.TfSliceParamSpec, ptr %2, i32 0, i32 2
  %219 = getelementptr inbounds [8 x i32], ptr %218, i64 0, i64 1
  %220 = load i32, ptr %219, align 4, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 8 %3, i64 92, i1 false), !tbaa.struct !9
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_Z15singleCStepModeIiEv10TensorDescPT_iiS0_S2_(ptr noundef byval(%struct.TensorDesc) align 8 %25, ptr noundef %214, i32 noundef %217, i32 noundef %220, ptr noundef byval(%struct.TensorDesc) align 8 %26, ptr noundef %221)
  br label %232

222:                                              ; preds = %201, %201, %201
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 8 %0, i64 92, i1 false), !tbaa.struct !9
  %223 = load ptr, ptr %7, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.TfSliceParamSpec, ptr %2, i32 0, i32 0
  %225 = getelementptr inbounds [8 x i32], ptr %224, i64 0, i64 1
  %226 = load i32, ptr %225, align 4, !tbaa !14
  %227 = getelementptr inbounds %struct.TfSliceParamSpec, ptr %2, i32 0, i32 2
  %228 = getelementptr inbounds [8 x i32], ptr %227, i64 0, i64 1
  %229 = load i32, ptr %228, align 4, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 8 %3, i64 92, i1 false), !tbaa.struct !9
  %230 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_Z15singleCStepModeIaEv10TensorDescPT_iiS0_S2_(ptr noundef byval(%struct.TensorDesc) align 8 %27, ptr noundef %223, i32 noundef %226, i32 noundef %229, ptr noundef byval(%struct.TensorDesc) align 8 %28, ptr noundef %230)
  br label %232

231:                                              ; preds = %201
  store i32 51, ptr %22, align 4, !tbaa !22
  br label %232

232:                                              ; preds = %231, %222, %213, %204
  %233 = load i32, ptr %22, align 4, !tbaa !22
  store i32 %233, ptr %6, align 4
  store i32 1, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %598

234:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 8 %3, i64 92, i1 false), !tbaa.struct !9
  %235 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %31)
  store i32 %235, ptr %30, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %236 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %236, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  %237 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 0
  %238 = load i32, ptr %237, align 8, !tbaa !24
  %239 = call noundef i32 @_Z7bytesOf8DataType(i32 noundef %238)
  store i32 %239, ptr %33, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %240 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 2
  %241 = load i32, ptr %240, align 8, !tbaa !17
  %242 = sub i32 %241, 2
  store i32 %242, ptr %34, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  store i32 1, ptr %35, align 4, !tbaa !14
  %243 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 1
  %244 = load i32, ptr %243, align 4, !tbaa !25
  %245 = icmp eq i32 %244, 2
  br i1 %245, label %246, label %247

246:                                              ; preds = %234
  store i32 8, ptr %35, align 4, !tbaa !14
  br label %253

247:                                              ; preds = %234
  %248 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 1
  %249 = load i32, ptr %248, align 4, !tbaa !25
  %250 = icmp eq i32 %249, 41
  br i1 %250, label %251, label %252

251:                                              ; preds = %247
  store i32 16, ptr %35, align 4, !tbaa !14
  br label %252

252:                                              ; preds = %251, %247
  br label %253

253:                                              ; preds = %252, %246
  %254 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 1
  %255 = load i32, ptr %254, align 4, !tbaa !25
  %256 = getelementptr inbounds %struct.TensorDesc, ptr %3, i32 0, i32 1
  %257 = load i32, ptr %256, align 4, !tbaa !25
  %258 = icmp eq i32 %255, %257
  br i1 %258, label %259, label %448

259:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #9
  %260 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 2
  %261 = load i32, ptr %260, align 8, !tbaa !17
  %262 = zext i32 %261 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %262, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %263 unwind label %328

263:                                              ; preds = %259
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #9
  %264 = getelementptr inbounds %struct.TensorDesc, ptr %3, i32 0, i32 2
  %265 = load i32, ptr %264, align 8, !tbaa !17
  %266 = zext i32 %265 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #9
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %266, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %267 unwind label %332

267:                                              ; preds = %263
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #9
  %268 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #9
  %269 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 3
  %270 = getelementptr inbounds [20 x i32], ptr %269, i64 0, i64 0
  %271 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 2
  %272 = load i32, ptr %271, align 8, !tbaa !17
  %273 = zext i32 %272 to i64
  %274 = mul i64 %273, 4
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %268, ptr noundef %270, i64 noundef %274)
          to label %275 unwind label %336

275:                                              ; preds = %267
  %276 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #9
  %277 = getelementptr inbounds %struct.TensorDesc, ptr %3, i32 0, i32 3
  %278 = getelementptr inbounds [20 x i32], ptr %277, i64 0, i64 0
  %279 = getelementptr inbounds %struct.TensorDesc, ptr %3, i32 0, i32 2
  %280 = load i32, ptr %279, align 8, !tbaa !17
  %281 = zext i32 %280 to i64
  %282 = mul i64 %281, 4
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %276, ptr noundef %278, i64 noundef %282)
          to label %283 unwind label %336

283:                                              ; preds = %275
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  store i32 0, ptr %42, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #9
  store i32 1, ptr %43, align 4, !tbaa !14
  %284 = load i32, ptr %35, align 4, !tbaa !14
  %285 = icmp sgt i32 %284, 1
  br i1 %285, label %286, label %348

286:                                              ; preds = %283
  %287 = load i32, ptr %35, align 4, !tbaa !14
  %288 = load i32, ptr %43, align 4, !tbaa !14
  %289 = mul nsw i32 %288, %287
  store i32 %289, ptr %43, align 4, !tbaa !14
  %290 = load i32, ptr %35, align 4, !tbaa !14
  %291 = load ptr, ptr %10, align 8, !tbaa !5
  %292 = getelementptr inbounds i32, ptr %291, i64 1
  %293 = load i32, ptr %292, align 4, !tbaa !14
  %294 = sdiv i32 %293, %290
  store i32 %294, ptr %292, align 4, !tbaa !14
  %295 = load i32, ptr %35, align 4, !tbaa !14
  %296 = load ptr, ptr %11, align 8, !tbaa !5
  %297 = getelementptr inbounds i32, ptr %296, i64 1
  %298 = load i32, ptr %297, align 4, !tbaa !14
  %299 = sdiv i32 %298, %295
  store i32 %299, ptr %297, align 4, !tbaa !14
  %300 = load i32, ptr %35, align 4, !tbaa !14
  %301 = load i32, ptr %34, align 4, !tbaa !14
  %302 = sext i32 %301 to i64
  %303 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %302) #9
  %304 = load i32, ptr %303, align 4, !tbaa !14
  %305 = udiv i32 %304, %300
  store i32 %305, ptr %303, align 4, !tbaa !14
  %306 = load i32, ptr %35, align 4, !tbaa !14
  %307 = load i32, ptr %34, align 4, !tbaa !14
  %308 = sext i32 %307 to i64
  %309 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %308) #9
  %310 = load i32, ptr %309, align 4, !tbaa !14
  %311 = udiv i32 %310, %306
  store i32 %311, ptr %309, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #9
  %312 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #9
  %313 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %45, i32 0, i32 0
  store ptr %312, ptr %313, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #9
  %314 = load i32, ptr %35, align 4, !tbaa !14
  store i32 %314, ptr %46, align 4, !tbaa !14
  %315 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %44, i32 0, i32 0
  %316 = load ptr, ptr %315, align 8
  %317 = invoke ptr @_ZNSt6vectorIjSaIjEE6insertEN9__gnu_cxx17__normal_iteratorIPKjS1_EEOj(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr %316, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %318 unwind label %340

318:                                              ; preds = %286
  %319 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %47, i32 0, i32 0
  store ptr %317, ptr %319, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #9
  %320 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #9
  %321 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %49, i32 0, i32 0
  store ptr %320, ptr %321, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %49) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #9
  %322 = load i32, ptr %35, align 4, !tbaa !14
  store i32 %322, ptr %50, align 4, !tbaa !14
  %323 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %48, i32 0, i32 0
  %324 = load ptr, ptr %323, align 8
  %325 = invoke ptr @_ZNSt6vectorIjSaIjEE6insertEN9__gnu_cxx17__normal_iteratorIPKjS1_EEOj(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr %324, ptr noundef nonnull align 4 dereferenceable(4) %50)
          to label %326 unwind label %344

326:                                              ; preds = %318
  %327 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %51, i32 0, i32 0
  store ptr %325, ptr %327, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  br label %348

328:                                              ; preds = %259
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %38, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %39, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #9
  br label %447

332:                                              ; preds = %263
  %333 = landingpad { ptr, i32 }
          cleanup
  %334 = extractvalue { ptr, i32 } %333, 0
  store ptr %334, ptr %38, align 8
  %335 = extractvalue { ptr, i32 } %333, 1
  store i32 %335, ptr %39, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #9
  br label %446

336:                                              ; preds = %275, %267
  %337 = landingpad { ptr, i32 }
          cleanup
  %338 = extractvalue { ptr, i32 } %337, 0
  store ptr %338, ptr %38, align 8
  %339 = extractvalue { ptr, i32 } %337, 1
  store i32 %339, ptr %39, align 4
  br label %445

340:                                              ; preds = %286
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %38, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %39, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  br label %444

344:                                              ; preds = %318
  %345 = landingpad { ptr, i32 }
          cleanup
  %346 = extractvalue { ptr, i32 } %345, 0
  store ptr %346, ptr %38, align 8
  %347 = extractvalue { ptr, i32 } %345, 1
  store i32 %347, ptr %39, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  br label %444

348:                                              ; preds = %326, %283
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #9
  %349 = load i32, ptr %15, align 4, !tbaa !14
  %350 = sub i32 %349, 1
  store i32 %350, ptr %52, align 4, !tbaa !14
  br label %351

351:                                              ; preds = %402, %348
  %352 = load i32, ptr %52, align 4, !tbaa !14
  %353 = icmp sge i32 %352, 0
  br i1 %353, label %354, label %405

354:                                              ; preds = %351
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #9
  %355 = load i32, ptr %15, align 4, !tbaa !14
  %356 = sub i32 %355, 1
  %357 = load i32, ptr %52, align 4, !tbaa !14
  %358 = sub i32 %356, %357
  store i32 %358, ptr %53, align 4, !tbaa !14
  %359 = load ptr, ptr %10, align 8, !tbaa !5
  %360 = load i32, ptr %52, align 4, !tbaa !14
  %361 = sext i32 %360 to i64
  %362 = getelementptr inbounds i32, ptr %359, i64 %361
  %363 = load i32, ptr %362, align 4, !tbaa !14
  %364 = icmp eq i32 %363, 0
  br i1 %364, label %365, label %397

365:                                              ; preds = %354
  %366 = load ptr, ptr %11, align 8, !tbaa !5
  %367 = load i32, ptr %52, align 4, !tbaa !14
  %368 = sext i32 %367 to i64
  %369 = getelementptr inbounds i32, ptr %366, i64 %368
  %370 = load i32, ptr %369, align 4, !tbaa !14
  %371 = load i32, ptr %53, align 4, !tbaa !14
  %372 = sext i32 %371 to i64
  %373 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %372) #9
  %374 = load i32, ptr %373, align 4, !tbaa !14
  %375 = icmp eq i32 %370, %374
  br i1 %375, label %376, label %397

376:                                              ; preds = %365
  %377 = load ptr, ptr %12, align 8, !tbaa !5
  %378 = load i32, ptr %52, align 4, !tbaa !14
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds i32, ptr %377, i64 %379
  %381 = load i32, ptr %380, align 4, !tbaa !14
  %382 = icmp eq i32 %381, 1
  br i1 %382, label %383, label %397

383:                                              ; preds = %376
  %384 = load ptr, ptr %11, align 8, !tbaa !5
  %385 = load i32, ptr %52, align 4, !tbaa !14
  %386 = sext i32 %385 to i64
  %387 = getelementptr inbounds i32, ptr %384, i64 %386
  %388 = load i32, ptr %387, align 4, !tbaa !14
  %389 = load ptr, ptr %10, align 8, !tbaa !5
  %390 = load i32, ptr %52, align 4, !tbaa !14
  %391 = sext i32 %390 to i64
  %392 = getelementptr inbounds i32, ptr %389, i64 %391
  %393 = load i32, ptr %392, align 4, !tbaa !14
  %394 = sub nsw i32 %388, %393
  %395 = load i32, ptr %43, align 4, !tbaa !14
  %396 = mul nsw i32 %395, %394
  store i32 %396, ptr %43, align 4, !tbaa !14
  br label %398

397:                                              ; preds = %376, %365, %354
  store i32 6, ptr %29, align 4
  br label %399

398:                                              ; preds = %383
  store i32 0, ptr %29, align 4
  br label %399

399:                                              ; preds = %398, %397
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #9
  %400 = load i32, ptr %29, align 4
  switch i32 %400, label %606 [
    i32 0, label %401
    i32 6, label %405
  ]

401:                                              ; preds = %399
  br label %402

402:                                              ; preds = %401
  %403 = load i32, ptr %52, align 4, !tbaa !14
  %404 = add nsw i32 %403, -1
  store i32 %404, ptr %52, align 4, !tbaa !14
  br label %351, !llvm.loop !26

405:                                              ; preds = %399, %351
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #9
  %406 = load i32, ptr %33, align 4, !tbaa !14
  %407 = load i32, ptr %43, align 4, !tbaa !14
  %408 = mul i32 %406, %407
  store i32 %408, ptr %54, align 4, !tbaa !14
  %409 = load ptr, ptr %7, align 8, !tbaa !5
  %410 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 8 %0, i64 92, i1 false), !tbaa.struct !9
  %411 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %55)
          to label %412 unwind label %439

412:                                              ; preds = %405
  %413 = load ptr, ptr %32, align 8, !tbaa !5
  %414 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 8 %3, i64 92, i1 false), !tbaa.struct !9
  %415 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %56)
          to label %416 unwind label %439

416:                                              ; preds = %412
  %417 = load ptr, ptr %10, align 8, !tbaa !5
  %418 = load ptr, ptr %11, align 8, !tbaa !5
  %419 = load ptr, ptr %12, align 8, !tbaa !5
  %420 = load i32, ptr %52, align 4, !tbaa !14
  %421 = add nsw i32 %420, 1
  %422 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #9
  %423 = trunc i64 %422 to i32
  %424 = load i32, ptr %54, align 4, !tbaa !14
  invoke void @_ZL17recursive_tfslicePhPjjS_S0_jPiS1_S1_iiij(ptr noundef %409, ptr noundef %410, i32 noundef %411, ptr noundef %413, ptr noundef %414, i32 noundef %415, ptr noundef %417, ptr noundef %418, ptr noundef %419, i32 noundef 0, i32 noundef %421, i32 noundef %423, i32 noundef %424)
          to label %425 unwind label %439

425:                                              ; preds = %416
  %426 = load i32, ptr %35, align 4, !tbaa !14
  %427 = icmp sgt i32 %426, 1
  br i1 %427, label %428, label %443

428:                                              ; preds = %425
  %429 = load i32, ptr %35, align 4, !tbaa !14
  %430 = load ptr, ptr %10, align 8, !tbaa !5
  %431 = getelementptr inbounds i32, ptr %430, i64 1
  %432 = load i32, ptr %431, align 4, !tbaa !14
  %433 = mul nsw i32 %432, %429
  store i32 %433, ptr %431, align 4, !tbaa !14
  %434 = load i32, ptr %35, align 4, !tbaa !14
  %435 = load ptr, ptr %11, align 8, !tbaa !5
  %436 = getelementptr inbounds i32, ptr %435, i64 1
  %437 = load i32, ptr %436, align 4, !tbaa !14
  %438 = mul nsw i32 %437, %434
  store i32 %438, ptr %436, align 4, !tbaa !14
  br label %443

439:                                              ; preds = %416, %412, %405
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %38, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %39, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #9
  br label %444

443:                                              ; preds = %428, %425
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #9
  br label %596

444:                                              ; preds = %439, %344, %340
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %445

445:                                              ; preds = %444, %336
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #9
  br label %446

446:                                              ; preds = %445, %332
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #9
  br label %447

447:                                              ; preds = %446, %328
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #9
  br label %597

448:                                              ; preds = %253
  %449 = load i32, ptr %35, align 4, !tbaa !14
  %450 = icmp sgt i32 %449, 1
  br i1 %450, label %461, label %451

451:                                              ; preds = %448
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #9
  %452 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %453 = trunc i64 %452 to i32
  store i32 %453, ptr %57, align 4, !tbaa !14
  %454 = load i32, ptr %57, align 4, !tbaa !14
  %455 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %454)
  %456 = load ptr, ptr @stdout, align 8, !tbaa !5
  %457 = call i32 @fflush(ptr noundef %456)
  %458 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %459 = load ptr, ptr @stdout, align 8, !tbaa !5
  %460 = call i32 @fflush(ptr noundef %459)
  call void @exit(i32 noundef 1) #10
  unreachable

461:                                              ; preds = %448
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #9
  %462 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 2
  %463 = load i32, ptr %462, align 8, !tbaa !17
  %464 = add i32 %463, 1
  store i32 %464, ptr %58, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 24, ptr %59) #9
  %465 = load i32, ptr %58, align 4, !tbaa !14
  %466 = zext i32 %465 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #9
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %466, ptr noundef nonnull align 1 dereferenceable(1) %60)
          to label %467 unwind label %483

467:                                              ; preds = %461
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #9
  %468 = load i32, ptr %35, align 4, !tbaa !14
  %469 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef 0) #9
  store i32 %468, ptr %469, align 4, !tbaa !14
  %470 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef 1) #9
  %471 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 3
  %472 = getelementptr inbounds [20 x i32], ptr %471, i64 0, i64 0
  %473 = getelementptr inbounds %struct.TensorDesc, ptr %0, i32 0, i32 2
  %474 = load i32, ptr %473, align 8, !tbaa !17
  %475 = zext i32 %474 to i64
  %476 = mul i64 %475, 4
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %470, ptr noundef %472, i64 noundef %476)
          to label %477 unwind label %487

477:                                              ; preds = %467
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #9
  store i32 0, ptr %61, align 4, !tbaa !14
  br label %478

478:                                              ; preds = %571, %477
  %479 = load i32, ptr %61, align 4, !tbaa !14
  %480 = load i32, ptr %30, align 4, !tbaa !14
  %481 = icmp ult i32 %479, %480
  br i1 %481, label %491, label %482

482:                                              ; preds = %478
  store i32 9, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #9
  br label %593

483:                                              ; preds = %461
  %484 = landingpad { ptr, i32 }
          cleanup
  %485 = extractvalue { ptr, i32 } %484, 0
  store ptr %485, ptr %38, align 8
  %486 = extractvalue { ptr, i32 } %484, 1
  store i32 %486, ptr %39, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #9
  br label %595

487:                                              ; preds = %467
  %488 = landingpad { ptr, i32 }
          cleanup
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %38, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %39, align 4
  br label %594

491:                                              ; preds = %478
  call void @llvm.lifetime.start.p0(i64 24, ptr %62) #9
  %492 = load i32, ptr %61, align 4, !tbaa !14
  %493 = getelementptr inbounds %struct.TensorDesc, ptr %3, i32 0, i32 3
  %494 = getelementptr inbounds [20 x i32], ptr %493, i64 0, i64 0
  %495 = getelementptr inbounds %struct.TensorDesc, ptr %3, i32 0, i32 2
  %496 = load i32, ptr %495, align 8, !tbaa !17
  invoke void @_Z19calculateLocalIndexjPKjj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %62, i32 noundef %492, ptr noundef %494, i32 noundef %496)
          to label %497 unwind label %503

497:                                              ; preds = %491
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #9
  store i32 0, ptr %63, align 4, !tbaa !14
  br label %498

498:                                              ; preds = %531, %497
  %499 = load i32, ptr %63, align 4, !tbaa !14
  %500 = load i32, ptr %15, align 4, !tbaa !14
  %501 = icmp ult i32 %499, %500
  br i1 %501, label %507, label %502

502:                                              ; preds = %498
  store i32 12, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #9
  br label %534

503:                                              ; preds = %491
  %504 = landingpad { ptr, i32 }
          cleanup
  %505 = extractvalue { ptr, i32 } %504, 0
  store ptr %505, ptr %38, align 8
  %506 = extractvalue { ptr, i32 } %504, 1
  store i32 %506, ptr %39, align 4
  br label %592

507:                                              ; preds = %498
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #9
  %508 = load i32, ptr %15, align 4, !tbaa !14
  %509 = sub i32 %508, 1
  %510 = load i32, ptr %63, align 4, !tbaa !14
  %511 = sub i32 %509, %510
  store i32 %511, ptr %64, align 4, !tbaa !14
  %512 = load i32, ptr %63, align 4, !tbaa !14
  %513 = zext i32 %512 to i64
  %514 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %513) #9
  %515 = load i32, ptr %514, align 4, !tbaa !14
  %516 = load ptr, ptr %12, align 8, !tbaa !5
  %517 = load i32, ptr %64, align 4, !tbaa !14
  %518 = sext i32 %517 to i64
  %519 = getelementptr inbounds i32, ptr %516, i64 %518
  %520 = load i32, ptr %519, align 4, !tbaa !14
  %521 = mul i32 %515, %520
  %522 = load ptr, ptr %10, align 8, !tbaa !5
  %523 = load i32, ptr %64, align 4, !tbaa !14
  %524 = sext i32 %523 to i64
  %525 = getelementptr inbounds i32, ptr %522, i64 %524
  %526 = load i32, ptr %525, align 4, !tbaa !14
  %527 = add i32 %521, %526
  %528 = load i32, ptr %63, align 4, !tbaa !14
  %529 = zext i32 %528 to i64
  %530 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %529) #9
  store i32 %527, ptr %530, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #9
  br label %531

531:                                              ; preds = %507
  %532 = load i32, ptr %63, align 4, !tbaa !14
  %533 = add i32 %532, 1
  store i32 %533, ptr %63, align 4, !tbaa !14
  br label %498, !llvm.loop !27

534:                                              ; preds = %502
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #9
  %535 = load i32, ptr %34, align 4, !tbaa !14
  %536 = sext i32 %535 to i64
  %537 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %536) #9
  %538 = load i32, ptr %537, align 4, !tbaa !14
  %539 = load i32, ptr %35, align 4, !tbaa !14
  %540 = urem i32 %538, %539
  store i32 %540, ptr %65, align 4, !tbaa !14
  %541 = load i32, ptr %35, align 4, !tbaa !14
  %542 = load i32, ptr %34, align 4, !tbaa !14
  %543 = sext i32 %542 to i64
  %544 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %543) #9
  %545 = load i32, ptr %544, align 4, !tbaa !14
  %546 = udiv i32 %545, %541
  store i32 %546, ptr %544, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #9
  %547 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  %548 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %67, i32 0, i32 0
  store ptr %547, ptr %548, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull align 8 dereferenceable(8) %67) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #9
  %549 = load i32, ptr %65, align 4, !tbaa !14
  store i32 %549, ptr %68, align 4, !tbaa !14
  %550 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %66, i32 0, i32 0
  %551 = load ptr, ptr %550, align 8
  %552 = invoke ptr @_ZNSt6vectorIjSaIjEE6insertEN9__gnu_cxx17__normal_iteratorIPKjS1_EEOj(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr %551, ptr noundef nonnull align 4 dereferenceable(4) %68)
          to label %553 unwind label %578

553:                                              ; preds = %534
  %554 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %69, i32 0, i32 0
  store ptr %552, ptr %554, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #9
  %555 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  %556 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #9
  %557 = load i32, ptr %58, align 4, !tbaa !14
  %558 = invoke noundef i32 @_Z20calculateGlobalIndexPKjS0_j(ptr noundef %555, ptr noundef %556, i32 noundef %557)
          to label %559 unwind label %582

559:                                              ; preds = %553
  store i32 %558, ptr %70, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #9
  %560 = load ptr, ptr %7, align 8, !tbaa !5
  %561 = load i32, ptr %70, align 4, !tbaa !14
  %562 = load i32, ptr %33, align 4, !tbaa !14
  %563 = mul i32 %561, %562
  %564 = zext i32 %563 to i64
  %565 = getelementptr inbounds i8, ptr %560, i64 %564
  store ptr %565, ptr %71, align 8, !tbaa !5
  %566 = load ptr, ptr %32, align 8, !tbaa !5
  %567 = load ptr, ptr %71, align 8, !tbaa !5
  %568 = load i32, ptr %33, align 4, !tbaa !14
  %569 = zext i32 %568 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %566, ptr noundef %567, i64 noundef %569)
          to label %570 unwind label %586

570:                                              ; preds = %559
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %62) #9
  br label %571

571:                                              ; preds = %570
  %572 = load i32, ptr %61, align 4, !tbaa !14
  %573 = add i32 %572, 1
  store i32 %573, ptr %61, align 4, !tbaa !14
  %574 = load i32, ptr %33, align 4, !tbaa !14
  %575 = load ptr, ptr %32, align 8, !tbaa !5
  %576 = zext i32 %574 to i64
  %577 = getelementptr inbounds i8, ptr %575, i64 %576
  store ptr %577, ptr %32, align 8, !tbaa !5
  br label %478, !llvm.loop !28

578:                                              ; preds = %534
  %579 = landingpad { ptr, i32 }
          cleanup
  %580 = extractvalue { ptr, i32 } %579, 0
  store ptr %580, ptr %38, align 8
  %581 = extractvalue { ptr, i32 } %579, 1
  store i32 %581, ptr %39, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #9
  br label %591

582:                                              ; preds = %553
  %583 = landingpad { ptr, i32 }
          cleanup
  %584 = extractvalue { ptr, i32 } %583, 0
  store ptr %584, ptr %38, align 8
  %585 = extractvalue { ptr, i32 } %583, 1
  store i32 %585, ptr %39, align 4
  br label %590

586:                                              ; preds = %559
  %587 = landingpad { ptr, i32 }
          cleanup
  %588 = extractvalue { ptr, i32 } %587, 0
  store ptr %588, ptr %38, align 8
  %589 = extractvalue { ptr, i32 } %587, 1
  store i32 %589, ptr %39, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #9
  br label %590

590:                                              ; preds = %586, %582
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #9
  br label %591

591:                                              ; preds = %590, %578
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  br label %592

592:                                              ; preds = %591, %503
  call void @llvm.lifetime.end.p0(i64 24, ptr %62) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #9
  br label %594

593:                                              ; preds = %482
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #9
  br label %596

594:                                              ; preds = %592, %487
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #9
  br label %595

595:                                              ; preds = %594, %483
  call void @llvm.lifetime.end.p0(i64 24, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #9
  br label %597

596:                                              ; preds = %593, %443
  store i32 0, ptr %6, align 4
  store i32 1, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  br label %598

597:                                              ; preds = %595, %447
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %601

598:                                              ; preds = %596, %232
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %599

599:                                              ; preds = %598, %74
  %600 = load i32, ptr %6, align 4
  ret i32 %600

601:                                              ; preds = %597
  %602 = load ptr, ptr %38, align 8
  %603 = load i32, ptr %39, align 4
  %604 = insertvalue { ptr, i32 } poison, ptr %602, 0
  %605 = insertvalue { ptr, i32 } %604, i32 %603, 1
  resume { ptr, i32 } %605

606:                                              ; preds = %399
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15singleCStepModeIfEv10TensorDescPT_iiS0_S2_(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15singleCStepModeIiEv10TensorDescPT_iiS0_S2_(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15singleCStepModeIaEv10TensorDescPT_iiS0_S2_(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z7bytesOf8DataType(i32 noundef) #8

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIjSaIjEE6insertEN9__gnu_cxx17__normal_iteratorIPKjS1_EEOj(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr noundef nonnull align 4 dereferenceable(4)) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z19calculateLocalIndexjPKjj(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i32 noundef, ptr noundef, i32 noundef) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z20calculateGlobalIndexPKjS0_j(ptr noundef, ptr noundef, i32 noundef) #7

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #8 = { 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 #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 = !{i64 0, i64 4, !10, i64 4, i64 4, !12, i64 8, i64 4, !14, i64 12, i64 80, !16}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTS8DataType", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTS10DataFormat", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !15, i64 8}
!18 = !{!"_ZTS10TensorDesc", !11, i64 0, !13, i64 4, !15, i64 8, !7, i64 12}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{i64 0, i64 32, !16, i64 32, i64 32, !16, i64 64, i64 32, !16, i64 96, i64 8, !16, i64 104, i64 8, !16, i64 112, i64 8, !16, i64 120, i64 8, !16, i64 128, i64 8, !16, i64 136, i64 4, !14}
!22 = !{!23, !23, i64 0}
!23 = !{!"_ZTS2EE", !7, i64 0}
!24 = !{!18, !11, i64 0}
!25 = !{!18, !13, i64 4}
!26 = distinct !{!26, !20}
!27 = distinct !{!27, !20}
!28 = distinct !{!28, !20}


; 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] }
%struct.TfSliceParamSpec = type { [8 x i32], [8 x i32], [8 x i32], [8 x i8], [8 x i8], [8 x i8], [8 x i8], [8 x i8], i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.0" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z17isSingleCStepMode10TensorDesc16TfSliceParamSpec(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef byval(%struct.TfSliceParamSpec) align 8) local_unnamed_addr #0

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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: mustprogress uwtable
define dso_local noundef range(i32 0, 52) i32 @_Z11tfslice_cpu10TensorDescPv16TfSliceParamSpecS_S0_(ptr noundef byval(%struct.TensorDesc) align 8 %0, ptr noundef %1, ptr noundef byval(%struct.TfSliceParamSpec) align 8 %2, ptr noundef byval(%struct.TensorDesc) align 8 %3, ptr noundef %4) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca i32, align 4
  %22 = tail call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %3)
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %282, label %24

24:                                               ; preds = %5
  %25 = getelementptr inbounds i8, ptr %2, i64 32
  %26 = getelementptr inbounds i8, ptr %2, i64 64
  %27 = getelementptr inbounds i8, ptr %2, i64 96
  %28 = getelementptr inbounds i8, ptr %2, i64 104
  %29 = getelementptr inbounds i8, ptr %0, i64 8
  %30 = load i32, ptr %29, align 8, !tbaa !5
  %.not = icmp eq i32 %30, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %24
  %31 = getelementptr inbounds i8, ptr %0, i64 12
  br label %33

._crit_edge:                                      ; preds = %72, %24
  %32 = tail call noundef zeroext i1 @_Z17isSingleCStepMode10TensorDesc16TfSliceParamSpec(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %0, ptr noundef nonnull byval(%struct.TfSliceParamSpec) align 8 %2)
  br i1 %32, label %75, label %92

33:                                               ; preds = %.lr.ph, %72
  %.0123178 = phi i32 [ 0, %.lr.ph ], [ %74, %72 ]
  %34 = xor i32 %.0123178, -1
  %35 = add i32 %30, %34
  %36 = zext i32 %.0123178 to i64
  %37 = getelementptr inbounds i8, ptr %27, i64 %36
  %38 = load i8, ptr %37, align 1, !tbaa !12
  %39 = icmp eq i8 %38, 1
  br i1 %39, label %.thread, label %47

.thread:                                          ; preds = %33
  %40 = getelementptr inbounds i8, ptr %28, i64 %36
  %41 = load i8, ptr %40, align 1, !tbaa !12
  %42 = icmp eq i8 %41, 1
  %43 = sext i32 %35 to i64
  %44 = getelementptr inbounds [20 x i32], ptr %31, i64 0, i64 %43
  %45 = getelementptr inbounds i32, ptr %25, i64 %36
  %.in166 = select i1 %42, ptr %44, ptr %45
  %46 = load i32, ptr %.in166, align 4, !tbaa !13
  br label %62

47:                                               ; preds = %33
  %48 = getelementptr inbounds i32, ptr %2, i64 %36
  %49 = load i32, ptr %48, align 4, !tbaa !13
  %50 = getelementptr inbounds i8, ptr %28, i64 %36
  %51 = load i8, ptr %50, align 1, !tbaa !12
  %52 = icmp eq i8 %51, 1
  %53 = sext i32 %35 to i64
  %54 = getelementptr inbounds [20 x i32], ptr %31, i64 0, i64 %53
  %55 = getelementptr inbounds i32, ptr %25, i64 %36
  %.in = select i1 %52, ptr %54, ptr %55
  %56 = load i32, ptr %.in, align 4, !tbaa !13
  %57 = icmp slt i32 %49, 0
  br i1 %57, label %58, label %62

58:                                               ; preds = %47
  %59 = load i32, ptr %54, align 4, !tbaa !13
  %60 = add i32 %59, %49
  %61 = tail call i32 @llvm.smax.i32(i32 %60, i32 0)
  br label %62

62:                                               ; preds = %.thread, %58, %47
  %63 = phi i32 [ %56, %58 ], [ %56, %47 ], [ %46, %.thread ]
  %64 = phi ptr [ %55, %58 ], [ %55, %47 ], [ %45, %.thread ]
  %65 = phi ptr [ %54, %58 ], [ %54, %47 ], [ %44, %.thread ]
  %.0124 = phi i32 [ %61, %58 ], [ %49, %47 ], [ 0, %.thread ]
  %66 = icmp slt i32 %63, 0
  %67 = load i32, ptr %65, align 4, !tbaa !13
  br i1 %66, label %68, label %71

68:                                               ; preds = %62
  %69 = add i32 %67, %63
  %70 = tail call i32 @llvm.smax.i32(i32 %69, i32 -1)
  br label %72

71:                                               ; preds = %62
  %spec.select = tail call i32 @llvm.smin.i32(i32 %63, i32 %67)
  br label %72

72:                                               ; preds = %71, %68
  %.0125 = phi i32 [ %70, %68 ], [ %spec.select, %71 ]
  %73 = getelementptr inbounds i32, ptr %2, i64 %36
  store i32 %.0124, ptr %73, align 4, !tbaa !13
  store i32 %.0125, ptr %64, align 4, !tbaa !13
  %74 = add nuw i32 %.0123178, 1
  %exitcond.not = icmp eq i32 %74, %30
  br i1 %exitcond.not, label %._crit_edge, label %33, !llvm.loop !14

75:                                               ; preds = %._crit_edge
  %76 = load i32, ptr %0, align 8, !tbaa !16
  switch i32 %76, label %282 [
    i32 6, label %77
    i32 2, label %82
    i32 3, label %82
    i32 1, label %87
    i32 0, label %87
    i32 10, label %87
  ]

77:                                               ; preds = %75
  %78 = getelementptr inbounds i8, ptr %2, i64 4
  %79 = load i32, ptr %78, align 4, !tbaa !13
  %80 = getelementptr inbounds i8, ptr %2, i64 68
  %81 = load i32, ptr %80, align 4, !tbaa !13
  tail call void @_Z15singleCStepModeIfEv10TensorDescPT_iiS0_S2_(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %0, ptr noundef %1, i32 noundef %79, i32 noundef %81, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %3, ptr noundef %4)
  br label %282

82:                                               ; preds = %75, %75
  %83 = getelementptr inbounds i8, ptr %2, i64 4
  %84 = load i32, ptr %83, align 4, !tbaa !13
  %85 = getelementptr inbounds i8, ptr %2, i64 68
  %86 = load i32, ptr %85, align 4, !tbaa !13
  tail call void @_Z15singleCStepModeIiEv10TensorDescPT_iiS0_S2_(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %0, ptr noundef %1, i32 noundef %84, i32 noundef %86, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %3, ptr noundef %4)
  br label %282

87:                                               ; preds = %75, %75, %75
  %88 = getelementptr inbounds i8, ptr %2, i64 4
  %89 = load i32, ptr %88, align 4, !tbaa !13
  %90 = getelementptr inbounds i8, ptr %2, i64 68
  %91 = load i32, ptr %90, align 4, !tbaa !13
  tail call void @_Z15singleCStepModeIaEv10TensorDescPT_iiS0_S2_(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %0, ptr noundef %1, i32 noundef %89, i32 noundef %91, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %3, ptr noundef %4)
  br label %282

92:                                               ; preds = %._crit_edge
  %93 = tail call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %3)
  %94 = load i32, ptr %0, align 8, !tbaa !16
  %95 = tail call noundef i32 @_Z7bytesOf8DataType(i32 noundef %94)
  %96 = load i32, ptr %29, align 8, !tbaa !5
  %97 = add i32 %96, -2
  %98 = getelementptr inbounds i8, ptr %0, i64 4
  %99 = load i32, ptr %98, align 4, !tbaa !17
  switch i32 %99, label %.thread171 [
    i32 2, label %101
    i32 41, label %100
  ]

100:                                              ; preds = %92
  br label %101

101:                                              ; preds = %92, %100
  %.0131 = phi i32 [ 16, %100 ], [ 8, %92 ]
  %102 = getelementptr inbounds i8, ptr %3, i64 4
  %103 = load i32, ptr %102, align 4, !tbaa !17
  %104 = icmp eq i32 %99, %103
  br i1 %104, label %108, label %217

.thread171:                                       ; preds = %92
  %105 = getelementptr inbounds i8, ptr %3, i64 4
  %106 = load i32, ptr %105, align 4, !tbaa !17
  %107 = icmp eq i32 %99, %106
  br i1 %107, label %108, label %208

108:                                              ; preds = %.thread171, %101
  %.0131173 = phi i32 [ 1, %.thread171 ], [ %.0131, %101 ]
  %109 = phi i1 [ false, %.thread171 ], [ true, %101 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #9
  %110 = zext i32 %96 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %110, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %111 unwind label %150

111:                                              ; preds = %108
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #9
  %112 = getelementptr inbounds i8, ptr %3, i64 8
  %113 = load i32, ptr %112, align 8, !tbaa !5
  %114 = zext i32 %113 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %114, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %115 unwind label %152

115:                                              ; preds = %111
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  %116 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  %117 = getelementptr inbounds i8, ptr %0, i64 12
  %118 = load i32, ptr %29, align 8, !tbaa !5
  %119 = zext i32 %118 to i64
  %120 = shl nuw nsw i64 %119, 2
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %116, ptr noundef nonnull %117, i64 noundef %120)
          to label %121 unwind label %154

121:                                              ; preds = %115
  %122 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  %123 = getelementptr inbounds i8, ptr %3, i64 12
  %124 = load i32, ptr %112, align 8, !tbaa !5
  %125 = zext i32 %124 to i64
  %126 = shl nuw nsw i64 %125, 2
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %122, ptr noundef nonnull %123, i64 noundef %126)
          to label %127 unwind label %154

127:                                              ; preds = %121
  br i1 %109, label %128, label %160

128:                                              ; preds = %127
  %129 = getelementptr inbounds i8, ptr %2, i64 4
  %130 = load i32, ptr %129, align 4, !tbaa !13
  %131 = sdiv i32 %130, %.0131173
  store i32 %131, ptr %129, align 4, !tbaa !13
  %132 = getelementptr inbounds i8, ptr %2, i64 36
  %133 = load i32, ptr %132, align 4, !tbaa !13
  %134 = sdiv i32 %133, %.0131173
  store i32 %134, ptr %132, align 4, !tbaa !13
  %135 = sext i32 %97 to i64
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %135) #9
  %137 = load i32, ptr %136, align 4, !tbaa !13
  %138 = udiv i32 %137, %.0131173
  store i32 %138, ptr %136, align 4, !tbaa !13
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %135) #9
  %140 = load i32, ptr %139, align 4, !tbaa !13
  %141 = udiv i32 %140, %.0131173
  store i32 %141, ptr %139, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %142 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  store ptr %142, ptr %11, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #9
  store i32 %.0131173, ptr %12, align 4, !tbaa !13
  %143 = load ptr, ptr %10, align 8
  %144 = invoke ptr @_ZNSt6vectorIjSaIjEE6insertEN9__gnu_cxx17__normal_iteratorIPKjS1_EEOj(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr %143, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %145 unwind label %156

145:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %146 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  store ptr %146, ptr %14, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #9
  store i32 %.0131173, ptr %15, align 4, !tbaa !13
  %147 = load ptr, ptr %13, align 8
  %148 = invoke ptr @_ZNSt6vectorIjSaIjEE6insertEN9__gnu_cxx17__normal_iteratorIPKjS1_EEOj(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr %147, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %149 unwind label %158

149:                                              ; preds = %145
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %160

150:                                              ; preds = %108
  %151 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #9
  br label %207

152:                                              ; preds = %111
  %153 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  br label %206

154:                                              ; preds = %121, %115
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %205

156:                                              ; preds = %128
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %205

158:                                              ; preds = %145
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %205

160:                                              ; preds = %149, %127
  %.0144 = phi i32 [ %.0131173, %149 ], [ 1, %127 ]
  %161 = add i32 %30, -1
  %162 = icmp sgt i32 %161, -1
  br i1 %162, label %.lr.ph189.preheader, label %.thread167

.lr.ph189.preheader:                              ; preds = %160
  %163 = zext nneg i32 %161 to i64
  br label %.lr.ph189

.lr.ph189:                                        ; preds = %.lr.ph189.preheader, %178
  %indvars.iv = phi i64 [ %163, %.lr.ph189.preheader ], [ %indvars.iv.next, %178 ]
  %.1145186 = phi i32 [ %.0144, %.lr.ph189.preheader ], [ %179, %178 ]
  %164 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv
  %165 = load i32, ptr %164, align 4, !tbaa !13
  %166 = icmp eq i32 %165, 0
  br i1 %166, label %167, label %.thread167.loopexit.split.loop.exit

167:                                              ; preds = %.lr.ph189
  %168 = sub nuw nsw i64 %163, %indvars.iv
  %169 = getelementptr inbounds i32, ptr %25, i64 %indvars.iv
  %170 = load i32, ptr %169, align 4, !tbaa !13
  %171 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %168) #9
  %172 = load i32, ptr %171, align 4, !tbaa !13
  %173 = icmp eq i32 %170, %172
  br i1 %173, label %174, label %.thread167.loopexit.split.loop.exit205

174:                                              ; preds = %167
  %175 = getelementptr inbounds i32, ptr %26, i64 %indvars.iv
  %176 = load i32, ptr %175, align 4, !tbaa !13
  %177 = icmp eq i32 %176, 1
  br i1 %177, label %178, label %.thread167.loopexit.split.loop.exit208

178:                                              ; preds = %174
  %179 = mul nsw i32 %170, %.1145186
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %180 = icmp sgt i64 %indvars.iv, 0
  br i1 %180, label %.lr.ph189, label %.thread167.loopexit, !llvm.loop !18

.thread167.loopexit.split.loop.exit:              ; preds = %.lr.ph189
  %181 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.thread167.loopexit

.thread167.loopexit.split.loop.exit205:           ; preds = %167
  %182 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.thread167.loopexit

.thread167.loopexit.split.loop.exit208:           ; preds = %174
  %183 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.thread167.loopexit

.thread167.loopexit:                              ; preds = %178, %.thread167.loopexit.split.loop.exit208, %.thread167.loopexit.split.loop.exit205, %.thread167.loopexit.split.loop.exit
  %.1145.lcssa.ph = phi i32 [ %.1145186, %.thread167.loopexit.split.loop.exit ], [ %.1145186, %.thread167.loopexit.split.loop.exit205 ], [ %.1145186, %.thread167.loopexit.split.loop.exit208 ], [ %179, %178 ]
  %.0134.lcssa.ph = phi i32 [ %181, %.thread167.loopexit.split.loop.exit ], [ %182, %.thread167.loopexit.split.loop.exit205 ], [ %183, %.thread167.loopexit.split.loop.exit208 ], [ -1, %178 ]
  %184 = add nsw i32 %.0134.lcssa.ph, 1
  br label %.thread167

.thread167:                                       ; preds = %.thread167.loopexit, %160
  %.1145.lcssa = phi i32 [ %.0144, %160 ], [ %.1145.lcssa.ph, %.thread167.loopexit ]
  %.0134.lcssa = phi i32 [ %30, %160 ], [ %184, %.thread167.loopexit ]
  %185 = mul i32 %.1145.lcssa, %95
  %186 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  %187 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %0)
          to label %188 unwind label %202

188:                                              ; preds = %.thread167
  %189 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  %190 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %3)
          to label %191 unwind label %202

191:                                              ; preds = %188
  %192 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  %193 = trunc i64 %192 to i32
  invoke void @_ZL17recursive_tfslicePhPjjS_S0_jPiS1_S1_iiij(ptr noundef %1, ptr noundef %186, i32 noundef %187, ptr noundef %4, ptr noundef %189, i32 noundef %190, ptr noundef nonnull %2, ptr noundef nonnull %25, ptr noundef nonnull %26, i32 noundef 0, i32 noundef %.0134.lcssa, i32 noundef %193, i32 noundef %185)
          to label %194 unwind label %202

194:                                              ; preds = %191
  br i1 %109, label %195, label %204

195:                                              ; preds = %194
  %196 = getelementptr inbounds i8, ptr %2, i64 4
  %197 = load i32, ptr %196, align 4, !tbaa !13
  %198 = mul nsw i32 %197, %.0131173
  store i32 %198, ptr %196, align 4, !tbaa !13
  %199 = getelementptr inbounds i8, ptr %2, i64 36
  %200 = load i32, ptr %199, align 4, !tbaa !13
  %201 = mul nsw i32 %200, %.0131173
  store i32 %201, ptr %199, align 4, !tbaa !13
  br label %204

202:                                              ; preds = %191, %188, %.thread167
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %205

204:                                              ; preds = %195, %194
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  br label %282

205:                                              ; preds = %156, %158, %202, %154
  %.pn160.pn = phi { ptr, i32 } [ %155, %154 ], [ %203, %202 ], [ %159, %158 ], [ %157, %156 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  br label %206

206:                                              ; preds = %205, %152
  %.pn160.pn.pn = phi { ptr, i32 } [ %.pn160.pn, %205 ], [ %153, %152 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  br label %207

207:                                              ; preds = %206, %150
  %.pn160.pn.pn.pn = phi { ptr, i32 } [ %.pn160.pn.pn, %206 ], [ %151, %150 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  br label %281

208:                                              ; preds = %.thread171
  %209 = tail call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %210 = trunc i64 %209 to i32
  %211 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %210)
  %212 = load ptr, ptr @stdout, align 8, !tbaa !19
  %213 = tail call i32 @fflush(ptr noundef %212)
  %214 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %215 = load ptr, ptr @stdout, align 8, !tbaa !19
  %216 = tail call i32 @fflush(ptr noundef %215)
  tail call void @exit(i32 noundef 1) #10
  unreachable

217:                                              ; preds = %101
  %218 = add i32 %96, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #9
  %219 = zext i32 %218 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %219, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %220 unwind label %232

220:                                              ; preds = %217
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  %221 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #9
  store i32 %.0131, ptr %221, align 4, !tbaa !13
  %222 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1) #9
  %223 = getelementptr inbounds i8, ptr %0, i64 12
  %224 = load i32, ptr %29, align 8, !tbaa !5
  %225 = zext i32 %224 to i64
  %226 = shl nuw nsw i64 %225, 2
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef nonnull %222, ptr noundef nonnull %223, i64 noundef %226)
          to label %.preheader177 unwind label %234

.preheader177:                                    ; preds = %220
  %.not200 = icmp eq i32 %93, 0
  br i1 %.not200, label %._crit_edge185, label %.lr.ph184

.lr.ph184:                                        ; preds = %.preheader177
  %227 = getelementptr inbounds i8, ptr %3, i64 12
  %228 = getelementptr inbounds i8, ptr %3, i64 8
  %229 = sext i32 %97 to i64
  %230 = add nsw i32 %.0131, -1
  %231 = zext i32 %95 to i64
  br label %236

._crit_edge185:                                   ; preds = %270, %.preheader177
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #9
  br label %282

232:                                              ; preds = %217
  %233 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  br label %280

234:                                              ; preds = %220
  %235 = landingpad { ptr, i32 }
          cleanup
  br label %279

236:                                              ; preds = %.lr.ph184, %270
  %.0128183 = phi i32 [ 0, %.lr.ph184 ], [ %271, %270 ]
  %.0130182 = phi ptr [ %4, %.lr.ph184 ], [ %272, %270 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #9
  %237 = load i32, ptr %228, align 8, !tbaa !5
  invoke void @_Z19calculateLocalIndexjPKjj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %18, i32 noundef %.0128183, ptr noundef nonnull %227, i32 noundef %237)
          to label %.preheader unwind label %247

.preheader:                                       ; preds = %236
  br i1 %.not, label %._crit_edge181, label %.lr.ph180

._crit_edge181:                                   ; preds = %.lr.ph180, %.preheader
  %238 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %229) #9
  %239 = load i32, ptr %238, align 4, !tbaa !13
  %240 = and i32 %239, %230
  %241 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %229) #9
  %242 = load i32, ptr %241, align 4, !tbaa !13
  %243 = udiv i32 %242, %.0131
  store i32 %243, ptr %241, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %244 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  store ptr %244, ptr %20, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #9
  store i32 %240, ptr %21, align 4, !tbaa !13
  %245 = load ptr, ptr %19, align 8
  %246 = invoke ptr @_ZNSt6vectorIjSaIjEE6insertEN9__gnu_cxx17__normal_iteratorIPKjS1_EEOj(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr %245, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %263 unwind label %273

247:                                              ; preds = %236
  %248 = landingpad { ptr, i32 }
          cleanup
  br label %278

.lr.ph180:                                        ; preds = %.preheader, %.lr.ph180
  %.0127179 = phi i32 [ %262, %.lr.ph180 ], [ 0, %.preheader ]
  %249 = xor i32 %.0127179, -1
  %250 = add i32 %30, %249
  %251 = zext i32 %.0127179 to i64
  %252 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %251) #9
  %253 = load i32, ptr %252, align 4, !tbaa !13
  %254 = sext i32 %250 to i64
  %255 = getelementptr inbounds i32, ptr %26, i64 %254
  %256 = load i32, ptr %255, align 4, !tbaa !13
  %257 = mul i32 %256, %253
  %258 = getelementptr inbounds i32, ptr %2, i64 %254
  %259 = load i32, ptr %258, align 4, !tbaa !13
  %260 = add i32 %257, %259
  %261 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %251) #9
  store i32 %260, ptr %261, align 4, !tbaa !13
  %262 = add nuw i32 %.0127179, 1
  %exitcond202.not = icmp eq i32 %262, %30
  br i1 %exitcond202.not, label %._crit_edge181, label %.lr.ph180, !llvm.loop !21

263:                                              ; preds = %._crit_edge181
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  %264 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %265 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %266 = call noundef i32 @_Z20calculateGlobalIndexPKjS0_j(ptr noundef %264, ptr noundef %265, i32 noundef %218)
  %267 = mul i32 %266, %95
  %268 = zext i32 %267 to i64
  %269 = getelementptr inbounds i8, ptr %1, i64 %268
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %.0130182, ptr noundef %269, i64 noundef %231)
          to label %270 unwind label %275

270:                                              ; preds = %263
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #9
  %271 = add nuw i32 %.0128183, 1
  %272 = getelementptr inbounds i8, ptr %.0130182, i64 %231
  %exitcond203.not = icmp eq i32 %271, %93
  br i1 %exitcond203.not, label %._crit_edge185, label %236, !llvm.loop !22

273:                                              ; preds = %._crit_edge181
  %274 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  br label %277

275:                                              ; preds = %263
  %276 = landingpad { ptr, i32 }
          cleanup
  br label %277

277:                                              ; preds = %275, %273
  %.pn = phi { ptr, i32 } [ %276, %275 ], [ %274, %273 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  br label %278

278:                                              ; preds = %277, %247
  %.pn.pn = phi { ptr, i32 } [ %.pn, %277 ], [ %248, %247 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #9
  br label %279

279:                                              ; preds = %278, %234
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %278 ], [ %235, %234 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  br label %280

280:                                              ; preds = %279, %232
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %279 ], [ %233, %232 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #9
  br label %281

281:                                              ; preds = %280, %207
  %.pn160.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn160.pn.pn.pn, %207 ], [ %.pn.pn.pn.pn, %280 ]
  resume { ptr, i32 } %.pn160.pn.pn.pn.pn

282:                                              ; preds = %75, %87, %82, %77, %._crit_edge185, %204, %5
  %.1 = phi i32 [ 0, %5 ], [ 0, %87 ], [ 0, %82 ], [ 0, %77 ], [ 51, %75 ], [ 0, %._crit_edge185 ], [ 0, %204 ]
  ret i32 %.1
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z7bytesOf8DataType(i32 noundef) local_unnamed_addr #7

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z19calculateLocalIndexjPKjj(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z20calculateGlobalIndexPKjS0_j(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #6

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #8

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #8

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #6 = { 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 #7 = { 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !11, i64 8}
!6 = !{!"_ZTS10TensorDesc", !7, i64 0, !10, i64 4, !11, i64 8, !8, i64 12}
!7 = !{!"_ZTS8DataType", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS10DataFormat", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!6, !7, i64 0}
!17 = !{!6, !10, i64 4}
!18 = distinct !{!18, !15}
!19 = !{!20, !20, i64 0}
!20 = !{!"any pointer", !8, i64 0}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}


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