; LLVM IR from NVIDIA/DALI :: dali/pipeline/executor (source_info_propagation)

; 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.dali::SmallVector.41" = type { %union.anon.44, i64 }
%union.anon.44 = type { %struct.anon.45, [240 x i8] }
%struct.anon.45 = type { ptr, i64 }
%class.anon = type { ptr, ptr, ptr }
%"class.dali::CPUBackend" = type { i8 }
%"class.dali::GPUBackend" = type { i8 }
%"class.dali::SmallVector.46" = type { %union.anon.49, i64 }
%union.anon.49 = type { %struct.anon.50, [2032 x i8] }
%struct.anon.50 = type { ptr, i64 }
%class.anon.54 = type { ptr, ptr }

@.str = external hidden unnamed_addr constant [31 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [30 x i8], align 1
@__PRETTY_FUNCTION__._ZN4dali19PropagateSourceInfoERNS_9WorkspaceE = external hidden unnamed_addr constant [44 x i8], align 1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(664)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10CPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #2 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10GPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4dali19PropagateSourceInfoERNS_9WorkspaceE(ptr noundef nonnull align 8 dereferenceable(664) %0) #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.dali::SmallVector.41", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %class.anon, align 8
  %13 = alloca %"class.dali::CPUBackend", align 1
  %14 = alloca %"class.dali::GPUBackend", align 1
  %15 = alloca i32, align 4
  %16 = alloca %"class.dali::SmallVector.46", align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca %class.anon.54, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.dali::CPUBackend", align 1
  %24 = alloca %"class.dali::GPUBackend", align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE8NumInputEv(ptr noundef nonnull align 8 dereferenceable(664) %25)
  store i32 %26, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(664) %27)
  store i32 %28, ptr %5, align 4, !tbaa !9
  %29 = load i32, ptr %4, align 4, !tbaa !9
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %34, label %31

31:                                               ; preds = %1
  %32 = load i32, ptr %5, align 4, !tbaa !9
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %34, label %35

34:                                               ; preds = %31, %1
  store i1 false, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %247

35:                                               ; preds = %31
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = call noundef zeroext i1 @_ZN4dali12_GLOBAL__N_123OutputSourceInfoDefinedERNS_9WorkspaceE(ptr noundef nonnull align 8 dereferenceable(664) %36)
  br i1 %37, label %38, label %39

38:                                               ; preds = %35
  store i1 false, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %247

39:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 264, ptr %7) #6
  call void @_ZN4dali11SmallVectorISt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEELm8ESaISB_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(264) %7)
  %40 = load i32, ptr %4, align 4, !tbaa !9
  %41 = sext i32 %40 to i64
  invoke void @_ZN4dali11SmallVectorISt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEELm8ESaISB_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(264) %7, i64 noundef %41)
          to label %42 unwind label %48

42:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %43

43:                                               ; preds = %94, %42
  %44 = load i32, ptr %11, align 4, !tbaa !9
  %45 = load i32, ptr %4, align 4, !tbaa !9
  %46 = icmp slt i32 %44, %45
  br i1 %46, label %52, label %47

47:                                               ; preds = %43
  store i32 2, ptr %6, align 4
  br label %97

48:                                               ; preds = %39
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %8, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %9, align 4
  br label %246

52:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #6
  %53 = getelementptr inbounds %class.anon, ptr %12, i32 0, i32 0
  store ptr %11, ptr %53, align 8, !tbaa !5
  %54 = getelementptr inbounds %class.anon, ptr %12, i32 0, i32 1
  store ptr %10, ptr %54, align 8, !tbaa !5
  %55 = getelementptr inbounds %class.anon, ptr %12, i32 0, i32 2
  store ptr %7, ptr %55, align 8, !tbaa !5
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = load i32, ptr %11, align 4, !tbaa !9
  %58 = invoke noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE11InputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %56, i32 noundef %57)
          to label %59 unwind label %68

59:                                               ; preds = %52
  br i1 %58, label %60, label %73

60:                                               ; preds = %59
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = load i32, ptr %11, align 4, !tbaa !9
  %63 = invoke noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE5InputINS_10CPUBackendEEERKDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %61, i32 noundef %62)
          to label %64 unwind label %68

64:                                               ; preds = %60
  %65 = invoke noundef zeroext i1 @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_0clIKNS_10TensorListINS_10CPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(304) %63)
          to label %66 unwind label %68

66:                                               ; preds = %64
  br i1 %65, label %72, label %67

67:                                               ; preds = %66
  store i1 false, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %91

68:                                               ; preds = %85, %81, %73, %64, %60, %52
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %8, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %245

72:                                               ; preds = %66
  br label %90

73:                                               ; preds = %59
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = invoke noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE11InputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %74, i32 noundef %75)
          to label %77 unwind label %68

77:                                               ; preds = %73
  br i1 %76, label %78, label %79

78:                                               ; preds = %77
  br label %81

79:                                               ; preds = %77
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 109, ptr noundef @__PRETTY_FUNCTION__._ZN4dali19PropagateSourceInfoERNS_9WorkspaceE) #7
  unreachable

80:                                               ; No predecessors!
  br label %81

81:                                               ; preds = %80, %78
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = invoke noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE5InputINS_10GPUBackendEEERKDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %82, i32 noundef %83)
          to label %85 unwind label %68

85:                                               ; preds = %81
  %86 = invoke noundef zeroext i1 @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_0clIKNS_10TensorListINS_10GPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(304) %84)
          to label %87 unwind label %68

87:                                               ; preds = %85
  br i1 %86, label %89, label %88

88:                                               ; preds = %87
  store i1 false, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %91

89:                                               ; preds = %87
  br label %90

90:                                               ; preds = %89, %72
  store i32 0, ptr %6, align 4
  br label %91

91:                                               ; preds = %90, %88, %67
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  %92 = load i32, ptr %6, align 4
  switch i32 %92, label %97 [
    i32 0, label %93
  ]

93:                                               ; preds = %91
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %11, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %11, align 4, !tbaa !9
  br label %43, !llvm.loop !11

97:                                               ; preds = %91, %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  %98 = load i32, ptr %6, align 4
  switch i32 %98, label %244 [
    i32 2, label %99
  ]

99:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %100

100:                                              ; preds = %118, %99
  %101 = load i32, ptr %15, align 4, !tbaa !9
  %102 = load i32, ptr %5, align 4, !tbaa !9
  %103 = icmp slt i32 %101, %102
  br i1 %103, label %105, label %104

104:                                              ; preds = %100
  store i32 5, ptr %6, align 4
  br label %121

105:                                              ; preds = %100
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = load i32, ptr %15, align 4, !tbaa !9
  %108 = invoke noundef i32 @_ZN4dali12_GLOBAL__N_118GetOutputBatchSizeERNS_9WorkspaceEi(ptr noundef nonnull align 8 dereferenceable(664) %106, i32 noundef %107)
          to label %109 unwind label %113

109:                                              ; preds = %105
  %110 = load i32, ptr %10, align 4, !tbaa !9
  %111 = icmp ne i32 %108, %110
  br i1 %111, label %112, label %117

112:                                              ; preds = %109
  store i1 false, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %121

113:                                              ; preds = %105
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %8, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %245

117:                                              ; preds = %109
  br label %118

118:                                              ; preds = %117
  %119 = load i32, ptr %15, align 4, !tbaa !9
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %15, align 4, !tbaa !9
  br label %100, !llvm.loop !13

121:                                              ; preds = %112, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  %122 = load i32, ptr %6, align 4
  switch i32 %122, label %244 [
    i32 5, label %123
  ]

123:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 2056, ptr %16) #6
  invoke void @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2056) %16)
          to label %124 unwind label %133

124:                                              ; preds = %123
  %125 = load i32, ptr %10, align 4, !tbaa !9
  %126 = sext i32 %125 to i64
  invoke void @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(2056) %16, i64 noundef %126)
          to label %127 unwind label %137

127:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %189, %127
  %129 = load i32, ptr %17, align 4, !tbaa !9
  %130 = load i32, ptr %10, align 4, !tbaa !9
  %131 = icmp slt i32 %129, %130
  br i1 %131, label %141, label %132

132:                                              ; preds = %128
  store i32 8, ptr %6, align 4
  br label %197

133:                                              ; preds = %123
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %8, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %9, align 4
  br label %243

137:                                              ; preds = %124
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %8, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %9, align 4
  br label %242

141:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  store ptr null, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %142

142:                                              ; preds = %175, %141
  %143 = load i32, ptr %19, align 4, !tbaa !9
  %144 = load i32, ptr %4, align 4, !tbaa !9
  %145 = icmp slt i32 %143, %144
  br i1 %145, label %147, label %146

146:                                              ; preds = %142
  store i32 11, ptr %6, align 4
  br label %178

147:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %148 = load i32, ptr %19, align 4, !tbaa !9
  %149 = sext i32 %148 to i64
  %150 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN4dali11SmallVectorISt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEELm8ESaISB_EEixEl(ptr noundef nonnull align 8 dereferenceable(264) %7, i64 noundef %149)
          to label %151 unwind label %158

151:                                              ; preds = %147
  %152 = load i32, ptr %17, align 4, !tbaa !9
  %153 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEclEi(ptr noundef nonnull align 8 dereferenceable(32) %150, i32 noundef %152)
          to label %154 unwind label %158

154:                                              ; preds = %151
  store ptr %153, ptr %20, align 8, !tbaa !5
  %155 = load ptr, ptr %20, align 8, !tbaa !5
  %156 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %155) #6
  br i1 %156, label %157, label %162

157:                                              ; preds = %154
  store i32 13, ptr %6, align 4
  br label %172

158:                                              ; preds = %151, %147
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %8, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %196

162:                                              ; preds = %154
  %163 = load ptr, ptr %18, align 8, !tbaa !5
  %164 = icmp ne ptr %163, null
  br i1 %164, label %165, label %170

165:                                              ; preds = %162
  %166 = load ptr, ptr %18, align 8, !tbaa !5
  %167 = load ptr, ptr %20, align 8, !tbaa !5
  %168 = call noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESA_(ptr noundef nonnull align 8 dereferenceable(32) %166, ptr noundef nonnull align 8 dereferenceable(32) %167) #6
  br i1 %168, label %169, label %170

169:                                              ; preds = %165
  store i1 false, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %172

170:                                              ; preds = %165, %162
  %171 = load ptr, ptr %20, align 8, !tbaa !5
  store ptr %171, ptr %18, align 8, !tbaa !5
  store i32 0, ptr %6, align 4
  br label %172

172:                                              ; preds = %170, %169, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  %173 = load i32, ptr %6, align 4
  switch i32 %173, label %178 [
    i32 0, label %174
    i32 13, label %175
  ]

174:                                              ; preds = %172
  br label %175

175:                                              ; preds = %174, %172
  %176 = load i32, ptr %19, align 4, !tbaa !9
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %19, align 4, !tbaa !9
  br label %142, !llvm.loop !14

178:                                              ; preds = %172, %146
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  %179 = load i32, ptr %6, align 4
  switch i32 %179, label %186 [
    i32 11, label %180
  ]

180:                                              ; preds = %178
  %181 = load ptr, ptr %18, align 8, !tbaa !5
  %182 = load i32, ptr %17, align 4, !tbaa !9
  %183 = sext i32 %182 to i64
  %184 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EEixEl(ptr noundef nonnull align 8 dereferenceable(2056) %16, i64 noundef %183)
          to label %185 unwind label %192

185:                                              ; preds = %180
  store ptr %181, ptr %184, align 8, !tbaa !5
  store i32 0, ptr %6, align 4
  br label %186

186:                                              ; preds = %185, %178
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  %187 = load i32, ptr %6, align 4
  switch i32 %187, label %197 [
    i32 0, label %188
  ]

188:                                              ; preds = %186
  br label %189

189:                                              ; preds = %188
  %190 = load i32, ptr %17, align 4, !tbaa !9
  %191 = add nsw i32 %190, 1
  store i32 %191, ptr %17, align 4, !tbaa !9
  br label %128, !llvm.loop !15

192:                                              ; preds = %180
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %8, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %9, align 4
  br label %196

196:                                              ; preds = %192, %158
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %242

197:                                              ; preds = %186, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  %198 = load i32, ptr %6, align 4
  switch i32 %198, label %241 [
    i32 8, label %199
  ]

199:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %200 = getelementptr inbounds %class.anon.54, ptr %21, i32 0, i32 0
  store ptr %10, ptr %200, align 8, !tbaa !5
  %201 = getelementptr inbounds %class.anon.54, ptr %21, i32 0, i32 1
  store ptr %16, ptr %201, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %202

202:                                              ; preds = %237, %199
  %203 = load i32, ptr %22, align 4, !tbaa !9
  %204 = load i32, ptr %5, align 4, !tbaa !9
  %205 = icmp slt i32 %203, %204
  br i1 %205, label %207, label %206

206:                                              ; preds = %202
  store i32 14, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %240

207:                                              ; preds = %202
  %208 = load ptr, ptr %3, align 8, !tbaa !5
  %209 = load i32, ptr %22, align 4, !tbaa !9
  %210 = invoke noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %208, i32 noundef %209)
          to label %211 unwind label %218

211:                                              ; preds = %207
  br i1 %210, label %212, label %222

212:                                              ; preds = %211
  %213 = load ptr, ptr %3, align 8, !tbaa !5
  %214 = load i32, ptr %22, align 4, !tbaa !9
  %215 = invoke noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10CPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %213, i32 noundef %214)
          to label %216 unwind label %218

216:                                              ; preds = %212
  invoke void @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_1clINS_10TensorListINS_10CPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(304) %215)
          to label %217 unwind label %218

217:                                              ; preds = %216
  br label %236

218:                                              ; preds = %234, %230, %222, %216, %212, %207
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %8, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  br label %242

222:                                              ; preds = %211
  %223 = load ptr, ptr %3, align 8, !tbaa !5
  %224 = load i32, ptr %22, align 4, !tbaa !9
  %225 = invoke noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %223, i32 noundef %224)
          to label %226 unwind label %218

226:                                              ; preds = %222
  br i1 %225, label %227, label %228

227:                                              ; preds = %226
  br label %230

228:                                              ; preds = %226
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 147, ptr noundef @__PRETTY_FUNCTION__._ZN4dali19PropagateSourceInfoERNS_9WorkspaceE) #7
  unreachable

229:                                              ; No predecessors!
  br label %230

230:                                              ; preds = %229, %227
  %231 = load ptr, ptr %3, align 8, !tbaa !5
  %232 = load i32, ptr %22, align 4, !tbaa !9
  %233 = invoke noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10GPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %231, i32 noundef %232)
          to label %234 unwind label %218

234:                                              ; preds = %230
  invoke void @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_1clINS_10TensorListINS_10GPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(304) %233)
          to label %235 unwind label %218

235:                                              ; preds = %234
  br label %236

236:                                              ; preds = %235, %217
  br label %237

237:                                              ; preds = %236
  %238 = load i32, ptr %22, align 4, !tbaa !9
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %22, align 4, !tbaa !9
  br label %202, !llvm.loop !16

240:                                              ; preds = %206
  store i1 true, ptr %2, align 1
  store i32 1, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  br label %241

241:                                              ; preds = %240, %197
  call void @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EED2Ev(ptr noundef nonnull align 8 dereferenceable(2056) %16) #6
  call void @llvm.lifetime.end.p0(i64 2056, ptr %16) #6
  br label %244

242:                                              ; preds = %218, %196, %137
  call void @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EED2Ev(ptr noundef nonnull align 8 dereferenceable(2056) %16) #6
  br label %243

243:                                              ; preds = %242, %133
  call void @llvm.lifetime.end.p0(i64 2056, ptr %16) #6
  br label %245

244:                                              ; preds = %241, %121, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @_ZN4dali11SmallVectorISt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEELm8ESaISB_EED2Ev(ptr noundef nonnull align 8 dereferenceable(264) %7) #6
  call void @llvm.lifetime.end.p0(i64 264, ptr %7) #6
  br label %247

245:                                              ; preds = %243, %113, %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %246

246:                                              ; preds = %245, %48
  call void @_ZN4dali11SmallVectorISt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEELm8ESaISB_EED2Ev(ptr noundef nonnull align 8 dereferenceable(264) %7) #6
  call void @llvm.lifetime.end.p0(i64 264, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %249

247:                                              ; preds = %244, %38, %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  %248 = load i1, ptr %2, align 1
  ret i1 %248

249:                                              ; preds = %246
  %250 = load ptr, ptr %8, align 8
  %251 = load i32, ptr %9, align 4
  %252 = insertvalue { ptr, i32 } poison, ptr %250, 0
  %253 = insertvalue { ptr, i32 } %252, i32 %251, 1
  resume { ptr, i32 } %253
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE8NumInputEv(ptr noundef nonnull align 8 dereferenceable(664)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN4dali12_GLOBAL__N_123OutputSourceInfoDefinedERNS_9WorkspaceE(ptr noundef nonnull align 8 dereferenceable(664)) #1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE11InputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_0clIKNS_10TensorListINS_10CPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(304)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE5InputINS_10CPUBackendEEERKDaiT_(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE11InputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_0clIKNS_10TensorListINS_10GPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(304)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE5InputINS_10GPUBackendEEERKDaiT_(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZN4dali12_GLOBAL__N_118GetOutputBatchSizeERNS_9WorkspaceEi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN4dali11SmallVectorISt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEELm8ESaISB_EEixEl(ptr noundef nonnull align 8 dereferenceable(264), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEclEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESA_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EEixEl(ptr noundef nonnull align 8 dereferenceable(2056), i64 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_1clINS_10TensorListINS_10CPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(304)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_1clINS_10TensorListINS_10GPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(304)) #1 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


; 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.dali::SmallVector.41" = type { %union.anon.44, i64 }
%union.anon.44 = type { %struct.anon.45, [240 x i8] }
%struct.anon.45 = type { ptr, i64 }
%class.anon = type { ptr, ptr, ptr }
%"class.dali::SmallVector.46" = type { %union.anon.49, i64 }
%union.anon.49 = type { %struct.anon.50, [2032 x i8] }
%struct.anon.50 = type { ptr, i64 }
%class.anon.54 = type { ptr, ptr }

@.str = external hidden unnamed_addr constant [31 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [30 x i8], align 1
@__PRETTY_FUNCTION__._ZN4dali19PropagateSourceInfoERNS_9WorkspaceE = external hidden unnamed_addr constant [44 x i8], align 1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10CPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10GPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4dali19PropagateSourceInfoERNS_9WorkspaceE(ptr noundef nonnull align 8 dereferenceable(664) %0) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.dali::SmallVector.41", align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %class.anon, align 8
  %6 = alloca %"class.dali::SmallVector.46", align 8
  %7 = alloca %class.anon.54, align 8
  %8 = tail call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE8NumInputEv(ptr noundef nonnull align 8 dereferenceable(664) %0)
  %9 = tail call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(664) %0)
  %10 = icmp eq i32 %8, 0
  %11 = icmp eq i32 %9, 0
  %or.cond = or i1 %10, %11
  br i1 %or.cond, label %99, label %12

12:                                               ; preds = %1
  %13 = tail call noundef zeroext i1 @_ZN4dali12_GLOBAL__N_123OutputSourceInfoDefinedERNS_9WorkspaceE(ptr noundef nonnull align 8 dereferenceable(664) %0)
  br i1 %13, label %99, label %14

14:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 264, ptr nonnull %2) #6
  call void @_ZN4dali11SmallVectorISt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEELm8ESaISB_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(264) %2)
  %15 = sext i32 %8 to i64
  invoke void @_ZN4dali11SmallVectorISt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEELm8ESaISB_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(264) %2, i64 noundef %15)
          to label %16 unwind label %19

16:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  %.not114 = icmp sgt i32 %8, 0
  br i1 %.not114, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %16
  %17 = getelementptr inbounds i8, ptr %5, i64 8
  %18 = getelementptr inbounds i8, ptr %5, i64 16
  br label %21

19:                                               ; preds = %14
  %20 = landingpad { ptr, i32 }
          cleanup
  br label %98

21:                                               ; preds = %.lr.ph, %.critedge
  %storemerge115 = phi i32 [ 0, %.lr.ph ], [ %43, %.critedge ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  store ptr %4, ptr %5, align 8, !tbaa !9
  store ptr %3, ptr %17, align 8, !tbaa !9
  store ptr %2, ptr %18, align 8, !tbaa !9
  %22 = invoke noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE11InputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %0, i32 noundef %storemerge115)
          to label %23 unwind label %30

23:                                               ; preds = %21
  %24 = load i32, ptr %4, align 4, !tbaa !5
  br i1 %22, label %25, label %32

25:                                               ; preds = %23
  %26 = invoke noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE5InputINS_10CPUBackendEEERKDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %0, i32 noundef %24)
          to label %27 unwind label %30

27:                                               ; preds = %25
  %28 = invoke noundef zeroext i1 @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_0clIKNS_10TensorListINS_10CPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(304) %26)
          to label %29 unwind label %30

29:                                               ; preds = %27
  br i1 %28, label %.critedge, label %44

30:                                               ; preds = %39, %36, %32, %27, %25, %21
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br label %97

32:                                               ; preds = %23
  %33 = invoke noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE11InputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %0, i32 noundef %24)
          to label %34 unwind label %30

34:                                               ; preds = %32
  br i1 %33, label %36, label %35

35:                                               ; preds = %34
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 109, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali19PropagateSourceInfoERNS_9WorkspaceE) #7
  unreachable

36:                                               ; preds = %34
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = invoke noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE5InputINS_10GPUBackendEEERKDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %0, i32 noundef %37)
          to label %39 unwind label %30

39:                                               ; preds = %36
  %40 = invoke noundef zeroext i1 @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_0clIKNS_10TensorListINS_10GPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(304) %38)
          to label %41 unwind label %30

41:                                               ; preds = %39
  br i1 %40, label %.critedge, label %44

.critedge:                                        ; preds = %41, %29
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  %42 = load i32, ptr %4, align 4, !tbaa !5
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %4, align 4, !tbaa !5
  %.not = icmp slt i32 %43, %8
  br i1 %.not, label %21, label %._crit_edge, !llvm.loop !11

44:                                               ; preds = %41, %29
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br label %.loopexit

._crit_edge:                                      ; preds = %.critedge, %16
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  %.not81116 = icmp sgt i32 %9, 0
  br i1 %.not81116, label %.lr.ph119, label %.critedge92

45:                                               ; preds = %48
  %46 = add nuw nsw i32 %.062117, 1
  %exitcond.not = icmp eq i32 %46, %9
  br i1 %exitcond.not, label %.critedge92, label %.lr.ph119, !llvm.loop !13

.lr.ph119:                                        ; preds = %._crit_edge, %45
  %.062117 = phi i32 [ %46, %45 ], [ 0, %._crit_edge ]
  %47 = invoke noundef i32 @_ZN4dali12_GLOBAL__N_118GetOutputBatchSizeERNS_9WorkspaceEi(ptr noundef nonnull align 8 dereferenceable(664) %0, i32 noundef %.062117)
          to label %48 unwind label %50

48:                                               ; preds = %.lr.ph119
  %49 = load i32, ptr %3, align 4, !tbaa !5
  %.not80 = icmp eq i32 %47, %49
  br i1 %.not80, label %45, label %.loopexit

50:                                               ; preds = %.lr.ph119
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %97

.critedge92:                                      ; preds = %45, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 2056, ptr nonnull %6) #6
  call void @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2056) %6)
  %52 = load i32, ptr %3, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  invoke void @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(2056) %6, i64 noundef %53)
          to label %.preheader106 unwind label %73

.preheader106:                                    ; preds = %.critedge92
  %54 = load i32, ptr %3, align 4, !tbaa !5
  %.not84124 = icmp slt i32 %54, 1
  br i1 %.not84124, label %.critedge94, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader106
  br i1 %.not114, label %.preheader.us.preheader, label %.preheader

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %wide.trip.count = zext nneg i32 %8 to i64
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %56
  %indvars.iv148 = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next149, %56 ]
  %55 = trunc nuw nsw i64 %indvars.iv148 to i32
  br label %59

56:                                               ; preds = %._crit_edge123.us
  store ptr %.159.ph.us, ptr %69, align 8, !tbaa !9
  %indvars.iv.next149 = add nuw nsw i64 %indvars.iv148, 1
  %57 = load i32, ptr %3, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %.not84.us.not = icmp slt i64 %indvars.iv.next149, %58
  br i1 %.not84.us.not, label %.preheader.us, label %.critedge94, !llvm.loop !14

59:                                               ; preds = %.preheader.us, %68
  %indvars.iv144 = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next145, %68 ]
  %.058120.us = phi ptr [ null, %.preheader.us ], [ %.159.ph.us, %68 ]
  %60 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN4dali11SmallVectorISt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEELm8ESaISB_EEixEl(ptr noundef nonnull align 8 dereferenceable(264) %2, i64 noundef %indvars.iv144)
          to label %61 unwind label %.split130.us

61:                                               ; preds = %59
  %62 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEclEi(ptr noundef nonnull align 8 dereferenceable(32) %60, i32 noundef %55)
          to label %63 unwind label %.split130.us

63:                                               ; preds = %61
  %64 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %62) #6
  br i1 %64, label %68, label %65

65:                                               ; preds = %63
  %.not82.us = icmp eq ptr %.058120.us, null
  br i1 %.not82.us, label %68, label %66

66:                                               ; preds = %65
  %67 = call noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESA_(ptr noundef nonnull align 8 dereferenceable(32) %.058120.us, ptr noundef nonnull align 8 dereferenceable(32) %62) #6
  br i1 %67, label %.split133.us, label %68

68:                                               ; preds = %66, %65, %63
  %.159.ph.us = phi ptr [ %.058120.us, %63 ], [ %62, %66 ], [ %62, %65 ]
  %indvars.iv.next145 = add nuw nsw i64 %indvars.iv144, 1
  %exitcond147.not = icmp eq i64 %indvars.iv.next145, %wide.trip.count
  br i1 %exitcond147.not, label %._crit_edge123.us, label %59, !llvm.loop !15

._crit_edge123.us:                                ; preds = %68
  %69 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EEixEl(ptr noundef nonnull align 8 dereferenceable(2056) %6, i64 noundef %indvars.iv148)
          to label %56 unwind label %.split.us

.split.us:                                        ; preds = %._crit_edge123.us
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %96

.split130.us:                                     ; preds = %61, %59
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %96

.preheader:                                       ; preds = %.preheader.lr.ph, %75
  %indvars.iv = phi i64 [ %indvars.iv.next, %75 ], [ 0, %.preheader.lr.ph ]
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EEixEl(ptr noundef nonnull align 8 dereferenceable(2056) %6, i64 noundef %indvars.iv)
          to label %75 unwind label %.split

73:                                               ; preds = %.critedge92
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %96

75:                                               ; preds = %.preheader
  store ptr null, ptr %72, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %76 = load i32, ptr %3, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %.not84.not = icmp slt i64 %indvars.iv.next, %77
  br i1 %.not84.not, label %.preheader, label %.critedge94, !llvm.loop !14

.split:                                           ; preds = %.preheader
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %96

.critedge94:                                      ; preds = %75, %56, %.preheader106
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  store ptr %3, ptr %7, align 8, !tbaa !9
  %79 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %6, ptr %79, align 8, !tbaa !9
  br i1 %.not81116, label %.lr.ph136, label %._crit_edge137

._crit_edge137:                                   ; preds = %94, %.critedge94
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %.split133.us

.lr.ph136:                                        ; preds = %.critedge94, %94
  %.0135 = phi i32 [ %95, %94 ], [ 0, %.critedge94 ]
  %80 = invoke noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %0, i32 noundef %.0135)
          to label %81 unwind label %85

81:                                               ; preds = %.lr.ph136
  br i1 %80, label %82, label %87

82:                                               ; preds = %81
  %83 = invoke noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10CPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %0, i32 noundef %.0135)
          to label %84 unwind label %85

84:                                               ; preds = %82
  invoke void @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_1clINS_10TensorListINS_10CPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(304) %83)
          to label %94 unwind label %85

85:                                               ; preds = %93, %91, %87, %84, %82, %.lr.ph136
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %96

87:                                               ; preds = %81
  %88 = invoke noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %0, i32 noundef %.0135)
          to label %89 unwind label %85

89:                                               ; preds = %87
  br i1 %88, label %91, label %90

90:                                               ; preds = %89
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 147, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali19PropagateSourceInfoERNS_9WorkspaceE) #7
  unreachable

91:                                               ; preds = %89
  %92 = invoke noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10GPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %0, i32 noundef %.0135)
          to label %93 unwind label %85

93:                                               ; preds = %91
  invoke void @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_1clINS_10TensorListINS_10GPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(304) %92)
          to label %94 unwind label %85

94:                                               ; preds = %84, %93
  %95 = add nuw nsw i32 %.0135, 1
  %exitcond150.not = icmp eq i32 %95, %9
  br i1 %exitcond150.not, label %._crit_edge137, label %.lr.ph136, !llvm.loop !16

.split133.us:                                     ; preds = %66, %._crit_edge137
  %.not84112 = phi i1 [ true, %._crit_edge137 ], [ false, %66 ]
  call void @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EED2Ev(ptr noundef nonnull align 8 dereferenceable(2056) %6) #6
  call void @llvm.lifetime.end.p0(i64 2056, ptr nonnull %6) #6
  br label %.loopexit

96:                                               ; preds = %.split, %.split.us, %.split130.us, %85, %73
  %.pn85 = phi { ptr, i32 } [ %86, %85 ], [ %74, %73 ], [ %71, %.split130.us ], [ %78, %.split ], [ %70, %.split.us ]
  call void @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EED2Ev(ptr noundef nonnull align 8 dereferenceable(2056) %6) #6
  call void @llvm.lifetime.end.p0(i64 2056, ptr nonnull %6) #6
  br label %97

.loopexit:                                        ; preds = %48, %44, %.split133.us
  %.10 = phi i1 [ %.not84112, %.split133.us ], [ false, %44 ], [ false, %48 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @_ZN4dali11SmallVectorISt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEELm8ESaISB_EED2Ev(ptr noundef nonnull align 8 dereferenceable(264) %2) #6
  call void @llvm.lifetime.end.p0(i64 264, ptr nonnull %2) #6
  br label %99

97:                                               ; preds = %96, %50, %30
  %.pn85.pn = phi { ptr, i32 } [ %.pn85, %96 ], [ %51, %50 ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  br label %98

98:                                               ; preds = %97, %19
  %.pn85.pn.pn = phi { ptr, i32 } [ %.pn85.pn, %97 ], [ %20, %19 ]
  call void @_ZN4dali11SmallVectorISt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEELm8ESaISB_EED2Ev(ptr noundef nonnull align 8 dereferenceable(264) %2) #6
  call void @llvm.lifetime.end.p0(i64 264, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn85.pn.pn

99:                                               ; preds = %12, %1, %.loopexit
  %.11 = phi i1 [ %.10, %.loopexit ], [ false, %1 ], [ false, %12 ]
  ret i1 %.11
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE8NumInputEv(ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN4dali12_GLOBAL__N_123OutputSourceInfoDefinedERNS_9WorkspaceE(ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE11InputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE5InputINS_10CPUBackendEEERKDaiT_(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE11InputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE5InputINS_10GPUBackendEEERKDaiT_(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZN4dali12_GLOBAL__N_118GetOutputBatchSizeERNS_9WorkspaceEi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN4dali11SmallVectorISt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEELm8ESaISB_EEixEl(ptr noundef nonnull align 8 dereferenceable(264), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt8functionIFRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEclEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESA_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali11SmallVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm256ESaIS8_EEixEl(ptr noundef nonnull align 8 dereferenceable(2056), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_1clINS_10TensorListINS_10CPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(304)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN4dali19PropagateSourceInfoERNS_9WorkspaceEENK3$_1clINS_10TensorListINS_10GPUBackendEEEEEDaRT_"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(304)) local_unnamed_addr #1 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass