; LLVM IR from facebook/redex :: libredex (DexUtil)

; 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.cfg::InstructionIterableImpl.234" = type { ptr }
%"class.cfg::InstructionIteratorImpl.235" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"struct.std::pair" = type <{ %"class.UnorderedSet<DexMethodRef *>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedSet<DexMethodRef *>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator" }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base.258" }
%"struct.std::__detail::_Node_iterator_base.258" = type { ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.67 }
%"class.boost::intrusive::list_member_hook" = type { %"class.boost::intrusive::generic_hook" }
%"class.boost::intrusive::generic_hook" = type { %"struct.boost::intrusive::list_node" }
%"struct.boost::intrusive::list_node" = type { ptr, ptr }
%union.anon.67 = type { ptr }

@.str.12 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@__PRETTY_FUNCTION__._Z46gather_invoked_methods_that_prevent_relocationPK9DexMethodP12UnorderedSetIP12DexMethodRefSt4hashIS4_ESt8equal_toIS4_EE = external hidden unnamed_addr constant [103 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [15 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef, i32 noundef, ptr noundef) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef) #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z46gather_invoked_methods_that_prevent_relocationPK9DexMethodP12UnorderedSetIP12DexMethodRefSt4hashIS4_ESt8equal_toIS4_EE(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  %9 = alloca %"class.cfg::InstructionIterableImpl.234", align 8
  %10 = alloca %"class.cfg::InstructionIteratorImpl.235", align 8
  %11 = alloca %"class.cfg::InstructionIteratorImpl.235", align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i16, align 2
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"struct.std::pair", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = call noundef ptr @_ZNK9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %19)
  store ptr %20, ptr %5, align 8, !tbaa !5
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %24

23:                                               ; preds = %2
  br label %26

24:                                               ; preds = %2
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.18, ptr noundef @.str.12, i32 noundef 404, ptr noundef @__PRETTY_FUNCTION__._Z46gather_invoked_methods_that_prevent_relocationPK9DexMethodP12UnorderedSetIP12DexMethodRefSt4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef @.str.13) #8
  unreachable

25:                                               ; No predecessors!
  br label %26

26:                                               ; preds = %25, %23
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = call noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
  br i1 %28, label %29, label %30

29:                                               ; preds = %26
  br label %32

30:                                               ; preds = %26
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.19, ptr noundef @.str.12, i32 noundef 405, ptr noundef @__PRETTY_FUNCTION__._Z46gather_invoked_methods_that_prevent_relocationPK9DexMethodP12UnorderedSetIP12DexMethodRefSt4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef @.str.13) #8
  unreachable

31:                                               ; No predecessors!
  br label %32

32:                                               ; preds = %31, %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNK6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %33)
  store ptr %34, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  store i8 1, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = call ptr @_Z19InstructionIterableRKN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160) %35)
  %37 = getelementptr inbounds %"class.cfg::InstructionIterableImpl.234", ptr %9, i32 0, i32 0
  store ptr %36, ptr %37, align 8
  store ptr %9, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #7
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN3cfg23InstructionIterableImplILb1EE5beginEv(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl.235") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %38)
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #7
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN3cfg23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl.235") align 8 %11, ptr noundef nonnull align 8 dereferenceable(8) %39)
  br label %40

40:                                               ; preds = %123, %32
  %41 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb1EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %11)
  br i1 %41, label %43, label %42

42:                                               ; preds = %40
  store i32 2, ptr %12, align 4
  br label %125

43:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %44 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3cfg23InstructionIteratorImplILb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
  store ptr %44, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %45 = load ptr, ptr %13, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.MethodItemEntry, ptr %45, i32 0, i32 2
  %47 = load ptr, ptr %46, align 8, !tbaa !11
  store ptr %47, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %15) #7
  %48 = load ptr, ptr %14, align 8, !tbaa !5
  %49 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %48)
  store i16 %49, ptr %15, align 2, !tbaa !12
  %50 = load i16, ptr %15, align 2, !tbaa !12
  %51 = call noundef zeroext i1 @_ZN6opcode12is_an_invokeE8IROpcode(i16 noundef zeroext %50)
  br i1 %51, label %52, label %116

52:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %53 = load ptr, ptr %14, align 8, !tbaa !5
  %54 = call noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %53)
  %55 = load ptr, ptr %14, align 8, !tbaa !5
  %56 = call noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef %55)
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = call noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef %54, i32 noundef %56, ptr noundef %57)
  store ptr %58, ptr %16, align 8, !tbaa !5
  %59 = load ptr, ptr %16, align 8, !tbaa !5
  %60 = icmp ne ptr %59, null
  br i1 %60, label %70, label %61

61:                                               ; preds = %52
  %62 = load i16, ptr %15, align 2, !tbaa !12
  %63 = zext i16 %62 to i32
  %64 = icmp eq i32 %63, 87
  br i1 %64, label %65, label %70

65:                                               ; preds = %61
  %66 = load ptr, ptr %14, align 8, !tbaa !5
  %67 = call noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
  %68 = call noundef zeroext i1 @_ZN16unknown_virtuals28is_method_known_to_be_publicEP12DexMethodRef(ptr noundef %67)
  br i1 %68, label %69, label %70

69:                                               ; preds = %65
  store i32 3, ptr %12, align 4
  br label %113

70:                                               ; preds = %65, %61, %52
  %71 = load ptr, ptr %16, align 8, !tbaa !5
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %96

73:                                               ; preds = %70
  %74 = load ptr, ptr %16, align 8, !tbaa !5
  %75 = call noundef zeroext i1 @_ZNK12DexMethodRef6is_defEv(ptr noundef nonnull align 8 dereferenceable(26) %74)
  br i1 %75, label %76, label %77

76:                                               ; preds = %73
  br label %79

77:                                               ; preds = %73
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.20, ptr noundef @.str.12, i32 noundef 419, ptr noundef @__PRETTY_FUNCTION__._Z46gather_invoked_methods_that_prevent_relocationPK9DexMethodP12UnorderedSetIP12DexMethodRefSt4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef @.str.13) #8
  unreachable

78:                                               ; No predecessors!
  br label %79

79:                                               ; preds = %78, %76
  %80 = load ptr, ptr %16, align 8, !tbaa !5
  %81 = call noundef zeroext i1 @_ZNK12DexMethodRef11is_externalEv(ptr noundef nonnull align 8 dereferenceable(26) %80)
  br i1 %81, label %82, label %86

82:                                               ; preds = %79
  %83 = load ptr, ptr %16, align 8, !tbaa !5
  %84 = call noundef zeroext i1 @_Z9is_publicI9DexMethodEbPT_(ptr noundef %83)
  br i1 %84, label %86, label %85

85:                                               ; preds = %82
  store ptr null, ptr %16, align 8, !tbaa !5
  br label %95

86:                                               ; preds = %82, %79
  %87 = load i16, ptr %15, align 2, !tbaa !12
  %88 = zext i16 %87 to i32
  %89 = icmp eq i32 %88, 89
  br i1 %89, label %90, label %94

90:                                               ; preds = %86
  %91 = load ptr, ptr %16, align 8, !tbaa !5
  %92 = call noundef zeroext i1 @_ZN6method7is_initEPK12DexMethodRef(ptr noundef %91)
  br i1 %92, label %94, label %93

93:                                               ; preds = %90
  store ptr null, ptr %16, align 8, !tbaa !5
  br label %94

94:                                               ; preds = %93, %90, %86
  br label %95

95:                                               ; preds = %94, %85
  br label %96

96:                                               ; preds = %95, %70
  %97 = load ptr, ptr %16, align 8, !tbaa !5
  %98 = icmp ne ptr %97, null
  br i1 %98, label %112, label %99

99:                                               ; preds = %96
  store i8 0, ptr %7, align 1, !tbaa !9
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = icmp ne ptr %100, null
  br i1 %101, label %103, label %102

102:                                              ; preds = %99
  store i32 2, ptr %12, align 4
  br label %113

103:                                              ; preds = %99
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %105 = load ptr, ptr %14, align 8, !tbaa !5
  %106 = call noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %105)
  store ptr %106, ptr %17, align 8, !tbaa !5
  %107 = call { ptr, i8 } @_ZN12UnorderedSetIP12DexMethodRefSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJS1_EEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %104, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %108 = getelementptr inbounds { ptr, i8 }, ptr %18, i32 0, i32 0
  %109 = extractvalue { ptr, i8 } %107, 0
  store ptr %109, ptr %108, align 8
  %110 = getelementptr inbounds { ptr, i8 }, ptr %18, i32 0, i32 1
  %111 = extractvalue { ptr, i8 } %107, 1
  store i8 %111, ptr %110, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %112

112:                                              ; preds = %103, %96
  store i32 0, ptr %12, align 4
  br label %113

113:                                              ; preds = %112, %102, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  %114 = load i32, ptr %12, align 4
  switch i32 %114, label %117 [
    i32 0, label %115
  ]

115:                                              ; preds = %113
  br label %116

116:                                              ; preds = %115, %43
  store i32 0, ptr %12, align 4
  br label %117

117:                                              ; preds = %116, %113
  call void @llvm.lifetime.end.p0(i64 2, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  %118 = load i32, ptr %12, align 4
  switch i32 %118, label %120 [
    i32 0, label %119
  ]

119:                                              ; preds = %117
  store i32 0, ptr %12, align 4
  br label %120

120:                                              ; preds = %119, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  %121 = load i32, ptr %12, align 4
  switch i32 %121, label %125 [
    i32 0, label %122
    i32 3, label %123
  ]

122:                                              ; preds = %120
  br label %123

123:                                              ; preds = %122, %120
  %124 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb1EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
  br label %40

125:                                              ; preds = %120, %42
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %126

126:                                              ; preds = %125
  %127 = load i8, ptr %7, align 1, !tbaa !9, !range !14, !noundef !15
  %128 = trunc i8 %127 to i1
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  ret i1 %128
}

declare noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32)) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_Z19InstructionIterableRKN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg23InstructionIterableImplILb1EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.cfg::InstructionIteratorImpl.235") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.cfg::InstructionIteratorImpl.235") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode12is_an_invokeE8IROpcode(i16 noundef zeroext) #6

declare noundef zeroext i1 @_ZN16unknown_virtuals28is_method_known_to_be_publicEP12DexMethodRef(ptr noundef) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z9is_publicI9DexMethodEbPT_(ptr noundef) #3

declare noundef zeroext i1 @_ZN6method7is_initEPK12DexMethodRef(ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedSetIP12DexMethodRefSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJS1_EEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

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

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

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


; 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.cfg::InstructionIterableImpl.234" = type { ptr }
%"class.cfg::InstructionIteratorImpl.235" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }

@.str.12 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@__PRETTY_FUNCTION__._Z46gather_invoked_methods_that_prevent_relocationPK9DexMethodP12UnorderedSetIP12DexMethodRefSt4hashIS4_ESt8equal_toIS4_EE = external hidden unnamed_addr constant [103 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [15 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z46gather_invoked_methods_that_prevent_relocationPK9DexMethodP12UnorderedSetIP12DexMethodRefSt4hashIS4_ESt8equal_toIS4_EE(ptr noundef nonnull %0, ptr noundef %1) local_unnamed_addr #3 {
  %3 = alloca %"class.cfg::InstructionIterableImpl.234", align 8
  %4 = alloca %"class.cfg::InstructionIteratorImpl.235", align 8
  %5 = alloca %"class.cfg::InstructionIteratorImpl.235", align 8
  %6 = alloca ptr, align 8
  %7 = tail call noundef ptr @_ZNK9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %0)
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %8, label %9

8:                                                ; preds = %2
  tail call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.12, i32 noundef 404, ptr noundef nonnull @__PRETTY_FUNCTION__._Z46gather_invoked_methods_that_prevent_relocationPK9DexMethodP12UnorderedSetIP12DexMethodRefSt4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef nonnull @.str.13) #7
  unreachable

9:                                                ; preds = %2
  %10 = tail call noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
  br i1 %10, label %12, label %11

11:                                               ; preds = %9
  tail call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.12, i32 noundef 405, ptr noundef nonnull @__PRETTY_FUNCTION__._Z46gather_invoked_methods_that_prevent_relocationPK9DexMethodP12UnorderedSetIP12DexMethodRefSt4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef nonnull @.str.13) #7
  unreachable

12:                                               ; preds = %9
  %13 = tail call noundef nonnull align 8 dereferenceable(160) ptr @_ZNK6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  %14 = tail call ptr @_Z19InstructionIterableRKN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160) %13)
  store ptr %14, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #8
  call void @_ZN3cfg23InstructionIterableImplILb1EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl.235") align 8 %4, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #8
  call void @_ZN3cfg23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl.235") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %15 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb1EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %5)
  br i1 %15, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %12
  %.not41 = icmp eq ptr %1, null
  br i1 %.not41, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %41
  %16 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3cfg23InstructionIteratorImplILb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %17 = getelementptr inbounds i8, ptr %16, i64 24
  %18 = load ptr, ptr %17, align 8, !tbaa !5
  %19 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
  %20 = call noundef zeroext i1 @_ZN6opcode12is_an_invokeE8IROpcode(i16 noundef zeroext %19)
  br i1 %20, label %21, label %41

21:                                               ; preds = %.lr.ph.split.us
  %22 = call noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
  %23 = call noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef nonnull %18)
  %24 = call noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef %22, i32 noundef %23, ptr noundef nonnull %0)
  %25 = icmp eq ptr %24, null
  %26 = icmp eq i16 %19, 87
  %or.cond.us = and i1 %26, %25
  br i1 %or.cond.us, label %38, label %27

27:                                               ; preds = %21
  br i1 %25, label %.critedge, label %28

28:                                               ; preds = %27
  %29 = call noundef zeroext i1 @_ZNK12DexMethodRef6is_defEv(ptr noundef nonnull align 8 dereferenceable(26) %24)
  br i1 %29, label %30, label %.split.us

30:                                               ; preds = %28
  %31 = call noundef zeroext i1 @_ZNK12DexMethodRef11is_externalEv(ptr noundef nonnull align 8 dereferenceable(26) %24)
  br i1 %31, label %32, label %34

32:                                               ; preds = %30
  %33 = call noundef zeroext i1 @_Z9is_publicI9DexMethodEbPT_(ptr noundef nonnull %24)
  br i1 %33, label %34, label %.critedge

34:                                               ; preds = %32, %30
  %35 = icmp eq i16 %19, 89
  br i1 %35, label %36, label %41

36:                                               ; preds = %34
  %37 = call noundef zeroext i1 @_ZN6method7is_initEPK12DexMethodRef(ptr noundef nonnull %24)
  br i1 %37, label %41, label %.critedge

38:                                               ; preds = %21
  %39 = call noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
  %40 = call noundef zeroext i1 @_ZN16unknown_virtuals28is_method_known_to_be_publicEP12DexMethodRef(ptr noundef %39)
  br i1 %40, label %41, label %.critedge

41:                                               ; preds = %38, %36, %34, %.lr.ph.split.us
  %42 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb1EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %43 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb1EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %5)
  br i1 %43, label %.lr.ph.split.us, label %.critedge

.lr.ph.split:                                     ; preds = %.lr.ph, %71
  %.055 = phi i1 [ %.4.ph, %71 ], [ true, %.lr.ph ]
  %44 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3cfg23InstructionIteratorImplILb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %45 = getelementptr inbounds i8, ptr %44, i64 24
  %46 = load ptr, ptr %45, align 8, !tbaa !5
  %47 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %46)
  %48 = call noundef zeroext i1 @_ZN6opcode12is_an_invokeE8IROpcode(i16 noundef zeroext %47)
  br i1 %48, label %49, label %71

49:                                               ; preds = %.lr.ph.split
  %50 = call noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %46)
  %51 = call noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef nonnull %46)
  %52 = call noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef %50, i32 noundef %51, ptr noundef nonnull %0)
  %53 = icmp eq ptr %52, null
  %54 = icmp eq i16 %47, 87
  %or.cond = and i1 %54, %53
  br i1 %or.cond, label %55, label %58

55:                                               ; preds = %49
  %56 = call noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %46)
  %57 = call noundef zeroext i1 @_ZN16unknown_virtuals28is_method_known_to_be_publicEP12DexMethodRef(ptr noundef %56)
  br i1 %57, label %71, label %.critedge43

58:                                               ; preds = %49
  br i1 %53, label %.critedge43, label %59

59:                                               ; preds = %58
  %60 = call noundef zeroext i1 @_ZNK12DexMethodRef6is_defEv(ptr noundef nonnull align 8 dereferenceable(26) %52)
  br i1 %60, label %61, label %.split.us

.split.us:                                        ; preds = %59, %28
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.12, i32 noundef 419, ptr noundef nonnull @__PRETTY_FUNCTION__._Z46gather_invoked_methods_that_prevent_relocationPK9DexMethodP12UnorderedSetIP12DexMethodRefSt4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef nonnull @.str.13) #7
  unreachable

61:                                               ; preds = %59
  %62 = call noundef zeroext i1 @_ZNK12DexMethodRef11is_externalEv(ptr noundef nonnull align 8 dereferenceable(26) %52)
  br i1 %62, label %63, label %65

63:                                               ; preds = %61
  %64 = call noundef zeroext i1 @_Z9is_publicI9DexMethodEbPT_(ptr noundef nonnull %52)
  br i1 %64, label %65, label %.critedge43

65:                                               ; preds = %63, %61
  %66 = icmp eq i16 %47, 89
  br i1 %66, label %67, label %71

67:                                               ; preds = %65
  %68 = call noundef zeroext i1 @_ZN6method7is_initEPK12DexMethodRef(ptr noundef nonnull %52)
  br i1 %68, label %71, label %.critedge43

.critedge43:                                      ; preds = %55, %58, %63, %67
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %69 = call noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %46)
  store ptr %69, ptr %6, align 8, !tbaa !8
  %70 = call { ptr, i8 } @_ZN12UnorderedSetIP12DexMethodRefSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJS1_EEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  br label %71

71:                                               ; preds = %.lr.ph.split, %55, %65, %.critedge43, %67
  %.4.ph = phi i1 [ %.055, %67 ], [ false, %.critedge43 ], [ %.055, %65 ], [ %.055, %55 ], [ %.055, %.lr.ph.split ]
  %72 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb1EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %73 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb1EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %5)
  br i1 %73, label %.lr.ph.split, label %.critedge

.critedge:                                        ; preds = %71, %41, %27, %32, %36, %38, %12
  %.5 = phi i1 [ true, %12 ], [ false, %38 ], [ false, %36 ], [ false, %32 ], [ false, %27 ], [ true, %41 ], [ %.4.ph, %71 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  ret i1 %.5
}

declare noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_Z19InstructionIterableRKN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg23InstructionIterableImplILb1EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.cfg::InstructionIteratorImpl.235") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.cfg::InstructionIteratorImpl.235") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode12is_an_invokeE8IROpcode(i16 noundef zeroext) local_unnamed_addr #6

declare noundef zeroext i1 @_ZN16unknown_virtuals28is_method_known_to_be_publicEP12DexMethodRef(ptr noundef) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z9is_publicI9DexMethodEbPT_(ptr noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN6method7is_initEPK12DexMethodRef(ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedSetIP12DexMethodRefSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJS1_EEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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


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