; LLVM IR from thepowersgang/mrustc :: vsproject/tu_test (main)

; 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.TestTu = type { i32, %"union.TestTu::DataUnion" }
%"union.TestTu::DataUnion" = type { i32 }
%"struct.TestTu::Data_Bar" = type { i8 }

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %class.TestTu, align 4
  %3 = alloca %class.TestTu, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %class.TestTu, align 4
  %7 = alloca %"struct.TestTu::Data_Bar", align 1
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca i8, align 1
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca i8, align 1
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i8, align 1
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i8, align 1
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i8, align 1
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i8, align 1
  %30 = alloca ptr, align 8
  %31 = alloca i8, align 1
  %32 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  call void @_ZN6TestTuC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  invoke void @_ZN6TestTuC2Ej(ptr noundef nonnull align 4 dereferenceable(8) %3, i32 noundef 123)
          to label %33 unwind label %41

33:                                               ; preds = %0
  %34 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN6TestTuaSEOS_(ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %3)
          to label %35 unwind label %45

35:                                               ; preds = %33
  call void @_ZN6TestTuD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  invoke void @_ZN6TestTu8make_BarENS_8Data_BarE(ptr dead_on_unwind writable sret(%class.TestTu) align 4 %6)
          to label %36 unwind label %50

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  store i8 1, ptr %8, align 1, !tbaa !5
  br label %37

37:                                               ; preds = %141, %36
  %38 = load i8, ptr %8, align 1, !tbaa !5, !range !9, !noundef !10
  %39 = trunc i8 %38 to i1
  br i1 %39, label %54, label %40

40:                                               ; preds = %37
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  br label %142

41:                                               ; preds = %0
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %4, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %5, align 4
  br label %49

45:                                               ; preds = %33
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %4, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %5, align 4
  call void @_ZN6TestTuD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %3) #5
  br label %49

49:                                               ; preds = %45, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %317

50:                                               ; preds = %35
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %4, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %5, align 4
  br label %316

54:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store ptr %2, ptr %10, align 8, !tbaa !11
  br label %55

55:                                               ; preds = %138, %54
  %56 = load i8, ptr %8, align 1, !tbaa !5, !range !9, !noundef !10
  %57 = trunc i8 %56 to i1
  br i1 %57, label %59, label %58

58:                                               ; preds = %55
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %140

59:                                               ; preds = %55
  %60 = load ptr, ptr %10, align 8, !tbaa !11
  %61 = invoke noundef i32 @_ZNK6TestTu3tagEv(ptr noundef nonnull align 4 dereferenceable(8) %60)
          to label %62 unwind label %63

62:                                               ; preds = %59
  switch i32 %61, label %137 [
    i32 0, label %67
    i32 1, label %68
    i32 2, label %91
    i32 3, label %114
  ]

63:                                               ; preds = %59
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %4, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %5, align 4
  br label %139

67:                                               ; preds = %62
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 29, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

68:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  store i8 1, ptr %11, align 1, !tbaa !5
  br label %69

69:                                               ; preds = %89, %68
  %70 = load i8, ptr %11, align 1, !tbaa !5, !range !9, !noundef !10
  %71 = trunc i8 %70 to i1
  br i1 %71, label %73, label %72

72:                                               ; preds = %69
  store i32 9, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  br label %90

73:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %74 = load ptr, ptr %10, align 8, !tbaa !11
  %75 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_FooEv(ptr noundef nonnull align 4 dereferenceable(8) %74)
          to label %76 unwind label %82

76:                                               ; preds = %73
  store ptr %75, ptr %12, align 8, !tbaa !11
  br label %77

77:                                               ; preds = %87, %76
  %78 = load ptr, ptr %12, align 8, !tbaa !11
  %79 = load i8, ptr %11, align 1, !tbaa !5, !range !9, !noundef !10
  %80 = trunc i8 %79 to i1
  br i1 %80, label %86, label %81

81:                                               ; preds = %77
  store i32 12, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %88

82:                                               ; preds = %73
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %4, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  br label %139

86:                                               ; preds = %77
  br label %87

87:                                               ; preds = %86
  store i8 0, ptr %11, align 1, !tbaa !5
  br label %77, !llvm.loop !13

88:                                               ; preds = %81
  br label %89

89:                                               ; preds = %88
  store i8 0, ptr %11, align 1, !tbaa !5
  br label %69, !llvm.loop !15

90:                                               ; preds = %72
  br label %137

91:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  store i8 1, ptr %13, align 1, !tbaa !5
  br label %92

92:                                               ; preds = %112, %91
  %93 = load i8, ptr %13, align 1, !tbaa !5, !range !9, !noundef !10
  %94 = trunc i8 %93 to i1
  br i1 %94, label %96, label %95

95:                                               ; preds = %92
  store i32 15, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  br label %113

96:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %97 = load ptr, ptr %10, align 8, !tbaa !11
  %98 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_BarEv(ptr noundef nonnull align 4 dereferenceable(8) %97)
          to label %99 unwind label %105

99:                                               ; preds = %96
  store ptr %98, ptr %14, align 8, !tbaa !11
  br label %100

100:                                              ; preds = %110, %99
  %101 = load ptr, ptr %14, align 8, !tbaa !11
  %102 = load i8, ptr %13, align 1, !tbaa !5, !range !9, !noundef !10
  %103 = trunc i8 %102 to i1
  br i1 %103, label %109, label %104

104:                                              ; preds = %100
  store i32 18, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %111

105:                                              ; preds = %96
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %4, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  br label %139

109:                                              ; preds = %100
  br label %110

110:                                              ; preds = %109
  store i8 0, ptr %13, align 1, !tbaa !5
  br label %100, !llvm.loop !16

111:                                              ; preds = %104
  br label %112

112:                                              ; preds = %111
  store i8 0, ptr %13, align 1, !tbaa !5
  br label %92, !llvm.loop !17

113:                                              ; preds = %95
  br label %137

114:                                              ; preds = %62
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  store i8 1, ptr %15, align 1, !tbaa !5
  br label %115

115:                                              ; preds = %135, %114
  %116 = load i8, ptr %15, align 1, !tbaa !5, !range !9, !noundef !10
  %117 = trunc i8 %116 to i1
  br i1 %117, label %119, label %118

118:                                              ; preds = %115
  store i32 21, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  br label %136

119:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %120 = load ptr, ptr %10, align 8, !tbaa !11
  %121 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN6TestTu6as_BazEv(ptr noundef nonnull align 4 dereferenceable(8) %120)
          to label %122 unwind label %128

122:                                              ; preds = %119
  store ptr %121, ptr %16, align 8, !tbaa !11
  br label %123

123:                                              ; preds = %133, %122
  %124 = load ptr, ptr %16, align 8, !tbaa !11
  %125 = load i8, ptr %15, align 1, !tbaa !5, !range !9, !noundef !10
  %126 = trunc i8 %125 to i1
  br i1 %126, label %132, label %127

127:                                              ; preds = %123
  store i32 24, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %134

128:                                              ; preds = %119
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %4, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  br label %139

132:                                              ; preds = %123
  br label %133

133:                                              ; preds = %132
  store i8 0, ptr %15, align 1, !tbaa !5
  br label %123, !llvm.loop !18

134:                                              ; preds = %127
  br label %135

135:                                              ; preds = %134
  store i8 0, ptr %15, align 1, !tbaa !5
  br label %115, !llvm.loop !19

136:                                              ; preds = %118
  br label %137

137:                                              ; preds = %136, %113, %90, %62
  br label %138

138:                                              ; preds = %137
  store i8 0, ptr %8, align 1, !tbaa !5
  br label %55, !llvm.loop !20

139:                                              ; preds = %128, %105, %82, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  br label %315

140:                                              ; preds = %58
  br label %141

141:                                              ; preds = %140
  store i8 0, ptr %8, align 1, !tbaa !5
  br label %37, !llvm.loop !21

142:                                              ; preds = %40
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  store i8 1, ptr %17, align 1, !tbaa !5
  br label %143

143:                                              ; preds = %261, %142
  %144 = load i8, ptr %17, align 1, !tbaa !5, !range !9, !noundef !10
  %145 = trunc i8 %144 to i1
  br i1 %145, label %147, label %146

146:                                              ; preds = %143
  store i32 27, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  br label %262

147:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  store ptr %2, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  store ptr %6, ptr %19, align 8, !tbaa !11
  br label %148

148:                                              ; preds = %258, %147
  %149 = load i8, ptr %17, align 1, !tbaa !5, !range !9, !noundef !10
  %150 = trunc i8 %149 to i1
  br i1 %150, label %152, label %151

151:                                              ; preds = %148
  store i32 30, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %260

152:                                              ; preds = %148
  %153 = load ptr, ptr %18, align 8, !tbaa !11
  %154 = invoke noundef i32 @_ZNK6TestTu3tagEv(ptr noundef nonnull align 4 dereferenceable(8) %153)
          to label %155 unwind label %156

155:                                              ; preds = %152
  switch i32 %154, label %257 [
    i32 0, label %160
    i32 1, label %161
    i32 2, label %193
    i32 3, label %225
  ]

156:                                              ; preds = %152
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %4, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %5, align 4
  br label %259

160:                                              ; preds = %155
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 38, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

161:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  store i8 1, ptr %20, align 1, !tbaa !5
  br label %162

162:                                              ; preds = %191, %161
  %163 = load i8, ptr %20, align 1, !tbaa !5, !range !9, !noundef !10
  %164 = trunc i8 %163 to i1
  br i1 %164, label %166, label %165

165:                                              ; preds = %162
  store i32 34, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  br label %192

166:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %167 = load ptr, ptr %18, align 8, !tbaa !11
  %168 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_FooEv(ptr noundef nonnull align 4 dereferenceable(8) %167)
          to label %169 unwind label %179

169:                                              ; preds = %166
  store ptr %168, ptr %21, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %170 = load ptr, ptr %19, align 8, !tbaa !11
  %171 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_FooEv(ptr noundef nonnull align 4 dereferenceable(8) %170)
          to label %172 unwind label %183

172:                                              ; preds = %169
  store ptr %171, ptr %22, align 8, !tbaa !11
  br label %173

173:                                              ; preds = %188, %172
  %174 = load ptr, ptr %21, align 8, !tbaa !11
  %175 = load ptr, ptr %22, align 8, !tbaa !11
  %176 = load i8, ptr %20, align 1, !tbaa !5, !range !9, !noundef !10
  %177 = trunc i8 %176 to i1
  br i1 %177, label %187, label %178

178:                                              ; preds = %173
  store i32 37, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %190

179:                                              ; preds = %166
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %4, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %5, align 4
  br label %189

183:                                              ; preds = %169
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %4, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %189

187:                                              ; preds = %173
  br label %188

188:                                              ; preds = %187
  store i8 0, ptr %20, align 1, !tbaa !5
  br label %173, !llvm.loop !22

189:                                              ; preds = %183, %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  br label %259

190:                                              ; preds = %178
  br label %191

191:                                              ; preds = %190
  store i8 0, ptr %20, align 1, !tbaa !5
  br label %162, !llvm.loop !23

192:                                              ; preds = %165
  br label %257

193:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #5
  store i8 1, ptr %23, align 1, !tbaa !5
  br label %194

194:                                              ; preds = %223, %193
  %195 = load i8, ptr %23, align 1, !tbaa !5, !range !9, !noundef !10
  %196 = trunc i8 %195 to i1
  br i1 %196, label %198, label %197

197:                                              ; preds = %194
  store i32 40, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  br label %224

198:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %199 = load ptr, ptr %18, align 8, !tbaa !11
  %200 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_BarEv(ptr noundef nonnull align 4 dereferenceable(8) %199)
          to label %201 unwind label %211

201:                                              ; preds = %198
  store ptr %200, ptr %24, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %202 = load ptr, ptr %19, align 8, !tbaa !11
  %203 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_BarEv(ptr noundef nonnull align 4 dereferenceable(8) %202)
          to label %204 unwind label %215

204:                                              ; preds = %201
  store ptr %203, ptr %25, align 8, !tbaa !11
  br label %205

205:                                              ; preds = %220, %204
  %206 = load ptr, ptr %24, align 8, !tbaa !11
  %207 = load ptr, ptr %25, align 8, !tbaa !11
  %208 = load i8, ptr %23, align 1, !tbaa !5, !range !9, !noundef !10
  %209 = trunc i8 %208 to i1
  br i1 %209, label %219, label %210

210:                                              ; preds = %205
  store i32 43, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %222

211:                                              ; preds = %198
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %4, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %5, align 4
  br label %221

215:                                              ; preds = %201
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %4, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %221

219:                                              ; preds = %205
  br label %220

220:                                              ; preds = %219
  store i8 0, ptr %23, align 1, !tbaa !5
  br label %205, !llvm.loop !24

221:                                              ; preds = %215, %211
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  br label %259

222:                                              ; preds = %210
  br label %223

223:                                              ; preds = %222
  store i8 0, ptr %23, align 1, !tbaa !5
  br label %194, !llvm.loop !25

224:                                              ; preds = %197
  br label %257

225:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #5
  store i8 1, ptr %26, align 1, !tbaa !5
  br label %226

226:                                              ; preds = %255, %225
  %227 = load i8, ptr %26, align 1, !tbaa !5, !range !9, !noundef !10
  %228 = trunc i8 %227 to i1
  br i1 %228, label %230, label %229

229:                                              ; preds = %226
  store i32 46, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #5
  br label %256

230:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %231 = load ptr, ptr %18, align 8, !tbaa !11
  %232 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN6TestTu6as_BazEv(ptr noundef nonnull align 4 dereferenceable(8) %231)
          to label %233 unwind label %243

233:                                              ; preds = %230
  store ptr %232, ptr %27, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %234 = load ptr, ptr %19, align 8, !tbaa !11
  %235 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN6TestTu6as_BazEv(ptr noundef nonnull align 4 dereferenceable(8) %234)
          to label %236 unwind label %247

236:                                              ; preds = %233
  store ptr %235, ptr %28, align 8, !tbaa !11
  br label %237

237:                                              ; preds = %252, %236
  %238 = load ptr, ptr %27, align 8, !tbaa !11
  %239 = load ptr, ptr %28, align 8, !tbaa !11
  %240 = load i8, ptr %26, align 1, !tbaa !5, !range !9, !noundef !10
  %241 = trunc i8 %240 to i1
  br i1 %241, label %251, label %242

242:                                              ; preds = %237
  store i32 49, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  br label %254

243:                                              ; preds = %230
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %4, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %5, align 4
  br label %253

247:                                              ; preds = %233
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %4, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %253

251:                                              ; preds = %237
  br label %252

252:                                              ; preds = %251
  store i8 0, ptr %26, align 1, !tbaa !5
  br label %237, !llvm.loop !26

253:                                              ; preds = %247, %243
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #5
  br label %259

254:                                              ; preds = %242
  br label %255

255:                                              ; preds = %254
  store i8 0, ptr %26, align 1, !tbaa !5
  br label %226, !llvm.loop !27

256:                                              ; preds = %229
  br label %257

257:                                              ; preds = %256, %224, %192, %155
  br label %258

258:                                              ; preds = %257
  store i8 0, ptr %17, align 1, !tbaa !5
  br label %148, !llvm.loop !28

259:                                              ; preds = %253, %221, %189, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  br label %315

260:                                              ; preds = %151
  br label %261

261:                                              ; preds = %260
  store i8 0, ptr %17, align 1, !tbaa !5
  br label %143, !llvm.loop !29

262:                                              ; preds = %146
  %263 = invoke noundef i32 @_ZNK6TestTu3tagEv(ptr noundef nonnull align 4 dereferenceable(8) %2)
          to label %264 unwind label %265

264:                                              ; preds = %262
  switch i32 %263, label %313 [
    i32 3, label %269
    i32 2, label %291
  ]

265:                                              ; preds = %262
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %4, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %5, align 4
  br label %315

269:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #5
  store i8 1, ptr %29, align 1, !tbaa !5
  br label %270

270:                                              ; preds = %289, %269
  %271 = load i8, ptr %29, align 1, !tbaa !5, !range !9, !noundef !10
  %272 = trunc i8 %271 to i1
  br i1 %272, label %274, label %273

273:                                              ; preds = %270
  store i32 53, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  br label %290

274:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %275 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN6TestTu6as_BazEv(ptr noundef nonnull align 4 dereferenceable(8) %2)
          to label %276 unwind label %282

276:                                              ; preds = %274
  store ptr %275, ptr %30, align 8, !tbaa !11
  br label %277

277:                                              ; preds = %287, %276
  %278 = load ptr, ptr %30, align 8, !tbaa !11
  %279 = load i8, ptr %29, align 1, !tbaa !5, !range !9, !noundef !10
  %280 = trunc i8 %279 to i1
  br i1 %280, label %286, label %281

281:                                              ; preds = %277
  store i32 56, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %288

282:                                              ; preds = %274
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %4, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  br label %315

286:                                              ; preds = %277
  br label %287

287:                                              ; preds = %286
  store i8 0, ptr %29, align 1, !tbaa !5
  br label %277, !llvm.loop !30

288:                                              ; preds = %281
  br label %289

289:                                              ; preds = %288
  store i8 0, ptr %29, align 1, !tbaa !5
  br label %270, !llvm.loop !31

290:                                              ; preds = %273
  br label %313

291:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #5
  store i8 1, ptr %31, align 1, !tbaa !5
  br label %292

292:                                              ; preds = %311, %291
  %293 = load i8, ptr %31, align 1, !tbaa !5, !range !9, !noundef !10
  %294 = trunc i8 %293 to i1
  br i1 %294, label %296, label %295

295:                                              ; preds = %292
  store i32 59, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #5
  br label %312

296:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %297 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_BarEv(ptr noundef nonnull align 4 dereferenceable(8) %2)
          to label %298 unwind label %304

298:                                              ; preds = %296
  store ptr %297, ptr %32, align 8, !tbaa !11
  br label %299

299:                                              ; preds = %309, %298
  %300 = load ptr, ptr %32, align 8, !tbaa !11
  %301 = load i8, ptr %31, align 1, !tbaa !5, !range !9, !noundef !10
  %302 = trunc i8 %301 to i1
  br i1 %302, label %308, label %303

303:                                              ; preds = %299
  store i32 62, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %310

304:                                              ; preds = %296
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %4, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #5
  br label %315

308:                                              ; preds = %299
  br label %309

309:                                              ; preds = %308
  store i8 0, ptr %31, align 1, !tbaa !5
  br label %299, !llvm.loop !32

310:                                              ; preds = %303
  br label %311

311:                                              ; preds = %310
  store i8 0, ptr %31, align 1, !tbaa !5
  br label %292, !llvm.loop !33

312:                                              ; preds = %295
  br label %313

313:                                              ; preds = %312, %290, %264
  call void @_ZN6TestTuD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @_ZN6TestTuD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  %314 = load i32, ptr %1, align 4
  ret i32 %314

315:                                              ; preds = %304, %282, %265, %259, %139
  call void @_ZN6TestTuD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %6) #5
  br label %316

316:                                              ; preds = %315, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %317

317:                                              ; preds = %316, %49
  call void @_ZN6TestTuD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  br label %318

318:                                              ; preds = %317
  %319 = load ptr, ptr %4, align 8
  %320 = load i32, ptr %5, align 4
  %321 = insertvalue { ptr, i32 } poison, ptr %319, 0
  %322 = insertvalue { ptr, i32 } %321, i32 %320, 1
  resume { ptr, i32 } %322
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6TestTuC2Ej(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6TestTu8make_BarENS_8Data_BarE(ptr dead_on_unwind noalias writable sret(%class.TestTu) align 4) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6TestTu3tagEv(ptr noundef nonnull align 4 dereferenceable(8)) #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN6TestTu6as_BazEv(ptr noundef nonnull align 4 dereferenceable(8)) #3 align 2

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { 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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = distinct !{!27, !14}
!28 = distinct !{!28, !14}
!29 = distinct !{!29, !14}
!30 = distinct !{!30, !14}
!31 = distinct !{!31, !14}
!32 = distinct !{!32, !14}
!33 = distinct !{!33, !14}


; 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.TestTu = type { i32, %"union.TestTu::DataUnion" }
%"union.TestTu::DataUnion" = type { i32 }

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %class.TestTu, align 4
  %2 = alloca %class.TestTu, align 4
  %3 = alloca %class.TestTu, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  call void @_ZN6TestTuC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  invoke void @_ZN6TestTuC2Ej(ptr noundef nonnull align 4 dereferenceable(8) %2, i32 noundef 123)
          to label %4 unwind label %8

4:                                                ; preds = %0
  %5 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN6TestTuaSEOS_(ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %2)
          to label %6 unwind label %10

6:                                                ; preds = %4
  call void @_ZN6TestTuD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  invoke void @_ZN6TestTu8make_BarENS_8Data_BarE(ptr dead_on_unwind nonnull writable sret(%class.TestTu) align 4 %3)
          to label %.lr.ph unwind label %13

.lr.ph:                                           ; preds = %6
  %7 = call noundef i32 @_ZNK6TestTu3tagEv(ptr noundef nonnull align 4 dereferenceable(8) %1)
  switch i32 %7, label %.lr.ph124 [
    i32 0, label %.split
    i32 1, label %.preheader88
    i32 2, label %.preheader90
    i32 3, label %.preheader92
  ]

8:                                                ; preds = %0
  %9 = landingpad { ptr, i32 }
          cleanup
  br label %12

10:                                               ; preds = %4
  %11 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TestTuD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %2) #5
  br label %12

12:                                               ; preds = %10, %8
  %.pn = phi { ptr, i32 } [ %11, %10 ], [ %9, %8 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  br label %28

13:                                               ; preds = %6
  %14 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %28

.preheader92:                                     ; preds = %.lr.ph
  %15 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6TestTu6as_BazEv(ptr noundef nonnull align 4 dereferenceable(8) %1)
  br label %.lr.ph124

.preheader90:                                     ; preds = %.lr.ph
  %16 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_BarEv(ptr noundef nonnull align 4 dereferenceable(8) %1)
  br label %.lr.ph124

.preheader88:                                     ; preds = %.lr.ph
  %17 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_FooEv(ptr noundef nonnull align 4 dereferenceable(8) %1)
  br label %.lr.ph124

.split:                                           ; preds = %.lr.ph
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 29, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

.lr.ph124:                                        ; preds = %.preheader92, %.preheader90, %.preheader88, %.lr.ph
  %18 = call noundef i32 @_ZNK6TestTu3tagEv(ptr noundef nonnull align 4 dereferenceable(8) %1)
  switch i32 %18, label %.loopexit83 [
    i32 0, label %.split132
    i32 1, label %.preheader76
    i32 2, label %.preheader78
    i32 3, label %.preheader80
  ]

.loopexit83:                                      ; preds = %.preheader80, %.preheader78, %.preheader76, %.lr.ph124
  %19 = call noundef i32 @_ZNK6TestTu3tagEv(ptr noundef nonnull align 4 dereferenceable(8) %1)
  switch i32 %19, label %.loopexit69 [
    i32 3, label %.preheader.split
    i32 2, label %.preheader71.split
  ]

.preheader80:                                     ; preds = %.lr.ph124
  %20 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6TestTu6as_BazEv(ptr noundef nonnull align 4 dereferenceable(8) %1)
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6TestTu6as_BazEv(ptr noundef nonnull align 4 dereferenceable(8) %3)
  br label %.loopexit83

.preheader78:                                     ; preds = %.lr.ph124
  %22 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_BarEv(ptr noundef nonnull align 4 dereferenceable(8) %1)
  %23 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_BarEv(ptr noundef nonnull align 4 dereferenceable(8) %3)
  br label %.loopexit83

.preheader76:                                     ; preds = %.lr.ph124
  %24 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_FooEv(ptr noundef nonnull align 4 dereferenceable(8) %1)
  %25 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_FooEv(ptr noundef nonnull align 4 dereferenceable(8) %3)
  br label %.loopexit83

.split132:                                        ; preds = %.lr.ph124
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 38, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

.preheader.split:                                 ; preds = %.loopexit83
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6TestTu6as_BazEv(ptr noundef nonnull align 4 dereferenceable(8) %1)
  br label %.loopexit69

.preheader71.split:                               ; preds = %.loopexit83
  %27 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN6TestTu6as_BarEv(ptr noundef nonnull align 4 dereferenceable(8) %1)
  br label %.loopexit69

.loopexit69:                                      ; preds = %.preheader71.split, %.preheader.split, %.loopexit83
  call void @_ZN6TestTuD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @_ZN6TestTuD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %1) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  ret i32 0

28:                                               ; preds = %13, %12
  %.pn67 = phi { ptr, i32 } [ %14, %13 ], [ %.pn, %12 ]
  call void @_ZN6TestTuD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %1) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  resume { ptr, i32 } %.pn67
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6TestTuC2Ej(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6TestTu8make_BarENS_8Data_BarE(ptr dead_on_unwind noalias writable sret(%class.TestTu) align 4) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6TestTu3tagEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN6TestTu6as_BazEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

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


; Effective O3 passes: GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,SCCPPass,SROAPass,SimplifyCFGPass