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

; 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.nvinfer1::DynamicPluginTensorDesc" = type { %"struct.nvinfer1::PluginTensorDesc", %"class.nvinfer1::Dims64", %"class.nvinfer1::Dims64", %"class.nvinfer1::Dims64" }
%"struct.nvinfer1::PluginTensorDesc" = type { %"class.nvinfer1::Dims64", i32, i32, float }
%"class.nvinfer1::Dims64" = type { i32, [8 x i64] }

@.str.1 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [53 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN8nvinfer16plugin30MultiscaleDeformableAttnPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) unnamed_addr #2 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
  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
  %11 = load ptr, ptr %6, align 8
  %12 = load ptr, ptr %7, align 8, !tbaa !5
  %13 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %12, i64 0
  %14 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %13, i32 0, i32 0
  %15 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %14, i32 0, i32 0
  %16 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %15, i32 0, i32 0
  %17 = load i32, ptr %16, align 8, !tbaa !11
  %18 = icmp eq i32 %17, 4
  br i1 %18, label %21, label %19

19:                                               ; preds = %5
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 89)
          to label %20 unwind label %188

20:                                               ; preds = %19
  br label %21

21:                                               ; preds = %20, %5
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %22, i64 1
  %24 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %23, i32 0, i32 0
  %25 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %24, i32 0, i32 0
  %26 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %25, i32 0, i32 0
  %27 = load i32, ptr %26, align 8, !tbaa !11
  %28 = icmp eq i32 %27, 2
  br i1 %28, label %31, label %29

29:                                               ; preds = %21
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 90)
          to label %30 unwind label %188

30:                                               ; preds = %29
  br label %31

31:                                               ; preds = %30, %21
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %32, i64 2
  %34 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %33, i32 0, i32 0
  %35 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %34, i32 0, i32 0
  %36 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %35, i32 0, i32 0
  %37 = load i32, ptr %36, align 8, !tbaa !11
  %38 = icmp eq i32 %37, 1
  br i1 %38, label %41, label %39

39:                                               ; preds = %31
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 91)
          to label %40 unwind label %188

40:                                               ; preds = %39
  br label %41

41:                                               ; preds = %40, %31
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %42, i64 3
  %44 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %44, i32 0, i32 0
  %46 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %45, i32 0, i32 0
  %47 = load i32, ptr %46, align 8, !tbaa !11
  %48 = icmp eq i32 %47, 6
  br i1 %48, label %51, label %49

49:                                               ; preds = %41
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 92)
          to label %50 unwind label %188

50:                                               ; preds = %49
  br label %51

51:                                               ; preds = %50, %41
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %52, i64 4
  %54 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %53, i32 0, i32 0
  %55 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %54, i32 0, i32 0
  %56 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %55, i32 0, i32 0
  %57 = load i32, ptr %56, align 8, !tbaa !11
  %58 = icmp eq i32 %57, 5
  br i1 %58, label %61, label %59

59:                                               ; preds = %51
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 93)
          to label %60 unwind label %188

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60, %51
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %62, i64 0
  %64 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %63, i32 0, i32 0
  %65 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %64, i32 0, i32 0
  %66 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %65, i32 0, i32 1
  %67 = getelementptr inbounds [8 x i64], ptr %66, i64 0, i64 2
  %68 = load i64, ptr %67, align 8, !tbaa !18
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %69, i64 3
  %71 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %71, i32 0, i32 0
  %73 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %72, i32 0, i32 1
  %74 = getelementptr inbounds [8 x i64], ptr %73, i64 0, i64 2
  %75 = load i64, ptr %74, align 8, !tbaa !18
  %76 = icmp eq i64 %68, %75
  br i1 %76, label %79, label %77

77:                                               ; preds = %61
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 96)
          to label %78 unwind label %188

78:                                               ; preds = %77
  br label %79

79:                                               ; preds = %78, %61
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %80, i64 0
  %82 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %81, i32 0, i32 0
  %83 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %82, i32 0, i32 0
  %84 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %83, i32 0, i32 1
  %85 = getelementptr inbounds [8 x i64], ptr %84, i64 0, i64 2
  %86 = load i64, ptr %85, align 8, !tbaa !18
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %87, i64 4
  %89 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %88, i32 0, i32 0
  %90 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %89, i32 0, i32 0
  %91 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %90, i32 0, i32 1
  %92 = getelementptr inbounds [8 x i64], ptr %91, i64 0, i64 2
  %93 = load i64, ptr %92, align 8, !tbaa !18
  %94 = icmp eq i64 %86, %93
  br i1 %94, label %97, label %95

95:                                               ; preds = %79
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 97)
          to label %96 unwind label %188

96:                                               ; preds = %95
  br label %97

97:                                               ; preds = %96, %79
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %98, i64 1
  %100 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %99, i32 0, i32 0
  %101 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %100, i32 0, i32 0
  %102 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %101, i32 0, i32 1
  %103 = getelementptr inbounds [8 x i64], ptr %102, i64 0, i64 0
  %104 = load i64, ptr %103, align 8, !tbaa !18
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %105, i64 2
  %107 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %108, i32 0, i32 1
  %110 = getelementptr inbounds [8 x i64], ptr %109, i64 0, i64 0
  %111 = load i64, ptr %110, align 8, !tbaa !18
  %112 = icmp eq i64 %104, %111
  br i1 %112, label %115, label %113

113:                                              ; preds = %97
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 100)
          to label %114 unwind label %188

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114, %97
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %116, i64 1
  %118 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %117, i32 0, i32 0
  %119 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %118, i32 0, i32 0
  %120 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %119, i32 0, i32 1
  %121 = getelementptr inbounds [8 x i64], ptr %120, i64 0, i64 0
  %122 = load i64, ptr %121, align 8, !tbaa !18
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %123, i64 3
  %125 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %124, i32 0, i32 0
  %126 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %125, i32 0, i32 0
  %127 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %126, i32 0, i32 1
  %128 = getelementptr inbounds [8 x i64], ptr %127, i64 0, i64 3
  %129 = load i64, ptr %128, align 8, !tbaa !18
  %130 = icmp eq i64 %122, %129
  br i1 %130, label %133, label %131

131:                                              ; preds = %115
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 101)
          to label %132 unwind label %188

132:                                              ; preds = %131
  br label %133

133:                                              ; preds = %132, %115
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %134, i64 1
  %136 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %135, i32 0, i32 0
  %137 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %136, i32 0, i32 0
  %138 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %137, i32 0, i32 1
  %139 = getelementptr inbounds [8 x i64], ptr %138, i64 0, i64 0
  %140 = load i64, ptr %139, align 8, !tbaa !18
  %141 = load ptr, ptr %7, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %141, i64 4
  %143 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %142, i32 0, i32 0
  %144 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %143, i32 0, i32 0
  %145 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %144, i32 0, i32 1
  %146 = getelementptr inbounds [8 x i64], ptr %145, i64 0, i64 3
  %147 = load i64, ptr %146, align 8, !tbaa !18
  %148 = icmp eq i64 %140, %147
  br i1 %148, label %151, label %149

149:                                              ; preds = %133
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 102)
          to label %150 unwind label %188

150:                                              ; preds = %149
  br label %151

151:                                              ; preds = %150, %133
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %152, i64 3
  %154 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %153, i32 0, i32 0
  %155 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %154, i32 0, i32 0
  %156 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %155, i32 0, i32 1
  %157 = getelementptr inbounds [8 x i64], ptr %156, i64 0, i64 4
  %158 = load i64, ptr %157, align 8, !tbaa !18
  %159 = load ptr, ptr %7, align 8, !tbaa !5
  %160 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %159, i64 4
  %161 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %160, i32 0, i32 0
  %162 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %161, i32 0, i32 0
  %163 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %162, i32 0, i32 1
  %164 = getelementptr inbounds [8 x i64], ptr %163, i64 0, i64 4
  %165 = load i64, ptr %164, align 8, !tbaa !18
  %166 = icmp eq i64 %158, %165
  br i1 %166, label %169, label %167

167:                                              ; preds = %151
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 105)
          to label %168 unwind label %188

168:                                              ; preds = %167
  br label %169

169:                                              ; preds = %168, %151
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %170, i64 3
  %172 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %171, i32 0, i32 0
  %173 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %172, i32 0, i32 0
  %174 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %173, i32 0, i32 1
  %175 = getelementptr inbounds [8 x i64], ptr %174, i64 0, i64 1
  %176 = load i64, ptr %175, align 8, !tbaa !18
  %177 = load ptr, ptr %7, align 8, !tbaa !5
  %178 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %177, i64 4
  %179 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %178, i32 0, i32 0
  %180 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %179, i32 0, i32 0
  %181 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %180, i32 0, i32 1
  %182 = getelementptr inbounds [8 x i64], ptr %181, i64 0, i64 1
  %183 = load i64, ptr %182, align 8, !tbaa !18
  %184 = icmp eq i64 %176, %183
  br i1 %184, label %187, label %185

185:                                              ; preds = %169
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 108)
          to label %186 unwind label %188

186:                                              ; preds = %185
  br label %187

187:                                              ; preds = %186, %169
  ret void

188:                                              ; preds = %185, %167, %149, %131, %113, %95, %77, %59, %49, %39, %29, %19
  %189 = landingpad { ptr, i32 }
          catch ptr null
  %190 = extractvalue { ptr, i32 } %189, 0
  call void @__clang_call_terminate(ptr %190) #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 = !{!"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 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN8nvinfer123DynamicPluginTensorDescE", !13, i64 0, !14, i64 88, !14, i64 160, !14, i64 232}
!13 = !{!"_ZTSN8nvinfer116PluginTensorDescE", !14, i64 0, !15, i64 72, !16, i64 76, !17, i64 80}
!14 = !{!"_ZTSN8nvinfer16Dims64E", !10, i64 0, !7, i64 8}
!15 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!16 = !{!"_ZTSN8nvinfer112TensorFormatE", !7, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !7, i64 0}


; 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.1 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [53 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 void @_ZN8nvinfer16plugin30MultiscaleDeformableAttnPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i(ptr nocapture noundef nonnull readnone align 8 dereferenceable(40) %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef readnone %3, i32 noundef %4) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = load i32, ptr %1, align 8, !tbaa !5
  %7 = icmp eq i32 %6, 4
  br i1 %7, label %9, label %8

8:                                                ; preds = %5
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 89)
          to label %9 unwind label %76

9:                                                ; preds = %8, %5
  %10 = getelementptr inbounds i8, ptr %1, i64 304
  %11 = load i32, ptr %10, align 8, !tbaa !5
  %12 = icmp eq i32 %11, 2
  br i1 %12, label %14, label %13

13:                                               ; preds = %9
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 90)
          to label %14 unwind label %76

14:                                               ; preds = %13, %9
  %15 = getelementptr inbounds i8, ptr %1, i64 608
  %16 = load i32, ptr %15, align 8, !tbaa !5
  %17 = icmp eq i32 %16, 1
  br i1 %17, label %19, label %18

18:                                               ; preds = %14
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 91)
          to label %19 unwind label %76

19:                                               ; preds = %18, %14
  %20 = getelementptr inbounds i8, ptr %1, i64 912
  %21 = load i32, ptr %20, align 8, !tbaa !5
  %22 = icmp eq i32 %21, 6
  br i1 %22, label %24, label %23

23:                                               ; preds = %19
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 92)
          to label %24 unwind label %76

24:                                               ; preds = %23, %19
  %25 = getelementptr inbounds i8, ptr %1, i64 1216
  %26 = load i32, ptr %25, align 8, !tbaa !5
  %27 = icmp eq i32 %26, 5
  br i1 %27, label %29, label %28

28:                                               ; preds = %24
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 93)
          to label %29 unwind label %76

29:                                               ; preds = %28, %24
  %30 = getelementptr inbounds i8, ptr %1, i64 24
  %31 = load i64, ptr %30, align 8, !tbaa !15
  %32 = getelementptr inbounds i8, ptr %1, i64 936
  %33 = load i64, ptr %32, align 8, !tbaa !15
  %34 = icmp eq i64 %31, %33
  br i1 %34, label %36, label %35

35:                                               ; preds = %29
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 96)
          to label %._crit_edge unwind label %76

._crit_edge:                                      ; preds = %35
  %.pre = load i64, ptr %30, align 8, !tbaa !15
  br label %36

36:                                               ; preds = %._crit_edge, %29
  %37 = phi i64 [ %.pre, %._crit_edge ], [ %31, %29 ]
  %38 = getelementptr inbounds i8, ptr %1, i64 1240
  %39 = load i64, ptr %38, align 8, !tbaa !15
  %40 = icmp eq i64 %37, %39
  br i1 %40, label %42, label %41

41:                                               ; preds = %36
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 97)
          to label %42 unwind label %76

42:                                               ; preds = %41, %36
  %43 = getelementptr inbounds i8, ptr %1, i64 312
  %44 = load i64, ptr %43, align 8, !tbaa !15
  %45 = getelementptr inbounds i8, ptr %1, i64 616
  %46 = load i64, ptr %45, align 8, !tbaa !15
  %47 = icmp eq i64 %44, %46
  br i1 %47, label %49, label %48

48:                                               ; preds = %42
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 100)
          to label %._crit_edge20 unwind label %76

._crit_edge20:                                    ; preds = %48
  %.pre21 = load i64, ptr %43, align 8, !tbaa !15
  br label %49

49:                                               ; preds = %._crit_edge20, %42
  %50 = phi i64 [ %.pre21, %._crit_edge20 ], [ %44, %42 ]
  %51 = getelementptr inbounds i8, ptr %1, i64 944
  %52 = load i64, ptr %51, align 8, !tbaa !15
  %53 = icmp eq i64 %50, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %49
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 101)
          to label %._crit_edge22 unwind label %76

._crit_edge22:                                    ; preds = %54
  %.pre23 = load i64, ptr %43, align 8, !tbaa !15
  br label %55

55:                                               ; preds = %._crit_edge22, %49
  %56 = phi i64 [ %.pre23, %._crit_edge22 ], [ %50, %49 ]
  %57 = getelementptr inbounds i8, ptr %1, i64 1248
  %58 = load i64, ptr %57, align 8, !tbaa !15
  %59 = icmp eq i64 %56, %58
  br i1 %59, label %61, label %60

60:                                               ; preds = %55
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 102)
          to label %61 unwind label %76

61:                                               ; preds = %60, %55
  %62 = getelementptr inbounds i8, ptr %1, i64 952
  %63 = load i64, ptr %62, align 8, !tbaa !15
  %64 = getelementptr inbounds i8, ptr %1, i64 1256
  %65 = load i64, ptr %64, align 8, !tbaa !15
  %66 = icmp eq i64 %63, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %61
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 105)
          to label %68 unwind label %76

68:                                               ; preds = %67, %61
  %69 = getelementptr inbounds i8, ptr %1, i64 928
  %70 = load i64, ptr %69, align 8, !tbaa !15
  %71 = getelementptr inbounds i8, ptr %1, i64 1232
  %72 = load i64, ptr %71, align 8, !tbaa !15
  %73 = icmp eq i64 %70, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %68
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1, i32 noundef 108)
          to label %75 unwind label %76

75:                                               ; preds = %74, %68
  ret void

76:                                               ; preds = %74, %67, %60, %54, %48, %41, %35, %28, %23, %18, %13, %8
  %77 = landingpad { ptr, i32 }
          catch ptr null
  %78 = extractvalue { ptr, i32 } %77, 0
  tail call void @__clang_call_terminate(ptr %78) #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, !9, i64 0}
!6 = !{!"_ZTSN8nvinfer123DynamicPluginTensorDescE", !7, i64 0, !8, i64 88, !8, i64 160, !8, i64 232}
!7 = !{!"_ZTSN8nvinfer116PluginTensorDescE", !8, i64 0, !12, i64 72, !13, i64 76, !14, i64 80}
!8 = !{!"_ZTSN8nvinfer16Dims64E", !9, i64 0, !10, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN8nvinfer18DataTypeE", !10, i64 0}
!13 = !{!"_ZTSN8nvinfer112TensorFormatE", !10, i64 0}
!14 = !{!"float", !10, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !10, i64 0}


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