; LLVM IR from NVIDIA/DALI :: dali/operators/image/resize (resampling_attr)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::basic_string_view" = type { i64, ptr }
%class.anon = type { i8 }
%"class.dali::ResamplingFilterAttr" = type <{ %"class.std::vector.28", %"class.std::vector.28", %"class.std::vector.33", %"class.std::vector.33", %"class.std::vector.33", i32, i8, [3 x i8] }>
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<dali::kernels::ResamplingFilterType, std::allocator<dali::kernels::ResamplingFilterType>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::kernels::ResamplingFilterType, std::allocator<dali::kernels::ResamplingFilterType>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::kernels::ResamplingFilterType, std::allocator<dali::kernels::ResamplingFilterType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::kernels::ResamplingFilterType, std::allocator<dali::kernels::ResamplingFilterType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<dali::DALIInterpType, std::allocator<dali::DALIInterpType>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::DALIInterpType, std::allocator<dali::DALIInterpType>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::DALIInterpType, std::allocator<dali::DALIInterpType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::DALIInterpType, std::allocator<dali::DALIInterpType>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali20ResamplingFilterAttr19PrepareFilterParamsERKNS_6OpSpecERKNS_17ArgumentWorkspaceEi(ptr noundef nonnull align 8 dereferenceable(125) %0, ptr noundef nonnull align 8 dereferenceable(328) %1, ptr noundef nonnull align 8 dereferenceable(256) %2, i32 noundef %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"class.std::basic_string_view", align 8
  %18 = alloca i8, align 1
  %19 = alloca %"class.std::basic_string_view", align 8
  %20 = alloca i8, align 1
  %21 = alloca %"class.std::basic_string_view", align 8
  %22 = alloca i8, align 1
  %23 = alloca %"class.std::basic_string_view", align 8
  %24 = alloca i8, align 1
  %25 = alloca %"class.std::basic_string_view", align 8
  %26 = alloca %"class.std::basic_string_view", align 8
  %27 = alloca i8, align 1
  %28 = alloca i8, align 1
  %29 = alloca %class.anon, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  %30 = load ptr, ptr %5, align 8
  %31 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %32 unwind label %58

32:                                               ; preds = %4
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = load i32, ptr %8, align 4, !tbaa !9
  invoke void @_ZN4dali20GetPerSampleArgumentINS_14DALIInterpTypeEEEvRSt6vectorIT_SaIS3_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6OpSpecERKNS_17ArgumentWorkspaceEi(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(328) %33, ptr noundef nonnull align 8 dereferenceable(256) %34, i32 noundef %35)
          to label %36 unwind label %62

36:                                               ; preds = %32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #4
  %37 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %38 unwind label %67

38:                                               ; preds = %36
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = load i32, ptr %8, align 4, !tbaa !9
  invoke void @_ZN4dali20GetPerSampleArgumentINS_14DALIInterpTypeEEEvRSt6vectorIT_SaIS3_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6OpSpecERKNS_17ArgumentWorkspaceEi(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(328) %39, ptr noundef nonnull align 8 dereferenceable(256) %40, i32 noundef %41)
          to label %42 unwind label %71

42:                                               ; preds = %38
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #4
  %43 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %44 unwind label %76

44:                                               ; preds = %42
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = load i32, ptr %8, align 4, !tbaa !9
  invoke void @_ZN4dali20GetPerSampleArgumentINS_14DALIInterpTypeEEEvRSt6vectorIT_SaIS3_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6OpSpecERKNS_17ArgumentWorkspaceEi(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(328) %45, ptr noundef nonnull align 8 dereferenceable(256) %46, i32 noundef %47)
          to label %48 unwind label %80

48:                                               ; preds = %44
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #4
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef @.str.11) #4
  %51 = getelementptr inbounds { i64, ptr }, ptr %17, i32 0, i32 0
  %52 = load i64, ptr %51, align 8
  %53 = getelementptr inbounds { i64, ptr }, ptr %17, i32 0, i32 1
  %54 = load ptr, ptr %53, align 8
  %55 = call noundef zeroext i1 @_ZNK4dali6OpSpec14TryGetArgumentI13_DALIDataTypeEEbRT_St17basic_string_viewIcSt11char_traitsIcEEPKNS_17ArgumentWorkspaceEl(ptr noundef nonnull align 8 dereferenceable(328) %49, ptr noundef nonnull align 4 dereferenceable(4) %50, i64 %52, ptr %54, ptr noundef null, i64 noundef 0)
  br i1 %55, label %85, label %56

56:                                               ; preds = %48
  %57 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 5
  store i32 -1, ptr %57, align 8, !tbaa !11
  br label %85

58:                                               ; preds = %4
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %11, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %12, align 4
  br label %66

62:                                               ; preds = %32
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %11, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  br label %66

66:                                               ; preds = %62, %58
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #4
  br label %160

67:                                               ; preds = %36
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %11, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %12, align 4
  br label %75

71:                                               ; preds = %38
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %11, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #4
  br label %75

75:                                               ; preds = %71, %67
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #4
  br label %160

76:                                               ; preds = %42
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %11, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %12, align 4
  br label %84

80:                                               ; preds = %44
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %11, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #4
  br label %84

84:                                               ; preds = %80, %76
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #4
  br label %160

85:                                               ; preds = %56, %48
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #4
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef @.str.3) #4
  %87 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 0
  %88 = load i64, ptr %87, align 8
  %89 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8
  %91 = call noundef zeroext i1 @_ZNK4dali6OpSpec15ArgumentDefinedESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %86, i64 %88, ptr %90)
  %92 = zext i1 %91 to i8
  store i8 %92, ptr %18, align 1, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #4
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef @.str.7) #4
  %94 = getelementptr inbounds { i64, ptr }, ptr %21, i32 0, i32 0
  %95 = load i64, ptr %94, align 8
  %96 = getelementptr inbounds { i64, ptr }, ptr %21, i32 0, i32 1
  %97 = load ptr, ptr %96, align 8
  %98 = call noundef zeroext i1 @_ZNK4dali6OpSpec15ArgumentDefinedESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %93, i64 %95, ptr %97)
  %99 = zext i1 %98 to i8
  store i8 %99, ptr %20, align 1, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #4
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef @.str.5) #4
  %101 = getelementptr inbounds { i64, ptr }, ptr %23, i32 0, i32 0
  %102 = load i64, ptr %101, align 8
  %103 = getelementptr inbounds { i64, ptr }, ptr %23, i32 0, i32 1
  %104 = load ptr, ptr %103, align 8
  %105 = call noundef zeroext i1 @_ZNK4dali6OpSpec15ArgumentDefinedESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %100, i64 %102, ptr %104)
  %106 = zext i1 %105 to i8
  store i8 %106, ptr %22, align 1, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #4
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef @.str.9) #4
  %108 = getelementptr inbounds { i64, ptr }, ptr %25, i32 0, i32 0
  %109 = load i64, ptr %108, align 8
  %110 = getelementptr inbounds { i64, ptr }, ptr %25, i32 0, i32 1
  %111 = load ptr, ptr %110, align 8
  %112 = call noundef zeroext i1 @_ZNK4dali6OpSpec15ArgumentDefinedESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %107, i64 %109, ptr %111)
  %113 = zext i1 %112 to i8
  store i8 %113, ptr %24, align 1, !tbaa !23
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef @.str.9) #4
  %115 = getelementptr inbounds { i64, ptr }, ptr %26, i32 0, i32 0
  %116 = load i64, ptr %115, align 8
  %117 = getelementptr inbounds { i64, ptr }, ptr %26, i32 0, i32 1
  %118 = load ptr, ptr %117, align 8
  %119 = call noundef zeroext i1 @_ZNK4dali6OpSpec11GetArgumentIbEET_St17basic_string_viewIcSt11char_traitsIcEEPKNS_17ArgumentWorkspaceEl(ptr noundef nonnull align 8 dereferenceable(328) %114, i64 %116, ptr %118, ptr noundef null, i64 noundef 0)
  %120 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 6
  %121 = zext i1 %119 to i8
  store i8 %121, ptr %120, align 4, !tbaa !24
  %122 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 0
  %123 = load i32, ptr %8, align 4, !tbaa !9
  %124 = sext i32 %123 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #4
  store i8 2, ptr %27, align 1, !tbaa !25
  call void @_ZNSt6vectorIN4dali7kernels20ResamplingFilterTypeESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %124, ptr noundef nonnull align 1 dereferenceable(1) %27)
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #4
  %125 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 1
  %126 = load i32, ptr %8, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #4
  store i8 1, ptr %28, align 1, !tbaa !25
  call void @_ZNSt6vectorIN4dali7kernels20ResamplingFilterTypeESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %127, ptr noundef nonnull align 1 dereferenceable(1) %28)
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #4
  %128 = load i8, ptr %20, align 1, !tbaa !23, !range !27, !noundef !28
  %129 = trunc i8 %128 to i1
  br i1 %129, label %130, label %136

130:                                              ; preds = %85
  %131 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 0
  %132 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 3
  %133 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 6
  %134 = load i8, ptr %133, align 4, !tbaa !24, !range !27, !noundef !28
  %135 = trunc i8 %134 to i1
  call void @"_ZZN4dali20ResamplingFilterAttr19PrepareFilterParamsERKNS_6OpSpecERKNS_17ArgumentWorkspaceEiENK3$_0clISt6vectorINS_7kernels20ResamplingFilterTypeESaISB_EES9_INS_14DALIInterpTypeESaISE_EEEEDaRT_RT0_b"(ptr noundef nonnull align 1 dereferenceable(1) %29, ptr noundef nonnull align 8 dereferenceable(24) %131, ptr noundef nonnull align 8 dereferenceable(24) %132, i1 noundef zeroext %135)
  br label %146

136:                                              ; preds = %85
  %137 = load i8, ptr %18, align 1, !tbaa !23, !range !27, !noundef !28
  %138 = trunc i8 %137 to i1
  br i1 %138, label %139, label %145

139:                                              ; preds = %136
  %140 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 0
  %141 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 2
  %142 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 6
  %143 = load i8, ptr %142, align 4, !tbaa !24, !range !27, !noundef !28
  %144 = trunc i8 %143 to i1
  call void @"_ZZN4dali20ResamplingFilterAttr19PrepareFilterParamsERKNS_6OpSpecERKNS_17ArgumentWorkspaceEiENK3$_0clISt6vectorINS_7kernels20ResamplingFilterTypeESaISB_EES9_INS_14DALIInterpTypeESaISE_EEEEDaRT_RT0_b"(ptr noundef nonnull align 1 dereferenceable(1) %29, ptr noundef nonnull align 8 dereferenceable(24) %140, ptr noundef nonnull align 8 dereferenceable(24) %141, i1 noundef zeroext %144)
  br label %145

145:                                              ; preds = %139, %136
  br label %146

146:                                              ; preds = %145, %130
  %147 = load i8, ptr %22, align 1, !tbaa !23, !range !27, !noundef !28
  %148 = trunc i8 %147 to i1
  br i1 %148, label %149, label %152

149:                                              ; preds = %146
  %150 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 1
  %151 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 4
  call void @"_ZZN4dali20ResamplingFilterAttr19PrepareFilterParamsERKNS_6OpSpecERKNS_17ArgumentWorkspaceEiENK3$_0clISt6vectorINS_7kernels20ResamplingFilterTypeESaISB_EES9_INS_14DALIInterpTypeESaISE_EEEEDaRT_RT0_b"(ptr noundef nonnull align 1 dereferenceable(1) %29, ptr noundef nonnull align 8 dereferenceable(24) %150, ptr noundef nonnull align 8 dereferenceable(24) %151, i1 noundef zeroext false)
  br label %159

152:                                              ; preds = %146
  %153 = load i8, ptr %18, align 1, !tbaa !23, !range !27, !noundef !28
  %154 = trunc i8 %153 to i1
  br i1 %154, label %155, label %158

155:                                              ; preds = %152
  %156 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 1
  %157 = getelementptr inbounds %"class.dali::ResamplingFilterAttr", ptr %30, i32 0, i32 2
  call void @"_ZZN4dali20ResamplingFilterAttr19PrepareFilterParamsERKNS_6OpSpecERKNS_17ArgumentWorkspaceEiENK3$_0clISt6vectorINS_7kernels20ResamplingFilterTypeESaISB_EES9_INS_14DALIInterpTypeESaISE_EEEEDaRT_RT0_b"(ptr noundef nonnull align 1 dereferenceable(1) %29, ptr noundef nonnull align 8 dereferenceable(24) %156, ptr noundef nonnull align 8 dereferenceable(24) %157, i1 noundef zeroext false)
  br label %158

158:                                              ; preds = %155, %152
  br label %159

159:                                              ; preds = %158, %149
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #4
  ret void

160:                                              ; preds = %84, %75, %66
  %161 = load ptr, ptr %11, align 8
  %162 = load i32, ptr %12, align 4
  %163 = insertvalue { ptr, i32 } poison, ptr %161, 0
  %164 = insertvalue { ptr, i32 } %163, i32 %162, 1
  resume { ptr, i32 } %164
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali20GetPerSampleArgumentINS_14DALIInterpTypeEEEvRSt6vectorIT_SaIS3_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6OpSpecERKNS_17ArgumentWorkspaceEi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(328), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali6OpSpec14TryGetArgumentI13_DALIDataTypeEEbRT_St17basic_string_viewIcSt11char_traitsIcEEPKNS_17ArgumentWorkspaceEl(ptr noundef nonnull align 8 dereferenceable(328), ptr noundef nonnull align 4 dereferenceable(4), i64, ptr, ptr noundef, i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali6OpSpec15ArgumentDefinedESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328), i64, ptr) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali6OpSpec11GetArgumentIbEET_St17basic_string_viewIcSt11char_traitsIcEEPKNS_17ArgumentWorkspaceEl(ptr noundef nonnull align 8 dereferenceable(328), i64, ptr, ptr noundef, i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN4dali7kernels20ResamplingFilterTypeESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN4dali20ResamplingFilterAttr19PrepareFilterParamsERKNS_6OpSpecERKNS_17ArgumentWorkspaceEiENK3$_0clISt6vectorINS_7kernels20ResamplingFilterTypeESaISB_EES9_INS_14DALIInterpTypeESaISE_EEEEDaRT_RT0_b"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #3 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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, !21, i64 120}
!12 = !{!"_ZTSN4dali20ResamplingFilterAttrE", !13, i64 0, !13, i64 24, !17, i64 48, !17, i64 72, !17, i64 96, !21, i64 120, !22, i64 124}
!13 = !{!"_ZTSSt6vectorIN4dali7kernels20ResamplingFilterTypeESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIN4dali7kernels20ResamplingFilterTypeESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN4dali7kernels20ResamplingFilterTypeESaIS2_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN4dali7kernels20ResamplingFilterTypeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIN4dali14DALIInterpTypeESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN4dali14DALIInterpTypeESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN4dali14DALIInterpTypeESaIS1_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN4dali14DALIInterpTypeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTS13_DALIDataType", !7, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!22, !22, i64 0}
!24 = !{!12, !22, i64 124}
!25 = !{!26, !26, i64 0}
!26 = !{!"_ZTSN4dali7kernels20ResamplingFilterTypeE", !7, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::basic_string_view" = type { i64, ptr }
%class.anon = type { i8 }

@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali20ResamplingFilterAttr19PrepareFilterParamsERKNS_6OpSpecERKNS_17ArgumentWorkspaceEi(ptr noundef nonnull align 8 dereferenceable(125) %0, ptr noundef nonnull align 8 dereferenceable(328) %1, ptr noundef nonnull align 8 dereferenceable(256) %2, i32 noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::basic_string_view", align 8
  %12 = alloca %"class.std::basic_string_view", align 8
  %13 = alloca %"class.std::basic_string_view", align 8
  %14 = alloca %"class.std::basic_string_view", align 8
  %15 = alloca %"class.std::basic_string_view", align 8
  %16 = alloca %"class.std::basic_string_view", align 8
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca %class.anon, align 1
  %20 = getelementptr inbounds i8, ptr %0, i64 48
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %21 unwind label %35

21:                                               ; preds = %4
  invoke void @_ZN4dali20GetPerSampleArgumentINS_14DALIInterpTypeEEEvRSt6vectorIT_SaIS3_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6OpSpecERKNS_17ArgumentWorkspaceEi(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(328) %1, ptr noundef nonnull align 8 dereferenceable(256) %2, i32 noundef %3)
          to label %22 unwind label %37

22:                                               ; preds = %21
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  %23 = getelementptr inbounds i8, ptr %0, i64 72
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %24 unwind label %40

24:                                               ; preds = %22
  invoke void @_ZN4dali20GetPerSampleArgumentINS_14DALIInterpTypeEEEvRSt6vectorIT_SaIS3_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6OpSpecERKNS_17ArgumentWorkspaceEi(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(328) %1, ptr noundef nonnull align 8 dereferenceable(256) %2, i32 noundef %3)
          to label %25 unwind label %42

25:                                               ; preds = %24
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  %26 = getelementptr inbounds i8, ptr %0, i64 96
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %27 unwind label %45

27:                                               ; preds = %25
  invoke void @_ZN4dali20GetPerSampleArgumentINS_14DALIInterpTypeEEEvRSt6vectorIT_SaIS3_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6OpSpecERKNS_17ArgumentWorkspaceEi(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(328) %1, ptr noundef nonnull align 8 dereferenceable(256) %2, i32 noundef %3)
          to label %28 unwind label %47

28:                                               ; preds = %27
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #4
  %29 = getelementptr inbounds i8, ptr %0, i64 120
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef @.str.11) #4
  %30 = load i64, ptr %11, align 8
  %31 = getelementptr inbounds i8, ptr %11, i64 8
  %32 = load ptr, ptr %31, align 8
  %33 = call noundef zeroext i1 @_ZNK4dali6OpSpec14TryGetArgumentI13_DALIDataTypeEEbRT_St17basic_string_viewIcSt11char_traitsIcEEPKNS_17ArgumentWorkspaceEl(ptr noundef nonnull align 8 dereferenceable(328) %1, ptr noundef nonnull align 4 dereferenceable(4) %29, i64 %30, ptr %32, ptr noundef null, i64 noundef 0)
  br i1 %33, label %50, label %34

34:                                               ; preds = %28
  store i32 -1, ptr %29, align 8, !tbaa !5
  br label %50

35:                                               ; preds = %4
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %39

37:                                               ; preds = %21
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  br label %39

39:                                               ; preds = %37, %35
  %.pn = phi { ptr, i32 } [ %38, %37 ], [ %36, %35 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  br label %82

40:                                               ; preds = %22
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %44

42:                                               ; preds = %24
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  br label %44

44:                                               ; preds = %42, %40
  %.pn28 = phi { ptr, i32 } [ %43, %42 ], [ %41, %40 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  br label %82

45:                                               ; preds = %25
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %49

47:                                               ; preds = %27
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  br label %49

49:                                               ; preds = %47, %45
  %.pn30 = phi { ptr, i32 } [ %48, %47 ], [ %46, %45 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #4
  br label %82

50:                                               ; preds = %34, %28
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef @.str.3) #4
  %51 = load i64, ptr %12, align 8
  %52 = getelementptr inbounds i8, ptr %12, i64 8
  %53 = load ptr, ptr %52, align 8
  %54 = call noundef zeroext i1 @_ZNK4dali6OpSpec15ArgumentDefinedESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %1, i64 %51, ptr %53)
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.7) #4
  %55 = load i64, ptr %13, align 8
  %56 = getelementptr inbounds i8, ptr %13, i64 8
  %57 = load ptr, ptr %56, align 8
  %58 = call noundef zeroext i1 @_ZNK4dali6OpSpec15ArgumentDefinedESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %1, i64 %55, ptr %57)
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.5) #4
  %59 = load i64, ptr %14, align 8
  %60 = getelementptr inbounds i8, ptr %14, i64 8
  %61 = load ptr, ptr %60, align 8
  %62 = call noundef zeroext i1 @_ZNK4dali6OpSpec15ArgumentDefinedESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %1, i64 %59, ptr %61)
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef @.str.9) #4
  %63 = load i64, ptr %15, align 8
  %64 = getelementptr inbounds i8, ptr %15, i64 8
  %65 = load ptr, ptr %64, align 8
  %66 = call noundef zeroext i1 @_ZNK4dali6OpSpec15ArgumentDefinedESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %1, i64 %63, ptr %65)
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef @.str.9) #4
  %67 = load i64, ptr %16, align 8
  %68 = getelementptr inbounds i8, ptr %16, i64 8
  %69 = load ptr, ptr %68, align 8
  %70 = call noundef zeroext i1 @_ZNK4dali6OpSpec11GetArgumentIbEET_St17basic_string_viewIcSt11char_traitsIcEEPKNS_17ArgumentWorkspaceEl(ptr noundef nonnull align 8 dereferenceable(328) %1, i64 %67, ptr %69, ptr noundef null, i64 noundef 0)
  %71 = getelementptr inbounds i8, ptr %0, i64 124
  %72 = zext i1 %70 to i8
  store i8 %72, ptr %71, align 4, !tbaa !20
  %73 = sext i32 %3 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #4
  store i8 2, ptr %17, align 1, !tbaa !21
  call void @_ZNSt6vectorIN4dali7kernels20ResamplingFilterTypeESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %73, ptr noundef nonnull align 1 dereferenceable(1) %17)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #4
  %74 = getelementptr inbounds i8, ptr %0, i64 24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #4
  store i8 1, ptr %18, align 1, !tbaa !21
  call void @_ZNSt6vectorIN4dali7kernels20ResamplingFilterTypeESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %73, ptr noundef nonnull align 1 dereferenceable(1) %18)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #4
  br i1 %58, label %76, label %75

75:                                               ; preds = %50
  br i1 %54, label %.thread34, label %.thread

76:                                               ; preds = %50
  %77 = load i8, ptr %71, align 4, !tbaa !20, !range !23, !noundef !24
  %78 = trunc nuw i8 %77 to i1
  call void @"_ZZN4dali20ResamplingFilterAttr19PrepareFilterParamsERKNS_6OpSpecERKNS_17ArgumentWorkspaceEiENK3$_0clISt6vectorINS_7kernels20ResamplingFilterTypeESaISB_EES9_INS_14DALIInterpTypeESaISE_EEEEDaRT_RT0_b"(ptr noundef nonnull align 1 dereferenceable(1) %19, ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %23, i1 noundef zeroext %78)
  br i1 %62, label %.thread33.sink.split, label %81

.thread34:                                        ; preds = %75
  %79 = load i8, ptr %71, align 4, !tbaa !20, !range !23, !noundef !24
  %80 = trunc nuw i8 %79 to i1
  call void @"_ZZN4dali20ResamplingFilterAttr19PrepareFilterParamsERKNS_6OpSpecERKNS_17ArgumentWorkspaceEiENK3$_0clISt6vectorINS_7kernels20ResamplingFilterTypeESaISB_EES9_INS_14DALIInterpTypeESaISE_EEEEDaRT_RT0_b"(ptr noundef nonnull align 1 dereferenceable(1) %19, ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %20, i1 noundef zeroext %80)
  br i1 %62, label %.thread33.sink.split, label %.thread35

.thread:                                          ; preds = %75
  br i1 %62, label %.thread33.sink.split, label %.thread33

81:                                               ; preds = %76
  br i1 %54, label %.thread35, label %.thread33

.thread35:                                        ; preds = %.thread34, %81
  br label %.thread33.sink.split

.thread33.sink.split:                             ; preds = %76, %.thread, %.thread34, %.thread35
  %.sink = phi ptr [ %20, %.thread35 ], [ %26, %.thread34 ], [ %26, %.thread ], [ %26, %76 ]
  call void @"_ZZN4dali20ResamplingFilterAttr19PrepareFilterParamsERKNS_6OpSpecERKNS_17ArgumentWorkspaceEiENK3$_0clISt6vectorINS_7kernels20ResamplingFilterTypeESaISB_EES9_INS_14DALIInterpTypeESaISE_EEEEDaRT_RT0_b"(ptr noundef nonnull align 1 dereferenceable(1) %19, ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 8 dereferenceable(24) %.sink, i1 noundef zeroext false)
  br label %.thread33

.thread33:                                        ; preds = %.thread33.sink.split, %.thread, %81
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #4
  ret void

82:                                               ; preds = %49, %44, %39
  %.pn30.pn = phi { ptr, i32 } [ %.pn30, %49 ], [ %.pn28, %44 ], [ %.pn, %39 ]
  resume { ptr, i32 } %.pn30.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali20GetPerSampleArgumentINS_14DALIInterpTypeEEEvRSt6vectorIT_SaIS3_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6OpSpecERKNS_17ArgumentWorkspaceEi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(328), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali6OpSpec14TryGetArgumentI13_DALIDataTypeEEbRT_St17basic_string_viewIcSt11char_traitsIcEEPKNS_17ArgumentWorkspaceEl(ptr noundef nonnull align 8 dereferenceable(328), ptr noundef nonnull align 4 dereferenceable(4), i64, ptr, ptr noundef, i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali6OpSpec15ArgumentDefinedESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328), i64, ptr) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali6OpSpec11GetArgumentIbEET_St17basic_string_viewIcSt11char_traitsIcEEPKNS_17ArgumentWorkspaceEl(ptr noundef nonnull align 8 dereferenceable(328), i64, ptr, ptr noundef, i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN4dali7kernels20ResamplingFilterTypeESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN4dali20ResamplingFilterAttr19PrepareFilterParamsERKNS_6OpSpecERKNS_17ArgumentWorkspaceEiENK3$_0clISt6vectorINS_7kernels20ResamplingFilterTypeESaISB_EES9_INS_14DALIInterpTypeESaISE_EEEEDaRT_RT0_b"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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, !18, i64 120}
!6 = !{!"_ZTSN4dali20ResamplingFilterAttrE", !7, i64 0, !7, i64 24, !14, i64 48, !14, i64 72, !14, i64 96, !18, i64 120, !19, i64 124}
!7 = !{!"_ZTSSt6vectorIN4dali7kernels20ResamplingFilterTypeESaIS2_EE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseIN4dali7kernels20ResamplingFilterTypeESaIS2_EE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseIN4dali7kernels20ResamplingFilterTypeESaIS2_EE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseIN4dali7kernels20ResamplingFilterTypeESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSSt6vectorIN4dali14DALIInterpTypeESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN4dali14DALIInterpTypeESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN4dali14DALIInterpTypeESaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN4dali14DALIInterpTypeESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!18 = !{!"_ZTS13_DALIDataType", !12, i64 0}
!19 = !{!"bool", !12, i64 0}
!20 = !{!6, !19, i64 124}
!21 = !{!22, !22, i64 0}
!22 = !{!"_ZTSN4dali7kernels20ResamplingFilterTypeE", !12, i64 0}
!23 = !{i8 0, i8 2}
!24 = !{}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass