; LLVM IR from NVIDIA/DALI :: dali/operators/util/axis_args.ll (ZN4dali8AxisArgsC2ERKNS_6OpSpecEPKcS5_j)

; 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::basic_string_view" = type { i64, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.5 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.5 = type { i64, [8 x i8] }
%"class.std::allocator.2" = type { i8 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.dali::AxisArgs" = type { i32, %"class.std::unique_ptr", i8, i8, %"class.dali::TensorLayout", %"class.dali::SmallVector", %"struct.dali::TensorListShape" }
%"class.dali::TensorLayout" = type { [16 x i8] }
%"class.dali::SmallVector" = type { %union.anon, i64 }
%union.anon = type { %struct.anon, [8 x i8] }
%struct.anon = type { ptr, i64 }
%"struct.dali::TensorListShape" = type { %"struct.dali::TensorListShapeBase.base", [4 x i8] }
%"struct.dali::TensorListShapeBase.base" = type <{ %"class.std::vector", i32 }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [84 x i8], align 1
@_ZTIN4dali13DALIExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.4 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [84 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali8AxisArgsC2ERKNS_6OpSpecEPKcS5_j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 8 dereferenceable(328) %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  %14 = alloca %"class.std::basic_string_view", align 8
  %15 = alloca i8, align 1
  %16 = alloca %"class.std::basic_string_view", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.2", align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca i1, align 1
  %23 = alloca %"class.std::unique_ptr", align 8
  %24 = alloca %"class.std::basic_string_view", align 8
  %25 = alloca i8, align 1
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator.2", align 1
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca i1, align 1
  %31 = alloca %"class.std::basic_string_view", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator.2", align 1
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca i1, align 1
  %38 = alloca %"class.std::basic_string_view", align 8
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %"class.std::allocator.2", align 1
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca i1, align 1
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  %45 = load ptr, ptr %6, align 8
  %46 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 0
  %47 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %47, ptr %46, align 8, !tbaa !11
  %48 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 1
  call void @_ZNSt10unique_ptrIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #5
  %49 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 2
  store i8 0, ptr %49, align 8, !tbaa !29
  %50 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 3
  store i8 0, ptr %50, align 1, !tbaa !30
  %51 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 4
  invoke void @_ZN4dali12TensorLayoutC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %51)
          to label %52 unwind label %96

52:                                               ; preds = %5
  %53 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 5
  invoke void @_ZN4dali11SmallVectorIiLm6ESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %54 unwind label %96

54:                                               ; preds = %52
  %55 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 6
  call void @_ZN4dali15TensorListShapeILi1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %55) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = icmp ne ptr %56, null
  br i1 %57, label %58, label %67

58:                                               ; preds = %54
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %60) #5
  %61 = getelementptr inbounds { i64, ptr }, ptr %14, i32 0, i32 0
  %62 = load i64, ptr %61, align 8
  %63 = getelementptr inbounds { i64, ptr }, ptr %14, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8
  %65 = invoke noundef zeroext i1 @_ZNK4dali6OpSpec15ArgumentDefinedESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %59, i64 %62, ptr %64)
          to label %66 unwind label %100

66:                                               ; preds = %58
  br label %67

67:                                               ; preds = %66, %54
  %68 = phi i1 [ false, %54 ], [ %65, %66 ]
  %69 = zext i1 %68 to i8
  store i8 %69, ptr %13, align 1, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %81

72:                                               ; preds = %67
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %74) #5
  %75 = getelementptr inbounds { i64, ptr }, ptr %16, i32 0, i32 0
  %76 = load i64, ptr %75, align 8
  %77 = getelementptr inbounds { i64, ptr }, ptr %16, i32 0, i32 1
  %78 = load ptr, ptr %77, align 8
  %79 = invoke noundef zeroext i1 @_ZNK4dali6OpSpec11HasArgumentESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %73, i64 %76, ptr %78)
          to label %80 unwind label %104

80:                                               ; preds = %72
  br label %81

81:                                               ; preds = %80, %67
  %82 = phi i1 [ false, %67 ], [ %79, %80 ]
  %83 = zext i1 %82 to i8
  store i8 %83, ptr %15, align 1, !tbaa !31
  %84 = load i8, ptr %13, align 1, !tbaa !31, !range !32, !noundef !33
  %85 = trunc i8 %84 to i1
  br i1 %85, label %86, label %135

86:                                               ; preds = %81
  %87 = load i8, ptr %15, align 1, !tbaa !31, !range !32, !noundef !33
  %88 = trunc i8 %87 to i1
  br i1 %88, label %89, label %135

89:                                               ; preds = %86
  store i1 true, ptr %22, align 1
  %90 = call ptr @__cxa_allocate_exception(i64 80) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #5
  invoke void @_ZN4dali11make_stringIJA2_cPKcA8_cS3_A25_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 1 dereferenceable(2) @.str, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 1 dereferenceable(8) @.str.1, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 1 dereferenceable(25) @.str.2)
          to label %91 unwind label %108

91:                                               ; preds = %89
  invoke void @_ZN4dali11make_stringIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEES6_DpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %92 unwind label %112

92:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %93 unwind label %116

93:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #5
  invoke void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21)
          to label %94 unwind label %120

94:                                               ; preds = %93
  invoke void @_ZN4dali13DALIExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S8_(ptr noundef nonnull align 8 dereferenceable(80) %90, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef %19, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %95 unwind label %124

95:                                               ; preds = %94
  store i1 false, ptr %22, align 1
  invoke void @__cxa_throw(ptr %90, ptr @_ZTIN4dali13DALIExceptionE, ptr @_ZN4dali13DALIExceptionD2Ev) #6
          to label %346 unwind label %124

96:                                               ; preds = %52, %5
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %11, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %12, align 4
  br label %340

100:                                              ; preds = %58
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %11, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %12, align 4
  br label %339

104:                                              ; preds = %150, %72
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %11, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %12, align 4
  br label %338

108:                                              ; preds = %89
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %11, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %12, align 4
  br label %131

112:                                              ; preds = %91
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %11, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %12, align 4
  br label %130

116:                                              ; preds = %92
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %11, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %12, align 4
  br label %129

120:                                              ; preds = %93
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %11, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %12, align 4
  br label %128

124:                                              ; preds = %95, %94
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %11, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  br label %128

128:                                              ; preds = %124, %120
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  br label %129

129:                                              ; preds = %128, %116
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %130

130:                                              ; preds = %129, %112
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  br label %131

131:                                              ; preds = %130, %108
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  %132 = load i1, ptr %22, align 1
  br i1 %132, label %133, label %134

133:                                              ; preds = %131
  call void @__cxa_free_exception(ptr %90) #5
  br label %134

134:                                              ; preds = %133, %131
  br label %338

135:                                              ; preds = %86, %81
  %136 = load ptr, ptr %8, align 8, !tbaa !5
  %137 = icmp ne ptr %136, null
  br i1 %137, label %138, label %147

138:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZSt11make_uniqueIN4dali8ArgValueIiLi1EEEJRPKcRKNS0_6OpSpecEEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::unique_ptr") align 8 %23, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(328) %139)
          to label %140 unwind label %143

140:                                              ; preds = %138
  %141 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 1
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EEaSEOS5_(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  call void @_ZNSt10unique_ptrIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %147

143:                                              ; preds = %138
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %11, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %338

147:                                              ; preds = %140, %135
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  %149 = icmp ne ptr %148, null
  br i1 %149, label %150, label %159

150:                                              ; preds = %147
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef %152) #5
  %153 = getelementptr inbounds { i64, ptr }, ptr %24, i32 0, i32 0
  %154 = load i64, ptr %153, align 8
  %155 = getelementptr inbounds { i64, ptr }, ptr %24, i32 0, i32 1
  %156 = load ptr, ptr %155, align 8
  %157 = invoke noundef zeroext i1 @_ZNK4dali6OpSpec17HasTensorArgumentESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %151, i64 %154, ptr %156)
          to label %158 unwind label %104

158:                                              ; preds = %150
  br label %159

159:                                              ; preds = %158, %147
  %160 = phi i1 [ false, %147 ], [ %157, %158 ]
  %161 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 3
  %162 = zext i1 %160 to i8
  store i8 %162, ptr %161, align 1, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #5
  %163 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 0
  %164 = load i32, ptr %163, align 8, !tbaa !11
  %165 = and i32 %164, 1
  %166 = icmp ne i32 %165, 0
  %167 = zext i1 %166 to i8
  store i8 %167, ptr %25, align 1, !tbaa !31
  %168 = load i8, ptr %25, align 1, !tbaa !31, !range !32, !noundef !33
  %169 = trunc i8 %168 to i1
  br i1 %169, label %204, label %170

170:                                              ; preds = %159
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = icmp ne ptr %171, null
  br i1 %172, label %204, label %173

173:                                              ; preds = %170
  %174 = load ptr, ptr %9, align 8, !tbaa !5
  %175 = icmp ne ptr %174, null
  br i1 %175, label %204, label %176

176:                                              ; preds = %173
  store i1 true, ptr %30, align 1
  %177 = call ptr @__cxa_allocate_exception(i64 80) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #5
  invoke void @_ZN4dali11make_stringIJA69_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %26, ptr noundef nonnull align 1 dereferenceable(69) @.str.4)
          to label %178 unwind label %182

178:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %179 unwind label %186

179:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #5
  invoke void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %29)
          to label %180 unwind label %190

180:                                              ; preds = %179
  invoke void @_ZN4dali13DALIExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S8_(ptr noundef nonnull align 8 dereferenceable(80) %177, ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef %27, ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %181 unwind label %194

181:                                              ; preds = %180
  store i1 false, ptr %30, align 1
  invoke void @__cxa_throw(ptr %177, ptr @_ZTIN4dali13DALIExceptionE, ptr @_ZN4dali13DALIExceptionD2Ev) #6
          to label %346 unwind label %194

182:                                              ; preds = %176
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %11, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %12, align 4
  br label %200

186:                                              ; preds = %178
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %11, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %12, align 4
  br label %199

190:                                              ; preds = %179
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %11, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %12, align 4
  br label %198

194:                                              ; preds = %181, %180
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %11, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #5
  br label %198

198:                                              ; preds = %194, %190
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #5
  br label %199

199:                                              ; preds = %198, %186
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #5
  br label %200

200:                                              ; preds = %199, %182
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #5
  %201 = load i1, ptr %30, align 1
  br i1 %201, label %202, label %203

202:                                              ; preds = %200
  call void @__cxa_free_exception(ptr %177) #5
  br label %203

203:                                              ; preds = %202, %200
  br label %337

204:                                              ; preds = %173, %170, %159
  %205 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 3
  %206 = load i8, ptr %205, align 1, !tbaa !30, !range !32, !noundef !33
  %207 = trunc i8 %206 to i1
  br i1 %207, label %336, label %208

208:                                              ; preds = %204
  %209 = load i8, ptr %15, align 1, !tbaa !31, !range !32, !noundef !33
  %210 = trunc i8 %209 to i1
  br i1 %210, label %214, label %211

211:                                              ; preds = %208
  %212 = load i8, ptr %13, align 1, !tbaa !31, !range !32, !noundef !33
  %213 = trunc i8 %212 to i1
  br i1 %213, label %277, label %214

214:                                              ; preds = %211, %208
  %215 = load ptr, ptr %9, align 8, !tbaa !5
  %216 = icmp ne ptr %215, null
  br i1 %216, label %217, label %277

217:                                              ; preds = %214
  %218 = load ptr, ptr %7, align 8, !tbaa !5
  %219 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 4
  %220 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef %220) #5
  %221 = getelementptr inbounds { i64, ptr }, ptr %31, i32 0, i32 0
  %222 = load i64, ptr %221, align 8
  %223 = getelementptr inbounds { i64, ptr }, ptr %31, i32 0, i32 1
  %224 = load ptr, ptr %223, align 8
  %225 = invoke noundef zeroext i1 @_ZNK4dali6OpSpec14TryGetArgumentINS_12TensorLayoutEEEbRT_St17basic_string_viewIcSt11char_traitsIcEEPKNS_17ArgumentWorkspaceEl(ptr noundef nonnull align 8 dereferenceable(328) %218, ptr noundef nonnull align 1 dereferenceable(16) %219, i64 %222, ptr %224, ptr noundef null, i64 noundef 0)
          to label %226 unwind label %245

226:                                              ; preds = %217
  %227 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 2
  %228 = zext i1 %225 to i8
  store i8 %228, ptr %227, align 8, !tbaa !29
  %229 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 2
  %230 = load i8, ptr %229, align 8, !tbaa !29, !range !32, !noundef !33
  %231 = trunc i8 %230 to i1
  br i1 %231, label %232, label %276

232:                                              ; preds = %226
  %233 = load i8, ptr %25, align 1, !tbaa !31, !range !32, !noundef !33
  %234 = trunc i8 %233 to i1
  br i1 %234, label %276, label %235

235:                                              ; preds = %232
  %236 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 4
  %237 = call noundef zeroext i1 @_ZNK4dali12TensorLayout5emptyEv(ptr noundef nonnull align 1 dereferenceable(16) %236) #5
  br i1 %237, label %238, label %276

238:                                              ; preds = %235
  store i1 true, ptr %37, align 1
  %239 = call ptr @__cxa_allocate_exception(i64 80) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #5
  invoke void @_ZN4dali11make_stringIJA45_cPKcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %33, ptr noundef nonnull align 1 dereferenceable(45) @.str.6, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %240 unwind label %249

240:                                              ; preds = %238
  invoke void @_ZN4dali11make_stringIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEES6_DpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %241 unwind label %253

241:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %242 unwind label %257

242:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #5
  invoke void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %36)
          to label %243 unwind label %261

243:                                              ; preds = %242
  invoke void @_ZN4dali13DALIExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S8_(ptr noundef nonnull align 8 dereferenceable(80) %239, ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef %34, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %244 unwind label %265

244:                                              ; preds = %243
  store i1 false, ptr %37, align 1
  invoke void @__cxa_throw(ptr %239, ptr @_ZTIN4dali13DALIExceptionE, ptr @_ZN4dali13DALIExceptionD2Ev) #6
          to label %346 unwind label %265

245:                                              ; preds = %296, %284, %217
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %11, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %12, align 4
  br label %337

249:                                              ; preds = %238
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %11, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %12, align 4
  br label %272

253:                                              ; preds = %240
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %11, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %12, align 4
  br label %271

257:                                              ; preds = %241
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %11, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %12, align 4
  br label %270

261:                                              ; preds = %242
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %11, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %12, align 4
  br label %269

265:                                              ; preds = %244, %243
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %11, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #5
  br label %269

269:                                              ; preds = %265, %261
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #5
  br label %270

270:                                              ; preds = %269, %257
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #5
  br label %271

271:                                              ; preds = %270, %253
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #5
  br label %272

272:                                              ; preds = %271, %249
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #5
  %273 = load i1, ptr %37, align 1
  br i1 %273, label %274, label %275

274:                                              ; preds = %272
  call void @__cxa_free_exception(ptr %239) #5
  br label %275

275:                                              ; preds = %274, %272
  br label %337

276:                                              ; preds = %235, %232, %226
  br label %277

277:                                              ; preds = %276, %214, %211
  %278 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 2
  %279 = load i8, ptr %278, align 8, !tbaa !29, !range !32, !noundef !33
  %280 = trunc i8 %279 to i1
  br i1 %280, label %335, label %281

281:                                              ; preds = %277
  %282 = load ptr, ptr %8, align 8, !tbaa !5
  %283 = icmp ne ptr %282, null
  br i1 %283, label %284, label %335

284:                                              ; preds = %281
  %285 = load ptr, ptr %7, align 8, !tbaa !5
  %286 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 5
  %287 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef %287) #5
  %288 = getelementptr inbounds { i64, ptr }, ptr %38, i32 0, i32 0
  %289 = load i64, ptr %288, align 8
  %290 = getelementptr inbounds { i64, ptr }, ptr %38, i32 0, i32 1
  %291 = load ptr, ptr %290, align 8
  %292 = invoke noundef zeroext i1 @_ZNK4dali6OpSpec22TryGetRepeatedArgumentINS_11SmallVectorIiLm6ESaIiEEEEEbRT_St17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %285, ptr noundef nonnull align 8 dereferenceable(32) %286, i64 %289, ptr %291)
          to label %293 unwind label %245

293:                                              ; preds = %284
  %294 = load i8, ptr %25, align 1, !tbaa !31, !range !32, !noundef !33
  %295 = trunc i8 %294 to i1
  br i1 %295, label %334, label %296

296:                                              ; preds = %293
  %297 = getelementptr inbounds %"class.dali::AxisArgs", ptr %45, i32 0, i32 5
  %298 = invoke noundef zeroext i1 @_ZNK4dali11SmallVectorIiLm6ESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %297)
          to label %299 unwind label %245

299:                                              ; preds = %296
  br i1 %298, label %300, label %334

300:                                              ; preds = %299
  store i1 true, ptr %44, align 1
  %301 = call ptr @__cxa_allocate_exception(i64 80) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #5
  invoke void @_ZN4dali11make_stringIJA45_cPKcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %40, ptr noundef nonnull align 1 dereferenceable(45) @.str.6, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %302 unwind label %307

302:                                              ; preds = %300
  invoke void @_ZN4dali11make_stringIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEES6_DpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %39, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %303 unwind label %311

303:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %304 unwind label %315

304:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #5
  invoke void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %43)
          to label %305 unwind label %319

305:                                              ; preds = %304
  invoke void @_ZN4dali13DALIExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S8_(ptr noundef nonnull align 8 dereferenceable(80) %301, ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef %41, ptr noundef nonnull align 8 dereferenceable(32) %43)
          to label %306 unwind label %323

306:                                              ; preds = %305
  store i1 false, ptr %44, align 1
  invoke void @__cxa_throw(ptr %301, ptr @_ZTIN4dali13DALIExceptionE, ptr @_ZN4dali13DALIExceptionD2Ev) #6
          to label %346 unwind label %323

307:                                              ; preds = %300
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %11, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %12, align 4
  br label %330

311:                                              ; preds = %302
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %11, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %12, align 4
  br label %329

315:                                              ; preds = %303
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %11, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %12, align 4
  br label %328

319:                                              ; preds = %304
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %11, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %12, align 4
  br label %327

323:                                              ; preds = %306, %305
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %11, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #5
  br label %327

327:                                              ; preds = %323, %319
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #5
  br label %328

328:                                              ; preds = %327, %315
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #5
  br label %329

329:                                              ; preds = %328, %311
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #5
  br label %330

330:                                              ; preds = %329, %307
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #5
  %331 = load i1, ptr %44, align 1
  br i1 %331, label %332, label %333

332:                                              ; preds = %330
  call void @__cxa_free_exception(ptr %301) #5
  br label %333

333:                                              ; preds = %332, %330
  br label %337

334:                                              ; preds = %299, %293
  br label %335

335:                                              ; preds = %334, %281, %277
  br label %336

336:                                              ; preds = %335, %204
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  ret void

337:                                              ; preds = %333, %275, %245, %203
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  br label %338

338:                                              ; preds = %337, %143, %134, %104
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  br label %339

339:                                              ; preds = %338, %100
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  call void @_ZN4dali19TensorListShapeBaseINS_15TensorListShapeILi1EEELi1EED2Ev(ptr noundef nonnull align 8 dereferenceable(28) %55) #5
  call void @_ZN4dali11SmallVectorIiLm6ESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #5
  br label %340

340:                                              ; preds = %339, %96
  call void @_ZNSt10unique_ptrIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #5
  br label %341

341:                                              ; preds = %340
  %342 = load ptr, ptr %11, align 8
  %343 = load i32, ptr %12, align 4
  %344 = insertvalue { ptr, i32 } poison, ptr %342, 0
  %345 = insertvalue { ptr, i32 } %344, i32 %343, 1
  resume { ptr, i32 } %345

346:                                              ; preds = %306, %244, %181, %95
  unreachable
}

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; 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 #1 align 2

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

declare ptr @__cxa_allocate_exception(i64)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali11make_stringIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEES6_DpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali11make_stringIJA2_cPKcA8_cS3_A25_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(2), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(25)) #0

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8) #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4dali13DALIExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #4 align 2

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

declare void @__cxa_free_exception(ptr)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIN4dali8ArgValueIiLi1EEEJRPKcRKNS0_6OpSpecEEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(328)) #3

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali11make_stringIJA69_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(69)) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali11make_stringIJA45_cPKcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(45), ptr noundef nonnull align 8 dereferenceable(8)) #0

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali11SmallVectorIiLm6ESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4dali19TensorListShapeBaseINS_15TensorListShapeILi1EEELi1EED2Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #4 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN4dali8AxisArgsE", !10, i64 0, !13, i64 8, !19, i64 16, !19, i64 17, !20, i64 18, !21, i64 40, !23, i64 72}
!13 = !{!"_ZTSSt10unique_ptrIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_ELb1ELb1EE", !15, i64 0}
!15 = !{!"_ZTSSt15__uniq_ptr_implIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EE", !16, i64 0}
!16 = !{!"_ZTSSt5tupleIJPN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EEE", !17, i64 0}
!17 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EEE", !18, i64 0}
!18 = !{!"_ZTSSt10_Head_baseILm0EPN4dali8ArgValueIiLi1EEELb0EE", !6, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSN4dali12TensorLayoutE", !7, i64 0}
!21 = !{!"_ZTSN4dali11SmallVectorIiLm6ESaIiEEE", !7, i64 0, !22, i64 24}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTSN4dali15TensorListShapeILi1EEE", !24, i64 0}
!24 = !{!"_ZTSN4dali19TensorListShapeBaseINS_15TensorListShapeILi1EEELi1EEE", !25, i64 0, !10, i64 24}
!25 = !{!"_ZTSSt6vectorIlSaIlEE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!12, !19, i64 16}
!30 = !{!12, !19, i64 17}
!31 = !{!19, !19, i64 0}
!32 = !{i8 0, i8 2}
!33 = !{}


; 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::basic_string_view" = type { i64, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.5 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.5 = type { i64, [8 x i8] }
%"class.std::allocator.2" = type { i8 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [84 x i8], align 1
@_ZTIN4dali13DALIExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.4 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [84 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali8AxisArgsC2ERKNS_6OpSpecEPKcS5_j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 8 dereferenceable(328) %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.std::basic_string_view", align 8
  %9 = alloca %"class.std::basic_string_view", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator.2", align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::unique_ptr", align 8
  %16 = alloca %"class.std::basic_string_view", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.2", align 1
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::basic_string_view", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.2", align 1
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::basic_string_view", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator.2", align 1
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %2, ptr %6, align 8, !tbaa !5
  store ptr %3, ptr %7, align 8, !tbaa !5
  store i32 %4, ptr %0, align 8, !tbaa !9
  %33 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZNSt10unique_ptrIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  %34 = getelementptr inbounds i8, ptr %0, i64 16
  store i8 0, ptr %34, align 8, !tbaa !28
  %35 = getelementptr inbounds i8, ptr %0, i64 17
  store i8 0, ptr %35, align 1, !tbaa !29
  %36 = getelementptr inbounds i8, ptr %0, i64 18
  invoke void @_ZN4dali12TensorLayoutC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %36)
          to label %37 unwind label %61

37:                                               ; preds = %5
  %38 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZN4dali11SmallVectorIiLm6ESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38)
  %39 = getelementptr inbounds i8, ptr %0, i64 72
  tail call void @_ZN4dali15TensorListShapeILi1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %39) #5
  %.not71 = icmp eq ptr %2, null
  br i1 %.not71, label %45, label %40

40:                                               ; preds = %37
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef %2) #5
  %41 = load i64, ptr %8, align 8
  %42 = getelementptr inbounds i8, ptr %8, i64 8
  %43 = load ptr, ptr %42, align 8
  %44 = invoke noundef zeroext i1 @_ZNK4dali6OpSpec15ArgumentDefinedESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %1, i64 %41, ptr %43)
          to label %._crit_edge unwind label %63

._crit_edge:                                      ; preds = %40
  %.pre = load ptr, ptr %7, align 8, !tbaa !5
  br label %45

45:                                               ; preds = %._crit_edge, %37
  %46 = phi ptr [ %3, %37 ], [ %.pre, %._crit_edge ]
  %47 = phi i1 [ false, %37 ], [ %44, %._crit_edge ]
  %.not72 = icmp eq ptr %46, null
  br i1 %.not72, label %.thread, label %48

48:                                               ; preds = %45
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef %46) #5
  %49 = load i64, ptr %9, align 8
  %50 = getelementptr inbounds i8, ptr %9, i64 8
  %51 = load ptr, ptr %50, align 8
  %52 = invoke noundef zeroext i1 @_ZNK4dali6OpSpec11HasArgumentESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %1, i64 %49, ptr %51)
          to label %53 unwind label %65

53:                                               ; preds = %48
  %brmerge.not = and i1 %47, %52
  br i1 %brmerge.not, label %54, label %.thread

54:                                               ; preds = %53
  %55 = call ptr @__cxa_allocate_exception(i64 80) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  invoke void @_ZN4dali11make_stringIJA2_cPKcA8_cS3_A25_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 1 dereferenceable(2) @.str, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 1 dereferenceable(8) @.str.1, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 1 dereferenceable(25) @.str.2)
          to label %56 unwind label %.thread106

56:                                               ; preds = %54
  invoke void @_ZN4dali11make_stringIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEES6_DpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %57 unwind label %.thread110

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %58 unwind label %69

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #5
  invoke void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14)
          to label %59 unwind label %71

59:                                               ; preds = %58
  invoke void @_ZN4dali13DALIExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S8_(ptr noundef nonnull align 8 dereferenceable(80) %55, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull %12, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %60 unwind label %73

60:                                               ; preds = %59
  invoke void @__cxa_throw(ptr nonnull %55, ptr nonnull @_ZTIN4dali13DALIExceptionE, ptr nonnull @_ZN4dali13DALIExceptionD2Ev) #6
          to label %183 unwind label %73

61:                                               ; preds = %5
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %182

63:                                               ; preds = %40
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %181

65:                                               ; preds = %85, %48
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %181

.thread106:                                       ; preds = %54
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  br label %77

.thread110:                                       ; preds = %56
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  br label %77

69:                                               ; preds = %57
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %76

71:                                               ; preds = %58
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %75

73:                                               ; preds = %60, %59
  %.043 = phi i1 [ false, %60 ], [ true, %59 ]
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  br label %75

75:                                               ; preds = %73, %71
  %.pn90 = phi { ptr, i32 } [ %74, %73 ], [ %72, %71 ]
  %.144 = phi i1 [ %.043, %73 ], [ true, %71 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #5
  br label %76

76:                                               ; preds = %69, %75
  %.pn90.pn = phi { ptr, i32 } [ %.pn90, %75 ], [ %70, %69 ]
  %.245 = phi i1 [ %.144, %75 ], [ true, %69 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  br i1 %.245, label %77, label %181

77:                                               ; preds = %.thread110, %.thread106, %76
  %.pn90.pn.pn.pn109 = phi { ptr, i32 } [ %67, %.thread106 ], [ %.pn90.pn, %76 ], [ %68, %.thread110 ]
  call void @__cxa_free_exception(ptr %55) #5
  br label %181

.thread:                                          ; preds = %45, %53
  %78 = phi i1 [ %52, %53 ], [ false, %45 ]
  %.not98105 = xor i1 %47, true
  %79 = load ptr, ptr %6, align 8
  %.not73 = icmp eq ptr %79, null
  br i1 %.not73, label %.thread113, label %80

80:                                               ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  invoke void @_ZSt11make_uniqueIN4dali8ArgValueIiLi1EEEJRPKcRKNS0_6OpSpecEEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr") align 8 %15, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(328) %1)
          to label %83 unwind label %81

81:                                               ; preds = %80
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %181

83:                                               ; preds = %80
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EEaSEOS5_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @_ZNSt10unique_ptrIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  %.pr = load ptr, ptr %6, align 8
  %.not74 = icmp eq ptr %.pr, null
  br i1 %.not74, label %.thread113, label %85

85:                                               ; preds = %83
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %.pr) #5
  %86 = load i64, ptr %16, align 8
  %87 = getelementptr inbounds i8, ptr %16, i64 8
  %88 = load ptr, ptr %87, align 8
  %89 = invoke noundef zeroext i1 @_ZNK4dali6OpSpec17HasTensorArgumentESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %1, i64 %86, ptr %88)
          to label %..thread113_crit_edge unwind label %65

..thread113_crit_edge:                            ; preds = %85
  %.pre133 = load ptr, ptr %6, align 8
  br label %.thread113

.thread113:                                       ; preds = %..thread113_crit_edge, %.thread, %83
  %90 = phi ptr [ null, %83 ], [ %.pre133, %..thread113_crit_edge ], [ null, %.thread ]
  %91 = phi i1 [ false, %83 ], [ %89, %..thread113_crit_edge ], [ false, %.thread ]
  %92 = zext i1 %91 to i8
  store i8 %92, ptr %35, align 1, !tbaa !29
  %93 = load i32, ptr %0, align 8, !tbaa !9
  %94 = and i32 %93, 1
  %95 = icmp ne i32 %94, 0
  %96 = icmp ne ptr %90, null
  %or.cond = select i1 %95, i1 true, i1 %96
  %97 = load ptr, ptr %7, align 8
  %98 = icmp ne ptr %97, null
  %or.cond3 = select i1 %or.cond, i1 true, i1 %98
  br i1 %or.cond3, label %115, label %99

99:                                               ; preds = %.thread113
  %100 = call ptr @__cxa_allocate_exception(i64 80) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #5
  invoke void @_ZN4dali11make_stringIJA69_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 1 dereferenceable(69) @.str.4)
          to label %101 unwind label %.thread115

101:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %102 unwind label %106

102:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #5
  invoke void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %20)
          to label %103 unwind label %108

103:                                              ; preds = %102
  invoke void @_ZN4dali13DALIExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S8_(ptr noundef nonnull align 8 dereferenceable(80) %100, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull %18, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %104 unwind label %110

104:                                              ; preds = %103
  invoke void @__cxa_throw(ptr nonnull %100, ptr nonnull @_ZTIN4dali13DALIExceptionE, ptr nonnull @_ZN4dali13DALIExceptionD2Ev) #6
          to label %183 unwind label %110

.thread115:                                       ; preds = %99
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #5
  br label %114

106:                                              ; preds = %101
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %113

108:                                              ; preds = %102
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %112

110:                                              ; preds = %104, %103
  %.034 = phi i1 [ false, %104 ], [ true, %103 ]
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #5
  br label %112

112:                                              ; preds = %110, %108
  %.pn = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ]
  %.135 = phi i1 [ %.034, %110 ], [ true, %108 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  br label %113

113:                                              ; preds = %106, %112
  %.pn.pn = phi { ptr, i32 } [ %.pn, %112 ], [ %107, %106 ]
  %.236 = phi i1 [ %.135, %112 ], [ true, %106 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #5
  br i1 %.236, label %114, label %181

114:                                              ; preds = %.thread115, %113
  %.pn.pn.pn118 = phi { ptr, i32 } [ %105, %.thread115 ], [ %.pn.pn, %113 ]
  call void @__cxa_free_exception(ptr %100) #5
  br label %181

115:                                              ; preds = %.thread113
  br i1 %91, label %180, label %116

116:                                              ; preds = %115
  br i1 %78, label %118, label %117

117:                                              ; preds = %116
  %or.cond5 = select i1 %.not98105, i1 %98, i1 false
  br i1 %or.cond5, label %119, label %148

118:                                              ; preds = %116
  br i1 %98, label %119, label %148

119:                                              ; preds = %117, %118
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef %97) #5
  %120 = load i64, ptr %21, align 8
  %121 = getelementptr inbounds i8, ptr %21, i64 8
  %122 = load ptr, ptr %121, align 8
  %123 = invoke noundef zeroext i1 @_ZNK4dali6OpSpec14TryGetArgumentINS_12TensorLayoutEEEbRT_St17basic_string_viewIcSt11char_traitsIcEEPKNS_17ArgumentWorkspaceEl(ptr noundef nonnull align 8 dereferenceable(328) %1, ptr noundef nonnull align 1 dereferenceable(16) %36, i64 %120, ptr %122, ptr noundef null, i64 noundef 0)
          to label %124 unwind label %135

124:                                              ; preds = %119
  %125 = zext i1 %123 to i8
  store i8 %125, ptr %34, align 8, !tbaa !28
  %.not100 = xor i1 %123, true
  %brmerge101 = or i1 %95, %.not100
  br i1 %brmerge101, label %148, label %126

126:                                              ; preds = %124
  %127 = call noundef zeroext i1 @_ZNK4dali12TensorLayout5emptyEv(ptr noundef nonnull align 1 dereferenceable(16) %36) #5
  br i1 %127, label %128, label %148

128:                                              ; preds = %126
  %129 = call ptr @__cxa_allocate_exception(i64 80) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #5
  invoke void @_ZN4dali11make_stringIJA45_cPKcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 1 dereferenceable(45) @.str.6, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %130 unwind label %.thread119

130:                                              ; preds = %128
  invoke void @_ZN4dali11make_stringIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEES6_DpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %22, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %131 unwind label %.thread123

131:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %132 unwind label %139

132:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #5
  invoke void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %26)
          to label %133 unwind label %141

133:                                              ; preds = %132
  invoke void @_ZN4dali13DALIExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S8_(ptr noundef nonnull align 8 dereferenceable(80) %129, ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull %24, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %134 unwind label %143

134:                                              ; preds = %133
  invoke void @__cxa_throw(ptr nonnull %129, ptr nonnull @_ZTIN4dali13DALIExceptionE, ptr nonnull @_ZN4dali13DALIExceptionD2Ev) #6
          to label %183 unwind label %143

135:                                              ; preds = %159, %153, %119
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %181

.thread119:                                       ; preds = %128
  %137 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #5
  br label %147

.thread123:                                       ; preds = %130
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #5
  br label %147

139:                                              ; preds = %131
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %146

141:                                              ; preds = %132
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %145

143:                                              ; preds = %134, %133
  %.029 = phi i1 [ false, %134 ], [ true, %133 ]
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #5
  br label %145

145:                                              ; preds = %143, %141
  %.pn78 = phi { ptr, i32 } [ %144, %143 ], [ %142, %141 ]
  %.130 = phi i1 [ %.029, %143 ], [ true, %141 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #5
  br label %146

146:                                              ; preds = %139, %145
  %.pn78.pn = phi { ptr, i32 } [ %.pn78, %145 ], [ %140, %139 ]
  %.231 = phi i1 [ %.130, %145 ], [ true, %139 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #5
  br i1 %.231, label %147, label %181

147:                                              ; preds = %.thread123, %.thread119, %146
  %.pn78.pn.pn.pn122 = phi { ptr, i32 } [ %137, %.thread119 ], [ %.pn78.pn, %146 ], [ %138, %.thread123 ]
  call void @__cxa_free_exception(ptr %129) #5
  br label %181

148:                                              ; preds = %124, %126, %118, %117
  %149 = load i8, ptr %34, align 8, !tbaa !28, !range !30, !noundef !31
  %150 = trunc nuw i8 %149 to i1
  %151 = load ptr, ptr %6, align 8
  %152 = icmp eq ptr %151, null
  %or.cond9.not = select i1 %150, i1 true, i1 %152
  br i1 %or.cond9.not, label %180, label %153

153:                                              ; preds = %148
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef %151) #5
  %154 = load i64, ptr %27, align 8
  %155 = getelementptr inbounds i8, ptr %27, i64 8
  %156 = load ptr, ptr %155, align 8
  %157 = invoke noundef zeroext i1 @_ZNK4dali6OpSpec22TryGetRepeatedArgumentINS_11SmallVectorIiLm6ESaIiEEEEEbRT_St17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(328) %1, ptr noundef nonnull align 8 dereferenceable(32) %38, i64 %154, ptr %156)
          to label %158 unwind label %135

158:                                              ; preds = %153
  br i1 %95, label %180, label %159

159:                                              ; preds = %158
  %160 = invoke noundef zeroext i1 @_ZNK4dali11SmallVectorIiLm6ESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %161 unwind label %135

161:                                              ; preds = %159
  br i1 %160, label %162, label %180

162:                                              ; preds = %161
  %163 = call ptr @__cxa_allocate_exception(i64 80) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #5
  invoke void @_ZN4dali11make_stringIJA45_cPKcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %29, ptr noundef nonnull align 1 dereferenceable(45) @.str.6, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %164 unwind label %.thread126

164:                                              ; preds = %162
  invoke void @_ZN4dali11make_stringIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEES6_DpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %28, ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %165 unwind label %.thread130

165:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %166 unwind label %171

166:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #5
  invoke void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %32)
          to label %167 unwind label %173

167:                                              ; preds = %166
  invoke void @_ZN4dali13DALIExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S8_(ptr noundef nonnull align 8 dereferenceable(80) %163, ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull %30, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %168 unwind label %175

168:                                              ; preds = %167
  invoke void @__cxa_throw(ptr nonnull %163, ptr nonnull @_ZTIN4dali13DALIExceptionE, ptr nonnull @_ZN4dali13DALIExceptionD2Ev) #6
          to label %183 unwind label %175

.thread126:                                       ; preds = %162
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #5
  br label %179

.thread130:                                       ; preds = %164
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #5
  br label %179

171:                                              ; preds = %165
  %172 = landingpad { ptr, i32 }
          cleanup
  br label %178

173:                                              ; preds = %166
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %177

175:                                              ; preds = %168, %167
  %.0 = phi i1 [ false, %168 ], [ true, %167 ]
  %176 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #5
  br label %177

177:                                              ; preds = %175, %173
  %.pn84 = phi { ptr, i32 } [ %176, %175 ], [ %174, %173 ]
  %.1 = phi i1 [ %.0, %175 ], [ true, %173 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #5
  br label %178

178:                                              ; preds = %171, %177
  %.pn84.pn = phi { ptr, i32 } [ %.pn84, %177 ], [ %172, %171 ]
  %.2 = phi i1 [ %.1, %177 ], [ true, %171 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #5
  br i1 %.2, label %179, label %181

179:                                              ; preds = %.thread130, %.thread126, %178
  %.pn84.pn.pn.pn129 = phi { ptr, i32 } [ %169, %.thread126 ], [ %.pn84.pn, %178 ], [ %170, %.thread130 ]
  call void @__cxa_free_exception(ptr %163) #5
  br label %181

180:                                              ; preds = %148, %161, %158, %115
  ret void

181:                                              ; preds = %65, %81, %77, %76, %178, %179, %146, %147, %113, %114, %135, %63
  %.pn90.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %64, %63 ], [ %.pn90.pn.pn.pn109, %77 ], [ %.pn90.pn, %76 ], [ %66, %65 ], [ %82, %81 ], [ %.pn84.pn.pn.pn129, %179 ], [ %.pn84.pn, %178 ], [ %136, %135 ], [ %.pn78.pn.pn.pn122, %147 ], [ %.pn78.pn, %146 ], [ %.pn.pn.pn118, %114 ], [ %.pn.pn, %113 ]
  call void @_ZN4dali19TensorListShapeBaseINS_15TensorListShapeILi1EEELi1EED2Ev(ptr noundef nonnull align 8 dereferenceable(28) %39) #5
  call void @_ZN4dali11SmallVectorIiLm6ESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #5
  br label %182

182:                                              ; preds = %181, %61
  %.pn90.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn.pn.pn, %181 ], [ %62, %61 ]
  call void @_ZNSt10unique_ptrIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  resume { ptr, i32 } %.pn90.pn.pn.pn.pn.pn.pn

183:                                              ; preds = %168, %134, %104, %60
  unreachable
}

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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 #0 align 2

; 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 #1 align 2

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali11make_stringIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEES6_DpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali11make_stringIJA2_cPKcA8_cS3_A25_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(2), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(25)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4dali13DALIExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #4 align 2

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

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

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIN4dali8ArgValueIiLi1EEEJRPKcRKNS0_6OpSpecEEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(328)) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali11make_stringIJA69_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(69)) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali11make_stringIJA45_cPKcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(45), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali11SmallVectorIiLm6ESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4dali19TensorListShapeBaseINS_15TensorListShapeILi1EEELi1EED2Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #4 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN4dali8AxisArgsE", !11, i64 0, !12, i64 8, !18, i64 16, !18, i64 17, !19, i64 18, !20, i64 40, !22, i64 72}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSSt10unique_ptrIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EE", !13, i64 0}
!13 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_ELb1ELb1EE", !14, i64 0}
!14 = !{!"_ZTSSt15__uniq_ptr_implIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt5tupleIJPN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EEE", !16, i64 0}
!16 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EEE", !17, i64 0}
!17 = !{!"_ZTSSt10_Head_baseILm0EPN4dali8ArgValueIiLi1EEELb0EE", !6, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSN4dali12TensorLayoutE", !7, i64 0}
!20 = !{!"_ZTSN4dali11SmallVectorIiLm6ESaIiEEE", !7, i64 0, !21, i64 24}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSN4dali15TensorListShapeILi1EEE", !23, i64 0}
!23 = !{!"_ZTSN4dali19TensorListShapeBaseINS_15TensorListShapeILi1EEELi1EEE", !24, i64 0, !11, i64 24}
!24 = !{!"_ZTSSt6vectorIlSaIlEE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!10, !18, i64 16}
!29 = !{!10, !18, i64 17}
!30 = !{i8 0, i8 2}
!31 = !{}


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