; LLVM IR from NVIDIA/TensorRT :: plugin/pyramidROIAlignPlugin (pyramidROIAlignPlugin)

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

%struct.xy_t = type { i32, i32 }
%"class.nvinfer1::plugin::PyramidROIAlign" = type { %"class.nvinfer1::IPluginV2Ext", %struct.xy_t, %struct.xy_t, i32, i32, i32, i32, i8, i8, i8, i32, i8, [4 x %struct.xy_t], %"class.std::__cxx11::basic_string" }
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.107 = external hidden unnamed_addr constant [104 x i8], align 1
@__func__._ZN8nvinfer16plugin15PyramidROIAlign11deserializeEPKam = external hidden unnamed_addr constant [12 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [19 x i8], align 1

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

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

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

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

; Function Attrs: noreturn
declare void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin15PyramidROIAlign11deserializeEPKam(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef %1, i64 noundef %2) #4 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %struct.xy_t, align 4
  %9 = alloca %struct.xy_t, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  %10 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %11, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %12 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %13 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @_ZN4xy_tC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %8, i32 noundef %12, i32 noundef %13)
  %14 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 4 %8, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %15 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %16 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @_ZN4xy_tC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %9, i32 noundef %15, i32 noundef %16)
  %17 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  %18 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %19 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 3
  store i32 %18, ptr %19, align 8, !tbaa !14
  %20 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %21 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 4
  store i32 %20, ptr %21, align 4, !tbaa !22
  %22 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %23 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 5
  store i32 %22, ptr %23, align 8, !tbaa !23
  %24 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %25 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 6
  store i32 %24, ptr %25, align 4, !tbaa !24
  %26 = call noundef zeroext i1 @_ZN8nvinfer16plugin4readIbaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %27 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 7
  %28 = zext i1 %26 to i8
  store i8 %28, ptr %27, align 8, !tbaa !25
  %29 = call noundef zeroext i1 @_ZN8nvinfer16plugin4readIbaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %30 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 8
  %31 = zext i1 %29 to i8
  store i8 %31, ptr %30, align 1, !tbaa !26
  %32 = call noundef zeroext i1 @_ZN8nvinfer16plugin4readIbaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %33 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 9
  %34 = zext i1 %32 to i8
  store i8 %34, ptr %33, align 2, !tbaa !27
  %35 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %36 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 10
  store i32 %35, ptr %36, align 4, !tbaa !28
  %37 = call noundef zeroext i1 @_ZN8nvinfer16plugin4readIbaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %38 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 11
  %39 = zext i1 %37 to i8
  store i8 %39, ptr %38, align 8, !tbaa !29
  %40 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %41 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 12
  %42 = getelementptr inbounds [4 x %struct.xy_t], ptr %41, i64 0, i64 0
  %43 = getelementptr inbounds %struct.xy_t, ptr %42, i32 0, i32 0
  store i32 %40, ptr %43, align 4, !tbaa !30
  %44 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %45 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 12
  %46 = getelementptr inbounds [4 x %struct.xy_t], ptr %45, i64 0, i64 0
  %47 = getelementptr inbounds %struct.xy_t, ptr %46, i32 0, i32 1
  store i32 %44, ptr %47, align 4, !tbaa !31
  %48 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %49 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 12
  %50 = getelementptr inbounds [4 x %struct.xy_t], ptr %49, i64 0, i64 1
  %51 = getelementptr inbounds %struct.xy_t, ptr %50, i32 0, i32 0
  store i32 %48, ptr %51, align 4, !tbaa !30
  %52 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %53 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 12
  %54 = getelementptr inbounds [4 x %struct.xy_t], ptr %53, i64 0, i64 1
  %55 = getelementptr inbounds %struct.xy_t, ptr %54, i32 0, i32 1
  store i32 %52, ptr %55, align 4, !tbaa !31
  %56 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %57 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 12
  %58 = getelementptr inbounds [4 x %struct.xy_t], ptr %57, i64 0, i64 2
  %59 = getelementptr inbounds %struct.xy_t, ptr %58, i32 0, i32 0
  store i32 %56, ptr %59, align 4, !tbaa !30
  %60 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %61 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 12
  %62 = getelementptr inbounds [4 x %struct.xy_t], ptr %61, i64 0, i64 2
  %63 = getelementptr inbounds %struct.xy_t, ptr %62, i32 0, i32 1
  store i32 %60, ptr %63, align 4, !tbaa !31
  %64 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %65 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 12
  %66 = getelementptr inbounds [4 x %struct.xy_t], ptr %65, i64 0, i64 3
  %67 = getelementptr inbounds %struct.xy_t, ptr %66, i32 0, i32 0
  store i32 %64, ptr %67, align 4, !tbaa !30
  %68 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %69 = getelementptr inbounds %"class.nvinfer1::plugin::PyramidROIAlign", ptr %10, i32 0, i32 12
  %70 = getelementptr inbounds [4 x %struct.xy_t], ptr %69, i64 0, i64 3
  %71 = getelementptr inbounds %struct.xy_t, ptr %70, i32 0, i32 1
  store i32 %68, ptr %71, align 4, !tbaa !31
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = load i64, ptr %6, align 8, !tbaa !9
  %75 = getelementptr inbounds i8, ptr %73, i64 %74
  %76 = icmp eq ptr %72, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %3
  call void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.107, ptr noundef @__func__._ZN8nvinfer16plugin15PyramidROIAlign11deserializeEPKam, i32 noundef 396, i32 noundef 0, ptr noundef @.str.121) #6
  unreachable

78:                                               ; preds = %3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8nvinfer16plugin4readIbaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8)) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { noreturn "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 = { 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 #5 = { nounwind }
attributes #6 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{i64 0, i64 4, !12, i64 4, i64 4, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 24}
!15 = !{!"_ZTSN8nvinfer16plugin15PyramidROIAlignE", !16, i64 0, !18, i64 8, !18, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !19, i64 40, !19, i64 41, !19, i64 42, !13, i64 44, !19, i64 48, !7, i64 52, !20, i64 88}
!16 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !17, i64 0}
!17 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!18 = !{!"_ZTS4xy_t", !13, i64 0, !13, i64 4}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !10, i64 8, !7, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!22 = !{!15, !13, i64 28}
!23 = !{!15, !13, i64 32}
!24 = !{!15, !13, i64 36}
!25 = !{!15, !19, i64 40}
!26 = !{!15, !19, i64 41}
!27 = !{!15, !19, i64 42}
!28 = !{!15, !13, i64 44}
!29 = !{!15, !19, i64 48}
!30 = !{!18, !13, i64 0}
!31 = !{!18, !13, i64 4}


; 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.xy_t = type { i32, i32 }

@.str.107 = external hidden unnamed_addr constant [104 x i8], align 1
@__func__._ZN8nvinfer16plugin15PyramidROIAlign11deserializeEPKam = external hidden unnamed_addr constant [12 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [19 x i8], align 1

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

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

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

; Function Attrs: noreturn
declare void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin15PyramidROIAlign11deserializeEPKam(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(120) %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #3 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca %struct.xy_t, align 8
  %6 = alloca %struct.xy_t, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %7 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %8 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @_ZN4xy_tC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %5, i32 noundef %7, i32 noundef %8)
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load i64, ptr %5, align 8
  store i64 %10, ptr %9, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %11 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %12 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @_ZN4xy_tC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %6, i32 noundef %11, i32 noundef %12)
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  %14 = load i64, ptr %6, align 8
  store i64 %14, ptr %13, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  %15 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %16 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %15, ptr %16, align 8, !tbaa !9
  %17 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %18 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %17, ptr %18, align 4, !tbaa !19
  %19 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %20 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %19, ptr %20, align 8, !tbaa !20
  %21 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %22 = getelementptr inbounds i8, ptr %0, i64 36
  store i32 %21, ptr %22, align 4, !tbaa !21
  %23 = call noundef zeroext i1 @_ZN8nvinfer16plugin4readIbaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %24 = getelementptr inbounds i8, ptr %0, i64 40
  %25 = zext i1 %23 to i8
  store i8 %25, ptr %24, align 8, !tbaa !22
  %26 = call noundef zeroext i1 @_ZN8nvinfer16plugin4readIbaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %27 = getelementptr inbounds i8, ptr %0, i64 41
  %28 = zext i1 %26 to i8
  store i8 %28, ptr %27, align 1, !tbaa !23
  %29 = call noundef zeroext i1 @_ZN8nvinfer16plugin4readIbaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %30 = getelementptr inbounds i8, ptr %0, i64 42
  %31 = zext i1 %29 to i8
  store i8 %31, ptr %30, align 2, !tbaa !24
  %32 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %33 = getelementptr inbounds i8, ptr %0, i64 44
  store i32 %32, ptr %33, align 4, !tbaa !25
  %34 = call noundef zeroext i1 @_ZN8nvinfer16plugin4readIbaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %35 = getelementptr inbounds i8, ptr %0, i64 48
  %36 = zext i1 %34 to i8
  store i8 %36, ptr %35, align 8, !tbaa !26
  %37 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %38 = getelementptr inbounds i8, ptr %0, i64 52
  store i32 %37, ptr %38, align 4, !tbaa !27
  %39 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %40 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 %39, ptr %40, align 8, !tbaa !28
  %41 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %42 = getelementptr inbounds i8, ptr %0, i64 60
  store i32 %41, ptr %42, align 4, !tbaa !27
  %43 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %44 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %43, ptr %44, align 8, !tbaa !28
  %45 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %46 = getelementptr inbounds i8, ptr %0, i64 68
  store i32 %45, ptr %46, align 4, !tbaa !27
  %47 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %48 = getelementptr inbounds i8, ptr %0, i64 72
  store i32 %47, ptr %48, align 8, !tbaa !28
  %49 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %50 = getelementptr inbounds i8, ptr %0, i64 76
  store i32 %49, ptr %50, align 4, !tbaa !27
  %51 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %52 = getelementptr inbounds i8, ptr %0, i64 80
  store i32 %51, ptr %52, align 8, !tbaa !28
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %1, i64 %2
  %55 = icmp eq ptr %53, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %3
  call void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.107, ptr noundef nonnull @__func__._ZN8nvinfer16plugin15PyramidROIAlign11deserializeEPKam, i32 noundef 396, i32 noundef 0, ptr noundef nonnull @.str.121) #5
  unreachable

57:                                               ; preds = %3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8nvinfer16plugin4readIbaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

!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, !14, i64 24}
!10 = !{!"_ZTSN8nvinfer16plugin15PyramidROIAlignE", !11, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !15, i64 40, !15, i64 41, !15, i64 42, !14, i64 44, !15, i64 48, !7, i64 52, !16, i64 88}
!11 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !12, i64 0}
!12 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!13 = !{!"_ZTS4xy_t", !14, i64 0, !14, i64 4}
!14 = !{!"int", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!10, !14, i64 28}
!20 = !{!10, !14, i64 32}
!21 = !{!10, !14, i64 36}
!22 = !{!10, !15, i64 40}
!23 = !{!10, !15, i64 41}
!24 = !{!10, !15, i64 42}
!25 = !{!10, !14, i64 44}
!26 = !{!10, !15, i64 48}
!27 = !{!13, !14, i64 0}
!28 = !{!13, !14, i64 4}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass