; LLVM IR from libxsmm/libxsmm :: src (generator_rv64_reference)

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

%union.libxsmm_ref_code_pointer = type { ptr }
%struct.libxsmm_meqn_descriptor = type <{ i32, i32, i32, i8, i32 }>
%struct.libxsmm_matrix_eqn = type { ptr, ptr, i32, i32, i32, i32 }
%struct.libxsmm_meqn_elem = type { ptr, ptr, ptr, ptr, i32, %union.libxsmm_meqn_info, i32, i32, %struct.libxsmm_meqn_tmp_info, i32, i32, i32, %union.libxsmm_meqn_fusion_info }
%union.libxsmm_meqn_info = type { %struct.libxsmm_meqn_arg }
%struct.libxsmm_meqn_arg = type { i32, i32, i32, i32, i32, i32, i32, %struct.libxsmm_matrix_arg_attributes }
%struct.libxsmm_matrix_arg_attributes = type { i32, i32, i32, i32 }
%struct.libxsmm_meqn_tmp_info = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%union.libxsmm_meqn_fusion_info = type { %struct.libxsmm_meqn_xgemm_fusion_info }
%struct.libxsmm_meqn_xgemm_fusion_info = type { i32, i32, i32, i32, i32 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [60 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [80 x i8], align 1
@__PRETTY_FUNCTION__.libxsmm_generator_matequation_rv64_reference_kernel = external hidden unnamed_addr constant [116 x i8], align 1
@libxsmm_verbosity = external global i32, align 4
@.str.3 = external hidden unnamed_addr constant [90 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: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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) #3

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

declare void @libxsmm_rv64_instruction_open_stream(ptr noundef, i16 noundef zeroext) #4

declare void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare void @libxsmm_rv64_instruction_alu_compute_imm64(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) #4

declare void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef, i32 noundef, i64 noundef) #4

declare void @libxsmm_rv64_instruction_alu_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare void @libxsmm_rv64_instruction_jump_and_link_reg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind
declare void @free(ptr noundef) #5

declare void @libxsmm_rv64_instruction_close_stream(ptr noundef, i16 noundef zeroext) #4

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_matequation_rv64_reference_kernel(ptr noundef %0, ptr noundef %1) #6 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %union.libxsmm_ref_code_pointer, align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 5, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 6, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 7, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 28, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 29, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %26, i32 0, i32 4
  %28 = load i32, ptr %27, align 1, !tbaa !11
  store i32 %28, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %29 = load i32, ptr %11, align 4, !tbaa !9
  %30 = call ptr @libxsmm_meqn_get_equation(i32 noundef %29)
  store ptr %30, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store ptr null, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  store i64 0, ptr %16, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  store i64 0, ptr %17, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  store i64 0, ptr %18, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  store i64 0, ptr %19, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  store i64 0, ptr %20, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store i64 0, ptr %21, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  store ptr null, ptr %23, align 8, !tbaa !15
  %31 = load ptr, ptr %12, align 8, !tbaa !5
  %32 = icmp eq ptr %31, null
  br i1 %32, label %33, label %36

33:                                               ; preds = %2
  %34 = load ptr, ptr @stderr, align 8, !tbaa !5
  %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str) #8
  store i32 1, ptr %24, align 4
  br label %500

36:                                               ; preds = %2
  %37 = load ptr, ptr %12, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %37, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8, !tbaa !15
  %40 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %39, i32 0, i32 7
  %41 = load i32, ptr %40, align 4, !tbaa !15
  store i32 %41, ptr %14, align 4, !tbaa !9
  %42 = load i32, ptr %14, align 4, !tbaa !9
  %43 = add i32 %42, 1
  %44 = mul i32 %43, 5
  %45 = zext i32 %44 to i64
  %46 = mul i64 %45, 184
  %47 = add i64 %46, 63
  %48 = udiv i64 %47, 64
  %49 = mul i64 %48, 64
  store i64 %49, ptr %16, align 8, !tbaa !13
  %50 = load i64, ptr %16, align 8, !tbaa !13
  %51 = call noalias ptr @malloc(i64 noundef %50) #9
  store ptr %51, ptr %15, align 8, !tbaa !5
  %52 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %52, ptr %22, align 8, !tbaa !5
  %53 = load ptr, ptr %15, align 8, !tbaa !5
  %54 = load i64, ptr %16, align 8, !tbaa !13
  call void @llvm.memset.p0.i64(ptr align 8 %53, i8 0, i64 %54, i1 false)
  %55 = load ptr, ptr %12, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %55, i32 0, i32 0
  %57 = load ptr, ptr %56, align 8, !tbaa !15
  %58 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %57, i32 0, i32 11
  %59 = load i32, ptr %58, align 8, !tbaa !15
  %60 = sext i32 %59 to i64
  store i64 %60, ptr %18, align 8, !tbaa !13
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %61, i32 0, i32 0
  %63 = load ptr, ptr %62, align 8, !tbaa !15
  %64 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %63, i32 0, i32 6
  %65 = load i32, ptr %64, align 8, !tbaa !15
  %66 = sext i32 %65 to i64
  store i64 %66, ptr %19, align 8, !tbaa !13
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %67, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8, !tbaa !15
  %70 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %69, i32 0, i32 9
  %71 = load i32, ptr %70, align 8, !tbaa !15
  %72 = sext i32 %71 to i64
  %73 = load i64, ptr %18, align 8, !tbaa !13
  %74 = mul i64 %72, %73
  store i64 %74, ptr %20, align 8, !tbaa !13
  br label %75

75:                                               ; preds = %36
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  call void @libxsmm_rv64_instruction_open_stream(ptr noundef %76, i16 noundef zeroext 12288)
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %77, i32 noundef 19, i32 noundef 2, i32 noundef 30, i32 noundef 0)
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = load i32, ptr %6, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %78, i32 noundef %79, i64 noundef -64)
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = load i32, ptr %7, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %80, i32 noundef 19, i32 noundef 2, i32 noundef %81, i32 noundef 0)
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = load i32, ptr %7, align 4, !tbaa !9
  %84 = load i32, ptr %6, align 4, !tbaa !9
  %85 = load i32, ptr %7, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_alu_compute(ptr noundef %82, i32 noundef 28723, i32 noundef %83, i32 noundef %84, i32 noundef %85)
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = load i32, ptr %7, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %86, i32 noundef 19, i32 noundef %87, i32 noundef 2, i32 noundef 0)
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %388, %75
  %89 = load i32, ptr %13, align 4, !tbaa !9
  %90 = load i32, ptr %14, align 4, !tbaa !9
  %91 = icmp ule i32 %89, %90
  br i1 %91, label %92, label %391

92:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %93 = load ptr, ptr %12, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %93, i32 0, i32 0
  %95 = load ptr, ptr %94, align 8, !tbaa !15
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = call ptr @libxsmm_generator_matequation_find_op_at_timestamp(ptr noundef %95, i32 noundef %96)
  store ptr %97, ptr %25, align 8, !tbaa !5
  %98 = load ptr, ptr %25, align 8, !tbaa !5
  %99 = icmp ne ptr %98, null
  br i1 %99, label %100, label %108

100:                                              ; preds = %92
  %101 = load ptr, ptr %15, align 8, !tbaa !5
  %102 = load i32, ptr %13, align 4, !tbaa !9
  %103 = mul i32 %102, 5
  %104 = add i32 %103, 0
  %105 = zext i32 %104 to i64
  %106 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %101, i64 %105
  %107 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %106, ptr align 8 %107, i64 184, i1 false), !tbaa.struct !16
  br label %108

108:                                              ; preds = %100, %92
  %109 = load ptr, ptr %25, align 8, !tbaa !5
  %110 = icmp ne ptr %109, null
  br i1 %110, label %111, label %126

111:                                              ; preds = %108
  %112 = load ptr, ptr %25, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %112, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8, !tbaa !15
  %115 = icmp ne ptr %114, null
  br i1 %115, label %116, label %126

116:                                              ; preds = %111
  %117 = load ptr, ptr %15, align 8, !tbaa !5
  %118 = load i32, ptr %13, align 4, !tbaa !9
  %119 = mul i32 %118, 5
  %120 = add i32 %119, 1
  %121 = zext i32 %120 to i64
  %122 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %117, i64 %121
  %123 = load ptr, ptr %25, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %122, ptr align 8 %125, i64 184, i1 false), !tbaa.struct !16
  br label %126

126:                                              ; preds = %116, %111, %108
  %127 = load ptr, ptr %25, align 8, !tbaa !5
  %128 = icmp ne ptr %127, null
  br i1 %128, label %129, label %144

129:                                              ; preds = %126
  %130 = load ptr, ptr %25, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %130, i32 0, i32 1
  %132 = load ptr, ptr %131, align 8, !tbaa !15
  %133 = icmp ne ptr %132, null
  br i1 %133, label %134, label %144

134:                                              ; preds = %129
  %135 = load ptr, ptr %15, align 8, !tbaa !5
  %136 = load i32, ptr %13, align 4, !tbaa !9
  %137 = mul i32 %136, 5
  %138 = add i32 %137, 2
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %135, i64 %139
  %141 = load ptr, ptr %25, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %141, i32 0, i32 1
  %143 = load ptr, ptr %142, align 8, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %140, ptr align 8 %143, i64 184, i1 false), !tbaa.struct !16
  br label %144

144:                                              ; preds = %134, %129, %126
  %145 = load ptr, ptr %25, align 8, !tbaa !5
  %146 = icmp ne ptr %145, null
  br i1 %146, label %147, label %162

147:                                              ; preds = %144
  %148 = load ptr, ptr %25, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %148, i32 0, i32 2
  %150 = load ptr, ptr %149, align 8, !tbaa !15
  %151 = icmp ne ptr %150, null
  br i1 %151, label %152, label %162

152:                                              ; preds = %147
  %153 = load ptr, ptr %15, align 8, !tbaa !5
  %154 = load i32, ptr %13, align 4, !tbaa !9
  %155 = mul i32 %154, 5
  %156 = add i32 %155, 3
  %157 = zext i32 %156 to i64
  %158 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %153, i64 %157
  %159 = load ptr, ptr %25, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %159, i32 0, i32 2
  %161 = load ptr, ptr %160, align 8, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %158, ptr align 8 %161, i64 184, i1 false), !tbaa.struct !16
  br label %162

162:                                              ; preds = %152, %147, %144
  %163 = load ptr, ptr %25, align 8, !tbaa !5
  %164 = icmp ne ptr %163, null
  br i1 %164, label %165, label %180

165:                                              ; preds = %162
  %166 = load ptr, ptr %25, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %166, i32 0, i32 3
  %168 = load ptr, ptr %167, align 8, !tbaa !15
  %169 = icmp ne ptr %168, null
  br i1 %169, label %170, label %180

170:                                              ; preds = %165
  %171 = load ptr, ptr %15, align 8, !tbaa !5
  %172 = load i32, ptr %13, align 4, !tbaa !9
  %173 = mul i32 %172, 5
  %174 = add i32 %173, 4
  %175 = zext i32 %174 to i64
  %176 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %171, i64 %175
  %177 = load ptr, ptr %25, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %177, i32 0, i32 3
  %179 = load ptr, ptr %178, align 8, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %176, ptr align 8 %179, i64 184, i1 false), !tbaa.struct !16
  br label %180

180:                                              ; preds = %170, %165, %162
  %181 = load i32, ptr %13, align 4, !tbaa !9
  %182 = load i32, ptr %14, align 4, !tbaa !9
  %183 = icmp eq i32 %181, %182
  br i1 %183, label %184, label %387

184:                                              ; preds = %180
  %185 = load ptr, ptr %15, align 8, !tbaa !5
  %186 = load i32, ptr %13, align 4, !tbaa !9
  %187 = mul i32 %186, 5
  %188 = add i32 %187, 0
  %189 = zext i32 %188 to i64
  %190 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %185, i64 %189
  %191 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %190, i32 0, i32 6
  store i32 -1, ptr %191, align 8, !tbaa !15
  %192 = load ptr, ptr %4, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %192, i32 0, i32 2
  %194 = load i32, ptr %193, align 1, !tbaa !17
  %195 = load ptr, ptr %15, align 8, !tbaa !5
  %196 = load i32, ptr %13, align 4, !tbaa !9
  %197 = mul i32 %196, 5
  %198 = add i32 %197, 0
  %199 = zext i32 %198 to i64
  %200 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %195, i64 %199
  %201 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %200, i32 0, i32 8
  %202 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %201, i32 0, i32 3
  store i32 %194, ptr %202, align 4, !tbaa !15
  %203 = load ptr, ptr %4, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %203, i32 0, i32 3
  %205 = load i8, ptr %204, align 1, !tbaa !18
  %206 = zext i8 %205 to i32
  %207 = ashr i32 %206, 4
  %208 = icmp eq i32 0, %207
  br i1 %208, label %209, label %371

209:                                              ; preds = %184
  %210 = load ptr, ptr %4, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %210, i32 0, i32 3
  %212 = load i8, ptr %211, align 1, !tbaa !18
  %213 = zext i8 %212 to i32
  %214 = and i32 %213, 15
  %215 = icmp eq i32 0, %214
  br i1 %215, label %216, label %217

216:                                              ; preds = %209
  br label %369

217:                                              ; preds = %209
  %218 = load ptr, ptr %4, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %218, i32 0, i32 3
  %220 = load i8, ptr %219, align 1, !tbaa !18
  %221 = zext i8 %220 to i32
  %222 = and i32 %221, 15
  %223 = icmp eq i32 1, %222
  br i1 %223, label %224, label %225

224:                                              ; preds = %217
  br label %367

225:                                              ; preds = %217
  %226 = load ptr, ptr %4, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %226, i32 0, i32 3
  %228 = load i8, ptr %227, align 1, !tbaa !18
  %229 = zext i8 %228 to i32
  %230 = and i32 %229, 15
  %231 = icmp eq i32 2, %230
  br i1 %231, label %232, label %233

232:                                              ; preds = %225
  br label %365

233:                                              ; preds = %225
  %234 = load ptr, ptr %4, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %234, i32 0, i32 3
  %236 = load i8, ptr %235, align 1, !tbaa !18
  %237 = zext i8 %236 to i32
  %238 = and i32 %237, 15
  %239 = icmp eq i32 3, %238
  br i1 %239, label %240, label %241

240:                                              ; preds = %233
  br label %363

241:                                              ; preds = %233
  %242 = load ptr, ptr %4, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %242, i32 0, i32 3
  %244 = load i8, ptr %243, align 1, !tbaa !18
  %245 = zext i8 %244 to i32
  %246 = and i32 %245, 15
  %247 = icmp eq i32 4, %246
  br i1 %247, label %248, label %249

248:                                              ; preds = %241
  br label %361

249:                                              ; preds = %241
  %250 = load ptr, ptr %4, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %250, i32 0, i32 3
  %252 = load i8, ptr %251, align 1, !tbaa !18
  %253 = zext i8 %252 to i32
  %254 = and i32 %253, 15
  %255 = icmp eq i32 5, %254
  br i1 %255, label %256, label %257

256:                                              ; preds = %249
  br label %359

257:                                              ; preds = %249
  %258 = load ptr, ptr %4, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %258, i32 0, i32 3
  %260 = load i8, ptr %259, align 1, !tbaa !18
  %261 = zext i8 %260 to i32
  %262 = and i32 %261, 15
  %263 = icmp eq i32 6, %262
  br i1 %263, label %264, label %265

264:                                              ; preds = %257
  br label %357

265:                                              ; preds = %257
  %266 = load ptr, ptr %4, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %266, i32 0, i32 3
  %268 = load i8, ptr %267, align 1, !tbaa !18
  %269 = zext i8 %268 to i32
  %270 = and i32 %269, 15
  %271 = icmp eq i32 7, %270
  br i1 %271, label %272, label %273

272:                                              ; preds = %265
  br label %355

273:                                              ; preds = %265
  %274 = load ptr, ptr %4, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %274, i32 0, i32 3
  %276 = load i8, ptr %275, align 1, !tbaa !18
  %277 = zext i8 %276 to i32
  %278 = and i32 %277, 15
  %279 = icmp eq i32 8, %278
  br i1 %279, label %280, label %281

280:                                              ; preds = %273
  br label %353

281:                                              ; preds = %273
  %282 = load ptr, ptr %4, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %282, i32 0, i32 3
  %284 = load i8, ptr %283, align 1, !tbaa !18
  %285 = zext i8 %284 to i32
  %286 = and i32 %285, 15
  %287 = icmp eq i32 9, %286
  br i1 %287, label %288, label %289

288:                                              ; preds = %281
  br label %351

289:                                              ; preds = %281
  %290 = load ptr, ptr %4, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %290, i32 0, i32 3
  %292 = load i8, ptr %291, align 1, !tbaa !18
  %293 = zext i8 %292 to i32
  %294 = and i32 %293, 15
  %295 = icmp eq i32 10, %294
  br i1 %295, label %296, label %297

296:                                              ; preds = %289
  br label %349

297:                                              ; preds = %289
  %298 = load ptr, ptr %4, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %298, i32 0, i32 3
  %300 = load i8, ptr %299, align 1, !tbaa !18
  %301 = zext i8 %300 to i32
  %302 = and i32 %301, 15
  %303 = icmp eq i32 11, %302
  br i1 %303, label %304, label %305

304:                                              ; preds = %297
  br label %347

305:                                              ; preds = %297
  %306 = load ptr, ptr %4, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %306, i32 0, i32 3
  %308 = load i8, ptr %307, align 1, !tbaa !18
  %309 = zext i8 %308 to i32
  %310 = and i32 %309, 15
  %311 = icmp eq i32 12, %310
  br i1 %311, label %312, label %313

312:                                              ; preds = %305
  br label %345

313:                                              ; preds = %305
  %314 = load ptr, ptr %4, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %314, i32 0, i32 3
  %316 = load i8, ptr %315, align 1, !tbaa !18
  %317 = zext i8 %316 to i32
  %318 = and i32 %317, 15
  %319 = icmp eq i32 13, %318
  br i1 %319, label %320, label %321

320:                                              ; preds = %313
  br label %343

321:                                              ; preds = %313
  %322 = load ptr, ptr %4, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %322, i32 0, i32 3
  %324 = load i8, ptr %323, align 1, !tbaa !18
  %325 = zext i8 %324 to i32
  %326 = and i32 %325, 15
  %327 = icmp eq i32 14, %326
  br i1 %327, label %328, label %329

328:                                              ; preds = %321
  br label %341

329:                                              ; preds = %321
  %330 = load ptr, ptr %4, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %330, i32 0, i32 3
  %332 = load i8, ptr %331, align 1, !tbaa !18
  %333 = zext i8 %332 to i32
  %334 = and i32 %333, 15
  %335 = icmp eq i32 15, %334
  br i1 %335, label %336, label %337

336:                                              ; preds = %329
  br label %339

337:                                              ; preds = %329
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 165, ptr noundef @__PRETTY_FUNCTION__.libxsmm_generator_matequation_rv64_reference_kernel) #10
  unreachable

338:                                              ; No predecessors!
  br label %339

339:                                              ; preds = %338, %336
  %340 = phi i32 [ 15, %336 ], [ 0, %338 ]
  br label %341

341:                                              ; preds = %339, %328
  %342 = phi i32 [ 14, %328 ], [ %340, %339 ]
  br label %343

343:                                              ; preds = %341, %320
  %344 = phi i32 [ 12, %320 ], [ %342, %341 ]
  br label %345

345:                                              ; preds = %343, %312
  %346 = phi i32 [ 12, %312 ], [ %344, %343 ]
  br label %347

347:                                              ; preds = %345, %304
  %348 = phi i32 [ 10, %304 ], [ %346, %345 ]
  br label %349

349:                                              ; preds = %347, %296
  %350 = phi i32 [ 10, %296 ], [ %348, %347 ]
  br label %351

351:                                              ; preds = %349, %288
  %352 = phi i32 [ 8, %288 ], [ %350, %349 ]
  br label %353

353:                                              ; preds = %351, %280
  %354 = phi i32 [ 8, %280 ], [ %352, %351 ]
  br label %355

355:                                              ; preds = %353, %272
  %356 = phi i32 [ 6, %272 ], [ %354, %353 ]
  br label %357

357:                                              ; preds = %355, %264
  %358 = phi i32 [ 6, %264 ], [ %356, %355 ]
  br label %359

359:                                              ; preds = %357, %256
  %360 = phi i32 [ 5, %256 ], [ %358, %357 ]
  br label %361

361:                                              ; preds = %359, %248
  %362 = phi i32 [ 4, %248 ], [ %360, %359 ]
  br label %363

363:                                              ; preds = %361, %240
  %364 = phi i32 [ 3, %240 ], [ %362, %361 ]
  br label %365

365:                                              ; preds = %363, %232
  %366 = phi i32 [ 2, %232 ], [ %364, %363 ]
  br label %367

367:                                              ; preds = %365, %224
  %368 = phi i32 [ 1, %224 ], [ %366, %365 ]
  br label %369

369:                                              ; preds = %367, %216
  %370 = phi i32 [ 0, %216 ], [ %368, %367 ]
  br label %377

371:                                              ; preds = %184
  %372 = load ptr, ptr %4, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.libxsmm_meqn_descriptor, ptr %372, i32 0, i32 3
  %374 = load i8, ptr %373, align 1, !tbaa !18
  %375 = zext i8 %374 to i32
  %376 = ashr i32 %375, 4
  br label %377

377:                                              ; preds = %371, %369
  %378 = phi i32 [ %370, %369 ], [ %376, %371 ]
  %379 = load ptr, ptr %15, align 8, !tbaa !5
  %380 = load i32, ptr %13, align 4, !tbaa !9
  %381 = mul i32 %380, 5
  %382 = add i32 %381, 0
  %383 = zext i32 %382 to i64
  %384 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %379, i64 %383
  %385 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %384, i32 0, i32 8
  %386 = getelementptr inbounds %struct.libxsmm_meqn_tmp_info, ptr %385, i32 0, i32 4
  store i32 %378, ptr %386, align 8, !tbaa !15
  br label %387

387:                                              ; preds = %377, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %388

388:                                              ; preds = %387
  %389 = load i32, ptr %13, align 4, !tbaa !9
  %390 = add i32 %389, 1
  store i32 %390, ptr %13, align 4, !tbaa !9
  br label %88, !llvm.loop !19

391:                                              ; preds = %88
  %392 = load ptr, ptr %3, align 8, !tbaa !5
  %393 = load i32, ptr %10, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %392, i32 noundef 19, i32 noundef 2, i32 noundef %393, i32 noundef 0)
  %394 = load ptr, ptr %3, align 8, !tbaa !5
  %395 = load i32, ptr %10, align 4, !tbaa !9
  %396 = load i32, ptr %6, align 4, !tbaa !9
  %397 = load i32, ptr %10, align 4, !tbaa !9
  %398 = load i64, ptr %16, align 8, !tbaa !13
  call void @libxsmm_rv64_instruction_alu_compute_imm64(ptr noundef %394, i32 noundef 1073741875, i32 noundef %395, i32 noundef %396, i32 noundef %397, i64 noundef %398)
  %399 = load ptr, ptr %3, align 8, !tbaa !5
  %400 = load i32, ptr %10, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %399, i32 noundef 19, i32 noundef %400, i32 noundef 2, i32 noundef 0)
  store i32 0, ptr %5, align 4, !tbaa !9
  store i64 0, ptr %17, align 8, !tbaa !13
  br label %401

401:                                              ; preds = %446, %391
  %402 = load i64, ptr %17, align 8, !tbaa !13
  %403 = load i64, ptr %16, align 8, !tbaa !13
  %404 = udiv i64 %403, 32
  %405 = icmp ult i64 %402, %404
  br i1 %405, label %406, label %449

406:                                              ; preds = %401
  %407 = load ptr, ptr %3, align 8, !tbaa !5
  %408 = load i32, ptr %6, align 4, !tbaa !9
  %409 = load ptr, ptr %22, align 8, !tbaa !5
  %410 = getelementptr inbounds i64, ptr %409, i64 0
  %411 = load i64, ptr %410, align 8, !tbaa !13
  call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %407, i32 noundef %408, i64 noundef %411)
  %412 = load ptr, ptr %3, align 8, !tbaa !5
  %413 = load i32, ptr %7, align 4, !tbaa !9
  %414 = load ptr, ptr %22, align 8, !tbaa !5
  %415 = getelementptr inbounds i64, ptr %414, i64 1
  %416 = load i64, ptr %415, align 8, !tbaa !13
  call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %412, i32 noundef %413, i64 noundef %416)
  %417 = load ptr, ptr %3, align 8, !tbaa !5
  %418 = load i32, ptr %6, align 4, !tbaa !9
  %419 = load i32, ptr %5, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_alu_move(ptr noundef %417, i32 noundef 12323, i32 noundef 2, i32 noundef %418, i32 noundef %419)
  %420 = load ptr, ptr %3, align 8, !tbaa !5
  %421 = load i32, ptr %7, align 4, !tbaa !9
  %422 = load i32, ptr %5, align 4, !tbaa !9
  %423 = add nsw i32 %422, 8
  call void @libxsmm_rv64_instruction_alu_move(ptr noundef %420, i32 noundef 12323, i32 noundef 2, i32 noundef %421, i32 noundef %423)
  %424 = load ptr, ptr %3, align 8, !tbaa !5
  %425 = load i32, ptr %6, align 4, !tbaa !9
  %426 = load ptr, ptr %22, align 8, !tbaa !5
  %427 = getelementptr inbounds i64, ptr %426, i64 2
  %428 = load i64, ptr %427, align 8, !tbaa !13
  call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %424, i32 noundef %425, i64 noundef %428)
  %429 = load ptr, ptr %3, align 8, !tbaa !5
  %430 = load i32, ptr %7, align 4, !tbaa !9
  %431 = load ptr, ptr %22, align 8, !tbaa !5
  %432 = getelementptr inbounds i64, ptr %431, i64 3
  %433 = load i64, ptr %432, align 8, !tbaa !13
  call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %429, i32 noundef %430, i64 noundef %433)
  %434 = load ptr, ptr %3, align 8, !tbaa !5
  %435 = load i32, ptr %6, align 4, !tbaa !9
  %436 = load i32, ptr %5, align 4, !tbaa !9
  %437 = add nsw i32 %436, 16
  call void @libxsmm_rv64_instruction_alu_move(ptr noundef %434, i32 noundef 12323, i32 noundef 2, i32 noundef %435, i32 noundef %437)
  %438 = load ptr, ptr %3, align 8, !tbaa !5
  %439 = load i32, ptr %7, align 4, !tbaa !9
  %440 = load i32, ptr %5, align 4, !tbaa !9
  %441 = add nsw i32 %440, 24
  call void @libxsmm_rv64_instruction_alu_move(ptr noundef %438, i32 noundef 12323, i32 noundef 2, i32 noundef %439, i32 noundef %441)
  %442 = load ptr, ptr %22, align 8, !tbaa !5
  %443 = getelementptr inbounds i64, ptr %442, i64 4
  store ptr %443, ptr %22, align 8, !tbaa !5
  %444 = load i32, ptr %5, align 4, !tbaa !9
  %445 = add nsw i32 %444, 32
  store i32 %445, ptr %5, align 4, !tbaa !9
  br label %446

446:                                              ; preds = %406
  %447 = load i64, ptr %17, align 8, !tbaa !13
  %448 = add i64 %447, 1
  store i64 %448, ptr %17, align 8, !tbaa !13
  br label %401, !llvm.loop !21

449:                                              ; preds = %401
  %450 = load ptr, ptr %3, align 8, !tbaa !5
  %451 = load i32, ptr %6, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %450, i32 noundef 19, i32 noundef 2, i32 noundef %451, i32 noundef 0)
  %452 = load i64, ptr %20, align 8, !tbaa !13
  %453 = urem i64 %452, 64
  %454 = icmp eq i64 %453, 0
  br i1 %454, label %455, label %457

455:                                              ; preds = %449
  %456 = load i64, ptr %20, align 8, !tbaa !13
  br label %462

457:                                              ; preds = %449
  %458 = load i64, ptr %20, align 8, !tbaa !13
  %459 = add i64 %458, 63
  %460 = udiv i64 %459, 64
  %461 = mul i64 %460, 64
  br label %462

462:                                              ; preds = %457, %455
  %463 = phi i64 [ %456, %455 ], [ %461, %457 ]
  store i64 %463, ptr %20, align 8, !tbaa !13
  %464 = load i64, ptr %20, align 8, !tbaa !13
  %465 = load i64, ptr %19, align 8, !tbaa !13
  %466 = mul i64 %464, %465
  store i64 %466, ptr %21, align 8, !tbaa !13
  %467 = load ptr, ptr %3, align 8, !tbaa !5
  %468 = load i32, ptr %10, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %467, i32 noundef 19, i32 noundef 2, i32 noundef %468, i32 noundef 0)
  %469 = load ptr, ptr %3, align 8, !tbaa !5
  %470 = load i32, ptr %10, align 4, !tbaa !9
  %471 = load i32, ptr %7, align 4, !tbaa !9
  %472 = load i32, ptr %10, align 4, !tbaa !9
  %473 = load i64, ptr %21, align 8, !tbaa !13
  call void @libxsmm_rv64_instruction_alu_compute_imm64(ptr noundef %469, i32 noundef 1073741875, i32 noundef %470, i32 noundef %471, i32 noundef %472, i64 noundef %473)
  %474 = load ptr, ptr %3, align 8, !tbaa !5
  %475 = load i32, ptr %10, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %474, i32 noundef 19, i32 noundef %475, i32 noundef 2, i32 noundef 0)
  %476 = load ptr, ptr %3, align 8, !tbaa !5
  %477 = load i32, ptr %7, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %476, i32 noundef 19, i32 noundef 2, i32 noundef %477, i32 noundef 0)
  %478 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  %479 = icmp slt i32 %478, 0
  br i1 %479, label %480, label %488

480:                                              ; preds = %462
  %481 = load ptr, ptr @stderr, align 8, !tbaa !5
  %482 = load i64, ptr %19, align 8, !tbaa !13
  %483 = load i64, ptr %21, align 8, !tbaa !13
  %484 = uitofp i64 %483 to double
  %485 = fmul double 1.000000e+00, %484
  %486 = fdiv double %485, 1.024000e+03
  %487 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %481, ptr noundef @.str.3, i64 noundef %482, double noundef %486) #8
  br label %488

488:                                              ; preds = %480, %462
  %489 = load ptr, ptr %3, align 8, !tbaa !5
  %490 = load i32, ptr %8, align 4, !tbaa !9
  %491 = load i64, ptr %20, align 8, !tbaa !13
  call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %489, i32 noundef %490, i64 noundef %491)
  store ptr @libxsmm_reference_matequation, ptr %23, align 8, !tbaa !15
  %492 = load ptr, ptr %3, align 8, !tbaa !5
  %493 = load i32, ptr %9, align 4, !tbaa !9
  %494 = load i64, ptr %23, align 8, !tbaa !15
  call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %492, i32 noundef %493, i64 noundef %494)
  %495 = load ptr, ptr %3, align 8, !tbaa !5
  %496 = load i32, ptr %9, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_jump_and_link_reg(ptr noundef %495, i32 noundef 103, i32 noundef 1, i32 noundef %496, i32 noundef 0)
  %497 = load ptr, ptr %3, align 8, !tbaa !5
  call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %497, i32 noundef 19, i32 noundef 30, i32 noundef 2, i32 noundef 0)
  %498 = load ptr, ptr %3, align 8, !tbaa !5
  call void @libxsmm_rv64_instruction_close_stream(ptr noundef %498, i16 noundef zeroext 12288)
  %499 = load ptr, ptr %15, align 8, !tbaa !5
  call void @free(ptr noundef %499) #8
  store i32 0, ptr %24, align 4
  br label %500

500:                                              ; preds = %488, %33
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  %501 = load i32, ptr %24, align 4
  switch i32 %501, label %503 [
    i32 0, label %502
    i32 1, label %502
  ]

502:                                              ; preds = %500, %500
  ret void

503:                                              ; preds = %500
  unreachable
}

declare ptr @libxsmm_meqn_get_equation(i32 noundef) #4

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #5

declare void @libxsmm_rv64_instruction_alu_compute(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare ptr @libxsmm_generator_matequation_find_op_at_timestamp(ptr noundef, i32 noundef) #4

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #7

declare void @libxsmm_reference_matequation(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind allocsize(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: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "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 = { 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 = { 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 = { nounwind }
attributes #9 = { nounwind allocsize(0) }
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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 13}
!12 = !{!"libxsmm_meqn_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 13}
!13 = !{!14, !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{i64 0, i64 8, !15, i64 8, i64 8, !15, i64 16, i64 8, !15, i64 24, i64 8, !15, i64 32, i64 4, !15, i64 36, i64 44, !15, i64 80, i64 4, !15, i64 84, i64 4, !15, i64 88, i64 4, !15, i64 92, i64 4, !15, i64 96, i64 4, !15, i64 100, i64 4, !15, i64 104, i64 4, !15, i64 108, i64 4, !15, i64 112, i64 4, !15, i64 116, i64 4, !15, i64 120, i64 4, !15, i64 124, i64 4, !15, i64 128, i64 4, !15, i64 132, i64 4, !15, i64 136, i64 4, !15, i64 140, i64 4, !15, i64 144, i64 4, !15, i64 148, i64 4, !15, i64 152, i64 4, !15, i64 156, i64 4, !15, i64 160, i64 4, !15, i64 164, i64 20, !15}
!17 = !{!12, !10, i64 8}
!18 = !{!12, !7, i64 12}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !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.libxsmm_meqn_elem = type { ptr, ptr, ptr, ptr, i32, %union.libxsmm_meqn_info, i32, i32, %struct.libxsmm_meqn_tmp_info, i32, i32, i32, %union.libxsmm_meqn_fusion_info }
%union.libxsmm_meqn_info = type { %struct.libxsmm_meqn_arg }
%struct.libxsmm_meqn_arg = type { i32, i32, i32, i32, i32, i32, i32, %struct.libxsmm_matrix_arg_attributes }
%struct.libxsmm_matrix_arg_attributes = type { i32, i32, i32, i32 }
%struct.libxsmm_meqn_tmp_info = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%union.libxsmm_meqn_fusion_info = type { %struct.libxsmm_meqn_xgemm_fusion_info }
%struct.libxsmm_meqn_xgemm_fusion_info = type { i32, i32, i32, i32, i32 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [60 x i8], align 1
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@.str.3 = external hidden unnamed_addr constant [90 x i8], align 1
@switch.table.libxsmm_generator_matequation_rv64_reference_kernel = private unnamed_addr constant [15 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 6, i32 8, i32 8, i32 10, i32 10, i32 12, i32 12, i32 14], align 4

; Function Attrs: mustprogress 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) #0

declare void @libxsmm_rv64_instruction_open_stream(ptr noundef, i16 noundef zeroext) local_unnamed_addr #1

declare void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_rv64_instruction_alu_compute_imm64(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

declare void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

declare void @libxsmm_rv64_instruction_alu_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_rv64_instruction_jump_and_link_reg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #2

declare void @libxsmm_rv64_instruction_close_stream(ptr noundef, i16 noundef zeroext) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_matequation_rv64_reference_kernel(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #3 {
  %3 = getelementptr inbounds i8, ptr %1, i64 13
  %4 = load i32, ptr %3, align 1, !tbaa !5
  %5 = tail call ptr @libxsmm_meqn_get_equation(i32 noundef %4) #7
  %6 = icmp eq ptr %5, null
  br i1 %6, label %7, label %10

7:                                                ; preds = %2
  %8 = load ptr, ptr @stderr, align 8, !tbaa !10
  %9 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str) #8
  br label %106

10:                                               ; preds = %2
  %11 = load ptr, ptr %5, align 8, !tbaa !12
  %12 = getelementptr inbounds i8, ptr %11, i64 84
  %13 = load i32, ptr %12, align 4, !tbaa !12
  %14 = mul i32 %13, 5
  %15 = add i32 %14, 5
  %16 = zext i32 %15 to i64
  %17 = mul nuw nsw i64 %16, 184
  %18 = add nuw nsw i64 %17, 63
  %19 = and i64 %18, 2199023255488
  %calloc = tail call ptr @calloc(i64 1, i64 %19)
  %20 = getelementptr inbounds i8, ptr %11, i64 160
  %21 = load i32, ptr %20, align 8, !tbaa !12
  %22 = getelementptr inbounds i8, ptr %11, i64 80
  %23 = load i32, ptr %22, align 8, !tbaa !12
  %24 = getelementptr inbounds i8, ptr %11, i64 152
  %25 = load i32, ptr %24, align 8, !tbaa !12
  %26 = sext i32 %25 to i64
  tail call void @libxsmm_rv64_instruction_open_stream(ptr noundef %0, i16 noundef zeroext 12288) #7
  tail call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 19, i32 noundef 2, i32 noundef 30, i32 noundef 0) #7
  tail call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef 5, i64 noundef -64) #7
  tail call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 19, i32 noundef 2, i32 noundef 6, i32 noundef 0) #7
  tail call void @libxsmm_rv64_instruction_alu_compute(ptr noundef %0, i32 noundef 28723, i32 noundef 6, i32 noundef 5, i32 noundef 6) #7
  tail call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 19, i32 noundef 6, i32 noundef 2, i32 noundef 0) #7
  %27 = getelementptr inbounds i8, ptr %1, i64 8
  %28 = getelementptr inbounds i8, ptr %1, i64 12
  %29 = zext i32 %14 to i64
  %30 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %calloc, i64 %29
  %31 = getelementptr inbounds i8, ptr %30, i64 80
  %32 = getelementptr inbounds i8, ptr %30, i64 100
  %33 = getelementptr inbounds i8, ptr %30, i64 104
  br label %34

34:                                               ; preds = %10, %76
  %.0150181 = phi i32 [ 0, %10 ], [ %77, %76 ]
  %35 = load ptr, ptr %5, align 8, !tbaa !12
  %36 = tail call ptr @libxsmm_generator_matequation_find_op_at_timestamp(ptr noundef %35, i32 noundef %.0150181) #7
  %.not160 = icmp eq ptr %36, null
  br i1 %.not160, label %.critedge167, label %37

37:                                               ; preds = %34
  %38 = mul i32 %.0150181, 5
  %39 = zext i32 %38 to i64
  %40 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %calloc, i64 %39
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(184) %40, ptr noundef nonnull align 8 dereferenceable(184) %36, i64 184, i1 false), !tbaa.struct !13
  %41 = load ptr, ptr %36, align 8, !tbaa !12
  %.not161 = icmp eq ptr %41, null
  br i1 %.not161, label %.critedge, label %42

42:                                               ; preds = %37
  %43 = add i32 %38, 1
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %calloc, i64 %44
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(184) %45, ptr noundef nonnull align 8 dereferenceable(184) %41, i64 184, i1 false), !tbaa.struct !13
  br label %.critedge

.critedge:                                        ; preds = %37, %42
  %46 = getelementptr inbounds i8, ptr %36, i64 8
  %47 = load ptr, ptr %46, align 8, !tbaa !12
  %.not162 = icmp eq ptr %47, null
  br i1 %.not162, label %.critedge165, label %48

48:                                               ; preds = %.critedge
  %49 = add i32 %38, 2
  %50 = zext i32 %49 to i64
  %51 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %calloc, i64 %50
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(184) %51, ptr noundef nonnull align 8 dereferenceable(184) %47, i64 184, i1 false), !tbaa.struct !13
  br label %.critedge165

.critedge165:                                     ; preds = %.critedge, %48
  %52 = getelementptr inbounds i8, ptr %36, i64 16
  %53 = load ptr, ptr %52, align 8, !tbaa !12
  %.not163 = icmp eq ptr %53, null
  br i1 %.not163, label %.critedge166, label %54

54:                                               ; preds = %.critedge165
  %55 = add i32 %38, 3
  %56 = zext i32 %55 to i64
  %57 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %calloc, i64 %56
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(184) %57, ptr noundef nonnull align 8 dereferenceable(184) %53, i64 184, i1 false), !tbaa.struct !13
  br label %.critedge166

.critedge166:                                     ; preds = %.critedge165, %54
  %58 = getelementptr inbounds i8, ptr %36, i64 24
  %59 = load ptr, ptr %58, align 8, !tbaa !12
  %.not164 = icmp eq ptr %59, null
  br i1 %.not164, label %.critedge167, label %60

60:                                               ; preds = %.critedge166
  %61 = add i32 %38, 4
  %62 = zext i32 %61 to i64
  %63 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %calloc, i64 %62
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(184) %63, ptr noundef nonnull align 8 dereferenceable(184) %59, i64 184, i1 false), !tbaa.struct !13
  br label %.critedge167

.critedge167:                                     ; preds = %34, %60, %.critedge166
  %64 = icmp eq i32 %.0150181, %13
  br i1 %64, label %65, label %76

65:                                               ; preds = %.critedge167
  store i32 -1, ptr %31, align 8, !tbaa !12
  %66 = load i32, ptr %27, align 1, !tbaa !14
  store i32 %66, ptr %32, align 4, !tbaa !12
  %67 = load i8, ptr %28, align 1, !tbaa !15
  %68 = icmp ult i8 %67, 16
  br i1 %68, label %69, label %70

69:                                               ; preds = %65
  %.not186 = icmp eq i8 %67, 15
  br i1 %.not186, label %74, label %switch.lookup

70:                                               ; preds = %65
  %71 = lshr i8 %67, 4
  %72 = zext nneg i8 %71 to i32
  br label %74

switch.lookup:                                    ; preds = %69
  %73 = zext nneg i8 %67 to i64
  %switch.gep = getelementptr inbounds [15 x i32], ptr @switch.table.libxsmm_generator_matequation_rv64_reference_kernel, i64 0, i64 %73
  %switch.load = load i32, ptr %switch.gep, align 4
  br label %74

74:                                               ; preds = %69, %switch.lookup, %70
  %75 = phi i32 [ %72, %70 ], [ %switch.load, %switch.lookup ], [ 15, %69 ]
  store i32 %75, ptr %33, align 8, !tbaa !12
  br label %76

76:                                               ; preds = %74, %.critedge167
  %77 = add i32 %.0150181, 1
  %.not = icmp ugt i32 %77, %13
  br i1 %.not, label %78, label %34, !llvm.loop !16

78:                                               ; preds = %76
  %79 = sext i32 %21 to i64
  %80 = sext i32 %23 to i64
  %81 = mul nsw i64 %26, %79
  tail call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 19, i32 noundef 2, i32 noundef 29, i32 noundef 0) #7
  tail call void @libxsmm_rv64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 1073741875, i32 noundef 29, i32 noundef 5, i32 noundef 29, i64 noundef %19) #7
  tail call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 19, i32 noundef 29, i32 noundef 2, i32 noundef 0) #7
  %.not185 = icmp eq i64 %19, 0
  br i1 %.not185, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %78
  %82 = lshr exact i64 %19, 5
  %umax = tail call i64 @llvm.umax.i64(i64 %82, i64 1)
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.0184 = phi i32 [ %94, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %.0148183 = phi ptr [ %93, %.lr.ph ], [ %calloc, %.lr.ph.preheader ]
  %.0149182 = phi i64 [ %95, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %83 = load i64, ptr %.0148183, align 8, !tbaa !18
  tail call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef 5, i64 noundef %83) #7
  %84 = getelementptr inbounds i8, ptr %.0148183, i64 8
  %85 = load i64, ptr %84, align 8, !tbaa !18
  tail call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef 6, i64 noundef %85) #7
  tail call void @libxsmm_rv64_instruction_alu_move(ptr noundef %0, i32 noundef 12323, i32 noundef 2, i32 noundef 5, i32 noundef %.0184) #7
  %86 = or disjoint i32 %.0184, 8
  tail call void @libxsmm_rv64_instruction_alu_move(ptr noundef %0, i32 noundef 12323, i32 noundef 2, i32 noundef 6, i32 noundef %86) #7
  %87 = getelementptr inbounds i8, ptr %.0148183, i64 16
  %88 = load i64, ptr %87, align 8, !tbaa !18
  tail call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef 5, i64 noundef %88) #7
  %89 = getelementptr inbounds i8, ptr %.0148183, i64 24
  %90 = load i64, ptr %89, align 8, !tbaa !18
  tail call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef 6, i64 noundef %90) #7
  %91 = or disjoint i32 %.0184, 16
  tail call void @libxsmm_rv64_instruction_alu_move(ptr noundef %0, i32 noundef 12323, i32 noundef 2, i32 noundef 5, i32 noundef %91) #7
  %92 = or disjoint i32 %.0184, 24
  tail call void @libxsmm_rv64_instruction_alu_move(ptr noundef %0, i32 noundef 12323, i32 noundef 2, i32 noundef 6, i32 noundef %92) #7
  %93 = getelementptr inbounds i8, ptr %.0148183, i64 32
  %94 = add nuw nsw i32 %.0184, 32
  %95 = add nuw nsw i64 %.0149182, 1
  %exitcond.not = icmp eq i64 %95, %umax
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !20

._crit_edge:                                      ; preds = %.lr.ph, %78
  tail call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 19, i32 noundef 2, i32 noundef 5, i32 noundef 0) #7
  %.biased = add nsw i64 %81, 63
  %96 = and i64 %.biased, -64
  %97 = mul i64 %96, %80
  tail call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 19, i32 noundef 2, i32 noundef 29, i32 noundef 0) #7
  tail call void @libxsmm_rv64_instruction_alu_compute_imm64(ptr noundef %0, i32 noundef 1073741875, i32 noundef 29, i32 noundef 6, i32 noundef 29, i64 noundef %97) #7
  tail call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 19, i32 noundef 29, i32 noundef 2, i32 noundef 0) #7
  tail call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 19, i32 noundef 2, i32 noundef 6, i32 noundef 0) #7
  %98 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !21
  %99 = icmp slt i32 %98, 0
  br i1 %99, label %100, label %105

100:                                              ; preds = %._crit_edge
  %101 = load ptr, ptr @stderr, align 8, !tbaa !10
  %102 = uitofp i64 %97 to double
  %103 = fmul double %102, 0x3F50000000000000
  %104 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef nonnull @.str.3, i64 noundef %80, double noundef %103) #8
  br label %105

105:                                              ; preds = %100, %._crit_edge
  tail call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef 7, i64 noundef %96) #7
  tail call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef 28, i64 noundef ptrtoint (ptr @libxsmm_reference_matequation to i64)) #7
  tail call void @libxsmm_rv64_instruction_jump_and_link_reg(ptr noundef %0, i32 noundef 103, i32 noundef 1, i32 noundef 28, i32 noundef 0) #7
  tail call void @libxsmm_rv64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 19, i32 noundef 30, i32 noundef 2, i32 noundef 0) #7
  tail call void @libxsmm_rv64_instruction_close_stream(ptr noundef %0, i16 noundef zeroext 12288) #7
  tail call void @free(ptr noundef %calloc) #7
  br label %106

106:                                              ; preds = %105, %7
  ret void
}

declare ptr @libxsmm_meqn_get_equation(i32 noundef) local_unnamed_addr #1

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

declare void @libxsmm_rv64_instruction_alu_compute(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare ptr @libxsmm_generator_matequation_find_op_at_timestamp(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_reference_matequation(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #5

; Function Attrs: nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #6

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #7 = { nounwind }
attributes #8 = { cold 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 13}
!6 = !{!"libxsmm_meqn_descriptor", !7, i64 0, !7, i64 4, !7, i64 8, !8, i64 12, !7, i64 13}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{i64 0, i64 8, !12, i64 8, i64 8, !12, i64 16, i64 8, !12, i64 24, i64 8, !12, i64 32, i64 4, !12, i64 36, i64 44, !12, i64 80, i64 4, !12, i64 84, i64 4, !12, i64 88, i64 4, !12, i64 92, i64 4, !12, i64 96, i64 4, !12, i64 100, i64 4, !12, i64 104, i64 4, !12, i64 108, i64 4, !12, i64 112, i64 4, !12, i64 116, i64 4, !12, i64 120, i64 4, !12, i64 124, i64 4, !12, i64 128, i64 4, !12, i64 132, i64 4, !12, i64 136, i64 4, !12, i64 140, i64 4, !12, i64 144, i64 4, !12, i64 148, i64 4, !12, i64 152, i64 4, !12, i64 156, i64 4, !12, i64 160, i64 4, !12, i64 164, i64 20, !12}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !8, i64 12}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !19, i64 0}
!19 = !{!"long long", !8, i64 0}
!20 = distinct !{!20, !17}
!21 = !{!7, !7, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass