; LLVM IR from stonne-simulator/omega :: omega-code/stonne/src/SDMemory.ll (ZN13VNAT_Register6updateEv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.VNAT_Register = type <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, i8, i8, [6 x i8] }>

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13VNAT_Register6updateEv(ptr noundef nonnull align 8 dereferenceable(122) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %8 = load ptr, ptr %2, align 8
  %9 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 9
  %10 = load i32, ptr %9, align 4, !tbaa !9
  %11 = add i32 %10, 1
  store i32 %11, ptr %9, align 4, !tbaa !9
  %12 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 9
  %13 = load i32, ptr %12, align 4, !tbaa !9
  %14 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 17
  %15 = load i32, ptr %14, align 4, !tbaa !13
  %16 = icmp eq i32 %13, %15
  br i1 %16, label %17, label %88

17:                                               ; preds = %1
  %18 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 9
  store i32 0, ptr %18, align 4, !tbaa !9
  %19 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 8
  %20 = load i32, ptr %19, align 8, !tbaa !14
  %21 = add i32 %20, 1
  store i32 %21, ptr %19, align 8, !tbaa !14
  %22 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 8
  %23 = load i32, ptr %22, align 8, !tbaa !14
  %24 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 16
  %25 = load i32, ptr %24, align 8, !tbaa !15
  %26 = icmp eq i32 %23, %25
  br i1 %26, label %27, label %87

27:                                               ; preds = %17
  %28 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 8
  store i32 0, ptr %28, align 8, !tbaa !14
  %29 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 10
  %30 = load i32, ptr %29, align 8, !tbaa !16
  %31 = add i32 %30, 1
  store i32 %31, ptr %29, align 8, !tbaa !16
  %32 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 10
  %33 = load i32, ptr %32, align 8, !tbaa !16
  %34 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 18
  %35 = load i32, ptr %34, align 8, !tbaa !17
  %36 = icmp eq i32 %33, %35
  br i1 %36, label %37, label %86

37:                                               ; preds = %27
  %38 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 10
  store i32 0, ptr %38, align 8, !tbaa !16
  %39 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 7
  %40 = load i32, ptr %39, align 4, !tbaa !18
  %41 = add i32 %40, 1
  store i32 %41, ptr %39, align 4, !tbaa !18
  %42 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 7
  %43 = load i32, ptr %42, align 4, !tbaa !18
  %44 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 15
  %45 = load i32, ptr %44, align 4, !tbaa !19
  %46 = icmp eq i32 %43, %45
  br i1 %46, label %47, label %85

47:                                               ; preds = %37
  %48 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 7
  store i32 0, ptr %48, align 4, !tbaa !18
  %49 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 6
  %50 = load i32, ptr %49, align 8, !tbaa !20
  %51 = add i32 %50, 1
  store i32 %51, ptr %49, align 8, !tbaa !20
  %52 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 6
  %53 = load i32, ptr %52, align 8, !tbaa !20
  %54 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 14
  %55 = load i32, ptr %54, align 8, !tbaa !21
  %56 = icmp eq i32 %53, %55
  br i1 %56, label %57, label %84

57:                                               ; preds = %47
  %58 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 6
  store i32 0, ptr %58, align 8, !tbaa !20
  %59 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 5
  %60 = load i32, ptr %59, align 4, !tbaa !22
  %61 = add i32 %60, 1
  store i32 %61, ptr %59, align 4, !tbaa !22
  %62 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 5
  %63 = load i32, ptr %62, align 4, !tbaa !22
  %64 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 13
  %65 = load i32, ptr %64, align 4, !tbaa !23
  %66 = icmp eq i32 %63, %65
  br i1 %66, label %67, label %83

67:                                               ; preds = %57
  %68 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 5
  store i32 0, ptr %68, align 4, !tbaa !22
  %69 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 4
  %70 = load i32, ptr %69, align 8, !tbaa !24
  %71 = add i32 %70, 1
  store i32 %71, ptr %69, align 8, !tbaa !24
  %72 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 4
  %73 = load i32, ptr %72, align 8, !tbaa !24
  %74 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 12
  %75 = load i32, ptr %74, align 8, !tbaa !25
  %76 = icmp eq i32 %73, %75
  br i1 %76, label %77, label %82

77:                                               ; preds = %67
  %78 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 4
  store i32 0, ptr %78, align 8, !tbaa !24
  %79 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 3
  %80 = load i32, ptr %79, align 4, !tbaa !26
  %81 = add i32 %80, 1
  store i32 %81, ptr %79, align 4, !tbaa !26
  br label %82

82:                                               ; preds = %77, %67
  br label %83

83:                                               ; preds = %82, %57
  br label %84

84:                                               ; preds = %83, %47
  br label %85

85:                                               ; preds = %84, %37
  br label %86

86:                                               ; preds = %85, %27
  br label %87

87:                                               ; preds = %86, %17
  br label %88

88:                                               ; preds = %87, %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  %89 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 3
  %90 = load i32, ptr %89, align 4, !tbaa !26
  %91 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 27
  %92 = load ptr, ptr %91, align 8, !tbaa !27
  %93 = call noundef i32 @_ZNK4Tile7get_T_NEv(ptr noundef nonnull align 4 dereferenceable(41) %92)
  %94 = mul i32 %90, %93
  store i32 %94, ptr %3, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  %95 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 6
  %96 = load i32, ptr %95, align 8, !tbaa !20
  %97 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 27
  %98 = load ptr, ptr %97, align 8, !tbaa !27
  %99 = call noundef i32 @_ZNK4Tile8get_T_X_Ev(ptr noundef nonnull align 4 dereferenceable(41) %98)
  %100 = mul i32 %96, %99
  store i32 %100, ptr %4, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  %101 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 7
  %102 = load i32, ptr %101, align 4, !tbaa !18
  %103 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 27
  %104 = load ptr, ptr %103, align 8, !tbaa !27
  %105 = call noundef i32 @_ZNK4Tile8get_T_Y_Ev(ptr noundef nonnull align 4 dereferenceable(41) %104)
  %106 = mul i32 %102, %105
  store i32 %106, ptr %5, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %107 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 5
  %108 = load i32, ptr %107, align 4, !tbaa !22
  %109 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 27
  %110 = load ptr, ptr %109, align 8, !tbaa !27
  %111 = call noundef i32 @_ZNK4Tile7get_T_KEv(ptr noundef nonnull align 4 dereferenceable(41) %110)
  %112 = mul i32 %108, %111
  store i32 %112, ptr %6, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %113 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 4
  %114 = load i32, ptr %113, align 8, !tbaa !24
  %115 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 27
  %116 = load ptr, ptr %115, align 8, !tbaa !27
  %117 = call noundef i32 @_ZNK4Tile7get_T_GEv(ptr noundef nonnull align 4 dereferenceable(41) %116)
  %118 = mul i32 %114, %117
  store i32 %118, ptr %7, align 4, !tbaa !28
  %119 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 1
  %120 = load i32, ptr %119, align 4, !tbaa !29
  %121 = load i32, ptr %3, align 4, !tbaa !28
  %122 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %123 = load ptr, ptr %122, align 8, !tbaa !30
  %124 = call noundef i32 @_ZNK8DNNLayer6get_X_Ev(ptr noundef nonnull align 8 dereferenceable(84) %123)
  %125 = mul i32 %121, %124
  %126 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %127 = load ptr, ptr %126, align 8, !tbaa !30
  %128 = call noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84) %127)
  %129 = mul i32 %125, %128
  %130 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %131 = load ptr, ptr %130, align 8, !tbaa !30
  %132 = call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %131)
  %133 = mul i32 %129, %132
  %134 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %135 = load ptr, ptr %134, align 8, !tbaa !30
  %136 = call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %135)
  %137 = mul i32 %133, %136
  %138 = mul i32 %137, 1
  %139 = add i32 %120, %138
  %140 = load i32, ptr %4, align 4, !tbaa !28
  %141 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %142 = load ptr, ptr %141, align 8, !tbaa !30
  %143 = call noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84) %142)
  %144 = mul i32 %140, %143
  %145 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %146 = load ptr, ptr %145, align 8, !tbaa !30
  %147 = call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %146)
  %148 = mul i32 %144, %147
  %149 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %150 = load ptr, ptr %149, align 8, !tbaa !30
  %151 = call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %150)
  %152 = mul i32 %148, %151
  %153 = mul i32 %152, 1
  %154 = add i32 %139, %153
  %155 = load i32, ptr %5, align 4, !tbaa !28
  %156 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %157 = load ptr, ptr %156, align 8, !tbaa !30
  %158 = call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %157)
  %159 = mul i32 %155, %158
  %160 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %161 = load ptr, ptr %160, align 8, !tbaa !30
  %162 = call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %161)
  %163 = mul i32 %159, %162
  %164 = mul i32 %163, 1
  %165 = add i32 %154, %164
  %166 = load i32, ptr %7, align 4, !tbaa !28
  %167 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %168 = load ptr, ptr %167, align 8, !tbaa !30
  %169 = call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %168)
  %170 = mul i32 %166, %169
  %171 = mul i32 %170, 1
  %172 = add i32 %165, %171
  %173 = load i32, ptr %6, align 4, !tbaa !28
  %174 = mul i32 %173, 1
  %175 = add i32 %172, %174
  %176 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 2
  store i32 %175, ptr %176, align 8, !tbaa !31
  %177 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 21
  %178 = load i32, ptr %177, align 4, !tbaa !32
  %179 = load i32, ptr %6, align 4, !tbaa !28
  %180 = add i32 %178, %179
  %181 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %182 = load ptr, ptr %181, align 8, !tbaa !30
  %183 = call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %182)
  %184 = icmp ult i32 %180, %183
  br i1 %184, label %185, label %223

185:                                              ; preds = %88
  %186 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 19
  %187 = load i32, ptr %186, align 4, !tbaa !33
  %188 = load i32, ptr %3, align 4, !tbaa !28
  %189 = add i32 %187, %188
  %190 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %191 = load ptr, ptr %190, align 8, !tbaa !30
  %192 = call noundef i32 @_ZNK8DNNLayer5get_NEv(ptr noundef nonnull align 8 dereferenceable(84) %191)
  %193 = icmp ult i32 %189, %192
  br i1 %193, label %194, label %223

194:                                              ; preds = %185
  %195 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 20
  %196 = load i32, ptr %195, align 8, !tbaa !34
  %197 = load i32, ptr %7, align 4, !tbaa !28
  %198 = add i32 %196, %197
  %199 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %200 = load ptr, ptr %199, align 8, !tbaa !30
  %201 = call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %200)
  %202 = icmp ult i32 %198, %201
  br i1 %202, label %203, label %223

203:                                              ; preds = %194
  %204 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 22
  %205 = load i32, ptr %204, align 8, !tbaa !35
  %206 = load i32, ptr %4, align 4, !tbaa !28
  %207 = add i32 %205, %206
  %208 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %209 = load ptr, ptr %208, align 8, !tbaa !30
  %210 = call noundef i32 @_ZNK8DNNLayer6get_X_Ev(ptr noundef nonnull align 8 dereferenceable(84) %209)
  %211 = icmp ult i32 %207, %210
  br i1 %211, label %212, label %223

212:                                              ; preds = %203
  %213 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 23
  %214 = load i32, ptr %213, align 4, !tbaa !36
  %215 = load i32, ptr %5, align 4, !tbaa !28
  %216 = add i32 %214, %215
  %217 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 26
  %218 = load ptr, ptr %217, align 8, !tbaa !30
  %219 = call noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84) %218)
  %220 = icmp ult i32 %216, %219
  br i1 %220, label %221, label %223

221:                                              ; preds = %212
  %222 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 29
  store i8 1, ptr %222, align 1, !tbaa !37
  br label %225

223:                                              ; preds = %212, %203, %194, %185, %88
  %224 = getelementptr inbounds %class.VNAT_Register, ptr %8, i32 0, i32 29
  store i8 0, ptr %224, align 1, !tbaa !37
  br label %225

225:                                              ; preds = %223, %221
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile7get_T_NEv(ptr noundef nonnull align 4 dereferenceable(41)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile8get_T_X_Ev(ptr noundef nonnull align 4 dereferenceable(41)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile8get_T_Y_Ev(ptr noundef nonnull align 4 dereferenceable(41)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile7get_T_KEv(ptr noundef nonnull align 4 dereferenceable(41)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile7get_T_GEv(ptr noundef nonnull align 4 dereferenceable(41)) #0 align 2

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 36}
!10 = !{!"_ZTS13VNAT_Register", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !6, i64 104, !6, i64 112, !12, i64 120, !12, i64 121}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!10, !11, i64 68}
!14 = !{!10, !11, i64 32}
!15 = !{!10, !11, i64 64}
!16 = !{!10, !11, i64 40}
!17 = !{!10, !11, i64 72}
!18 = !{!10, !11, i64 28}
!19 = !{!10, !11, i64 60}
!20 = !{!10, !11, i64 24}
!21 = !{!10, !11, i64 56}
!22 = !{!10, !11, i64 20}
!23 = !{!10, !11, i64 52}
!24 = !{!10, !11, i64 16}
!25 = !{!10, !11, i64 48}
!26 = !{!10, !11, i64 12}
!27 = !{!10, !6, i64 112}
!28 = !{!11, !11, i64 0}
!29 = !{!10, !11, i64 4}
!30 = !{!10, !6, i64 104}
!31 = !{!10, !11, i64 8}
!32 = !{!10, !11, i64 84}
!33 = !{!10, !11, i64 76}
!34 = !{!10, !11, i64 80}
!35 = !{!10, !11, i64 88}
!36 = !{!10, !11, i64 92}
!37 = !{!10, !12, i64 121}


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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN13VNAT_Register6updateEv(ptr nocapture noundef nonnull align 8 dereferenceable(122) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 36
  %3 = load i32, ptr %2, align 4, !tbaa !5
  %4 = add i32 %3, 1
  store i32 %4, ptr %2, align 4, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 68
  %6 = load i32, ptr %5, align 4, !tbaa !12
  %7 = icmp eq i32 %4, %6
  br i1 %7, label %8, label %54

8:                                                ; preds = %1
  store i32 0, ptr %2, align 4, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 32
  %10 = load i32, ptr %9, align 8, !tbaa !13
  %11 = add i32 %10, 1
  store i32 %11, ptr %9, align 8, !tbaa !13
  %12 = getelementptr inbounds i8, ptr %0, i64 64
  %13 = load i32, ptr %12, align 8, !tbaa !14
  %14 = icmp eq i32 %11, %13
  br i1 %14, label %15, label %54

15:                                               ; preds = %8
  store i32 0, ptr %9, align 8, !tbaa !13
  %16 = getelementptr inbounds i8, ptr %0, i64 40
  %17 = load i32, ptr %16, align 8, !tbaa !15
  %18 = add i32 %17, 1
  store i32 %18, ptr %16, align 8, !tbaa !15
  %19 = getelementptr inbounds i8, ptr %0, i64 72
  %20 = load i32, ptr %19, align 8, !tbaa !16
  %21 = icmp eq i32 %18, %20
  br i1 %21, label %22, label %54

22:                                               ; preds = %15
  store i32 0, ptr %16, align 8, !tbaa !15
  %23 = getelementptr inbounds i8, ptr %0, i64 28
  %24 = load i32, ptr %23, align 4, !tbaa !17
  %25 = add i32 %24, 1
  store i32 %25, ptr %23, align 4, !tbaa !17
  %26 = getelementptr inbounds i8, ptr %0, i64 60
  %27 = load i32, ptr %26, align 4, !tbaa !18
  %28 = icmp eq i32 %25, %27
  br i1 %28, label %29, label %54

29:                                               ; preds = %22
  store i32 0, ptr %23, align 4, !tbaa !17
  %30 = getelementptr inbounds i8, ptr %0, i64 24
  %31 = load i32, ptr %30, align 8, !tbaa !19
  %32 = add i32 %31, 1
  store i32 %32, ptr %30, align 8, !tbaa !19
  %33 = getelementptr inbounds i8, ptr %0, i64 56
  %34 = load i32, ptr %33, align 8, !tbaa !20
  %35 = icmp eq i32 %32, %34
  br i1 %35, label %36, label %54

36:                                               ; preds = %29
  store i32 0, ptr %30, align 8, !tbaa !19
  %37 = getelementptr inbounds i8, ptr %0, i64 20
  %38 = load i32, ptr %37, align 4, !tbaa !21
  %39 = add i32 %38, 1
  store i32 %39, ptr %37, align 4, !tbaa !21
  %40 = getelementptr inbounds i8, ptr %0, i64 52
  %41 = load i32, ptr %40, align 4, !tbaa !22
  %42 = icmp eq i32 %39, %41
  br i1 %42, label %43, label %54

43:                                               ; preds = %36
  store i32 0, ptr %37, align 4, !tbaa !21
  %44 = getelementptr inbounds i8, ptr %0, i64 16
  %45 = load i32, ptr %44, align 8, !tbaa !23
  %46 = add i32 %45, 1
  store i32 %46, ptr %44, align 8, !tbaa !23
  %47 = getelementptr inbounds i8, ptr %0, i64 48
  %48 = load i32, ptr %47, align 8, !tbaa !24
  %49 = icmp eq i32 %46, %48
  br i1 %49, label %50, label %54

50:                                               ; preds = %43
  store i32 0, ptr %44, align 8, !tbaa !23
  %51 = getelementptr inbounds i8, ptr %0, i64 12
  %52 = load i32, ptr %51, align 4, !tbaa !25
  %53 = add i32 %52, 1
  store i32 %53, ptr %51, align 4, !tbaa !25
  br label %54

54:                                               ; preds = %8, %22, %36, %50, %43, %29, %15, %1
  %55 = getelementptr inbounds i8, ptr %0, i64 12
  %56 = load i32, ptr %55, align 4, !tbaa !25
  %57 = getelementptr inbounds i8, ptr %0, i64 112
  %58 = load ptr, ptr %57, align 8, !tbaa !26
  %59 = tail call noundef i32 @_ZNK4Tile7get_T_NEv(ptr noundef nonnull align 4 dereferenceable(41) %58)
  %60 = mul i32 %59, %56
  %61 = getelementptr inbounds i8, ptr %0, i64 24
  %62 = load i32, ptr %61, align 8, !tbaa !19
  %63 = load ptr, ptr %57, align 8, !tbaa !26
  %64 = tail call noundef i32 @_ZNK4Tile8get_T_X_Ev(ptr noundef nonnull align 4 dereferenceable(41) %63)
  %65 = mul i32 %64, %62
  %66 = getelementptr inbounds i8, ptr %0, i64 28
  %67 = load i32, ptr %66, align 4, !tbaa !17
  %68 = load ptr, ptr %57, align 8, !tbaa !26
  %69 = tail call noundef i32 @_ZNK4Tile8get_T_Y_Ev(ptr noundef nonnull align 4 dereferenceable(41) %68)
  %70 = mul i32 %69, %67
  %71 = getelementptr inbounds i8, ptr %0, i64 20
  %72 = load i32, ptr %71, align 4, !tbaa !21
  %73 = load ptr, ptr %57, align 8, !tbaa !26
  %74 = tail call noundef i32 @_ZNK4Tile7get_T_KEv(ptr noundef nonnull align 4 dereferenceable(41) %73)
  %75 = mul i32 %74, %72
  %76 = getelementptr inbounds i8, ptr %0, i64 16
  %77 = load i32, ptr %76, align 8, !tbaa !23
  %78 = load ptr, ptr %57, align 8, !tbaa !26
  %79 = tail call noundef i32 @_ZNK4Tile7get_T_GEv(ptr noundef nonnull align 4 dereferenceable(41) %78)
  %80 = mul i32 %79, %77
  %81 = getelementptr inbounds i8, ptr %0, i64 4
  %82 = load i32, ptr %81, align 4, !tbaa !27
  %83 = getelementptr inbounds i8, ptr %0, i64 104
  %84 = load ptr, ptr %83, align 8, !tbaa !28
  %85 = tail call noundef i32 @_ZNK8DNNLayer6get_X_Ev(ptr noundef nonnull align 8 dereferenceable(84) %84)
  %86 = mul i32 %85, %60
  %87 = load ptr, ptr %83, align 8, !tbaa !28
  %88 = tail call noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84) %87)
  %89 = mul i32 %86, %88
  %90 = load ptr, ptr %83, align 8, !tbaa !28
  %91 = tail call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %90)
  %92 = mul i32 %89, %91
  %93 = load ptr, ptr %83, align 8, !tbaa !28
  %94 = tail call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %93)
  %95 = mul i32 %92, %94
  %96 = load ptr, ptr %83, align 8, !tbaa !28
  %97 = tail call noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84) %96)
  %98 = mul i32 %97, %65
  %99 = load ptr, ptr %83, align 8, !tbaa !28
  %100 = tail call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %99)
  %101 = mul i32 %98, %100
  %102 = load ptr, ptr %83, align 8, !tbaa !28
  %103 = tail call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %102)
  %104 = mul i32 %101, %103
  %105 = load ptr, ptr %83, align 8, !tbaa !28
  %106 = tail call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %105)
  %107 = mul i32 %106, %70
  %108 = load ptr, ptr %83, align 8, !tbaa !28
  %109 = tail call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %108)
  %110 = mul i32 %107, %109
  %111 = load ptr, ptr %83, align 8, !tbaa !28
  %112 = tail call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %111)
  %113 = mul i32 %112, %80
  %114 = add i32 %82, %75
  %115 = add i32 %114, %95
  %116 = add i32 %115, %104
  %117 = add i32 %116, %110
  %118 = add i32 %117, %113
  %119 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %118, ptr %119, align 8, !tbaa !29
  %120 = getelementptr inbounds i8, ptr %0, i64 84
  %121 = load i32, ptr %120, align 4, !tbaa !30
  %122 = add i32 %121, %75
  %123 = load ptr, ptr %83, align 8, !tbaa !28
  %124 = tail call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %123)
  %125 = icmp ult i32 %122, %124
  br i1 %125, label %126, label %154

126:                                              ; preds = %54
  %127 = getelementptr inbounds i8, ptr %0, i64 76
  %128 = load i32, ptr %127, align 4, !tbaa !31
  %129 = add i32 %128, %60
  %130 = load ptr, ptr %83, align 8, !tbaa !28
  %131 = tail call noundef i32 @_ZNK8DNNLayer5get_NEv(ptr noundef nonnull align 8 dereferenceable(84) %130)
  %132 = icmp ult i32 %129, %131
  br i1 %132, label %133, label %154

133:                                              ; preds = %126
  %134 = getelementptr inbounds i8, ptr %0, i64 80
  %135 = load i32, ptr %134, align 8, !tbaa !32
  %136 = add i32 %135, %80
  %137 = load ptr, ptr %83, align 8, !tbaa !28
  %138 = tail call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %137)
  %139 = icmp ult i32 %136, %138
  br i1 %139, label %140, label %154

140:                                              ; preds = %133
  %141 = getelementptr inbounds i8, ptr %0, i64 88
  %142 = load i32, ptr %141, align 8, !tbaa !33
  %143 = add i32 %142, %65
  %144 = load ptr, ptr %83, align 8, !tbaa !28
  %145 = tail call noundef i32 @_ZNK8DNNLayer6get_X_Ev(ptr noundef nonnull align 8 dereferenceable(84) %144)
  %146 = icmp ult i32 %143, %145
  br i1 %146, label %147, label %154

147:                                              ; preds = %140
  %148 = getelementptr inbounds i8, ptr %0, i64 92
  %149 = load i32, ptr %148, align 4, !tbaa !34
  %150 = add i32 %149, %70
  %151 = load ptr, ptr %83, align 8, !tbaa !28
  %152 = tail call noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84) %151)
  %153 = icmp ult i32 %150, %152
  br i1 %153, label %155, label %154

154:                                              ; preds = %147, %140, %133, %126, %54
  br label %155

155:                                              ; preds = %147, %154
  %.sink = phi i8 [ 0, %154 ], [ 1, %147 ]
  %156 = getelementptr inbounds i8, ptr %0, i64 121
  store i8 %.sink, ptr %156, align 1, !tbaa !35
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile7get_T_NEv(ptr noundef nonnull align 4 dereferenceable(41)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile8get_T_X_Ev(ptr noundef nonnull align 4 dereferenceable(41)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile8get_T_Y_Ev(ptr noundef nonnull align 4 dereferenceable(41)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile7get_T_KEv(ptr noundef nonnull align 4 dereferenceable(41)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile7get_T_GEv(ptr noundef nonnull align 4 dereferenceable(41)) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!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 36}
!6 = !{!"_ZTS13VNAT_Register", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !10, i64 104, !10, i64 112, !11, i64 120, !11, i64 121}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!6, !7, i64 68}
!13 = !{!6, !7, i64 32}
!14 = !{!6, !7, i64 64}
!15 = !{!6, !7, i64 40}
!16 = !{!6, !7, i64 72}
!17 = !{!6, !7, i64 28}
!18 = !{!6, !7, i64 60}
!19 = !{!6, !7, i64 24}
!20 = !{!6, !7, i64 56}
!21 = !{!6, !7, i64 20}
!22 = !{!6, !7, i64 52}
!23 = !{!6, !7, i64 16}
!24 = !{!6, !7, i64 48}
!25 = !{!6, !7, i64 12}
!26 = !{!6, !10, i64 112}
!27 = !{!6, !7, i64 4}
!28 = !{!6, !10, i64 104}
!29 = !{!6, !7, i64 8}
!30 = !{!6, !7, i64 84}
!31 = !{!6, !7, i64 76}
!32 = !{!6, !7, i64 80}
!33 = !{!6, !7, i64 88}
!34 = !{!6, !7, i64 92}
!35 = !{!6, !11, i64 121}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass