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

; 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.nvinfer1::Dims64" = type { i32, [8 x i64] }
%"struct.nvinfer1::PluginTensorDesc" = type { %"class.nvinfer1::Dims64", i32, i32, float }
%"class.nvinfer1::plugin::ROIAlignV3" = type { %"class.nvinfer1::v_1_0::IPluginV3", %"class.nvinfer1::v_1_0::IPluginV3OneCore", %"class.nvinfer1::v_1_0::IPluginV3OneBuild", %"class.nvinfer1::v_1_0::IPluginV3OneRuntime", i32, i32, i32, float, i32, i32, i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", %"class.std::vector", %"struct.nvinfer1::PluginFieldCollection" }
%"class.nvinfer1::v_1_0::IPluginV3" = type { %"class.nvinfer1::IVersionedInterface" }
%"class.nvinfer1::IVersionedInterface" = type { ptr }
%"class.nvinfer1::v_1_0::IPluginV3OneCore" = type { %"class.nvinfer1::v_1_0::IPluginCapability" }
%"class.nvinfer1::v_1_0::IPluginCapability" = type { %"class.nvinfer1::IVersionedInterface" }
%"class.nvinfer1::v_1_0::IPluginV3OneBuild" = type { %"class.nvinfer1::v_1_0::IPluginCapability" }
%"class.nvinfer1::v_1_0::IPluginV3OneRuntime" = type { %"class.nvinfer1::v_1_0::IPluginCapability" }
%"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] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl" }
%"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl" = type { %"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl_data" }
%"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.nvinfer1::PluginFieldCollection" = type { i32, ptr }

@.str.7 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [31 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #1

declare void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN8nvinfer16plugin10ROIAlignV313onShapeChangeEPKNS_16PluginTensorDescEiS4_i(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.nvinfer1::Dims64", align 8
  %12 = alloca %"class.nvinfer1::Dims64", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  %13 = load ptr, ptr %6, align 8
  %14 = load ptr, ptr %7, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %18, label %16

16:                                               ; preds = %5
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.28, ptr noundef @.str.7, i32 noundef 337)
          to label %17 unwind label %101

17:                                               ; preds = %16
  br label %18

18:                                               ; preds = %17, %5
  %19 = load ptr, ptr %9, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %23, label %21

21:                                               ; preds = %18
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.29, ptr noundef @.str.7, i32 noundef 338)
          to label %22 unwind label %101

22:                                               ; preds = %21
  br label %23

23:                                               ; preds = %22, %18
  %24 = load i32, ptr %10, align 4, !tbaa !9
  %25 = icmp eq i32 %24, 1
  br i1 %25, label %28, label %26

26:                                               ; preds = %23
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.21, ptr noundef @.str.7, i32 noundef 339)
          to label %27 unwind label %101

27:                                               ; preds = %26
  br label %28

28:                                               ; preds = %27, %23
  %29 = load i32, ptr %8, align 4, !tbaa !9
  %30 = icmp eq i32 %29, 3
  br i1 %30, label %33, label %31

31:                                               ; preds = %28
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.20, ptr noundef @.str.7, i32 noundef 340)
          to label %32 unwind label %101

32:                                               ; preds = %31
  br label %33

33:                                               ; preds = %32, %28
  call void @llvm.lifetime.start.p0(i64 72, ptr %11) #5
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %34, i64 1
  %36 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %35, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %36, i64 72, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 72, ptr %12) #5
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %37, i64 2
  %39 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %38, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %39, i64 72, i1 false), !tbaa.struct !11
  %40 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %11, i32 0, i32 0
  %41 = load i32, ptr %40, align 8, !tbaa !13
  %42 = icmp eq i32 %41, 2
  br i1 %42, label %45, label %43

43:                                               ; preds = %33
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.30, ptr noundef @.str.7, i32 noundef 345)
          to label %44 unwind label %101

44:                                               ; preds = %43
  br label %45

45:                                               ; preds = %44, %33
  %46 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %11, i32 0, i32 1
  %47 = getelementptr inbounds [8 x i64], ptr %46, i64 0, i64 1
  %48 = load i64, ptr %47, align 8, !tbaa !15
  %49 = icmp eq i64 %48, 4
  br i1 %49, label %52, label %50

50:                                               ; preds = %45
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.31, ptr noundef @.str.7, i32 noundef 346)
          to label %51 unwind label %101

51:                                               ; preds = %50
  br label %52

52:                                               ; preds = %51, %45
  %53 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %12, i32 0, i32 0
  %54 = load i32, ptr %53, align 8, !tbaa !13
  %55 = icmp eq i32 %54, 1
  br i1 %55, label %58, label %56

56:                                               ; preds = %52
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.32, ptr noundef @.str.7, i32 noundef 348)
          to label %57 unwind label %101

57:                                               ; preds = %56
  br label %58

58:                                               ; preds = %57, %52
  %59 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %11, i32 0, i32 1
  %60 = getelementptr inbounds [8 x i64], ptr %59, i64 0, i64 0
  %61 = load i64, ptr %60, align 8, !tbaa !15
  %62 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %12, i32 0, i32 1
  %63 = getelementptr inbounds [8 x i64], ptr %62, i64 0, i64 0
  %64 = load i64, ptr %63, align 8, !tbaa !15
  %65 = icmp eq i64 %61, %64
  br i1 %65, label %68, label %66

66:                                               ; preds = %58
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.33, ptr noundef @.str.7, i32 noundef 350)
          to label %67 unwind label %101

67:                                               ; preds = %66
  br label %68

68:                                               ; preds = %67, %58
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %69, i64 0
  %71 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %71, i32 0, i32 1
  %73 = getelementptr inbounds [8 x i64], ptr %72, i64 0, i64 1
  %74 = load i64, ptr %73, align 8, !tbaa !15
  %75 = trunc i64 %74 to i32
  %76 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %13, i32 0, i32 11
  store i32 %75, ptr %76, align 4, !tbaa !17
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %77, i64 0
  %79 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %78, i32 0, i32 0
  %80 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %79, i32 0, i32 1
  %81 = getelementptr inbounds [8 x i64], ptr %80, i64 0, i64 2
  %82 = load i64, ptr %81, align 8, !tbaa !15
  %83 = trunc i64 %82 to i32
  %84 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %13, i32 0, i32 12
  store i32 %83, ptr %84, align 8, !tbaa !33
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %85, i64 0
  %87 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %86, i32 0, i32 0
  %88 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %87, i32 0, i32 1
  %89 = getelementptr inbounds [8 x i64], ptr %88, i64 0, i64 3
  %90 = load i64, ptr %89, align 8, !tbaa !15
  %91 = trunc i64 %90 to i32
  %92 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %13, i32 0, i32 13
  store i32 %91, ptr %92, align 4, !tbaa !34
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %93, i64 1
  %95 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %94, i32 0, i32 0
  %96 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %95, i32 0, i32 1
  %97 = getelementptr inbounds [8 x i64], ptr %96, i64 0, i64 0
  %98 = load i64, ptr %97, align 8, !tbaa !15
  %99 = trunc i64 %98 to i32
  %100 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %13, i32 0, i32 10
  store i32 %99, ptr %100, align 8, !tbaa !35
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %11) #5
  ret i32 0

101:                                              ; preds = %66, %56, %50, %43, %31, %26, %21, %16
  %102 = landingpad { ptr, i32 }
          catch ptr null
  %103 = extractvalue { ptr, i32 } %102, 0
  call void @__clang_call_terminate(ptr %103) #6
  unreachable
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 4, !9, i64 8, i64 64, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTSN8nvinfer16Dims64E", !10, i64 0, !7, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !10, i64 60}
!18 = !{!"_ZTSN8nvinfer16plugin10ROIAlignV3E", !19, i64 0, !21, i64 8, !23, i64 16, !24, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !25, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !26, i64 80, !28, i64 112, !32, i64 136}
!19 = !{!"_ZTSN8nvinfer15v_1_09IPluginV3E", !20, i64 0}
!20 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!21 = !{!"_ZTSN8nvinfer15v_1_016IPluginV3OneCoreE", !22, i64 0}
!22 = !{!"_ZTSN8nvinfer15v_1_017IPluginCapabilityE", !20, i64 0}
!23 = !{!"_ZTSN8nvinfer15v_1_017IPluginV3OneBuildE", !22, i64 0}
!24 = !{!"_ZTSN8nvinfer15v_1_019IPluginV3OneRuntimeE", !22, i64 0}
!25 = !{!"float", !7, i64 0}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !27, i64 0, !16, i64 8, !7, i64 16}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!28 = !{!"_ZTSSt6vectorIN8nvinfer111PluginFieldESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !10, i64 0, !6, i64 8}
!33 = !{!18, !10, i64 64}
!34 = !{!18, !10, i64 68}
!35 = !{!18, !10, i64 56}


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

@.str.7 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [31 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN8nvinfer16plugin10ROIAlignV313onShapeChangeEPKNS_16PluginTensorDescEiS4_i(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(152) %0, ptr noundef readonly %1, i32 noundef %2, ptr noundef readnone %3, i32 noundef %4) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %6, label %7

6:                                                ; preds = %5
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.7, i32 noundef 337)
          to label %7 unwind label %41

7:                                                ; preds = %6, %5
  %.not15 = icmp eq ptr %3, null
  br i1 %.not15, label %8, label %9

8:                                                ; preds = %7
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.7, i32 noundef 338)
          to label %9 unwind label %41

9:                                                ; preds = %8, %7
  %10 = icmp eq i32 %4, 1
  br i1 %10, label %12, label %11

11:                                               ; preds = %9
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.7, i32 noundef 339)
          to label %12 unwind label %41

12:                                               ; preds = %11, %9
  %13 = icmp eq i32 %2, 3
  br i1 %13, label %15, label %14

14:                                               ; preds = %12
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.7, i32 noundef 340)
          to label %15 unwind label %41

15:                                               ; preds = %14, %12
  %16 = getelementptr inbounds i8, ptr %1, i64 88
  %.sroa.02.0.copyload = load i32, ptr %16, align 8, !tbaa !5
  %.sroa.44.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 96
  %.sroa.44.0.copyload = load i64, ptr %.sroa.44.0..sroa_idx, align 8
  %.sroa.55.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 104
  %.sroa.55.0.copyload = load i64, ptr %.sroa.55.0..sroa_idx, align 8
  %17 = getelementptr inbounds i8, ptr %1, i64 176
  %.sroa.0.0.copyload = load i32, ptr %17, align 8, !tbaa !5
  %.sroa.41.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 184
  %.sroa.41.0.copyload = load i64, ptr %.sroa.41.0..sroa_idx, align 8
  %18 = icmp eq i32 %.sroa.02.0.copyload, 2
  br i1 %18, label %20, label %19

19:                                               ; preds = %15
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.7, i32 noundef 345)
          to label %20 unwind label %41

20:                                               ; preds = %19, %15
  %21 = icmp eq i64 %.sroa.55.0.copyload, 4
  br i1 %21, label %23, label %22

22:                                               ; preds = %20
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.7, i32 noundef 346)
          to label %23 unwind label %41

23:                                               ; preds = %22, %20
  %24 = icmp eq i32 %.sroa.0.0.copyload, 1
  br i1 %24, label %26, label %25

25:                                               ; preds = %23
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.7, i32 noundef 348)
          to label %26 unwind label %41

26:                                               ; preds = %25, %23
  %27 = icmp eq i64 %.sroa.44.0.copyload, %.sroa.41.0.copyload
  br i1 %27, label %29, label %28

28:                                               ; preds = %26
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.7, i32 noundef 350)
          to label %29 unwind label %41

29:                                               ; preds = %28, %26
  %30 = getelementptr inbounds i8, ptr %1, i64 16
  %31 = getelementptr inbounds i8, ptr %0, i64 60
  %32 = load <2 x i64>, ptr %30, align 8, !tbaa !9
  %33 = trunc <2 x i64> %32 to <2 x i32>
  store <2 x i32> %33, ptr %31, align 4, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %1, i64 32
  %35 = load i64, ptr %34, align 8, !tbaa !9
  %36 = trunc i64 %35 to i32
  %37 = getelementptr inbounds i8, ptr %0, i64 68
  store i32 %36, ptr %37, align 4, !tbaa !11
  %38 = load i64, ptr %.sroa.44.0..sroa_idx, align 8, !tbaa !9
  %39 = trunc i64 %38 to i32
  %40 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 %39, ptr %40, align 8, !tbaa !28
  ret i32 0

41:                                               ; preds = %28, %25, %22, %19, %14, %11, %8, %6
  %42 = landingpad { ptr, i32 }
          catch ptr null
  %43 = extractvalue { ptr, i32 } %42, 0
  tail call void @__clang_call_terminate(ptr %43) #3
  unreachable
}

attributes #0 = { noinline noreturn nounwind uwtable "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 = { "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 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 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 68}
!12 = !{!"_ZTSN8nvinfer16plugin10ROIAlignV3E", !13, i64 0, !15, i64 8, !17, i64 16, !18, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !19, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !6, i64 72, !20, i64 80, !23, i64 112, !27, i64 136}
!13 = !{!"_ZTSN8nvinfer15v_1_09IPluginV3E", !14, i64 0}
!14 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!15 = !{!"_ZTSN8nvinfer15v_1_016IPluginV3OneCoreE", !16, i64 0}
!16 = !{!"_ZTSN8nvinfer15v_1_017IPluginCapabilityE", !14, i64 0}
!17 = !{!"_ZTSN8nvinfer15v_1_017IPluginV3OneBuildE", !16, i64 0}
!18 = !{!"_ZTSN8nvinfer15v_1_019IPluginV3OneRuntimeE", !16, i64 0}
!19 = !{!"float", !7, i64 0}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !10, i64 8, !7, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !22, i64 0}
!22 = !{!"any pointer", !7, i64 0}
!23 = !{!"_ZTSSt6vectorIN8nvinfer111PluginFieldESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!27 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !6, i64 0, !22, i64 8}
!28 = !{!12, !6, i64 56}


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