; LLVM IR from NVIDIA/TensorRT :: plugin/voxelGeneratorPlugin (voxelGenerator)

; 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::PluginTensorDesc" = type { %"class.nvinfer1::Dims64", i32, i32, float }
%"class.nvinfer1::Dims64" = type { i32, [8 x i64] }
%"class.nvinfer1::plugin::VoxelGeneratorPlugin" = type { %"class.nvinfer1::IPluginV2DynamicExt", %"class.std::__cxx11::basic_string", i32, i32, i32, float, float, float, float, float, float, float, float, float, i32, i32, i32, i32 }
%"class.nvinfer1::IPluginV2DynamicExt" = type { %"class.nvinfer1::IPluginV2Ext" }
%"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.2 = external hidden unnamed_addr constant [96 x i8], align 1
@_ZTISt9exception = external constant ptr
@__func__._ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [88 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #1

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

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8)) #3

declare void @__cxa_end_catch()

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

declare noundef i64 @_ZN8nvinfer16plugin27calculateTotalWorkspaceSizeEPmi(ptr noundef, i32 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca [4 x i64], align 16
  %31 = alloca i64, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %43 = alloca i32, align 4
  %44 = alloca ptr, align 8
  %45 = alloca i32, align 4
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  %48 = load ptr, ptr %9, align 8
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = icmp ne ptr %49, null
  br i1 %50, label %51, label %60

51:                                               ; preds = %7
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = icmp ne ptr %52, null
  br i1 %53, label %54, label %60

54:                                               ; preds = %51
  %55 = load ptr, ptr %13, align 8, !tbaa !5
  %56 = icmp ne ptr %55, null
  br i1 %56, label %57, label %60

57:                                               ; preds = %54
  %58 = load ptr, ptr %14, align 8, !tbaa !5
  %59 = icmp ne ptr %58, null
  br i1 %59, label %66, label %60

60:                                               ; preds = %57, %54, %51, %7
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.2, ptr noundef @__func__._ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st, i32 noundef 264, i32 noundef 0, ptr noundef @.str.10) #7
          to label %61 unwind label %62

61:                                               ; preds = %60
  unreachable

62:                                               ; preds = %60
  %63 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %16, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %17, align 4
  br label %378

66:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %67, i64 0
  %69 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %68, i32 0, i32 0
  %70 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %69, i32 0, i32 1
  %71 = getelementptr inbounds [8 x i64], ptr %70, i64 0, i64 0
  %72 = load i64, ptr %71, align 8, !tbaa !9
  %73 = trunc i64 %72 to i32
  store i32 %73, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %74, i64 0
  %76 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %75, i32 0, i32 0
  %77 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %76, i32 0, i32 1
  %78 = getelementptr inbounds [8 x i64], ptr %77, i64 0, i64 1
  %79 = load i64, ptr %78, align 8, !tbaa !9
  %80 = trunc i64 %79 to i32
  store i32 %80, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %81 = load ptr, ptr %12, align 8, !tbaa !5
  %82 = getelementptr inbounds ptr, ptr %81, i64 0
  %83 = load ptr, ptr %82, align 8, !tbaa !5
  store ptr %83, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %84 = load ptr, ptr %12, align 8, !tbaa !5
  %85 = getelementptr inbounds ptr, ptr %84, i64 1
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  store ptr %86, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %87 = load ptr, ptr %13, align 8, !tbaa !5
  %88 = getelementptr inbounds ptr, ptr %87, i64 0
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  store ptr %89, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %90 = load ptr, ptr %13, align 8, !tbaa !5
  %91 = getelementptr inbounds ptr, ptr %90, i64 1
  %92 = load ptr, ptr %91, align 8, !tbaa !5
  store ptr %92, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %93 = load ptr, ptr %13, align 8, !tbaa !5
  %94 = getelementptr inbounds ptr, ptr %93, i64 2
  %95 = load ptr, ptr %94, align 8, !tbaa !5
  store ptr %95, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %96 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 17
  %97 = load i32, ptr %96, align 4, !tbaa !13
  %98 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 16
  %99 = load i32, ptr %98, align 8, !tbaa !21
  %100 = mul nsw i32 %97, %99
  %101 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 15
  %102 = load i32, ptr %101, align 4, !tbaa !22
  %103 = mul nsw i32 %100, %102
  store i32 %103, ptr %25, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %104 = load i32, ptr %18, align 4, !tbaa !11
  %105 = load i32, ptr %25, align 4, !tbaa !11
  %106 = mul nsw i32 %104, %105
  %107 = sext i32 %106 to i64
  %108 = mul i64 %107, 4
  store i64 %108, ptr %26, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %109 = load i32, ptr %18, align 4, !tbaa !11
  %110 = load i32, ptr %25, align 4, !tbaa !11
  %111 = mul nsw i32 %109, %110
  %112 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 3
  %113 = load i32, ptr %112, align 4, !tbaa !23
  %114 = mul nsw i32 %111, %113
  %115 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 14
  %116 = load i32, ptr %115, align 8, !tbaa !24
  %117 = mul nsw i32 %114, %116
  %118 = sext i32 %117 to i64
  %119 = mul i64 %118, 4
  store i64 %119, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %120 = load i64, ptr %27, align 8, !tbaa !9
  store i64 %120, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %121 = load i64, ptr %26, align 8, !tbaa !9
  store i64 %121, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #8
  %122 = load i64, ptr %26, align 8, !tbaa !9
  %123 = getelementptr inbounds [4 x i64], ptr %30, i64 0, i64 0
  store i64 %122, ptr %123, align 16, !tbaa !9
  %124 = load i64, ptr %27, align 8, !tbaa !9
  %125 = getelementptr inbounds [4 x i64], ptr %30, i64 0, i64 1
  store i64 %124, ptr %125, align 8, !tbaa !9
  %126 = load i64, ptr %28, align 8, !tbaa !9
  %127 = getelementptr inbounds [4 x i64], ptr %30, i64 0, i64 2
  store i64 %126, ptr %127, align 16, !tbaa !9
  %128 = load i64, ptr %29, align 8, !tbaa !9
  %129 = getelementptr inbounds [4 x i64], ptr %30, i64 0, i64 3
  store i64 %128, ptr %129, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %130 = getelementptr inbounds [4 x i64], ptr %30, i64 0, i64 0
  %131 = invoke noundef i64 @_ZN8nvinfer16plugin27calculateTotalWorkspaceSizeEPmi(ptr noundef %130, i32 noundef 4)
          to label %132 unwind label %160

132:                                              ; preds = %66
  store i64 %131, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %133 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %133, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %134 = load ptr, ptr %32, align 8, !tbaa !5
  %135 = load i64, ptr %26, align 8, !tbaa !9
  %136 = invoke noundef ptr @_ZN8nvinfer16plugin16nextWorkspacePtrEPam(ptr noundef %134, i64 noundef %135)
          to label %137 unwind label %164

137:                                              ; preds = %132
  store ptr %136, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %138 = load ptr, ptr %33, align 8, !tbaa !5
  %139 = load i64, ptr %27, align 8, !tbaa !9
  %140 = invoke noundef ptr @_ZN8nvinfer16plugin16nextWorkspacePtrEPam(ptr noundef %138, i64 noundef %139)
          to label %141 unwind label %168

141:                                              ; preds = %137
  store ptr %140, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %142 = load ptr, ptr %34, align 8, !tbaa !5
  %143 = load i64, ptr %28, align 8, !tbaa !9
  %144 = invoke noundef ptr @_ZN8nvinfer16plugin16nextWorkspacePtrEPam(ptr noundef %142, i64 noundef %143)
          to label %145 unwind label %172

145:                                              ; preds = %141
  store ptr %144, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  %146 = load ptr, ptr %32, align 8, !tbaa !5
  %147 = load i64, ptr %31, align 8, !tbaa !9
  %148 = load ptr, ptr %15, align 8, !tbaa !5
  %149 = invoke i32 @cudaMemsetAsync(ptr noundef %146, i32 noundef 0, i64 noundef %147, ptr noundef %148)
          to label %150 unwind label %176

150:                                              ; preds = %145
  store i32 %149, ptr %36, align 4, !tbaa !25
  %151 = load i32, ptr %36, align 4, !tbaa !25
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %184

153:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %154 = load i32, ptr %36, align 4, !tbaa !25
  %155 = invoke ptr @cudaGetErrorString(i32 noundef %154)
          to label %156 unwind label %180

156:                                              ; preds = %153
  store ptr %155, ptr %37, align 8, !tbaa !5
  %157 = load i32, ptr %36, align 4, !tbaa !25
  %158 = load ptr, ptr %37, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef @.str.2, ptr noundef @__func__._ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st, i32 noundef 293, i32 noundef %157, ptr noundef %158) #7
          to label %159 unwind label %180

159:                                              ; preds = %156
  unreachable

160:                                              ; preds = %66
  %161 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %16, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %17, align 4
  br label %377

164:                                              ; preds = %132
  %165 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %16, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %17, align 4
  br label %376

168:                                              ; preds = %137
  %169 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %16, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %17, align 4
  br label %375

172:                                              ; preds = %141
  %173 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %16, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %17, align 4
  br label %374

176:                                              ; preds = %145
  %177 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %16, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %17, align 4
  br label %225

180:                                              ; preds = %156, %153
  %181 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %16, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %225

184:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  %185 = load i32, ptr %18, align 4, !tbaa !11
  %186 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 2
  %187 = load i32, ptr %186, align 8, !tbaa !27
  %188 = mul nsw i32 %185, %187
  %189 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 3
  %190 = load i32, ptr %189, align 4, !tbaa !23
  %191 = mul nsw i32 %188, %190
  %192 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 4
  %193 = load i32, ptr %192, align 8, !tbaa !28
  %194 = mul nsw i32 %191, %193
  %195 = sext i32 %194 to i64
  %196 = mul i64 %195, 4
  %197 = trunc i64 %196 to i32
  store i32 %197, ptr %38, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %198 = load i32, ptr %18, align 4, !tbaa !11
  %199 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 2
  %200 = load i32, ptr %199, align 8, !tbaa !27
  %201 = mul nsw i32 %198, %200
  %202 = mul nsw i32 %201, 4
  %203 = sext i32 %202 to i64
  %204 = mul i64 %203, 4
  %205 = trunc i64 %204 to i32
  store i32 %205, ptr %39, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  %206 = load i32, ptr %18, align 4, !tbaa !11
  %207 = sext i32 %206 to i64
  %208 = mul i64 %207, 4
  %209 = trunc i64 %208 to i32
  store i32 %209, ptr %40, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  %210 = load ptr, ptr %22, align 8, !tbaa !5
  %211 = load i32, ptr %38, align 4, !tbaa !11
  %212 = zext i32 %211 to i64
  %213 = load ptr, ptr %15, align 8, !tbaa !5
  %214 = invoke i32 @cudaMemsetAsync(ptr noundef %210, i32 noundef 0, i64 noundef %212, ptr noundef %213)
          to label %215 unwind label %226

215:                                              ; preds = %184
  store i32 %214, ptr %41, align 4, !tbaa !25
  %216 = load i32, ptr %41, align 4, !tbaa !25
  %217 = icmp ne i32 %216, 0
  br i1 %217, label %218, label %234

218:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  %219 = load i32, ptr %41, align 4, !tbaa !25
  %220 = invoke ptr @cudaGetErrorString(i32 noundef %219)
          to label %221 unwind label %230

221:                                              ; preds = %218
  store ptr %220, ptr %42, align 8, !tbaa !5
  %222 = load i32, ptr %41, align 4, !tbaa !25
  %223 = load ptr, ptr %42, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef @.str.2, ptr noundef @__func__._ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st, i32 noundef 297, i32 noundef %222, ptr noundef %223) #7
          to label %224 unwind label %230

224:                                              ; preds = %221
  unreachable

225:                                              ; preds = %180, %176
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %374

226:                                              ; preds = %184
  %227 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %16, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %17, align 4
  br label %250

230:                                              ; preds = %221, %218
  %231 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %16, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  br label %250

234:                                              ; preds = %215
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  %235 = load ptr, ptr %23, align 8, !tbaa !5
  %236 = load i32, ptr %39, align 4, !tbaa !11
  %237 = zext i32 %236 to i64
  %238 = load ptr, ptr %15, align 8, !tbaa !5
  %239 = invoke i32 @cudaMemsetAsync(ptr noundef %235, i32 noundef 0, i64 noundef %237, ptr noundef %238)
          to label %240 unwind label %251

240:                                              ; preds = %234
  store i32 %239, ptr %43, align 4, !tbaa !25
  %241 = load i32, ptr %43, align 4, !tbaa !25
  %242 = icmp ne i32 %241, 0
  br i1 %242, label %243, label %259

243:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %244 = load i32, ptr %43, align 4, !tbaa !25
  %245 = invoke ptr @cudaGetErrorString(i32 noundef %244)
          to label %246 unwind label %255

246:                                              ; preds = %243
  store ptr %245, ptr %44, align 8, !tbaa !5
  %247 = load i32, ptr %43, align 4, !tbaa !25
  %248 = load ptr, ptr %44, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef @.str.2, ptr noundef @__func__._ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st, i32 noundef 298, i32 noundef %247, ptr noundef %248) #7
          to label %249 unwind label %255

249:                                              ; preds = %246
  unreachable

250:                                              ; preds = %230, %226
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  br label %373

251:                                              ; preds = %234
  %252 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %16, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %17, align 4
  br label %275

255:                                              ; preds = %246, %243
  %256 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %16, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br label %275

259:                                              ; preds = %240
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  %260 = load ptr, ptr %24, align 8, !tbaa !5
  %261 = load i32, ptr %40, align 4, !tbaa !11
  %262 = zext i32 %261 to i64
  %263 = load ptr, ptr %15, align 8, !tbaa !5
  %264 = invoke i32 @cudaMemsetAsync(ptr noundef %260, i32 noundef 0, i64 noundef %262, ptr noundef %263)
          to label %265 unwind label %276

265:                                              ; preds = %259
  store i32 %264, ptr %45, align 4, !tbaa !25
  %266 = load i32, ptr %45, align 4, !tbaa !25
  %267 = icmp ne i32 %266, 0
  br i1 %267, label %268, label %284

268:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %269 = load i32, ptr %45, align 4, !tbaa !25
  %270 = invoke ptr @cudaGetErrorString(i32 noundef %269)
          to label %271 unwind label %280

271:                                              ; preds = %268
  store ptr %270, ptr %46, align 8, !tbaa !5
  %272 = load i32, ptr %45, align 4, !tbaa !25
  %273 = load ptr, ptr %46, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef @.str.2, ptr noundef @__func__._ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st, i32 noundef 299, i32 noundef %272, ptr noundef %273) #7
          to label %274 unwind label %280

274:                                              ; preds = %271
  unreachable

275:                                              ; preds = %255, %251
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  br label %373

276:                                              ; preds = %259
  %277 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %16, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %17, align 4
  br label %368

280:                                              ; preds = %271, %268
  %281 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %16, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br label %368

284:                                              ; preds = %265
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  %285 = load i32, ptr %18, align 4, !tbaa !11
  %286 = load i32, ptr %19, align 4, !tbaa !11
  %287 = load ptr, ptr %20, align 8, !tbaa !5
  %288 = load ptr, ptr %21, align 8, !tbaa !5
  %289 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 5
  %290 = load float, ptr %289, align 4, !tbaa !29
  %291 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 6
  %292 = load float, ptr %291, align 8, !tbaa !30
  %293 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 7
  %294 = load float, ptr %293, align 4, !tbaa !31
  %295 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 8
  %296 = load float, ptr %295, align 8, !tbaa !32
  %297 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 9
  %298 = load float, ptr %297, align 4, !tbaa !33
  %299 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 10
  %300 = load float, ptr %299, align 8, !tbaa !34
  %301 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 11
  %302 = load float, ptr %301, align 4, !tbaa !35
  %303 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 12
  %304 = load float, ptr %303, align 8, !tbaa !36
  %305 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 13
  %306 = load float, ptr %305, align 4, !tbaa !37
  %307 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 16
  %308 = load i32, ptr %307, align 8, !tbaa !21
  %309 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 15
  %310 = load i32, ptr %309, align 4, !tbaa !22
  %311 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 14
  %312 = load i32, ptr %311, align 8, !tbaa !24
  %313 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 3
  %314 = load i32, ptr %313, align 4, !tbaa !23
  %315 = load ptr, ptr %32, align 8, !tbaa !5
  %316 = load ptr, ptr %33, align 8, !tbaa !5
  %317 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin21generateVoxels_launchEiiPfPjfffffffffiiiiS2_S1_P11CUstream_st(i32 noundef %285, i32 noundef %286, ptr noundef %287, ptr noundef %288, float noundef %290, float noundef %292, float noundef %294, float noundef %296, float noundef %298, float noundef %300, float noundef %302, float noundef %304, float noundef %306, i32 noundef %308, i32 noundef %310, i32 noundef %312, i32 noundef %314, ptr noundef %315, ptr noundef %316, ptr noundef %317)
          to label %318 unwind label %369

318:                                              ; preds = %284
  %319 = load i32, ptr %18, align 4, !tbaa !11
  %320 = load ptr, ptr %32, align 8, !tbaa !5
  %321 = load ptr, ptr %33, align 8, !tbaa !5
  %322 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 16
  %323 = load i32, ptr %322, align 8, !tbaa !21
  %324 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 15
  %325 = load i32, ptr %324, align 4, !tbaa !22
  %326 = load ptr, ptr %24, align 8, !tbaa !5
  %327 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 2
  %328 = load i32, ptr %327, align 8, !tbaa !27
  %329 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 3
  %330 = load i32, ptr %329, align 4, !tbaa !23
  %331 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 14
  %332 = load i32, ptr %331, align 8, !tbaa !24
  %333 = load ptr, ptr %34, align 8, !tbaa !5
  %334 = load ptr, ptr %35, align 8, !tbaa !5
  %335 = load ptr, ptr %23, align 8, !tbaa !5
  %336 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin27generateBaseFeatures_launchEiPjPfiiS1_iiiS2_S1_S1_P11CUstream_st(i32 noundef %319, ptr noundef %320, ptr noundef %321, i32 noundef %323, i32 noundef %325, ptr noundef %326, i32 noundef %328, i32 noundef %330, i32 noundef %332, ptr noundef %333, ptr noundef %334, ptr noundef %335, ptr noundef %336)
          to label %337 unwind label %369

337:                                              ; preds = %318
  %338 = load i32, ptr %18, align 4, !tbaa !11
  %339 = load i32, ptr %25, align 4, !tbaa !11
  %340 = load ptr, ptr %34, align 8, !tbaa !5
  %341 = load ptr, ptr %35, align 8, !tbaa !5
  %342 = load ptr, ptr %23, align 8, !tbaa !5
  %343 = load ptr, ptr %24, align 8, !tbaa !5
  %344 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 11
  %345 = load float, ptr %344, align 4, !tbaa !35
  %346 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 12
  %347 = load float, ptr %346, align 8, !tbaa !36
  %348 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 13
  %349 = load float, ptr %348, align 4, !tbaa !37
  %350 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 5
  %351 = load float, ptr %350, align 4, !tbaa !29
  %352 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 7
  %353 = load float, ptr %352, align 4, !tbaa !31
  %354 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 9
  %355 = load float, ptr %354, align 4, !tbaa !33
  %356 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 4
  %357 = load i32, ptr %356, align 8, !tbaa !28
  %358 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 3
  %359 = load i32, ptr %358, align 4, !tbaa !23
  %360 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 2
  %361 = load i32, ptr %360, align 8, !tbaa !27
  %362 = getelementptr inbounds %"class.nvinfer1::plugin::VoxelGeneratorPlugin", ptr %48, i32 0, i32 14
  %363 = load i32, ptr %362, align 8, !tbaa !24
  %364 = load ptr, ptr %22, align 8, !tbaa !5
  %365 = load ptr, ptr %15, align 8, !tbaa !5
  %366 = invoke noundef i32 @_ZN8nvinfer16plugin23generateFeatures_launchEiiPfPjS2_S2_ffffffjjjjS1_P11CUstream_st(i32 noundef %338, i32 noundef %339, ptr noundef %340, ptr noundef %341, ptr noundef %342, ptr noundef %343, float noundef %345, float noundef %347, float noundef %349, float noundef %351, float noundef %353, float noundef %355, i32 noundef %357, i32 noundef %359, i32 noundef %361, i32 noundef %363, ptr noundef %364, ptr noundef %365)
          to label %367 unwind label %369

367:                                              ; preds = %337
  store i32 0, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %389

368:                                              ; preds = %280, %276
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  br label %373

369:                                              ; preds = %337, %318, %284
  %370 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %16, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %17, align 4
  br label %373

373:                                              ; preds = %369, %368, %275, %250
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  br label %374

374:                                              ; preds = %373, %225, %172
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %375

375:                                              ; preds = %374, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  br label %376

376:                                              ; preds = %375, %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %377

377:                                              ; preds = %376, %160
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %378

378:                                              ; preds = %377, %62
  %379 = load i32, ptr %17, align 4
  %380 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %381 = icmp eq i32 %379, %380
  br i1 %381, label %382, label %394

382:                                              ; preds = %378
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %383 = load ptr, ptr %16, align 8
  %384 = call ptr @__cxa_begin_catch(ptr %383) #8
  store ptr %384, ptr %47, align 8
  %385 = load ptr, ptr %47, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %385)
          to label %386 unwind label %391

386:                                              ; preds = %382
  invoke void @__cxa_end_catch()
          to label %387 unwind label %391

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

388:                                              ; preds = %387
  store i32 -1, ptr %8, align 4
  br label %389

389:                                              ; preds = %388, %367
  %390 = load i32, ptr %8, align 4
  ret i32 %390

391:                                              ; preds = %386, %382
  %392 = landingpad { ptr, i32 }
          catch ptr null
  %393 = extractvalue { ptr, i32 } %392, 0
  call void @__clang_call_terminate(ptr %393) #9
  unreachable

394:                                              ; preds = %378
  %395 = load ptr, ptr %16, align 8
  call void @__clang_call_terminate(ptr %395) #9
  unreachable
}

declare noundef ptr @_ZN8nvinfer16plugin16nextWorkspacePtrEPam(ptr noundef, i64 noundef) #5

declare i32 @cudaMemsetAsync(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #5

declare ptr @cudaGetErrorString(i32 noundef) #5

; Function Attrs: noreturn
declare void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #4

declare void @_ZN8nvinfer16plugin21generateVoxels_launchEiiPfPjfffffffffiiiiS2_S1_P11CUstream_st(i32 noundef, i32 noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #5

declare void @_ZN8nvinfer16plugin27generateBaseFeatures_launchEiPjPfiiS1_iiiS2_S1_S1_P11CUstream_st(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

declare noundef i32 @_ZN8nvinfer16plugin23generateFeatures_launchEiiPfPjS2_S2_ffffffjjjjS1_P11CUstream_st(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind memory(none) }
attributes #2 = { 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 #3 = { inlinehint 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 = { 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 #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { noreturn }
attributes #8 = { nounwind }
attributes #9 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 100}
!14 = !{!"_ZTSN8nvinfer16plugin20VoxelGeneratorPluginE", !15, i64 0, !18, i64 8, !12, i64 40, !12, i64 44, !12, i64 48, !20, i64 52, !20, i64 56, !20, i64 60, !20, i64 64, !20, i64 68, !20, i64 72, !20, i64 76, !20, i64 80, !20, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100}
!15 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !16, i64 0}
!16 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !17, i64 0}
!17 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !19, i64 0, !10, i64 8, !7, i64 16}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!20 = !{!"float", !7, i64 0}
!21 = !{!14, !12, i64 96}
!22 = !{!14, !12, i64 92}
!23 = !{!14, !12, i64 44}
!24 = !{!14, !12, i64 88}
!25 = !{!26, !26, i64 0}
!26 = !{!"_ZTS9cudaError", !7, i64 0}
!27 = !{!14, !12, i64 40}
!28 = !{!14, !12, i64 48}
!29 = !{!14, !20, i64 52}
!30 = !{!14, !20, i64 56}
!31 = !{!14, !20, i64 60}
!32 = !{!14, !20, i64 64}
!33 = !{!14, !20, i64 68}
!34 = !{!14, !20, i64 72}
!35 = !{!14, !20, i64 76}
!36 = !{!14, !20, i64 80}
!37 = !{!14, !20, i64 84}


; 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.2 = external hidden unnamed_addr constant [96 x i8], align 1
@_ZTISt9exception = external constant ptr
@__func__._ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [88 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #1

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

declare void @__cxa_end_catch() local_unnamed_addr

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

declare noundef i64 @_ZN8nvinfer16plugin27calculateTotalWorkspaceSizeEPmi(ptr noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef range(i32 -1, 1) i32 @_ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st(ptr nocapture noundef nonnull readonly align 8 dereferenceable(104) %0, ptr noundef readonly %1, ptr nocapture noundef readnone %2, ptr noundef readonly %3, ptr noundef readonly %4, ptr noundef %5, ptr noundef %6) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca [4 x i64], align 16
  %9 = insertelement <4 x ptr> poison, ptr %1, i64 0
  %10 = insertelement <4 x ptr> %9, ptr %3, i64 1
  %11 = insertelement <4 x ptr> %10, ptr %4, i64 2
  %12 = insertelement <4 x ptr> %11, ptr %5, i64 3
  %13 = icmp eq <4 x ptr> %12, zeroinitializer
  %14 = bitcast <4 x i1> %13 to i4
  %15 = icmp eq i4 %14, 0
  br i1 %15, label %20, label %16

16:                                               ; preds = %7
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__._ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st, i32 noundef 264, i32 noundef 0, ptr noundef nonnull @.str.10) #7
          to label %17 unwind label %18

17:                                               ; preds = %16
  unreachable

18:                                               ; preds = %16
  %19 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %175

20:                                               ; preds = %7
  %21 = getelementptr inbounds i8, ptr %1, i64 8
  %22 = load i64, ptr %21, align 8, !tbaa !5
  %23 = trunc i64 %22 to i32
  %24 = getelementptr inbounds i8, ptr %1, i64 16
  %25 = load i64, ptr %24, align 8, !tbaa !5
  %26 = trunc i64 %25 to i32
  %27 = load ptr, ptr %3, align 8, !tbaa !9
  %28 = getelementptr inbounds i8, ptr %3, i64 8
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  %30 = load ptr, ptr %4, align 8, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %4, i64 8
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %33 = getelementptr inbounds i8, ptr %4, i64 16
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %0, i64 100
  %36 = load i32, ptr %35, align 4, !tbaa !11
  %37 = getelementptr inbounds i8, ptr %0, i64 96
  %38 = load i32, ptr %37, align 8, !tbaa !20
  %39 = mul nsw i32 %38, %36
  %40 = getelementptr inbounds i8, ptr %0, i64 92
  %41 = load i32, ptr %40, align 4, !tbaa !21
  %42 = mul nsw i32 %39, %41
  %43 = mul nsw i32 %42, %23
  %44 = sext i32 %43 to i64
  %45 = shl nsw i64 %44, 2
  %46 = getelementptr inbounds i8, ptr %0, i64 44
  %47 = load i32, ptr %46, align 4, !tbaa !22
  %48 = mul nsw i32 %43, %47
  %49 = getelementptr inbounds i8, ptr %0, i64 88
  %50 = load i32, ptr %49, align 8, !tbaa !23
  %51 = mul nsw i32 %48, %50
  %52 = sext i32 %51 to i64
  %53 = shl nsw i64 %52, 2
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  store i64 %45, ptr %8, align 16, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %8, i64 8
  store i64 %53, ptr %54, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %8, i64 16
  store i64 %53, ptr %55, align 16, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %8, i64 24
  store i64 %45, ptr %56, align 8, !tbaa !5
  %57 = invoke noundef i64 @_ZN8nvinfer16plugin27calculateTotalWorkspaceSizeEPmi(ptr noundef nonnull %8, i32 noundef 4)
          to label %58 unwind label %71

58:                                               ; preds = %20
  %59 = invoke noundef ptr @_ZN8nvinfer16plugin16nextWorkspacePtrEPam(ptr noundef nonnull %5, i64 noundef %45)
          to label %60 unwind label %73

60:                                               ; preds = %58
  %61 = invoke noundef ptr @_ZN8nvinfer16plugin16nextWorkspacePtrEPam(ptr noundef %59, i64 noundef %53)
          to label %62 unwind label %75

62:                                               ; preds = %60
  %63 = invoke noundef ptr @_ZN8nvinfer16plugin16nextWorkspacePtrEPam(ptr noundef %61, i64 noundef %53)
          to label %64 unwind label %77

64:                                               ; preds = %62
  %65 = invoke i32 @cudaMemsetAsync(ptr noundef nonnull %5, i32 noundef 0, i64 noundef %57, ptr noundef %6)
          to label %66 unwind label %79

66:                                               ; preds = %64
  %.not = icmp eq i32 %65, 0
  br i1 %.not, label %83, label %67

67:                                               ; preds = %66
  %68 = invoke ptr @cudaGetErrorString(i32 noundef %65)
          to label %69 unwind label %81

69:                                               ; preds = %67
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__._ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st, i32 noundef 293, i32 noundef %65, ptr noundef %68) #7
          to label %70 unwind label %81

70:                                               ; preds = %69
  unreachable

71:                                               ; preds = %20
  %72 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

73:                                               ; preds = %58
  %74 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

75:                                               ; preds = %60
  %76 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

77:                                               ; preds = %62
  %78 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

79:                                               ; preds = %64
  %80 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

81:                                               ; preds = %69, %67
  %82 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

83:                                               ; preds = %66
  %84 = getelementptr inbounds i8, ptr %0, i64 40
  %85 = load i32, ptr %84, align 8, !tbaa !24
  %86 = mul nsw i32 %85, %23
  %87 = load i32, ptr %46, align 4, !tbaa !22
  %88 = getelementptr inbounds i8, ptr %0, i64 48
  %89 = load i32, ptr %88, align 8, !tbaa !25
  %90 = shl i32 %87, 2
  %91 = mul i32 %90, %86
  %92 = mul i32 %91, %89
  %93 = shl i32 %86, 4
  %94 = shl i64 %22, 2
  %95 = zext i32 %92 to i64
  %96 = invoke i32 @cudaMemsetAsync(ptr noundef %30, i32 noundef 0, i64 noundef %95, ptr noundef %6)
          to label %97 unwind label %102

97:                                               ; preds = %83
  %.not111 = icmp eq i32 %96, 0
  br i1 %.not111, label %106, label %98

98:                                               ; preds = %97
  %99 = invoke ptr @cudaGetErrorString(i32 noundef %96)
          to label %100 unwind label %104

100:                                              ; preds = %98
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__._ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st, i32 noundef 297, i32 noundef %96, ptr noundef %99) #7
          to label %101 unwind label %104

101:                                              ; preds = %100
  unreachable

102:                                              ; preds = %83
  %103 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

104:                                              ; preds = %100, %98
  %105 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

106:                                              ; preds = %97
  %107 = zext i32 %93 to i64
  %108 = invoke i32 @cudaMemsetAsync(ptr noundef %32, i32 noundef 0, i64 noundef %107, ptr noundef %6)
          to label %109 unwind label %114

109:                                              ; preds = %106
  %.not112 = icmp eq i32 %108, 0
  br i1 %.not112, label %118, label %110

110:                                              ; preds = %109
  %111 = invoke ptr @cudaGetErrorString(i32 noundef %108)
          to label %112 unwind label %116

112:                                              ; preds = %110
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__._ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st, i32 noundef 298, i32 noundef %108, ptr noundef %111) #7
          to label %113 unwind label %116

113:                                              ; preds = %112
  unreachable

114:                                              ; preds = %106
  %115 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

116:                                              ; preds = %112, %110
  %117 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

118:                                              ; preds = %109
  %119 = and i64 %94, 4294967292
  %120 = invoke i32 @cudaMemsetAsync(ptr noundef %34, i32 noundef 0, i64 noundef %119, ptr noundef %6)
          to label %121 unwind label %126

121:                                              ; preds = %118
  %.not113 = icmp eq i32 %120, 0
  br i1 %.not113, label %130, label %122

122:                                              ; preds = %121
  %123 = invoke ptr @cudaGetErrorString(i32 noundef %120)
          to label %124 unwind label %128

124:                                              ; preds = %122
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__._ZN8nvinfer16plugin20VoxelGeneratorPlugin7enqueueEPKNS_16PluginTensorDescES4_PKPKvPKPvS9_P11CUstream_st, i32 noundef 299, i32 noundef %120, ptr noundef %123) #7
          to label %125 unwind label %128

125:                                              ; preds = %124
  unreachable

126:                                              ; preds = %118
  %127 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

128:                                              ; preds = %124, %122
  %129 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

130:                                              ; preds = %121
  %131 = getelementptr inbounds i8, ptr %0, i64 52
  %132 = load float, ptr %131, align 4, !tbaa !26
  %133 = getelementptr inbounds i8, ptr %0, i64 56
  %134 = load float, ptr %133, align 8, !tbaa !27
  %135 = getelementptr inbounds i8, ptr %0, i64 60
  %136 = load float, ptr %135, align 4, !tbaa !28
  %137 = getelementptr inbounds i8, ptr %0, i64 64
  %138 = load float, ptr %137, align 8, !tbaa !29
  %139 = getelementptr inbounds i8, ptr %0, i64 68
  %140 = load float, ptr %139, align 4, !tbaa !30
  %141 = getelementptr inbounds i8, ptr %0, i64 72
  %142 = load float, ptr %141, align 8, !tbaa !31
  %143 = getelementptr inbounds i8, ptr %0, i64 76
  %144 = load float, ptr %143, align 4, !tbaa !32
  %145 = getelementptr inbounds i8, ptr %0, i64 80
  %146 = load float, ptr %145, align 8, !tbaa !33
  %147 = getelementptr inbounds i8, ptr %0, i64 84
  %148 = load float, ptr %147, align 4, !tbaa !34
  %149 = load i32, ptr %37, align 8, !tbaa !20
  %150 = load i32, ptr %40, align 4, !tbaa !21
  %151 = load i32, ptr %49, align 8, !tbaa !23
  %152 = load i32, ptr %46, align 4, !tbaa !22
  invoke void @_ZN8nvinfer16plugin21generateVoxels_launchEiiPfPjfffffffffiiiiS2_S1_P11CUstream_st(i32 noundef %23, i32 noundef %26, ptr noundef %27, ptr noundef %29, float noundef %132, float noundef %134, float noundef %136, float noundef %138, float noundef %140, float noundef %142, float noundef %144, float noundef %146, float noundef %148, i32 noundef %149, i32 noundef %150, i32 noundef %151, i32 noundef %152, ptr noundef nonnull %5, ptr noundef %59, ptr noundef %6)
          to label %153 unwind label %172

153:                                              ; preds = %130
  %154 = load i32, ptr %37, align 8, !tbaa !20
  %155 = load i32, ptr %40, align 4, !tbaa !21
  %156 = load i32, ptr %84, align 8, !tbaa !24
  %157 = load i32, ptr %46, align 4, !tbaa !22
  %158 = load i32, ptr %49, align 8, !tbaa !23
  invoke void @_ZN8nvinfer16plugin27generateBaseFeatures_launchEiPjPfiiS1_iiiS2_S1_S1_P11CUstream_st(i32 noundef %23, ptr noundef nonnull %5, ptr noundef %59, i32 noundef %154, i32 noundef %155, ptr noundef %34, i32 noundef %156, i32 noundef %157, i32 noundef %158, ptr noundef %61, ptr noundef %63, ptr noundef %32, ptr noundef %6)
          to label %159 unwind label %172

159:                                              ; preds = %153
  %160 = load float, ptr %143, align 4, !tbaa !32
  %161 = load float, ptr %145, align 8, !tbaa !33
  %162 = load float, ptr %147, align 4, !tbaa !34
  %163 = load float, ptr %131, align 4, !tbaa !26
  %164 = load float, ptr %135, align 4, !tbaa !28
  %165 = load float, ptr %139, align 4, !tbaa !30
  %166 = load i32, ptr %88, align 8, !tbaa !25
  %167 = load i32, ptr %46, align 4, !tbaa !22
  %168 = load i32, ptr %84, align 8, !tbaa !24
  %169 = load i32, ptr %49, align 8, !tbaa !23
  %170 = invoke noundef i32 @_ZN8nvinfer16plugin23generateFeatures_launchEiiPfPjS2_S2_ffffffjjjjS1_P11CUstream_st(i32 noundef %23, i32 noundef %42, ptr noundef %61, ptr noundef %63, ptr noundef %32, ptr noundef %34, float noundef %160, float noundef %161, float noundef %162, float noundef %163, float noundef %164, float noundef %165, i32 noundef %166, i32 noundef %167, i32 noundef %168, i32 noundef %169, ptr noundef %30, ptr noundef %6)
          to label %171 unwind label %172

171:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %181

172:                                              ; preds = %159, %153, %130
  %173 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %174

174:                                              ; preds = %73, %77, %81, %79, %126, %128, %114, %116, %102, %104, %172, %75, %71
  %.pn120.pn.pn.pn.pn = phi { ptr, i32 } [ %72, %71 ], [ %74, %73 ], [ %76, %75 ], [ %78, %77 ], [ %82, %81 ], [ %80, %79 ], [ %173, %172 ], [ %105, %104 ], [ %103, %102 ], [ %117, %116 ], [ %115, %114 ], [ %129, %128 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %175

175:                                              ; preds = %174, %18
  %.pn120.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn120.pn.pn.pn.pn, %174 ], [ %19, %18 ]
  %.9 = extractvalue { ptr, i32 } %.pn120.pn.pn.pn.pn.pn, 0
  %.9102 = extractvalue { ptr, i32 } %.pn120.pn.pn.pn.pn.pn, 1
  %176 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #8
  %177 = icmp eq i32 %.9102, %176
  br i1 %177, label %178, label %185

178:                                              ; preds = %175
  %179 = call ptr @__cxa_begin_catch(ptr %.9) #8
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %179)
          to label %180 unwind label %182

180:                                              ; preds = %178
  invoke void @__cxa_end_catch()
          to label %181 unwind label %182

181:                                              ; preds = %180, %171
  %.0 = phi i32 [ 0, %171 ], [ -1, %180 ]
  ret i32 %.0

182:                                              ; preds = %180, %178
  %183 = landingpad { ptr, i32 }
          catch ptr null
  %184 = extractvalue { ptr, i32 } %183, 0
  call void @__clang_call_terminate(ptr %184) #9
  unreachable

185:                                              ; preds = %175
  call void @__clang_call_terminate(ptr %.9) #9
  unreachable
}

declare noundef ptr @_ZN8nvinfer16plugin16nextWorkspacePtrEPam(ptr noundef, i64 noundef) local_unnamed_addr #5

declare i32 @cudaMemsetAsync(ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #5

declare ptr @cudaGetErrorString(i32 noundef) local_unnamed_addr #5

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

declare void @_ZN8nvinfer16plugin21generateVoxels_launchEiiPfPjfffffffffiiiiS2_S1_P11CUstream_st(i32 noundef, i32 noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN8nvinfer16plugin27generateBaseFeatures_launchEiPjPfiiS1_iiiS2_S1_S1_P11CUstream_st(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare noundef i32 @_ZN8nvinfer16plugin23generateFeatures_launchEiiPfPjS2_S2_ffffffjjjjS1_P11CUstream_st(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nofree nosync nounwind memory(none) }
attributes #2 = { 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 #3 = { inlinehint 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 = { 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 #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { noreturn }
attributes #8 = { nounwind }
attributes #9 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !18, i64 100}
!12 = !{!"_ZTSN8nvinfer16plugin20VoxelGeneratorPluginE", !13, i64 0, !16, i64 8, !18, i64 40, !18, i64 44, !18, i64 48, !19, i64 52, !19, i64 56, !19, i64 60, !19, i64 64, !19, i64 68, !19, i64 72, !19, i64 76, !19, i64 80, !19, i64 84, !18, i64 88, !18, i64 92, !18, i64 96, !18, i64 100}
!13 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !14, i64 0}
!14 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !15, i64 0}
!15 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !6, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!"float", !7, i64 0}
!20 = !{!12, !18, i64 96}
!21 = !{!12, !18, i64 92}
!22 = !{!12, !18, i64 44}
!23 = !{!12, !18, i64 88}
!24 = !{!12, !18, i64 40}
!25 = !{!12, !18, i64 48}
!26 = !{!12, !19, i64 52}
!27 = !{!12, !19, i64 56}
!28 = !{!12, !19, i64 60}
!29 = !{!12, !19, i64 64}
!30 = !{!12, !19, i64 68}
!31 = !{!12, !19, i64 72}
!32 = !{!12, !19, i64 76}
!33 = !{!12, !19, i64 80}
!34 = !{!12, !19, i64 84}


; Effective O3 passes: EarlyCSEPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass