; LLVM IR from huawei-noah/bolt :: compute/tensor/src/tile.ll (Z4tile6Tensor13TileParamSpecS_S_P8ArchInfo)

; 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.TileParamSpec = type { [8 x i32], i32, i32 }
%class.Tensor = type { %"class.std::shared_ptr", %"class.std::shared_ptr.0" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }
%"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 }
%struct.ArchInfo = type { i32, 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor8get_descEv(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z4tile6Tensor13TileParamSpecS_S_P8ArchInfo(ptr noundef %0, ptr noundef byval(%struct.TileParamSpec) align 8 %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #1 personality ptr @__gxx_personality_v0 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %struct.TensorDesc, align 4
  %13 = alloca %struct.TensorDesc, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %class.Tensor, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %class.Tensor, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %struct.TensorDesc, align 8
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca %"class.std::vector", align 8
  %32 = alloca i32, align 4
  %33 = alloca %"class.std::allocator", align 1
  %34 = alloca %"class.std::vector", align 8
  %35 = alloca i32, align 4
  %36 = alloca %"class.std::allocator", align 1
  %37 = alloca i32, align 4
  %38 = alloca i8, align 1
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ArchInfo, ptr %47, i32 0, i32 0
  %49 = load i32, ptr %48, align 8, !tbaa !9
  store i32 %49, ptr %11, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 92, ptr %12) #9
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %12, ptr noundef nonnull align 8 dereferenceable(32) %0)
  call void @llvm.lifetime.start.p0(i64 92, ptr %13) #9
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %13, ptr noundef nonnull align 8 dereferenceable(32) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %0) #9
  %50 = load i32, ptr %11, align 4, !tbaa !12
  %51 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %15, i32 noundef %50)
          to label %52 unwind label %64

52:                                               ; preds = %5
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  store ptr %51, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  %53 = load i32, ptr %11, align 4, !tbaa !12
  %54 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %19, i32 noundef %53)
          to label %55 unwind label %68

55:                                               ; preds = %52
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  store ptr %54, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %56 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 0
  %57 = load i32, ptr %56, align 4, !tbaa !13
  store i32 %57, ptr %20, align 4, !tbaa !18
  %58 = load i32, ptr %11, align 4, !tbaa !12
  %59 = icmp eq i32 %58, 2
  br i1 %59, label %63, label %60

60:                                               ; preds = %55
  %61 = load i32, ptr %11, align 4, !tbaa !12
  %62 = icmp eq i32 %61, 7
  br i1 %62, label %63, label %72

63:                                               ; preds = %60, %55
  br label %449

64:                                               ; preds = %5
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %16, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %17, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %453

68:                                               ; preds = %52
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %16, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %17, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  br label %452

72:                                               ; preds = %60
  %73 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 1
  %74 = load i32, ptr %73, align 4, !tbaa !19
  %75 = icmp eq i32 %74, 2
  br i1 %75, label %76, label %101

76:                                               ; preds = %72
  %77 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 3
  %78 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %79 = load i32, ptr %78, align 4, !tbaa !20
  %80 = sub i32 %79, 2
  %81 = zext i32 %80 to i64
  %82 = getelementptr inbounds [20 x i32], ptr %77, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !21
  %84 = udiv i32 %83, 8
  store i32 %84, ptr %82, align 4, !tbaa !21
  %85 = getelementptr inbounds %struct.TensorDesc, ptr %13, i32 0, i32 3
  %86 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %87 = load i32, ptr %86, align 4, !tbaa !20
  %88 = sub i32 %87, 2
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds [20 x i32], ptr %85, i64 0, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !21
  %92 = udiv i32 %91, 8
  store i32 %92, ptr %90, align 4, !tbaa !21
  %93 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 3
  %94 = getelementptr inbounds [20 x i32], ptr %93, i64 0, i64 0
  %95 = load i32, ptr %94, align 4, !tbaa !21
  %96 = mul i32 %95, 8
  store i32 %96, ptr %94, align 4, !tbaa !21
  %97 = getelementptr inbounds %struct.TensorDesc, ptr %13, i32 0, i32 3
  %98 = getelementptr inbounds [20 x i32], ptr %97, i64 0, i64 0
  %99 = load i32, ptr %98, align 4, !tbaa !21
  %100 = mul i32 %99, 8
  store i32 %100, ptr %98, align 4, !tbaa !21
  br label %101

101:                                              ; preds = %76, %72
  %102 = getelementptr inbounds %struct.TileParamSpec, ptr %1, i32 0, i32 1
  %103 = load i32, ptr %102, align 8, !tbaa !22
  %104 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %105 = load i32, ptr %104, align 4, !tbaa !20
  %106 = icmp ne i32 %103, %105
  br i1 %106, label %107, label %164

107:                                              ; preds = %101
  %108 = getelementptr inbounds %struct.TileParamSpec, ptr %1, i32 0, i32 1
  %109 = load i32, ptr %108, align 8, !tbaa !22
  %110 = icmp eq i32 %109, 1
  br i1 %110, label %121, label %111

111:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %112 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %113 = trunc i64 %112 to i32
  store i32 %113, ptr %21, align 4, !tbaa !21
  %114 = load i32, ptr %21, align 4, !tbaa !21
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %114)
  %116 = load ptr, ptr @stdout, align 8, !tbaa !5
  %117 = call i32 @fflush(ptr noundef %116)
  %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %119 = load ptr, ptr @stdout, align 8, !tbaa !5
  %120 = call i32 @fflush(ptr noundef %119)
  call void @exit(i32 noundef 1) #10
  unreachable

121:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %122 = getelementptr inbounds %struct.TileParamSpec, ptr %1, i32 0, i32 2
  %123 = load i32, ptr %122, align 4, !tbaa !24
  %124 = icmp sge i32 %123, 0
  br i1 %124, label %125, label %128

125:                                              ; preds = %121
  %126 = getelementptr inbounds %struct.TileParamSpec, ptr %1, i32 0, i32 2
  %127 = load i32, ptr %126, align 4, !tbaa !24
  br label %134

128:                                              ; preds = %121
  %129 = getelementptr inbounds %struct.TileParamSpec, ptr %1, i32 0, i32 2
  %130 = load i32, ptr %129, align 4, !tbaa !24
  %131 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %132 = load i32, ptr %131, align 4, !tbaa !20
  %133 = add i32 %130, %132
  br label %134

134:                                              ; preds = %128, %125
  %135 = phi i32 [ %127, %125 ], [ %133, %128 ]
  store i32 %135, ptr %22, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  %136 = getelementptr inbounds %struct.TileParamSpec, ptr %1, i32 0, i32 0
  %137 = getelementptr inbounds [8 x i32], ptr %136, i64 0, i64 0
  %138 = load i32, ptr %137, align 8, !tbaa !21
  store i32 %138, ptr %23, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  store i32 0, ptr %24, align 4, !tbaa !21
  br label %139

139:                                              ; preds = %160, %134
  %140 = load i32, ptr %24, align 4, !tbaa !21
  %141 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %142 = load i32, ptr %141, align 4, !tbaa !20
  %143 = icmp slt i32 %140, %142
  br i1 %143, label %145, label %144

144:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  br label %163

145:                                              ; preds = %139
  %146 = getelementptr inbounds %struct.TileParamSpec, ptr %1, i32 0, i32 0
  %147 = load i32, ptr %24, align 4, !tbaa !21
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [8 x i32], ptr %146, i64 0, i64 %148
  store i32 1, ptr %149, align 4, !tbaa !21
  %150 = load i32, ptr %22, align 4, !tbaa !21
  %151 = load i32, ptr %24, align 4, !tbaa !21
  %152 = icmp eq i32 %150, %151
  br i1 %152, label %153, label %159

153:                                              ; preds = %145
  %154 = load i32, ptr %23, align 4, !tbaa !21
  %155 = getelementptr inbounds %struct.TileParamSpec, ptr %1, i32 0, i32 0
  %156 = load i32, ptr %24, align 4, !tbaa !21
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [8 x i32], ptr %155, i64 0, i64 %157
  store i32 %154, ptr %158, align 4, !tbaa !21
  br label %159

159:                                              ; preds = %153, %145
  br label %160

160:                                              ; preds = %159
  %161 = load i32, ptr %24, align 4, !tbaa !21
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr %24, align 4, !tbaa !21
  br label %139, !llvm.loop !25

163:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %164

164:                                              ; preds = %163, %101
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  store i32 0, ptr %25, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  store i32 0, ptr %26, align 4, !tbaa !21
  br label %165

165:                                              ; preds = %185, %164
  %166 = load i32, ptr %26, align 4, !tbaa !21
  %167 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %168 = load i32, ptr %167, align 4, !tbaa !20
  %169 = icmp ult i32 %166, %168
  br i1 %169, label %171, label %170

170:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  br label %188

171:                                              ; preds = %165
  %172 = getelementptr inbounds %struct.TileParamSpec, ptr %1, i32 0, i32 0
  %173 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %174 = load i32, ptr %173, align 4, !tbaa !20
  %175 = sub i32 %174, 1
  %176 = load i32, ptr %26, align 4, !tbaa !21
  %177 = sub i32 %175, %176
  %178 = zext i32 %177 to i64
  %179 = getelementptr inbounds [8 x i32], ptr %172, i64 0, i64 %178
  %180 = load i32, ptr %179, align 4, !tbaa !21
  %181 = icmp sgt i32 %180, 1
  %182 = zext i1 %181 to i32
  %183 = load i32, ptr %25, align 4, !tbaa !21
  %184 = add i32 %183, %182
  store i32 %184, ptr %25, align 4, !tbaa !21
  br label %185

185:                                              ; preds = %171
  %186 = load i32, ptr %26, align 4, !tbaa !21
  %187 = add i32 %186, 1
  store i32 %187, ptr %26, align 4, !tbaa !21
  br label %165, !llvm.loop !27

188:                                              ; preds = %170
  %189 = load i32, ptr %25, align 4, !tbaa !21
  %190 = icmp eq i32 %189, 0
  br i1 %190, label %191, label %196

191:                                              ; preds = %188
  %192 = load ptr, ptr %18, align 8, !tbaa !5
  %193 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %12, i64 92, i1 false), !tbaa.struct !28
  %194 = call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %27)
  %195 = zext i32 %194 to i64
  call void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %192, ptr noundef %193, i64 noundef %195)
  store i32 0, ptr %6, align 4
  store i32 1, ptr %28, align 4
  br label %444

196:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %197 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %197, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %198 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %198, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #9
  %199 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %200 = load i32, ptr %199, align 4, !tbaa !20
  %201 = zext i32 %200 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  %202 = getelementptr inbounds %struct.TensorDesc, ptr %13, i32 0, i32 3
  %203 = getelementptr inbounds [20 x i32], ptr %202, i64 0, i64 0
  %204 = load i32, ptr %203, align 4, !tbaa !21
  %205 = load i32, ptr %20, align 4, !tbaa !18
  %206 = call noundef i32 @_Z7bytesOf8DataType(i32 noundef %205)
  %207 = mul i32 %204, %206
  store i32 %207, ptr %32, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #9
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %201, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %208 unwind label %226

208:                                              ; preds = %196
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #9
  %209 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %210 = load i32, ptr %209, align 4, !tbaa !20
  %211 = zext i32 %210 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  %212 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 3
  %213 = getelementptr inbounds [20 x i32], ptr %212, i64 0, i64 0
  %214 = load i32, ptr %213, align 4, !tbaa !21
  %215 = load i32, ptr %20, align 4, !tbaa !18
  %216 = invoke noundef i32 @_Z7bytesOf8DataType(i32 noundef %215)
          to label %217 unwind label %230

217:                                              ; preds = %208
  %218 = mul i32 %214, %216
  store i32 %218, ptr %35, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #9
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %211, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %219 unwind label %234

219:                                              ; preds = %217
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  store i32 1, ptr %37, align 4, !tbaa !21
  br label %220

220:                                              ; preds = %268, %219
  %221 = load i32, ptr %37, align 4, !tbaa !21
  %222 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %223 = load i32, ptr %222, align 4, !tbaa !20
  %224 = icmp ult i32 %221, %223
  br i1 %224, label %239, label %225

225:                                              ; preds = %220
  store i32 8, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  br label %271

226:                                              ; preds = %196
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %16, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  br label %448

230:                                              ; preds = %208
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %16, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %17, align 4
  br label %238

234:                                              ; preds = %217
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %16, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #9
  br label %238

238:                                              ; preds = %234, %230
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  br label %447

239:                                              ; preds = %220
  %240 = load i32, ptr %37, align 4, !tbaa !21
  %241 = sub i32 %240, 1
  %242 = zext i32 %241 to i64
  %243 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %242) #9
  %244 = load i32, ptr %243, align 4, !tbaa !21
  %245 = getelementptr inbounds %struct.TensorDesc, ptr %13, i32 0, i32 3
  %246 = load i32, ptr %37, align 4, !tbaa !21
  %247 = zext i32 %246 to i64
  %248 = getelementptr inbounds [20 x i32], ptr %245, i64 0, i64 %247
  %249 = load i32, ptr %248, align 4, !tbaa !21
  %250 = mul i32 %244, %249
  %251 = load i32, ptr %37, align 4, !tbaa !21
  %252 = zext i32 %251 to i64
  %253 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %252) #9
  store i32 %250, ptr %253, align 4, !tbaa !21
  %254 = load i32, ptr %37, align 4, !tbaa !21
  %255 = sub i32 %254, 1
  %256 = zext i32 %255 to i64
  %257 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %256) #9
  %258 = load i32, ptr %257, align 4, !tbaa !21
  %259 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 3
  %260 = load i32, ptr %37, align 4, !tbaa !21
  %261 = zext i32 %260 to i64
  %262 = getelementptr inbounds [20 x i32], ptr %259, i64 0, i64 %261
  %263 = load i32, ptr %262, align 4, !tbaa !21
  %264 = mul i32 %258, %263
  %265 = load i32, ptr %37, align 4, !tbaa !21
  %266 = zext i32 %265 to i64
  %267 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %266) #9
  store i32 %264, ptr %267, align 4, !tbaa !21
  br label %268

268:                                              ; preds = %239
  %269 = load i32, ptr %37, align 4, !tbaa !21
  %270 = add i32 %269, 1
  store i32 %270, ptr %37, align 4, !tbaa !21
  br label %220, !llvm.loop !31

271:                                              ; preds = %225
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #9
  store i8 1, ptr %38, align 1, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  store i32 0, ptr %39, align 4, !tbaa !21
  br label %272

272:                                              ; preds = %440, %271
  %273 = load i32, ptr %39, align 4, !tbaa !21
  %274 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %275 = load i32, ptr %274, align 4, !tbaa !20
  %276 = icmp ult i32 %273, %275
  br i1 %276, label %278, label %277

277:                                              ; preds = %272
  store i32 11, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  br label %443

278:                                              ; preds = %272
  %279 = getelementptr inbounds %struct.TileParamSpec, ptr %1, i32 0, i32 0
  %280 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %281 = load i32, ptr %280, align 4, !tbaa !20
  %282 = sub i32 %281, 1
  %283 = load i32, ptr %39, align 4, !tbaa !21
  %284 = sub i32 %282, %283
  %285 = zext i32 %284 to i64
  %286 = getelementptr inbounds [8 x i32], ptr %279, i64 0, i64 %285
  %287 = load i32, ptr %286, align 4, !tbaa !21
  %288 = icmp sgt i32 %287, 1
  br i1 %288, label %289, label %439

289:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  %290 = getelementptr inbounds %struct.TileParamSpec, ptr %1, i32 0, i32 0
  %291 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %292 = load i32, ptr %291, align 4, !tbaa !20
  %293 = sub i32 %292, 1
  %294 = load i32, ptr %39, align 4, !tbaa !21
  %295 = sub i32 %293, %294
  %296 = zext i32 %295 to i64
  %297 = getelementptr inbounds [8 x i32], ptr %290, i64 0, i64 %296
  %298 = load i32, ptr %297, align 4, !tbaa !21
  store i32 %298, ptr %40, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  %299 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 2
  %300 = load i32, ptr %299, align 4, !tbaa !20
  %301 = sub i32 %300, 1
  %302 = zext i32 %301 to i64
  %303 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %302) #9
  %304 = load i32, ptr %303, align 4, !tbaa !21
  %305 = load i32, ptr %39, align 4, !tbaa !21
  %306 = zext i32 %305 to i64
  %307 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %306) #9
  %308 = load i32, ptr %307, align 4, !tbaa !21
  %309 = udiv i32 %304, %308
  store i32 %309, ptr %41, align 4, !tbaa !21
  %310 = load i8, ptr %38, align 1, !tbaa !32, !range !34, !noundef !35
  %311 = trunc i8 %310 to i1
  br i1 %311, label %312, label %371

312:                                              ; preds = %289
  store i8 0, ptr %38, align 1, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  store i32 0, ptr %42, align 4, !tbaa !21
  br label %313

313:                                              ; preds = %367, %312
  %314 = load i32, ptr %42, align 4, !tbaa !21
  %315 = load i32, ptr %41, align 4, !tbaa !21
  %316 = icmp slt i32 %314, %315
  br i1 %316, label %318, label %317

317:                                              ; preds = %313
  store i32 14, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %370

318:                                              ; preds = %313
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #9
  store i32 0, ptr %43, align 4, !tbaa !21
  br label %319

319:                                              ; preds = %359, %318
  %320 = load i32, ptr %43, align 4, !tbaa !21
  %321 = load i32, ptr %40, align 4, !tbaa !21
  %322 = icmp ult i32 %320, %321
  br i1 %322, label %324, label %323

323:                                              ; preds = %319
  store i32 17, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  br label %366

324:                                              ; preds = %319
  %325 = load ptr, ptr %30, align 8, !tbaa !5
  %326 = load i32, ptr %42, align 4, !tbaa !21
  %327 = load i32, ptr %40, align 4, !tbaa !21
  %328 = mul i32 %326, %327
  %329 = load i32, ptr %39, align 4, !tbaa !21
  %330 = zext i32 %329 to i64
  %331 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %330) #9
  %332 = load i32, ptr %331, align 4, !tbaa !21
  %333 = mul i32 %328, %332
  %334 = zext i32 %333 to i64
  %335 = getelementptr inbounds i8, ptr %325, i64 %334
  %336 = load i32, ptr %43, align 4, !tbaa !21
  %337 = load i32, ptr %39, align 4, !tbaa !21
  %338 = zext i32 %337 to i64
  %339 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %338) #9
  %340 = load i32, ptr %339, align 4, !tbaa !21
  %341 = mul i32 %336, %340
  %342 = zext i32 %341 to i64
  %343 = getelementptr inbounds i8, ptr %335, i64 %342
  %344 = load ptr, ptr %29, align 8, !tbaa !5
  %345 = load i32, ptr %42, align 4, !tbaa !21
  %346 = load i32, ptr %39, align 4, !tbaa !21
  %347 = zext i32 %346 to i64
  %348 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %347) #9
  %349 = load i32, ptr %348, align 4, !tbaa !21
  %350 = mul i32 %345, %349
  %351 = zext i32 %350 to i64
  %352 = getelementptr inbounds i8, ptr %344, i64 %351
  %353 = load i32, ptr %39, align 4, !tbaa !21
  %354 = zext i32 %353 to i64
  %355 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %354) #9
  %356 = load i32, ptr %355, align 4, !tbaa !21
  %357 = zext i32 %356 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %343, ptr noundef %352, i64 noundef %357)
          to label %358 unwind label %362

358:                                              ; preds = %324
  br label %359

359:                                              ; preds = %358
  %360 = load i32, ptr %43, align 4, !tbaa !21
  %361 = add i32 %360, 1
  store i32 %361, ptr %43, align 4, !tbaa !21
  br label %319, !llvm.loop !36

362:                                              ; preds = %324
  %363 = landingpad { ptr, i32 }
          cleanup
  %364 = extractvalue { ptr, i32 } %363, 0
  store ptr %364, ptr %16, align 8
  %365 = extractvalue { ptr, i32 } %363, 1
  store i32 %365, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %438

366:                                              ; preds = %323
  br label %367

367:                                              ; preds = %366
  %368 = load i32, ptr %42, align 4, !tbaa !21
  %369 = add nsw i32 %368, 1
  store i32 %369, ptr %42, align 4, !tbaa !21
  br label %313, !llvm.loop !37

370:                                              ; preds = %317
  br label %437

371:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #9
  %372 = load i32, ptr %41, align 4, !tbaa !21
  %373 = sub nsw i32 %372, 1
  store i32 %373, ptr %44, align 4, !tbaa !21
  br label %374

374:                                              ; preds = %433, %371
  %375 = load i32, ptr %44, align 4, !tbaa !21
  %376 = icmp sge i32 %375, 0
  br i1 %376, label %378, label %377

377:                                              ; preds = %374
  store i32 20, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  br label %436

378:                                              ; preds = %374
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #9
  store i32 0, ptr %45, align 4, !tbaa !21
  br label %379

379:                                              ; preds = %429, %378
  %380 = load i32, ptr %45, align 4, !tbaa !21
  %381 = load i32, ptr %40, align 4, !tbaa !21
  %382 = icmp ult i32 %380, %381
  br i1 %382, label %384, label %383

383:                                              ; preds = %379
  store i32 23, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  br label %432

384:                                              ; preds = %379
  %385 = load i32, ptr %44, align 4, !tbaa !21
  %386 = icmp ne i32 %385, 0
  br i1 %386, label %390, label %387

387:                                              ; preds = %384
  %388 = load i32, ptr %45, align 4, !tbaa !21
  %389 = icmp ne i32 %388, 0
  br i1 %389, label %390, label %428

390:                                              ; preds = %387, %384
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #9
  %391 = load i32, ptr %39, align 4, !tbaa !21
  %392 = sub i32 %391, 1
  %393 = zext i32 %392 to i64
  %394 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %393) #9
  %395 = load i32, ptr %394, align 4, !tbaa !21
  %396 = getelementptr inbounds %struct.TensorDesc, ptr %12, i32 0, i32 3
  %397 = load i32, ptr %44, align 4, !tbaa !21
  %398 = sext i32 %397 to i64
  %399 = getelementptr inbounds [20 x i32], ptr %396, i64 0, i64 %398
  %400 = load i32, ptr %399, align 4, !tbaa !21
  %401 = mul i32 %395, %400
  store i32 %401, ptr %46, align 4, !tbaa !21
  %402 = load ptr, ptr %30, align 8, !tbaa !5
  %403 = load i32, ptr %44, align 4, !tbaa !21
  %404 = load i32, ptr %40, align 4, !tbaa !21
  %405 = mul i32 %403, %404
  %406 = load i32, ptr %46, align 4, !tbaa !21
  %407 = mul i32 %405, %406
  %408 = zext i32 %407 to i64
  %409 = getelementptr inbounds i8, ptr %402, i64 %408
  %410 = load i32, ptr %45, align 4, !tbaa !21
  %411 = load i32, ptr %46, align 4, !tbaa !21
  %412 = mul i32 %410, %411
  %413 = zext i32 %412 to i64
  %414 = getelementptr inbounds i8, ptr %409, i64 %413
  %415 = load ptr, ptr %30, align 8, !tbaa !5
  %416 = load i32, ptr %44, align 4, !tbaa !21
  %417 = load i32, ptr %46, align 4, !tbaa !21
  %418 = mul i32 %416, %417
  %419 = zext i32 %418 to i64
  %420 = getelementptr inbounds i8, ptr %415, i64 %419
  %421 = load i32, ptr %46, align 4, !tbaa !21
  %422 = zext i32 %421 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %414, ptr noundef %420, i64 noundef %422)
          to label %423 unwind label %424

423:                                              ; preds = %390
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  br label %428

424:                                              ; preds = %390
  %425 = landingpad { ptr, i32 }
          cleanup
  %426 = extractvalue { ptr, i32 } %425, 0
  store ptr %426, ptr %16, align 8
  %427 = extractvalue { ptr, i32 } %425, 1
  store i32 %427, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  br label %438

428:                                              ; preds = %423, %387
  br label %429

429:                                              ; preds = %428
  %430 = load i32, ptr %45, align 4, !tbaa !21
  %431 = add i32 %430, 1
  store i32 %431, ptr %45, align 4, !tbaa !21
  br label %379, !llvm.loop !38

432:                                              ; preds = %383
  br label %433

433:                                              ; preds = %432
  %434 = load i32, ptr %44, align 4, !tbaa !21
  %435 = add nsw i32 %434, -1
  store i32 %435, ptr %44, align 4, !tbaa !21
  br label %374, !llvm.loop !39

436:                                              ; preds = %377
  br label %437

437:                                              ; preds = %436, %370
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  br label %439

438:                                              ; preds = %424, %362
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  br label %447

439:                                              ; preds = %437, %278
  br label %440

440:                                              ; preds = %439
  %441 = load i32, ptr %39, align 4, !tbaa !21
  %442 = add i32 %441, 1
  store i32 %442, ptr %39, align 4, !tbaa !21
  br label %272, !llvm.loop !40

443:                                              ; preds = %277
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  store i32 0, ptr %28, align 4
  br label %444

444:                                              ; preds = %443, %191
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  %445 = load i32, ptr %28, align 4
  switch i32 %445, label %450 [
    i32 0, label %446
  ]

446:                                              ; preds = %444
  br label %449

447:                                              ; preds = %438, %238
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  br label %448

448:                                              ; preds = %447, %226
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %452

449:                                              ; preds = %446, %63
  store i32 0, ptr %6, align 4
  store i32 1, ptr %28, align 4
  br label %450

450:                                              ; preds = %449, %444
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  %451 = load i32, ptr %6, align 4
  ret i32 %451

452:                                              ; preds = %448, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %453

453:                                              ; preds = %452, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  br label %454

454:                                              ; preds = %453
  %455 = load ptr, ptr %16, align 8
  %456 = load i32, ptr %17, align 4
  %457 = insertvalue { ptr, i32 } poison, ptr %455, 0
  %458 = insertvalue { ptr, i32 } %457, i32 %456, 1
  resume { ptr, i32 } %458
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef, i32 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

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

declare i32 @fflush(ptr noundef) #6

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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) #8 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS8ArchInfo", !11, i64 0, !6, i64 8}
!11 = !{!"_ZTS4Arch", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS10TensorDesc", !15, i64 0, !16, i64 4, !17, i64 8, !7, i64 12}
!15 = !{!"_ZTS8DataType", !7, i64 0}
!16 = !{!"_ZTS10DataFormat", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!15, !15, i64 0}
!19 = !{!14, !16, i64 4}
!20 = !{!14, !17, i64 8}
!21 = !{!17, !17, i64 0}
!22 = !{!23, !17, i64 32}
!23 = !{!"_ZTS13TileParamSpec", !7, i64 0, !17, i64 32, !17, i64 36}
!24 = !{!23, !17, i64 36}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = !{i64 0, i64 4, !18, i64 4, i64 4, !29, i64 8, i64 4, !21, i64 12, i64 80, !30}
!29 = !{!16, !16, i64 0}
!30 = !{!7, !7, i64 0}
!31 = distinct !{!31, !26}
!32 = !{!33, !33, i64 0}
!33 = !{!"bool", !7, i64 0}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = distinct !{!36, !26}
!37 = distinct !{!37, !26}
!38 = distinct !{!38, !26}
!39 = distinct !{!39, !26}
!40 = distinct !{!40, !26}


; 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.TileParamSpec = type { [8 x i32], i32, i32 }
%class.Tensor = type { %"class.std::shared_ptr", %"class.std::shared_ptr.0" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }
%"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 }

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor8get_descEv(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z4tile6Tensor13TileParamSpecS_S_P8ArchInfo(ptr noundef nonnull %0, ptr nocapture noundef byval(%struct.TileParamSpec) align 8 %1, ptr nocapture noundef readnone %2, ptr noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %6 = alloca %struct.TensorDesc, align 8
  %7 = alloca %struct.TensorDesc, align 4
  %8 = alloca %class.Tensor, align 8
  %9 = alloca %class.Tensor, align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::allocator", align 1
  %16 = load i32, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %6) #9
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %6, ptr noundef nonnull align 8 dereferenceable(32) %0)
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %7) #9
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %7, ptr noundef nonnull align 8 dereferenceable(32) %3)
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %0) #9
  %17 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %8, i32 noundef %16)
          to label %18 unwind label %22

18:                                               ; preds = %5
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  %19 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %9, i32 noundef %16)
          to label %20 unwind label %24

20:                                               ; preds = %18
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  %21 = load i32, ptr %6, align 8, !tbaa !11
  switch i32 %16, label %26 [
    i32 7, label %252
    i32 2, label %252
  ]

22:                                               ; preds = %5
  %23 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  br label %253

24:                                               ; preds = %18
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  br label %253

26:                                               ; preds = %20
  %27 = getelementptr inbounds i8, ptr %6, i64 4
  %28 = load i32, ptr %27, align 4, !tbaa !16
  %29 = icmp eq i32 %28, 2
  br i1 %29, label %30, label %._crit_edge155

._crit_edge155:                                   ; preds = %26
  %.phi.trans.insert = getelementptr inbounds i8, ptr %6, i64 8
  %.pre = load i32, ptr %.phi.trans.insert, align 8
  br label %47

30:                                               ; preds = %26
  %31 = getelementptr inbounds i8, ptr %6, i64 12
  %32 = getelementptr inbounds i8, ptr %6, i64 8
  %33 = load i32, ptr %32, align 8
  %34 = add i32 %33, -2
  %35 = zext i32 %34 to i64
  %36 = getelementptr inbounds [20 x i32], ptr %31, i64 0, i64 %35
  %37 = load i32, ptr %36, align 4, !tbaa !17
  %38 = lshr i32 %37, 3
  store i32 %38, ptr %36, align 4, !tbaa !17
  %39 = getelementptr inbounds i8, ptr %7, i64 12
  %40 = getelementptr inbounds [20 x i32], ptr %39, i64 0, i64 %35
  %41 = load i32, ptr %40, align 4, !tbaa !17
  %42 = lshr i32 %41, 3
  store i32 %42, ptr %40, align 4, !tbaa !17
  %43 = load i32, ptr %31, align 4, !tbaa !17
  %44 = shl i32 %43, 3
  store i32 %44, ptr %31, align 4, !tbaa !17
  %45 = load i32, ptr %39, align 4, !tbaa !17
  %46 = shl i32 %45, 3
  store i32 %46, ptr %39, align 4, !tbaa !17
  br label %47

47:                                               ; preds = %._crit_edge155, %30
  %48 = phi i32 [ %.pre, %._crit_edge155 ], [ %33, %30 ]
  %49 = getelementptr inbounds i8, ptr %1, i64 32
  %50 = load i32, ptr %49, align 8, !tbaa !18
  %51 = getelementptr inbounds i8, ptr %6, i64 8
  %.not = icmp eq i32 %50, %48
  br i1 %.not, label %.loopexit119, label %52

52:                                               ; preds = %47
  %53 = icmp eq i32 %50, 1
  br i1 %53, label %63, label %54

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

63:                                               ; preds = %52
  %64 = load i32, ptr %1, align 8, !tbaa !17
  %65 = icmp sgt i32 %48, 0
  br i1 %65, label %.lr.ph.preheader, label %.loopexit119

.lr.ph.preheader:                                 ; preds = %63
  %66 = getelementptr inbounds i8, ptr %1, i64 36
  %67 = load i32, ptr %66, align 4
  %68 = icmp slt i32 %67, 0
  %69 = select i1 %68, i32 %48, i32 0
  %70 = add i32 %69, %67
  %71 = zext i32 %70 to i64
  %wide.trip.count = zext nneg i32 %48 to i64
  %min.iters.check = icmp ult i32 %48, 8
  br i1 %min.iters.check, label %.lr.ph.preheader183, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 2147483640
  %broadcast.splatinsert = insertelement <4 x i64> poison, i64 %71, i64 0
  %broadcast.splat = shufflevector <4 x i64> %broadcast.splatinsert, <4 x i64> poison, <4 x i32> zeroinitializer
  %broadcast.splatinsert162 = insertelement <4 x i32> poison, i32 %64, i64 0
  %broadcast.splat163 = shufflevector <4 x i32> %broadcast.splatinsert162, <4 x i32> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <4 x i64> [ <i64 0, i64 1, i64 2, i64 3>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <4 x i64> %vec.ind, <i64 4, i64 4, i64 4, i64 4>
  %72 = getelementptr inbounds [8 x i32], ptr %1, i64 0, i64 %index
  %73 = icmp eq <4 x i64> %vec.ind, %broadcast.splat
  %74 = icmp eq <4 x i64> %step.add, %broadcast.splat
  %75 = select <4 x i1> %73, <4 x i32> %broadcast.splat163, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
  %76 = select <4 x i1> %74, <4 x i32> %broadcast.splat163, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
  %77 = getelementptr inbounds i8, ptr %72, i64 16
  store <4 x i32> %75, ptr %72, align 8, !tbaa !17
  store <4 x i32> %76, ptr %77, align 8, !tbaa !17
  %index.next = add nuw i64 %index, 8
  %vec.ind.next = add <4 x i64> %vec.ind, <i64 8, i64 8, i64 8, i64 8>
  %78 = icmp eq i64 %index.next, %n.vec
  br i1 %78, label %middle.block, label %vector.body, !llvm.loop !21

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.loopexit119, label %.lr.ph.preheader183

.lr.ph.preheader183:                              ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader183, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader183 ]
  %79 = getelementptr inbounds [8 x i32], ptr %1, i64 0, i64 %indvars.iv
  %80 = icmp eq i64 %indvars.iv, %71
  %spec.select = select i1 %80, i32 %64, i32 1
  store i32 %spec.select, ptr %79, align 4, !tbaa !17
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit119, label %.lr.ph, !llvm.loop !25

.loopexit119:                                     ; preds = %.lr.ph, %middle.block, %63, %47
  %.not137 = icmp eq i32 %48, 0
  br i1 %.not137, label %._crit_edge.thread, label %.lr.ph123.preheader

.lr.ph123.preheader:                              ; preds = %.loopexit119
  %wide.trip.count144 = zext i32 %48 to i64
  %min.iters.check166 = icmp ult i32 %48, 12
  br i1 %min.iters.check166, label %.lr.ph123.preheader179, label %vector.scevcheck

.lr.ph123.preheader179:                           ; preds = %middle.block164, %vector.scevcheck, %.lr.ph123.preheader
  %indvars.iv141.ph = phi i64 [ 0, %vector.scevcheck ], [ 0, %.lr.ph123.preheader ], [ %n.vec169, %middle.block164 ]
  %.098122.ph = phi i32 [ 0, %vector.scevcheck ], [ 0, %.lr.ph123.preheader ], [ %112, %middle.block164 ]
  %xtraiter = and i64 %wide.trip.count144, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph123.prol.loopexit, label %.lr.ph123.prol

.lr.ph123.prol:                                   ; preds = %.lr.ph123.preheader179
  %81 = trunc nuw i64 %indvars.iv141.ph to i32
  %82 = xor i32 %81, -1
  %83 = add i32 %48, %82
  %84 = zext i32 %83 to i64
  %85 = getelementptr inbounds [8 x i32], ptr %1, i64 0, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !17
  %87 = icmp sgt i32 %86, 1
  %88 = zext i1 %87 to i32
  %89 = add i32 %.098122.ph, %88
  %indvars.iv.next142.prol = or disjoint i64 %indvars.iv141.ph, 1
  br label %.lr.ph123.prol.loopexit

.lr.ph123.prol.loopexit:                          ; preds = %.lr.ph123.prol, %.lr.ph123.preheader179
  %.lcssa180.unr = phi i32 [ poison, %.lr.ph123.preheader179 ], [ %89, %.lr.ph123.prol ]
  %indvars.iv141.unr = phi i64 [ %indvars.iv141.ph, %.lr.ph123.preheader179 ], [ %indvars.iv.next142.prol, %.lr.ph123.prol ]
  %.098122.unr = phi i32 [ %.098122.ph, %.lr.ph123.preheader179 ], [ %89, %.lr.ph123.prol ]
  %90 = add nsw i64 %wide.trip.count144, -1
  %91 = icmp eq i64 %indvars.iv141.ph, %90
  br i1 %91, label %._crit_edge, label %.lr.ph123

vector.scevcheck:                                 ; preds = %.lr.ph123.preheader
  %92 = add nsw i64 %wide.trip.count144, -1
  %93 = add i32 %48, -1
  %94 = trunc i64 %92 to i32
  %95 = icmp ult i32 %93, %94
  %96 = icmp ugt i64 %92, 4294967295
  %97 = or i1 %95, %96
  br i1 %97, label %.lr.ph123.preheader179, label %vector.ph167

vector.ph167:                                     ; preds = %vector.scevcheck
  %n.vec169 = and i64 %wide.trip.count144, 4294967288
  br label %vector.body171

vector.body171:                                   ; preds = %vector.body171, %vector.ph167
  %index172 = phi i64 [ 0, %vector.ph167 ], [ %index.next176, %vector.body171 ]
  %vec.phi = phi <4 x i32> [ zeroinitializer, %vector.ph167 ], [ %109, %vector.body171 ]
  %vec.phi173 = phi <4 x i32> [ zeroinitializer, %vector.ph167 ], [ %110, %vector.body171 ]
  %98 = trunc i64 %index172 to i32
  %99 = xor i32 %98, -1
  %100 = add i32 %48, %99
  %101 = zext i32 %100 to i64
  %102 = getelementptr inbounds [8 x i32], ptr %1, i64 0, i64 %101
  %103 = getelementptr inbounds i8, ptr %102, i64 -12
  %104 = getelementptr inbounds i8, ptr %102, i64 -28
  %wide.load = load <4 x i32>, ptr %103, align 4, !tbaa !17
  %reverse = shufflevector <4 x i32> %wide.load, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
  %wide.load174 = load <4 x i32>, ptr %104, align 4, !tbaa !17
  %reverse175 = shufflevector <4 x i32> %wide.load174, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
  %105 = icmp sgt <4 x i32> %reverse, <i32 1, i32 1, i32 1, i32 1>
  %106 = icmp sgt <4 x i32> %reverse175, <i32 1, i32 1, i32 1, i32 1>
  %107 = zext <4 x i1> %105 to <4 x i32>
  %108 = zext <4 x i1> %106 to <4 x i32>
  %109 = add <4 x i32> %vec.phi, %107
  %110 = add <4 x i32> %vec.phi173, %108
  %index.next176 = add nuw i64 %index172, 8
  %111 = icmp eq i64 %index.next176, %n.vec169
  br i1 %111, label %middle.block164, label %vector.body171, !llvm.loop !26

middle.block164:                                  ; preds = %vector.body171
  %bin.rdx = add <4 x i32> %110, %109
  %112 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  %cmp.n177 = icmp eq i64 %n.vec169, %wide.trip.count144
  br i1 %cmp.n177, label %._crit_edge, label %.lr.ph123.preheader179

._crit_edge:                                      ; preds = %.lr.ph123.prol.loopexit, %.lr.ph123, %middle.block164
  %.lcssa160 = phi i32 [ %112, %middle.block164 ], [ %.lcssa180.unr, %.lr.ph123.prol.loopexit ], [ %130, %.lr.ph123 ]
  %113 = icmp eq i32 %.lcssa160, 0
  br i1 %113, label %._crit_edge.thread, label %133

.lr.ph123:                                        ; preds = %.lr.ph123.prol.loopexit, %.lr.ph123
  %indvars.iv141 = phi i64 [ %indvars.iv.next142.1, %.lr.ph123 ], [ %indvars.iv141.unr, %.lr.ph123.prol.loopexit ]
  %.098122 = phi i32 [ %130, %.lr.ph123 ], [ %.098122.unr, %.lr.ph123.prol.loopexit ]
  %114 = trunc nuw i64 %indvars.iv141 to i32
  %115 = xor i32 %114, -1
  %116 = add i32 %48, %115
  %117 = zext i32 %116 to i64
  %118 = getelementptr inbounds [8 x i32], ptr %1, i64 0, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !17
  %120 = icmp sgt i32 %119, 1
  %121 = zext i1 %120 to i32
  %122 = add i32 %.098122, %121
  %123 = trunc i64 %indvars.iv141 to i32
  %reass.sub = sub i32 %48, %123
  %124 = add i32 %reass.sub, -2
  %125 = zext i32 %124 to i64
  %126 = getelementptr inbounds [8 x i32], ptr %1, i64 0, i64 %125
  %127 = load i32, ptr %126, align 4, !tbaa !17
  %128 = icmp sgt i32 %127, 1
  %129 = zext i1 %128 to i32
  %130 = add i32 %122, %129
  %indvars.iv.next142.1 = add nuw nsw i64 %indvars.iv141, 2
  %exitcond145.not.1 = icmp eq i64 %indvars.iv.next142.1, %wide.trip.count144
  br i1 %exitcond145.not.1, label %._crit_edge, label %.lr.ph123, !llvm.loop !27

._crit_edge.thread:                               ; preds = %.loopexit119, %._crit_edge
  %131 = call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %6)
  %132 = zext i32 %131 to i64
  call void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %19, ptr noundef %17, i64 noundef %132)
  br label %252

133:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #9
  %134 = zext i32 %48 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #9
  %135 = getelementptr inbounds i8, ptr %7, i64 12
  %136 = load i32, ptr %135, align 4, !tbaa !17
  %137 = call noundef i32 @_Z7bytesOf8DataType(i32 noundef %21)
  %138 = mul i32 %137, %136
  store i32 %138, ptr %11, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %134, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %139 unwind label %151

139:                                              ; preds = %133
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #9
  %140 = load i32, ptr %51, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #9
  %141 = getelementptr inbounds i8, ptr %6, i64 12
  %142 = load i32, ptr %141, align 4, !tbaa !17
  %143 = invoke noundef i32 @_Z7bytesOf8DataType(i32 noundef %21)
          to label %144 unwind label %153

144:                                              ; preds = %139
  %145 = zext i32 %140 to i64
  %146 = mul i32 %143, %142
  store i32 %146, ptr %14, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #9
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %145, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %147 unwind label %155

147:                                              ; preds = %144
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #9
  %148 = load i32, ptr %51, align 8, !tbaa !28
  %149 = icmp ugt i32 %148, 1
  br i1 %149, label %.lr.ph126, label %.preheader118

.preheader118:                                    ; preds = %.lr.ph126, %147
  %150 = phi i32 [ %148, %147 ], [ %171, %.lr.ph126 ]
  %.not138 = icmp eq i32 %150, 0
  br i1 %.not138, label %._crit_edge136, label %.lr.ph135

151:                                              ; preds = %133
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #9
  br label %251

153:                                              ; preds = %139
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %157

155:                                              ; preds = %144
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  br label %157

157:                                              ; preds = %155, %153
  %.pn = phi { ptr, i32 } [ %156, %155 ], [ %154, %153 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #9
  br label %250

.lr.ph126:                                        ; preds = %147, %.lr.ph126
  %indvars.iv146 = phi i64 [ %indvars.iv.next147, %.lr.ph126 ], [ 1, %147 ]
  %158 = add nsw i64 %indvars.iv146, -1
  %159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %158) #9
  %160 = load i32, ptr %159, align 4, !tbaa !17
  %161 = getelementptr inbounds [20 x i32], ptr %135, i64 0, i64 %indvars.iv146
  %162 = load i32, ptr %161, align 4, !tbaa !17
  %163 = mul i32 %162, %160
  %164 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv146) #9
  store i32 %163, ptr %164, align 4, !tbaa !17
  %165 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %158) #9
  %166 = load i32, ptr %165, align 4, !tbaa !17
  %167 = getelementptr inbounds [20 x i32], ptr %141, i64 0, i64 %indvars.iv146
  %168 = load i32, ptr %167, align 4, !tbaa !17
  %169 = mul i32 %168, %166
  %170 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv146) #9
  store i32 %169, ptr %170, align 4, !tbaa !17
  %indvars.iv.next147 = add nuw nsw i64 %indvars.iv146, 1
  %171 = load i32, ptr %51, align 8, !tbaa !28
  %172 = zext i32 %171 to i64
  %173 = icmp ult i64 %indvars.iv.next147, %172
  br i1 %173, label %.lr.ph126, label %.preheader118, !llvm.loop !29

._crit_edge136:                                   ; preds = %.loopexit115, %.preheader118
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  br label %252

.lr.ph135:                                        ; preds = %.preheader118, %.loopexit115
  %indvars.iv153 = phi i64 [ %indvars.iv.next154, %.loopexit115 ], [ 0, %.preheader118 ]
  %174 = phi i32 [ %247, %.loopexit115 ], [ %150, %.preheader118 ]
  %.093132 = phi i1 [ %.295, %.loopexit115 ], [ true, %.preheader118 ]
  %175 = add i32 %174, -1
  %176 = trunc nuw i64 %indvars.iv153 to i32
  %177 = sub i32 %175, %176
  %178 = zext i32 %177 to i64
  %179 = getelementptr inbounds [8 x i32], ptr %1, i64 0, i64 %178
  %180 = load i32, ptr %179, align 4, !tbaa !17
  %181 = icmp sgt i32 %180, 1
  br i1 %181, label %182, label %.loopexit115

182:                                              ; preds = %.lr.ph135
  %183 = zext i32 %175 to i64
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %183) #9
  %185 = load i32, ptr %184, align 4, !tbaa !17
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv153) #9
  %187 = load i32, ptr %186, align 4, !tbaa !17
  %188 = udiv i32 %185, %187
  %189 = icmp sgt i32 %188, 0
  br i1 %.093132, label %.preheader114, label %.preheader116

.preheader116:                                    ; preds = %182
  br i1 %189, label %.preheader113.lr.ph, label %.loopexit115

.preheader113.lr.ph:                              ; preds = %.preheader116
  %190 = add nuw nsw i64 %indvars.iv153, 4294967295
  %191 = and i64 %190, 4294967295
  %192 = udiv i32 %185, %187
  %193 = zext i32 %192 to i64
  br label %.preheader113

.preheader114:                                    ; preds = %182
  br i1 %189, label %.preheader, label %.loopexit115

.preheader:                                       ; preds = %.preheader114, %195
  %.083131 = phi i32 [ %196, %195 ], [ 0, %.preheader114 ]
  %194 = mul i32 %.083131, %180
  br label %198

195:                                              ; preds = %217
  %196 = add nuw nsw i32 %.083131, 1
  %197 = icmp slt i32 %196, %188
  br i1 %197, label %.preheader, label %.loopexit115, !llvm.loop !30

198:                                              ; preds = %.preheader, %217
  %.082130 = phi i32 [ 0, %.preheader ], [ %218, %217 ]
  %199 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv153) #9
  %200 = load i32, ptr %199, align 4, !tbaa !17
  %201 = mul i32 %194, %200
  %202 = zext i32 %201 to i64
  %203 = getelementptr inbounds i8, ptr %19, i64 %202
  %204 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv153) #9
  %205 = load i32, ptr %204, align 4, !tbaa !17
  %206 = mul i32 %205, %.082130
  %207 = zext i32 %206 to i64
  %208 = getelementptr inbounds i8, ptr %203, i64 %207
  %209 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv153) #9
  %210 = load i32, ptr %209, align 4, !tbaa !17
  %211 = mul i32 %210, %.083131
  %212 = zext i32 %211 to i64
  %213 = getelementptr inbounds i8, ptr %17, i64 %212
  %214 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv153) #9
  %215 = load i32, ptr %214, align 4, !tbaa !17
  %216 = zext i32 %215 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %208, ptr noundef %213, i64 noundef %216)
          to label %217 unwind label %219

217:                                              ; preds = %198
  %218 = add nuw i32 %.082130, 1
  %exitcond152.not = icmp eq i32 %218, %180
  br i1 %exitcond152.not, label %195, label %198, !llvm.loop !31

219:                                              ; preds = %198
  %220 = landingpad { ptr, i32 }
          cleanup
  br label %246

.loopexit:                                        ; preds = %244
  %221 = icmp sgt i64 %indvars.iv150, 1
  br i1 %221, label %.preheader113, label %.loopexit115, !llvm.loop !32

.preheader113:                                    ; preds = %.preheader113.lr.ph, %.loopexit
  %indvars.iv150 = phi i64 [ %193, %.preheader113.lr.ph ], [ %indvars.iv.next151, %.loopexit ]
  %indvars.iv.next151 = add nsw i64 %indvars.iv150, -1
  %222 = getelementptr inbounds [20 x i32], ptr %141, i64 0, i64 %indvars.iv.next151
  %223 = trunc nuw nsw i64 %indvars.iv.next151 to i32
  %224 = mul i32 %180, %223
  br label %225

225:                                              ; preds = %.preheader113, %244
  %.080127 = phi i32 [ 0, %.preheader113 ], [ %245, %244 ]
  %226 = or i32 %.080127, %223
  %or.cond3.not = icmp eq i32 %226, 0
  br i1 %or.cond3.not, label %244, label %227

227:                                              ; preds = %225
  %228 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %191) #9
  %229 = load i32, ptr %228, align 4, !tbaa !17
  %230 = load i32, ptr %222, align 4, !tbaa !17
  %231 = mul i32 %230, %229
  %232 = mul i32 %224, %231
  %233 = zext i32 %232 to i64
  %234 = getelementptr inbounds i8, ptr %19, i64 %233
  %235 = mul i32 %231, %.080127
  %236 = zext i32 %235 to i64
  %237 = getelementptr inbounds i8, ptr %234, i64 %236
  %238 = mul i32 %231, %223
  %239 = zext i32 %238 to i64
  %240 = getelementptr inbounds i8, ptr %19, i64 %239
  %241 = zext i32 %231 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %237, ptr noundef %240, i64 noundef %241)
          to label %244 unwind label %242

242:                                              ; preds = %227
  %243 = landingpad { ptr, i32 }
          cleanup
  br label %246

244:                                              ; preds = %227, %225
  %245 = add nuw i32 %.080127, 1
  %exitcond149.not = icmp eq i32 %245, %180
  br i1 %exitcond149.not, label %.loopexit, label %225, !llvm.loop !33

246:                                              ; preds = %242, %219
  %.pn106 = phi { ptr, i32 } [ %220, %219 ], [ %243, %242 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  br label %250

.loopexit115:                                     ; preds = %.loopexit, %195, %.preheader116, %.preheader114, %.lr.ph135
  %.295 = phi i1 [ %.093132, %.lr.ph135 ], [ false, %.preheader114 ], [ false, %.preheader116 ], [ false, %195 ], [ false, %.loopexit ]
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %247 = load i32, ptr %51, align 8, !tbaa !28
  %248 = zext i32 %247 to i64
  %249 = icmp ult i64 %indvars.iv.next154, %248
  br i1 %249, label %.lr.ph135, label %._crit_edge136, !llvm.loop !34

250:                                              ; preds = %246, %157
  %.pn106.pn = phi { ptr, i32 } [ %.pn106, %246 ], [ %.pn, %157 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  br label %251

251:                                              ; preds = %250, %151
  %.pn106.pn.pn = phi { ptr, i32 } [ %.pn106.pn, %250 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  br label %253

252:                                              ; preds = %._crit_edge.thread, %._crit_edge136, %20, %20
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %6) #9
  ret i32 0

253:                                              ; preds = %24, %251, %22
  %.pn106.pn.pn.pn.pn = phi { ptr, i32 } [ %23, %22 ], [ %.pn106.pn.pn, %251 ], [ %25, %24 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %6) #9
  resume { ptr, i32 } %.pn106.pn.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #7 align 2

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #8

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress 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 #4 = { 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 = { 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 #6 = { 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 #7 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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, !7, i64 0}
!6 = !{!"_ZTS8ArchInfo", !7, i64 0, !10, i64 8}
!7 = !{!"_ZTS4Arch", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS10TensorDesc", !13, i64 0, !14, i64 4, !15, i64 8, !8, i64 12}
!13 = !{!"_ZTS8DataType", !8, i64 0}
!14 = !{!"_ZTS10DataFormat", !8, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!12, !14, i64 4}
!17 = !{!15, !15, i64 0}
!18 = !{!19, !15, i64 32}
!19 = !{!"_ZTS13TileParamSpec", !8, i64 0, !15, i64 32, !15, i64 36}
!20 = !{!10, !10, i64 0}
!21 = distinct !{!21, !22, !23, !24}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!"llvm.loop.isvectorized", i32 1}
!24 = !{!"llvm.loop.unroll.runtime.disable"}
!25 = distinct !{!25, !22, !24, !23}
!26 = distinct !{!26, !22, !23, !24}
!27 = distinct !{!27, !22, !23}
!28 = !{!12, !15, i64 8}
!29 = distinct !{!29, !22}
!30 = distinct !{!30, !22}
!31 = distinct !{!31, !22}
!32 = distinct !{!32, !22}
!33 = distinct !{!33, !22}
!34 = distinct !{!34, !22}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass