; LLVM IR from facebook/redex :: test/equivalence/LocalDceTests.ll (ZN10TrailingIf12build_methodEP9DexMethod)

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

%"class.std::initializer_list" = type { ptr, i64 }
%"struct.dex_asm::Operand" = type { i32, i64 }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10TrailingIf12build_methodEP9DexMethod(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::initializer_list", align 8
  %8 = alloca [2 x %"struct.dex_asm::Operand"], align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::initializer_list", align 8
  %11 = alloca [1 x %"struct.dex_asm::Operand"], align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.std::initializer_list", align 8
  %14 = alloca [1 x %"struct.dex_asm::Operand"], align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i1, align 1
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.std::initializer_list", align 8
  %21 = alloca [2 x %"struct.dex_asm::Operand"], align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %22 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %23)
  store ptr %24, ptr %5, align 8, !tbaa !5
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #7
  %26 = call { i32, i64 } @_ZN7dex_asmli2_vEy(i64 noundef 0)
  %27 = getelementptr inbounds { i32, i64 }, ptr %8, i32 0, i32 0
  %28 = extractvalue { i32, i64 } %26, 0
  store i32 %28, ptr %27, align 8
  %29 = getelementptr inbounds { i32, i64 }, ptr %8, i32 0, i32 1
  %30 = extractvalue { i32, i64 } %26, 1
  store i64 %30, ptr %29, align 8
  %31 = getelementptr inbounds %"struct.dex_asm::Operand", ptr %8, i64 1
  %32 = call { i32, i64 } @_ZN7dex_asmli2_LEy(i64 noundef 1)
  %33 = getelementptr inbounds { i32, i64 }, ptr %31, i32 0, i32 0
  %34 = extractvalue { i32, i64 } %32, 0
  store i32 %34, ptr %33, align 8
  %35 = getelementptr inbounds { i32, i64 }, ptr %31, i32 0, i32 1
  %36 = extractvalue { i32, i64 } %32, 1
  store i64 %36, ptr %35, align 8
  %37 = getelementptr inbounds %"class.std::initializer_list", ptr %7, i32 0, i32 0
  store ptr %8, ptr %37, align 8, !tbaa !9
  %38 = getelementptr inbounds %"class.std::initializer_list", ptr %7, i32 0, i32 1
  store i64 2, ptr %38, align 8, !tbaa !12
  %39 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8
  %41 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 1
  %42 = load i64, ptr %41, align 8
  %43 = call noundef ptr @_ZN7dex_asm4dasmE8IROpcodeSt16initializer_listINS_7OperandEE(i16 noundef zeroext 12, ptr %40, i64 %42)
  store ptr %43, ptr %6, align 8, !tbaa !5
  call void @_ZN6IRCode9push_backIJP13IRInstructionEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #7
  %45 = call { i32, i64 } @_ZN7dex_asmli2_vEy(i64 noundef 0)
  %46 = getelementptr inbounds { i32, i64 }, ptr %11, i32 0, i32 0
  %47 = extractvalue { i32, i64 } %45, 0
  store i32 %47, ptr %46, align 8
  %48 = getelementptr inbounds { i32, i64 }, ptr %11, i32 0, i32 1
  %49 = extractvalue { i32, i64 } %45, 1
  store i64 %49, ptr %48, align 8
  %50 = getelementptr inbounds %"class.std::initializer_list", ptr %10, i32 0, i32 0
  store ptr %11, ptr %50, align 8, !tbaa !9
  %51 = getelementptr inbounds %"class.std::initializer_list", ptr %10, i32 0, i32 1
  store i64 1, ptr %51, align 8, !tbaa !12
  %52 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8
  %54 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  %55 = load i64, ptr %54, align 8
  %56 = call noundef ptr @_ZN7dex_asm4dasmE8IROpcodeSt16initializer_listINS_7OperandEE(i16 noundef zeroext 9, ptr %53, i64 %55)
  store ptr %56, ptr %9, align 8, !tbaa !5
  call void @_ZN6IRCode9push_backIJP13IRInstructionEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %57 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #8
  store i1 true, ptr %17, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  %58 = invoke { i32, i64 } @_ZN7dex_asmli2_vEy(i64 noundef 0)
          to label %59 unwind label %100

59:                                               ; preds = %2
  %60 = getelementptr inbounds { i32, i64 }, ptr %14, i32 0, i32 0
  %61 = extractvalue { i32, i64 } %58, 0
  store i32 %61, ptr %60, align 8
  %62 = getelementptr inbounds { i32, i64 }, ptr %14, i32 0, i32 1
  %63 = extractvalue { i32, i64 } %58, 1
  store i64 %63, ptr %62, align 8
  %64 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 0
  store ptr %14, ptr %64, align 8, !tbaa !9
  %65 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 1
  store i64 1, ptr %65, align 8, !tbaa !12
  %66 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8
  %68 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %69 = load i64, ptr %68, align 8
  %70 = invoke noundef ptr @_ZN7dex_asm4dasmE8IROpcodeSt16initializer_listINS_7OperandEE(i16 noundef zeroext 39, ptr %67, i64 %69)
          to label %71 unwind label %100

71:                                               ; preds = %59
  invoke void @_ZN15MethodItemEntryC2EP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef %70)
          to label %72 unwind label %100

72:                                               ; preds = %71
  store i1 false, ptr %17, align 1
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  store ptr %57, ptr %12, align 8, !tbaa !5
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN6IRCode9push_backER15MethodItemEntry(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef nonnull align 8 dereferenceable(32) %74)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %75 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #8
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN12BranchTargetC2EP15MethodItemEntry(ptr noundef nonnull align 8 dereferenceable(16) %75, ptr noundef %76)
          to label %77 unwind label %107

77:                                               ; preds = %72
  store ptr %75, ptr %18, align 8, !tbaa !5
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN6IRCode9push_backIJRP12BranchTargetEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #7
  %80 = call { i32, i64 } @_ZN7dex_asmli2_vEy(i64 noundef 0)
  %81 = getelementptr inbounds { i32, i64 }, ptr %21, i32 0, i32 0
  %82 = extractvalue { i32, i64 } %80, 0
  store i32 %82, ptr %81, align 8
  %83 = getelementptr inbounds { i32, i64 }, ptr %21, i32 0, i32 1
  %84 = extractvalue { i32, i64 } %80, 1
  store i64 %84, ptr %83, align 8
  %85 = getelementptr inbounds %"struct.dex_asm::Operand", ptr %21, i64 1
  %86 = call { i32, i64 } @_ZN7dex_asmli2_LEy(i64 noundef 2)
  %87 = getelementptr inbounds { i32, i64 }, ptr %85, i32 0, i32 0
  %88 = extractvalue { i32, i64 } %86, 0
  store i32 %88, ptr %87, align 8
  %89 = getelementptr inbounds { i32, i64 }, ptr %85, i32 0, i32 1
  %90 = extractvalue { i32, i64 } %86, 1
  store i64 %90, ptr %89, align 8
  %91 = getelementptr inbounds %"class.std::initializer_list", ptr %20, i32 0, i32 0
  store ptr %21, ptr %91, align 8, !tbaa !9
  %92 = getelementptr inbounds %"class.std::initializer_list", ptr %20, i32 0, i32 1
  store i64 2, ptr %92, align 8, !tbaa !12
  %93 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %94 = load ptr, ptr %93, align 8
  %95 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %96 = load i64, ptr %95, align 8
  %97 = call noundef ptr @_ZN7dex_asm4dasmE8IROpcodeSt16initializer_listINS_7OperandEE(i16 noundef zeroext 12, ptr %94, i64 %96)
  store ptr %97, ptr %19, align 8, !tbaa !5
  call void @_ZN6IRCode9push_backIJP13IRInstructionEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef nonnull align 8 dereferenceable(8) %19)
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %98)
  call void @_ZN6IRCode18set_registers_sizeEj(ptr noundef nonnull align 8 dereferenceable(32) %99, i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  ret void

100:                                              ; preds = %71, %59, %2
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %15, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  %104 = load i1, ptr %17, align 1
  br i1 %104, label %105, label %106

105:                                              ; preds = %100
  call void @_ZdlPvm(ptr noundef %57, i64 noundef 32) #9
  br label %106

106:                                              ; preds = %105, %100
  br label %111

107:                                              ; preds = %72
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %15, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %16, align 4
  call void @_ZdlPvm(ptr noundef %75, i64 noundef 16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %111

111:                                              ; preds = %107, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %112

112:                                              ; preds = %111
  %113 = load ptr, ptr %15, align 8
  %114 = load i32, ptr %16, align 4
  %115 = insertvalue { ptr, i32 } poison, ptr %113, 0
  %116 = insertvalue { ptr, i32 } %115, i32 %114, 1
  resume { ptr, i32 } %116
}

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

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

declare noundef ptr @_ZN7dex_asm4dasmE8IROpcodeSt16initializer_listINS_7OperandEE(i16 noundef zeroext, ptr, i64) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { i32, i64 } @_ZN7dex_asmli2_vEy(i64 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { i32, i64 } @_ZN7dex_asmli2_LEy(i64 noundef) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #5

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #6

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

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

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

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

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


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

%"struct.dex_asm::Operand" = type { i32, i64 }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10TrailingIf12build_methodEP9DexMethod(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0, ptr noundef nonnull %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca [2 x %"struct.dex_asm::Operand"], align 8
  %5 = alloca ptr, align 8
  %6 = alloca [1 x %"struct.dex_asm::Operand"], align 8
  %7 = alloca [1 x %"struct.dex_asm::Operand"], align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca [2 x %"struct.dex_asm::Operand"], align 8
  %11 = tail call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  %12 = tail call { i32, i64 } @_ZN7dex_asmli2_vEy(i64 noundef 0)
  %13 = extractvalue { i32, i64 } %12, 0
  store i32 %13, ptr %4, align 8
  %14 = getelementptr inbounds i8, ptr %4, i64 8
  %15 = extractvalue { i32, i64 } %12, 1
  store i64 %15, ptr %14, align 8
  %16 = getelementptr inbounds i8, ptr %4, i64 16
  %17 = tail call { i32, i64 } @_ZN7dex_asmli2_LEy(i64 noundef 1)
  %18 = extractvalue { i32, i64 } %17, 0
  store i32 %18, ptr %16, align 8
  %19 = getelementptr inbounds i8, ptr %4, i64 24
  %20 = extractvalue { i32, i64 } %17, 1
  store i64 %20, ptr %19, align 8
  %21 = call noundef ptr @_ZN7dex_asm4dasmE8IROpcodeSt16initializer_listINS_7OperandEE(i16 noundef zeroext 12, ptr nonnull %4, i64 2)
  store ptr %21, ptr %3, align 8, !tbaa !5
  call void @_ZN6IRCode9push_backIJP13IRInstructionEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  %22 = call { i32, i64 } @_ZN7dex_asmli2_vEy(i64 noundef 0)
  %23 = extractvalue { i32, i64 } %22, 0
  store i32 %23, ptr %6, align 8
  %24 = getelementptr inbounds i8, ptr %6, i64 8
  %25 = extractvalue { i32, i64 } %22, 1
  store i64 %25, ptr %24, align 8
  %26 = call noundef ptr @_ZN7dex_asm4dasmE8IROpcodeSt16initializer_listINS_7OperandEE(i16 noundef zeroext 9, ptr nonnull %6, i64 1)
  store ptr %26, ptr %5, align 8, !tbaa !5
  call void @_ZN6IRCode9push_backIJP13IRInstructionEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  %27 = call noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  %28 = call { i32, i64 } @_ZN7dex_asmli2_vEy(i64 noundef 0)
  %29 = extractvalue { i32, i64 } %28, 0
  store i32 %29, ptr %7, align 8
  %30 = getelementptr inbounds i8, ptr %7, i64 8
  %31 = extractvalue { i32, i64 } %28, 1
  store i64 %31, ptr %30, align 8
  %32 = invoke noundef ptr @_ZN7dex_asm4dasmE8IROpcodeSt16initializer_listINS_7OperandEE(i16 noundef zeroext 39, ptr nonnull %7, i64 1)
          to label %33 unwind label %47

33:                                               ; preds = %2
  invoke void @_ZN15MethodItemEntryC2EP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef %32)
          to label %34 unwind label %47

34:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @_ZN6IRCode9push_backER15MethodItemEntry(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %27)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %35 = call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #8
  call void @_ZN12BranchTargetC2EP15MethodItemEntry(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull %27)
  store ptr %35, ptr %8, align 8, !tbaa !5
  call void @_ZN6IRCode9push_backIJRP12BranchTargetEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  %36 = call { i32, i64 } @_ZN7dex_asmli2_vEy(i64 noundef 0)
  %37 = extractvalue { i32, i64 } %36, 0
  store i32 %37, ptr %10, align 8
  %38 = getelementptr inbounds i8, ptr %10, i64 8
  %39 = extractvalue { i32, i64 } %36, 1
  store i64 %39, ptr %38, align 8
  %40 = getelementptr inbounds i8, ptr %10, i64 16
  %41 = call { i32, i64 } @_ZN7dex_asmli2_LEy(i64 noundef 2)
  %42 = extractvalue { i32, i64 } %41, 0
  store i32 %42, ptr %40, align 8
  %43 = getelementptr inbounds i8, ptr %10, i64 24
  %44 = extractvalue { i32, i64 } %41, 1
  store i64 %44, ptr %43, align 8
  %45 = call noundef ptr @_ZN7dex_asm4dasmE8IROpcodeSt16initializer_listINS_7OperandEE(i16 noundef zeroext 12, ptr nonnull %10, i64 2)
  store ptr %45, ptr %9, align 8, !tbaa !5
  call void @_ZN6IRCode9push_backIJP13IRInstructionEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  %46 = call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  call void @_ZN6IRCode18set_registers_sizeEj(ptr noundef nonnull align 8 dereferenceable(32) %46, i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  ret void

47:                                               ; preds = %33, %2
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @_ZdlPvm(ptr noundef nonnull %27, i64 noundef 32) #9
  resume { ptr, i32 } %48
}

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

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

declare noundef ptr @_ZN7dex_asm4dasmE8IROpcodeSt16initializer_listINS_7OperandEE(i16 noundef zeroext, ptr, i64) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { i32, i64 } @_ZN7dex_asmli2_vEy(i64 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { i32, i64 } @_ZN7dex_asmli2_LEy(i64 noundef) local_unnamed_addr #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #5

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #6

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

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

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

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

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


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